@font-face {
  font-family: Cormorant;
  src: url(cormorant-regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(cormorant-semibold.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(serif-italic.woff2) format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(manrope-regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(manrope-bold.woff2) format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Unifraktur Maguntia;
  src: url(unifraktur-maguntia.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f6f6f5;
  --light: #fff;
  --ink: #181818;
  --muted: #626262;
  --line: #e4e4e1;
  --link: #242424;
  --gold: #8b6b30;
  --action: #181818;
  --action-hover: #3a3a37;
  --action-text: #fff;
  --control-radius: 8px;
  --image-radius: 10px;
  --panel-radius: 12px;
  --dialog-radius: 14px;
  --heading: Cormorant, Georgia, serif;
  --body: Manrope, Arial, sans-serif;
  --width: 1260px;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #151515;
  --surface: #202020;
  --light: #202020;
  --ink: #efefeb;
  --muted: #b3b3ae;
  --line: #383835;
  --link: #efefeb;
  --gold: #d4b879;
  --action: #efefeb;
  --action-hover: #fff;
  --action-text: #151515;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1; }
h1 { font-size: clamp(58px, 6.3vw, 98px); letter-spacing: -.042em; }
h2 { font-size: clamp(46px, 5.15vw, 70px); letter-spacing: -.038em; }
h3 { font-size: 33px; letter-spacing: -.022em; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(var(--width), calc(100% - 112px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; padding: 12px 18px; top: 10px; left: 10px; background: var(--paper); }

.site-header, .site-footer { background: #000; color: #f4f4f0; }
.site-header {
  --surface: #202020;
  --muted: #ccc;
  --line: #666;
  --link: #f4f4f0;
  --gold: #d4b879;
  border-bottom: 1px solid #333;
}
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; width: max-content; max-width: 100%; }
.brand img { object-fit: contain; }
.brand span { display: grid; }
.brand small { font-size: 9px; letter-spacing: .21em; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.brand strong { font: 26px/.95 var(--heading); letter-spacing: -.03em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.main-nav a { position: relative; display: inline-flex; gap: 4px; align-items: center; min-height: 45px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.main-nav a[aria-current], .main-nav a:hover { color: var(--link); }
.main-nav a[aria-current]::after { content: ''; position: absolute; height: 1px; inset: auto 0 7px; background: var(--link); }
.site-tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.theme-control, .cart-trigger { min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--control-radius); }
.theme-control:hover, .cart-trigger:hover { border-color: var(--muted); background: var(--surface); }
.theme-control { display: grid; width: 44px; place-items: center; padding: 0; }
.theme-control svg { width: 20px; height: 20px; }
.theme-sun, :root[data-theme=dark] .theme-moon { display: none; }
:root[data-theme=dark] .theme-sun { display: block; }
.cart-trigger { display: flex; align-items: center; gap: 9px; padding: 7px 12px; font-size: 12px; font-weight: 700; }
.bag-icon { display: inline-block; position: relative; width: 14px; height: 13px; margin: 4px 0 0; border: 1px solid currentColor; border-radius: 1px 1px 3px 3px; }
.bag-icon::before { content: ''; position: absolute; left: 3px; top: -5px; width: 5px; height: 5px; border: 1px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.cart-badge { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 15px; background: var(--surface); font-size: 10px; color: var(--link); }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 11px; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.rule-label { display: flex; align-items: center; gap: 12px; }
.rule-label::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  gap: clamp(32px, 5.8vw, 88px);
  align-items: center;
  padding-block: clamp(42px, 5.2vw, 74px) clamp(28px, 3.4vw, 46px);
}
.home-hero-copy { padding-bottom: 20px; }
.home-hero h1 { max-width: 620px; margin-block: 21px; font-size: clamp(59px, 6.3vw, 94px); line-height: .91; }
.home-hero h1 em { color: var(--muted); font-weight: 400; }
.hero-text { font-size: clamp(14px, 1.16vw, 17px); color: var(--muted); max-width: 410px; line-height: 1.82; }
.home-painting img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.16;
  object-fit: cover;
  object-position: center 12%;
  background: #211712;
  border-radius: var(--image-radius);
}
.home-painting figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1px 15px;
  padding-top: 9px;
  color: var(--muted);
  font-size: 12px;
}
.home-painting cite { font-style: normal; color: var(--ink); font-weight: 600; }
.home-painting a:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; align-items: center; gap: 13px 24px; flex-wrap: wrap; margin-top: 30px; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; font-weight: 700; min-height: 44px; }
.button { padding: 11px 19px; border: 1px solid transparent; border-radius: var(--control-radius); }
.primary { background: var(--action); color: var(--action-text); }
.primary:hover:not(:disabled) { background: var(--action-hover); }
.secondary { background: var(--paper); border-color: var(--line); color: var(--link); }
.secondary:hover { background: var(--surface); border-color: var(--muted); }
.text-link { justify-content: flex-start; color: var(--link); background: transparent; border: 0; padding: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.explore-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
}
.explore-band a { display: flex; align-items: center; justify-content: space-between; gap: 7px 18px; padding: 18px clamp(13px, 2vw, 29px); }
.explore-band a + a { border-inline-start: 1px solid var(--line); }
.explore-band a:hover { background: var(--paper); }
.explore-band a:focus-visible { outline-offset: -4px; }
.explore-copy { display: grid; gap: 3px; }
.explore-copy strong { font: 600 clamp(25px, 2.3vw, 32px)/1 var(--heading); }
.explore-copy > span { font-size: 12px; color: var(--muted); }
.explore-arrow { flex: none; font-size: 19px; }
.store-band { background: var(--paper); border-top: 1px solid var(--line); }
.section-pad { padding-block: clamp(41px, 5vw, 72px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { margin-top: 7px; }
.section-description { color: var(--muted); font-size: 14px; margin-top: 9px; }
.home-store { padding-block: clamp(53px, 6.6vw, 98px); }
.preview-note { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; background: var(--surface); border: 1px solid var(--line); padding: 9px 14px; border-radius: var(--control-radius); margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.preview-note strong { color: var(--ink); }
.preview-note a { color: var(--link); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 21px; }
.product-card { min-width: 0; }
.product-link { display: grid; position: relative; height: 100%; }
.photo { overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.product-link > .photo { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--image-radius); }
.product-link img { transition: transform .3s ease; }
.product-link:hover img { transform: scale(1.035); }
.product-info { padding: 14px 26px 16px 0; }
.product-info h3 { font-size: clamp(24px, 2.3vw, 33px); line-height: .99; min-height: 1em; overflow-wrap: anywhere; }
.product-link:hover h3 { color: var(--gold); }
.product-arrow { position: absolute; right: 2px; bottom: 16px; font-size: 14px; line-height: 1; color: var(--link); }
.price-line { display: flex; align-items: baseline; gap: 5px 10px; flex-wrap: wrap; font-size: 13px; color: var(--link); margin-top: 8px; }
.price-line del, .from-price { font-size: 11px; color: var(--muted); }
.sold-out { color: var(--muted); font-size: 12px; }
.catalog-state { grid-column: 1/-1; padding: 25px 0; color: var(--muted); }
.catalog-alert { color: var(--link); font-size: 13px; margin: 0 0 14px; }

.shop-heading { padding-block: clamp(45px, 6.5vw, 90px) clamp(34px, 4.5vw, 65px); }
.shop-heading h1 { margin: 14px 0 12px; }
.shop-heading > p:last-child { max-width: 560px; color: var(--muted); font-size: 16px; }
.shop-content { padding-block: 26px 68px; }
.shop-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.categories, .shop-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.category { color: var(--muted); font-size: 12px; min-height: 43px; background: transparent; border: 1px solid var(--line); border-radius: var(--control-radius); padding: 7px 12px; }
.category:hover { color: var(--link); }
.category[aria-pressed=true] { font-weight: 700; border-color: var(--action); color: var(--action-text); background: var(--action); }
.shop-fields { gap: 8px; }
input, select { border: 1px solid var(--line); background: var(--light); border-radius: var(--control-radius); padding: 7px 10px; min-height: 44px; font-size: 13px; max-width: 100%; }
.search-field { position: relative; }
.search-field::before { content: ''; position: absolute; top: 16px; left: 12px; width: 9px; height: 9px; border: 1px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-field::after { content: ''; position: absolute; top: 26px; left: 21px; width: 5px; height: 1px; background: var(--muted); transform: rotate(45deg); pointer-events: none; }
.search-field input { padding-left: 32px; max-width: 225px; }
.price-filter { padding-top: 8px; font-size: 12px; color: var(--muted); }
.price-filter summary { width: fit-content; padding: 6px 0; cursor: pointer; }
.price-filter > div { display: flex; gap: 10px; flex-wrap: wrap; padding-block: 4px; }
.price-filter label { display: grid; gap: 3px; }
.price-filter input { width: 120px; }
.results-count { color: var(--muted); font-size: 12px; margin: 12px 0 17px; }

.prayer-feature {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(28px, 5.4vw, 78px);
  margin-bottom: clamp(55px, 7vw, 105px);
  padding: clamp(16px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
}
.prayer-feature img { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: cover; border-radius: var(--image-radius); }
.prayer-feature h2 { margin: 13px 0 12px; font-size: clamp(43px, 4.35vw, 63px); }
.prayer-feature-copy > p:not(.eyebrow) { max-width: 375px; color: var(--muted); font-size: 14px; }
.prayer-feature-copy .text-link { margin-top: 11px; }
.subpage { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(35px, 6vw, 100px); align-items: center; min-height: 440px; padding-block: 60px; }
.subpage h1 { margin: 14px 0 19px; font-size: clamp(54px, 6vw, 88px); }
.course-cover img { width: auto; height: auto; max-height: 500px; border-radius: var(--image-radius); margin-inline: auto; }
.about-intro { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.patrons > h2 { font-family: var(--body); }
.patron-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.55vw, 21px); margin-top: 14px; }
.patron img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
  background: var(--surface);
  border-radius: var(--image-radius);
}
.patron figcaption { padding-top: 9px; font: 600 clamp(18px, 2.05vw, 28px)/1.04 var(--heading); }
.patron a { display: block; width: fit-content; margin-top: 5px; font: 400 11px/1.45 var(--body); color: var(--muted); }
.patron a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 23px; }
.info-grid article { padding-top: 16px; border-top: 1px solid var(--line); }
.info-grid p, .muted { color: var(--muted); font-size: 14px; margin-top: 8px; }
.community-platform { display: flex; align-items: center; gap: 10px; }
.community-platform img { flex: none; width: 25px; height: 25px; }
.rosary-gallery { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); }
.rosary-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.65vw, 22px); margin-top: 14px; }
.rosary-gallery-grid img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--image-radius); background: var(--surface); }
.footer-motto {
  font: 400 clamp(48px, 8vw, 108px)/1.13 "Unifraktur Maguntia", Georgia, serif;
  color: #b3b3b3;
  text-align: center;
  padding: clamp(39px, 6vw, 77px) 0 clamp(26px, 4vw, 57px);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr minmax(150px, .72fr) minmax(150px, .61fr);
  gap: 24px clamp(22px, 6vw, 85px);
  align-items: start;
  border-top: 1px solid #333;
  padding-block: clamp(25px, 4vw, 43px);
}
.footer-brand small { color: #b3b3b3; }
.footer-links { display: grid; align-content: start; gap: 8px; font-size: 13px; color: #ccc; }
.footer-label { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 5px; }
.footer-links a { justify-self: start; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; padding-block: 18px; border-top: 1px solid #333; color: #b3b3b3; font-size: 12px; }

dialog { padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(0 0 0 / .6); }
.product-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: var(--dialog-radius); }
.dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 7px 19px; font-size: 13px; font-weight: 700; }
.close-button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; background: transparent; border: 0; border-radius: var(--control-radius); color: var(--link); font-size: 27px; line-height: 1; }
.close-button:hover { background: var(--surface); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 42px); padding: clamp(18px, 3.5vw, 40px); }
.detail-stage .photo { border-radius: var(--image-radius); aspect-ratio: 1; }
.detail-stage img { object-fit: contain; }
.thumbnails { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.thumbnail { width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 4px; padding: 2px; background: transparent; }
.thumbnail[aria-pressed=true] { border-color: var(--link); }
.thumbnail .photo { width: 100%; height: 100%; border-radius: 2px; }
.detail-copy h2 { margin: 5px 0 10px; font-size: clamp(44px, 5vw, 62px); overflow-wrap: anywhere; }
.detail-price .price-line strong { font-size: 19px; }
.detail-price .price-line del { font-size: 13px; }
.purchase-form { display: grid; gap: 13px; margin-block: 20px; }
.purchase-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.quantity-field input { width: 80px; }
.buy-row { display: flex; align-items: end; flex-wrap: wrap; gap: 10px 12px; }
.buy-row button { flex: 1 0 min(100%, 175px); }
.product-description { border-top: 1px solid var(--line); padding-top: 16px; }
.product-description h3 { font-size: 29px; }
.product-description p { white-space: pre-line; margin-top: 10px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.official-link { margin-top: 10px; }

.cart-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 490px); max-width: 100%; height: 100%; max-height: 100dvh; }
.cart-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.cart-drawer .dialog-bar { padding: 11px 20px; }
.cart-drawer h2 { font-size: 41px; }
.cart-scroll { padding: 4px 20px 14px; overflow: auto; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item > .photo { width: 64px; height: 64px; border-radius: 4px; }
.cart-item h3 { font-size: 25px; overflow-wrap: anywhere; }
.variant-label, .shipping-note { color: var(--muted); font-size: 12px; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 5px; }
.stepper { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.stepper button { padding: 0; min-width: 35px; min-height: 34px; border: 1px solid var(--line); background: var(--light); border-radius: 3px; }
.stepper button:hover:not(:disabled) { border-color: var(--gold); }
.remove-item { background: transparent; border: 0; min-height: 35px; padding: 0; font-size: 11px; text-decoration: underline; color: var(--link); }
.line-total { font-size: 12px; white-space: nowrap; }
.cart-bottom { background: var(--surface); padding: 17px 20px max(17px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; font-weight: 700; }
.shipping-note { margin: 6px 0 13px; }
.cart-bottom .button { width: 100%; }
.form-message { color: var(--link); font-size: 12px; margin-block: 6px; }
.cart-state { padding: 26px 0 8px; }
.cart-state p { color: var(--muted); margin-top: 9px; font-size: 14px; }
.return-cart { margin-top: 4px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 68px); }
  .home-hero { gap: 38px; }
  .brand strong { font-size: 23px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 2px 10px; min-height: 0; padding-block: 11px 0; }
  .main-nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: 5px 12px; max-width: 580px; }
  .main-nav a { font-size: 12px; }
  .brand strong { font-size: 24px; }
  .home-hero h1 { font-size: clamp(49px, 8vw, 73px); }
  .about-intro { grid-template-columns: 1fr; min-height: 0; }
  .rosary-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { gap: 23px 13px; }
  .shop-heading h1 { font-size: clamp(56px, 9vw, 75px); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .brand { gap: 7px; }
  .brand img { width: 29px; height: 37px; }
  .brand strong { font-size: 23px; }
  .brand small { font-size: 8px; }
  .cart-trigger { gap: 7px; padding-inline: 9px; }
  .cart-label { display: none; }
  .site-tools { gap: 5px; }
  .home-hero { padding-block: 34px 24px; grid-template-columns: 1fr; gap: 23px; }
  .home-hero-copy { padding-bottom: 0; }
  .home-hero h1 { max-width: 470px; font-size: clamp(54px, 12.9vw, 75px); line-height: .94; margin-block: 14px 16px; }
  .home-painting figcaption { font-size: 11px; }
  .explore-band { grid-template-columns: 1fr; }
  .explore-band a { padding: 13px 15px; }
  .explore-band a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .actions { margin-top: 22px; gap: 4px 17px; }
  .button { padding-inline: 13px; }
  .section-heading { flex-wrap: wrap; gap: 4px 10px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 48px; }
  .section-heading > .text-link { min-height: 34px; }
  .preview-note { align-items: flex-start; flex-direction: column; font-size: 11px; padding: 8px 11px; margin-bottom: 17px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-info h3 { font-size: 25px; }
  .product-info { padding-top: 9px; }
  .price-line { gap: 2px 6px; }
  .shop-heading { padding-block: 32px; }
  .shop-heading > p:last-child { font-size: 14px; }
  .shop-content { padding-bottom: 44px; }
  .shop-fields { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(125px, .7fr); }
  .shop-fields input, .shop-fields select { width: 100%; max-width: none; }
  .prayer-feature { grid-template-columns: 1fr; gap: 16px; }
  .prayer-feature h2 { font-size: 48px; }
  .prayer-feature-copy .text-link { margin-top: 7px; }
  .eyebrow { font-size: 10px; }
  .subpage { grid-template-columns: 1fr; padding-block: 40px; gap: 30px; }
  .course-cover img { max-height: 410px; }
  .info-grid { grid-template-columns: 1fr; }
  .rosary-gallery-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px 14px; padding-block: 27px 20px; }
  .footer-main > :first-child { grid-column: 1/-1; }
  .product-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .detail-layout { grid-template-columns: 1fr; gap: 15px; }
  .detail-stage .photo { max-height: 49dvh; }
  .dialog-bar { padding-inline: 13px; }
  .cart-drawer .dialog-bar, .cart-scroll, .cart-bottom { padding-inline: 15px; }
}
@media (max-width: 360px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header .brand strong { font-size: 20px; white-space: normal; }
  .site-header .brand img { width: 24px; height: 32px; }
  .cart-trigger { padding-inline: 6px; gap: 5px; }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .product-arrow { display: none; }
  .product-info { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.product-recommendations { border-top: 1px solid var(--line); padding: clamp(18px, 3.5vw, 40px); }
.recommendation-list { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(155px, 24vw, 195px); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 2px 16px; margin: 0; list-style: none; }
.recommendation-list > li { min-width: 0; scroll-snap-align: start; }
.recommendation-list .product-card { height: 100%; }
.recommendation-list .product-info h3 { font-size: 25px; }
.recommendation-list .product-arrow { display: none; }

.recommendation-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.recommendation-header h3 { margin: 0; font-size: clamp(28px, 4vw, 36px); }
.recommendation-navigation { display: flex; flex-shrink: 0; gap: 8px; }
.recommendation-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font: 30px/1 Arial, sans-serif; cursor: pointer; }
.recommendation-button:hover { background: var(--surface); }
.recommendation-list { scrollbar-width: none; }
.recommendation-list::-webkit-scrollbar { display: none; }

/* Relatos enviados por clientes */
.testimonials { padding-top: 80px; padding-bottom: 88px; }
.testimonials-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.testimonials-heading h2 { margin:10px 0; font-size:clamp(36px,4vw,56px); }
.testimonials-heading p:last-child { color:var(--muted); max-width:580px; }
.testimonial-navigation { display:flex; gap:10px; flex-shrink:0; }
.testimonial-navigation button { width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:var(--paper); color:var(--ink); font-size:28px; cursor:pointer; }
.testimonial-navigation button:disabled { opacity:.35; cursor:default; }
.testimonial-gallery { display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; padding-bottom:16px; }
.testimonial-card { flex:0 0 300px; scroll-snap-align:start; text-decoration:none; color:var(--ink); }
.testimonial-card img { width:100%; height:390px; object-fit:contain; background:#171c1e; border-radius:16px; display:block; }
.testimonial-card>span { display:flex; justify-content:space-between; padding:14px 2px; font-size:14px; }
.testimonial-dialog { max-width:min(960px,94vw); max-height:92dvh; padding:52px 20px 20px; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:18px; }
.testimonial-dialog::backdrop { background:rgb(0 0 0 / .78); }
.testimonial-dialog img { display:block; width:auto; max-width:100%; height:auto; max-height:72dvh; object-fit:contain; margin:auto; }
.testimonial-dialog p { max-width:650px; margin:16px auto 0; font-size:14px; }
.testimonial-close { position:absolute; right:10px; top:5px; width:44px; height:44px; font-size:32px; border:0; background:transparent; color:var(--ink); cursor:pointer; }
@media(max-width:600px) { .testimonials { padding-top:52px; padding-bottom:52px; } .testimonials-heading { align-items:start; flex-direction:column; gap:12px; } .testimonial-card { flex-basis:82%; } .testimonial-card img { height:380px; } .testimonial-gallery { gap:16px; } }

/* Setas nas extremidades da galeria */
.testimonial-carousel { position:relative; padding-inline:24px; }
.testimonial-navigation { position:absolute; inset:0; pointer-events:none; z-index:1; }
.testimonial-navigation button { position:absolute; top:173px; pointer-events:auto; box-shadow:0 2px 12px rgb(0 0 0 / .12); }
.testimonial-navigation button:first-child { left:0; }
.testimonial-navigation button:last-child { right:0; }
.testimonial-navigation button:disabled { opacity:.65; }
.testimonial-gallery { scroll-snap-type:x proximity; }
@media(max-width:600px) { .testimonial-carousel { padding-inline:18px; } .testimonial-navigation button { top:168px; } }

/* Oferta complementar do terço no carrinho */
.rosary-offer { display:grid; grid-template-columns:100px minmax(0,1fr); gap:18px; align-items:center; margin:24px 0 8px; padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.rosary-offer .product-image { width:100%; aspect-ratio:1; }
.rosary-offer .eyebrow { font-size:10px; margin:0 0 6px; }
.rosary-offer h3 { font-size:26px; line-height:1.1; margin:0 0 10px; }
.rosary-offer-price { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 12px; align-items:center; }
.rosary-offer-price del { color:var(--muted); font-size:13px; }
.rosary-offer .button { padding:10px 12px; font-size:12px; min-height:44px; width:100%; }
@media(max-width:420px) { .rosary-offer { grid-template-columns:76px minmax(0,1fr); padding:14px; gap:12px; } }

/* Acompanhamento privado dos pedidos */
.tracking-page { max-width:940px; padding-top:70px; padding-bottom:90px; min-height:60vh; }
.tracking-page h1 { font-size:clamp(42px,6vw,68px); line-height:1.05; margin:14px 0 24px; }
.tracking-intro { max-width:540px; color:var(--muted); line-height:1.7; }
.tracking-form { max-width:480px; display:grid; gap:22px; margin-top:32px; }
.tracking-form label { display:grid; gap:9px; font-size:14px; }
.tracking-form input { width:100%; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:12px; padding:15px; min-height:50px; font:inherit; }
.tracking-notice { padding:18px 22px; border:1px solid var(--line); background:var(--surface); border-radius:14px; line-height:1.6; }
.tracking-back { display:inline-block; margin-top:32px; }
.tracking-summary { display:flex; gap:20px; justify-content:space-between; align-items:center; margin:35px 0 24px; }
.tracking-summary h2 { margin:8px 0; font-size:38px; }
.tracking-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.tracking-cards article,.tracking-shipment,.tracking-access { padding:26px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.tracking-cards h3,.tracking-shipment h3 { font-size:28px; margin:12px 0; }
.tracking-cards p,.tracking-shipment p { line-height:1.6; overflow-wrap:anywhere; }
.tracking-shipment { margin-top:20px; }
.tracking-items-title { margin-top:40px; font-size:36px; }
.tracking-items { list-style:none; padding:0; }
.tracking-items li { display:flex; justify-content:space-between; gap:20px; padding:20px 0; }
.tracking-items h3 { margin:0; font-size:26px; }
.tracking-items p { color:var(--muted); font-size:14px; }
@media(max-width:600px) { .tracking-page { padding-top:42px; padding-bottom:54px; } .tracking-cards { grid-template-columns:1fr; } .tracking-summary { align-items:start; } .tracking-summary h2 { font-size:30px; } }

.tracking-order-list { display:grid; gap:18px; }
.tracking-order-card { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); text-decoration:none; }
.tracking-order-card h2 { margin:10px 0; font-size:32px; }
.tracking-order-card p { max-width:520px; line-height:1.5; }
.tracking-order-card>div:last-child { display:grid; gap:18px; flex-shrink:0; }
.tracking-order-card span { font-size:14px; }
.tracking-order-card:hover { border-color:var(--ink); }
.tracking-pagination { display:flex; flex-wrap:wrap; gap:20px; align-items:center; margin-top:26px; }
@media(max-width:600px) { .tracking-order-card { align-items:start; flex-direction:column; padding:20px; gap:14px; } .tracking-order-card>div:last-child { display:flex; justify-content:space-between; align-items:center; width:100%; } }

.tracking-access h2 { font-size:30px; line-height:1.2; margin:0 0 14px; }
@media(max-width:600px) { .tracking-access h2 { font-size:26px; } }

/* Product photographs in the customer's private order area. */
.tracking-order-images { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.tracking-order-images:empty { display:none; }
.tracking-order-images img, .tracking-item-image { object-fit:contain; background:#fff; border-radius:10px; padding:6px; flex-shrink:0; }
.tracking-order-images img { width:72px; height:88px; }
.tracking-item-image { width:88px; height:108px; }
.tracking-items li { align-items:center; }
.tracking-item-info { flex:1; min-width:0; }
@media(max-width:600px) {
    .tracking-items li { gap:12px; flex-wrap:wrap; }
    .tracking-item-image { width:64px; height:80px; }
    .tracking-items li>strong { margin-left:auto; }
    .tracking-item-info h3 { font-size:22px; overflow-wrap:anywhere; }
}
