:root {
  --wine: #581522;
  --wine-deep: #3b1019;
  --wine-dark: #2b0a12;
  --rose: #c7798d;
  --rose-light: #e9b8c3;
  --blush: #f5dfe3;
  --cream: #fffaf7;
  --ink: #3b1720;
  --muted: #886a70;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --script: 'Allura', cursive;
  --header-height: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--cream); background: var(--wine-deep); font-family: var(--serif); }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #ffe0e6; outline-offset: 4px; }
.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; min-height: var(--header-height); padding: 16px clamp(24px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff8f8; }
.brand-mini { display: flex; flex-direction: column; line-height: 1; min-width: 190px; }
.brand-script { font-family: var(--script); font-size: 42px; font-weight: 400; letter-spacing: .015em; }
.brand-tagline { margin: -2px 0 0 8px; font-size: 8px; letter-spacing: .04em; opacity: .86; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 38px); font-family: var(--sans); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.main-nav > a { position: relative; padding: 9px 0; opacity: .88; transition: opacity .25s ease; }
.main-nav > a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: #f8d1da; transition: right .25s ease; }
.main-nav > a:hover { opacity: 1; }
.main-nav > a:hover::after { right: 0; }
.cart-trigger { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border: 0; color: inherit; background: transparent; cursor: pointer; transition: transform .25s ease; }
.cart-trigger:hover { transform: translateY(-2px); }
.cart-trigger svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 0; right: -4px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 50%; color: var(--wine); background: #fff4f5; font: 700 9px var(--sans); }
.section-screen { position: relative; min-height: 100vh; min-height: 100svh; overflow: clip; }
.hero { display: grid; place-items: center; isolation: isolate; text-align: center; background: var(--wine) url('../images/hero-desserts.jpg') center 52% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(112deg, rgba(48, 8, 18, .53), rgba(89, 18, 34, .56) 48%, rgba(48, 8, 18, .62)); }
.hero::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(900px, 92vw); padding: 80px 0 44px; text-shadow: 0 2px 16px rgba(39,4,12,.25); }
.hero-kicker, .eyebrow { margin: 0 0 10px; font: 500 9px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.hero-kicker { opacity: .84; }
.hero-title { margin: 0; font: 400 clamp(90px, 13vw, 185px)/.83 var(--script); letter-spacing: -.025em; }
.hero-subtitle { margin: 12px 0 0; font: 500 clamp(18px, 2.6vw, 31px)/1.12 var(--serif); letter-spacing: .025em; }
.hero-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 32px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font: 500 9px var(--sans); letter-spacing: .1em; text-transform: uppercase; background: rgba(68,8,21,.18); transition: background .25s, color .25s, transform .25s; }
.hero-link span { font-size: 15px; line-height: .5; }
.hero-link:hover { color: var(--wine); background: #fff8f6; transform: translateY(-2px); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 9px; transform: translateX(-50%); font: 8px var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.scroll-hint span { width: 20px; height: 1px; background: currentColor; }
.about { display: grid; grid-template-columns: minmax(330px, 43%) 1fr; align-items: stretch; background: linear-gradient(120deg, #d68d9e 0%, #bc6b80 39%, #641426 73%, #54101f 100%); }
.about-photo { position: relative; z-index: 1; min-height: 100vh; background: url('../images/about-desserts.jpg') 52% center / cover no-repeat; border-right: 6px solid rgba(255,226,231,.8); border-top-right-radius: 20% 42%; border-bottom-right-radius: 18% 44%; box-shadow: 8px 0 0 rgba(82,17,31,.3); }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54,7,18,.08), rgba(54,7,18,.25)); border-top-right-radius: inherit; border-bottom-right-radius: inherit; }
.about-panel { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-height) + 36px) clamp(28px, 4.4vw, 70px) 44px clamp(28px, 4vw, 64px); }
.about-copy { max-width: 720px; margin: 0 auto; }
.about-copy .eyebrow, .section-heading .eyebrow, .contact-content .eyebrow { text-align: center; color: #f5d8df; }
.about-copy h2, .section-heading h2, .contact-content h2 { margin: 0; text-align: center; font: 700 clamp(25px, 3vw, 39px)/1.05 var(--serif); letter-spacing: .03em; }
.about-copy h3 { max-width: 420px; margin: 15px auto 24px; text-align: center; font: 600 clamp(19px, 2vw, 27px)/1.12 var(--serif); }
.about-copy p:not(.eyebrow) { margin: 0 0 16px; font-size: clamp(14px, 1.16vw, 17px); line-height: 1.45; text-align: justify; color: rgba(255,248,249,.92); }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 30px auto 0; max-width: 820px; width: 100%; }
.value-item { min-width: 0; padding: 15px 10px 13px; border-radius: 14px; text-align: center; background: rgba(255,232,236,.49); color: #511624; transition: transform .25s ease, background .25s ease; }
.value-item:hover { transform: translateY(-5px); background: rgba(255,244,246,.75); }
.value-icon { display: block; height: 28px; font: 23px/1 var(--serif); }
.value-item h4 { margin: 4px 0 7px; font: 700 8px/1.25 var(--sans); letter-spacing: .03em; }
.value-item p { margin: 0; font: 400 9px/1.35 var(--sans); }
.about-orb { position: absolute; border-radius: 50%; background: rgba(255,235,239,.15); pointer-events: none; }
.orb-one { width: 90px; height: 90px; right: 7%; top: 16%; }
.orb-two { width: 22px; height: 22px; right: 4%; top: 47%; }
.products { padding: calc(var(--header-height) + 40px) clamp(22px, 6vw, 96px) 66px; background: #541321 url('../images/hero-desserts.jpg') center / cover fixed no-repeat; isolation: isolate; }
.products-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(112deg, rgba(106,24,44,.82), rgba(93,16,34,.9) 46%, rgba(203,111,134,.78)); }
.products::before { content: ''; position: absolute; width: 44vw; height: 44vw; max-width: 620px; max-height: 620px; left: -18vw; top: -10vw; border-radius: 50%; background: rgba(255,229,233,.08); border: 1px solid rgba(255,255,255,.06); z-index: -1; }
.section-heading { position: relative; margin: 0 auto 38px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { letter-spacing: .08em; }
.heading-rule { display: block; width: 86px; height: 1px; margin: 12px auto 0; background: rgba(255,230,234,.8); }
.product-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px clamp(18px, 3vw, 42px); max-width: 1150px; margin: 0 auto; }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 12px 12px 17px; border-radius: 23px; color: var(--ink); background: rgba(255,252,250,.98); box-shadow: 0 13px 34px rgba(31,4,12,.13); cursor: pointer; transform: translateZ(0); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(31,4,12,.27); }
.product-image-wrap { position: relative; width: 100%; height: clamp(155px, 19vw, 240px); overflow: hidden; border-radius: 14px; background: #f3e3e3; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.product-card:hover .product-image { transform: scale(1.055); }
.product-number { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: rgba(79,17,31,.86); font: 500 9px var(--sans); }
.product-card h3 { margin: 13px 3px 5px; font: 700 clamp(17px, 1.5vw, 22px)/1 var(--serif); text-align: center; }
.product-card p { min-height: 43px; margin: 0 4px 10px; color: #624e51; font-size: 13px; line-height: 1.27; text-align: center; }
.product-card .price { margin-top: auto; color: var(--wine); font: 700 13px var(--sans); text-align: center; }
.product-card .price small { font-size: 9px; font-weight: 500; }
.card-detail-label { margin: 11px auto 0; padding: 7px 13px; border: 1px solid rgba(88,21,34,.2); border-radius: 99px; color: var(--wine); font: 600 8px var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.product-card:hover .card-detail-label { color: #fff; background: var(--wine); }
.catalog-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 38px auto 0; text-align: center; }
.catalog-footer p { max-width: 440px; margin: 0; color: rgba(255,247,248,.88); font-size: 16px; }
.outline-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 12px 21px; border-radius: 5px; cursor: pointer; font: 600 9px/1.25 var(--sans); letter-spacing: .085em; text-align: center; text-transform: uppercase; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.outline-button { border: 1px solid rgba(255,240,243,.72); color: #fff8f8; background: transparent; }
.outline-button:hover { transform: translateY(-2px); color: var(--wine); background: #fff7f5; box-shadow: 0 8px 20px rgba(45,4,13,.18); }
.primary-button { border: 1px solid var(--wine); color: #fff; background: var(--wine); }
.primary-button:hover { transform: translateY(-2px); background: #7b2438; box-shadow: 0 10px 20px rgba(49,5,15,.18); }
.contact { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: calc(var(--header-height) + 36px) 24px 0; background: var(--wine-dark); isolation: isolate; }
.contact-backdrop { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(53,7,18,.94), rgba(86,18,34,.86)), url('../images/about-desserts.jpg') center / cover no-repeat; }
.contact-content { width: min(820px, 100%); margin: auto; padding: 22px 0 50px; }
.contact-content h2 { font-size: clamp(29px, 3.5vw, 45px); letter-spacing: .08em; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 44px; width: min(610px, 100%); margin: 42px auto 30px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; min-width: 0; color: #fff6f7; transition: transform .22s ease; }
a.contact-detail:hover { transform: translateX(4px); }
.contact-icon { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,226,231,.55); border-radius: 50%; font: 21px/1 var(--serif); }
.contact-detail strong, .contact-detail small { display: block; }
.contact-detail strong { margin: 0 0 5px; font: 600 11px var(--sans); }
.contact-detail small { color: rgba(255,242,244,.78); font: 400 12px/1.4 var(--sans); overflow-wrap: anywhere; }
.contact-note { max-width: 690px; margin: 0 auto 25px; color: rgba(255,243,245,.85); font-size: 16px; line-height: 1.45; text-align: center; }
.contact-content > .primary-button { display: flex; width: fit-content; margin: 0 auto; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: min(1150px,100%); padding: 18px 0 22px; border-top: 1px solid rgba(255,232,236,.2); color: rgba(255,235,239,.62); font: 9px var(--sans); }
.footer-script { font: 30px/1 var(--script); color: #fff5f6; }
/* Product detail modal */
.modal-backdrop, .cart-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 22px; background: rgba(36,4,13,.72); backdrop-filter: blur(5px); }
[hidden] { display: none !important; }
.detail-modal { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(22px, 3vw, 44px); width: min(890px, 100%); max-height: min(760px, calc(100vh - 44px)); overflow-y: auto; padding: clamp(22px,3.2vw,46px); border-radius: 18px; color: var(--ink); background: #fffaf8; box-shadow: 0 28px 90px rgba(0,0,0,.35); animation: modal-rise .3s ease both; }
.modal-close { position: absolute; top: 12px; right: 14px; z-index: 3; display: grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 50%; color: #5c1a2a; background: rgba(101,24,43,.08); font: 28px/1 var(--serif); cursor: pointer; transition: transform .2s, background .2s; }
.modal-close:hover { transform: rotate(90deg); background: rgba(101,24,43,.15); }
.detail-media { display: flex; flex-direction: column; min-width: 0; gap: 12px; }
.detail-media > img { width: 100%; height: clamp(270px, 34vw, 410px); border-radius: 12px; object-fit: cover; background: #f5e1e4; }
.detail-thumbnails { display: flex; gap: 9px; }
.detail-thumb { width: 64px; height: 55px; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 7px; background: #f3e3e3; cursor: pointer; }
.detail-thumb.active { border-color: var(--wine); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { align-self: center; padding: 9px 0; }
.detail-info .eyebrow { color: var(--rose); }
.detail-info h2 { margin: 2px 0 9px; font: 700 clamp(28px,3.3vw,41px)/.98 var(--serif); }
.detail-price { margin: 0 0 17px; color: var(--wine); font: 700 14px var(--sans); }
.detail-description { margin: 0 0 18px; color: #695156; font-size: 16px; line-height: 1.45; }
.detail-specs { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid #e5cbd0; border-bottom: 1px solid #e5cbd0; color: #655055; font-size: 14px; line-height: 1.35; }
.spec-line { display: flex; align-items: flex-start; gap: 10px; }
.spec-mark { flex: 0 0 22px; display: grid; place-items: center; height: 22px; border-radius: 50%; color: var(--wine); background: #f2dce1; font-size: 13px; }
.detail-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quantity-control { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 104px; height: 42px; padding: 0 6px; border: 1px solid #e4cbd0; border-radius: 5px; color: var(--wine); font: 600 12px var(--sans); }
.quantity-control button { width: 27px; height: 30px; border: 0; color: inherit; background: transparent; cursor: pointer; font: 18px var(--serif); }
.quantity-control button:hover { color: var(--rose); }
.add-button { flex: 1; min-width: 0; padding-inline: 11px; }
/* Shopping cart drawer */
.cart-backdrop { place-items: stretch end; padding: 0; }
.cart-drawer { display: flex; flex-direction: column; width: min(610px,100%); height: 100%; max-height: 100vh; overflow: hidden; padding: 34px clamp(20px,3vw,38px) 24px; color: var(--ink); background: #fffaf8; box-shadow: -18px 0 50px rgba(0,0,0,.25); animation: drawer-in .3s ease both; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 0 36px 23px 0; border-bottom: 1px solid #ead8dc; }
.cart-header .eyebrow { margin-bottom: 5px; color: var(--rose); }
.cart-header h2 { margin: 0; font: 700 33px/1 var(--serif); }
.cart-close { position: relative; top: auto; right: auto; flex: 0 0 auto; }
.cart-column-head { display: grid; grid-template-columns: 1fr 100px 90px; gap: 10px; padding: 15px 0 11px; border-bottom: 1px solid #ead8dc; color: #8b6a71; font: 600 8px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.cart-column-head span:nth-child(2), .cart-column-head span:nth-child(3) { text-align: center; }
.cart-items { flex: 1 1 auto; overflow-y: auto; min-height: 0; }
.cart-row { display: grid; grid-template-columns: minmax(0,1fr) 100px 90px; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0e0e3; }
.cart-product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cart-product img { flex: 0 0 58px; width: 58px; height: 64px; border-radius: 8px; object-fit: cover; background: #f2e1e4; }
.cart-product-copy { min-width: 0; }
.cart-product-copy strong { display: block; margin-bottom: 5px; font: 700 16px/1.08 var(--serif); }
.cart-product-copy small { display: block; color: #977a80; font: 10px var(--sans); }
.cart-qty { display: inline-flex; align-items: center; justify-content: space-between; gap: 3px; width: 93px; height: 32px; border: 1px solid #e8d5d9; border-radius: 4px; }
.cart-qty button { width: 26px; height: 27px; padding: 0; border: 0; color: var(--wine); background: transparent; cursor: pointer; font: 17px var(--serif); }
.cart-qty output { font: 600 10px var(--sans); }
.cart-row-total { text-align: center; }
.cart-row-total strong { display: block; font: 700 11px var(--sans); }
.remove-item { margin-top: 5px; padding: 0; border: 0; color: #ae7784; background: transparent; cursor: pointer; font: 9px var(--sans); text-decoration: underline; }
.cart-summary { margin-top: auto; padding-top: 19px; border-top: 1px solid #ead8dc; }
.cart-summary h3 { margin: 0 0 15px; font: 700 21px var(--serif); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; color: #82666d; font-size: 15px; }
.summary-row strong { color: var(--ink); font: 600 12px var(--sans); }
.summary-total { margin-top: 4px; padding-top: 13px; border-top: 1px solid #ead8dc; color: var(--wine); font-weight: 700; }
.summary-total strong { color: var(--wine); font-size: 15px; }
.checkout-button { width: 100%; margin-top: 16px; }
.checkout-note { margin: 10px 0 0; color: #a08489; text-align: center; font: 10px/1.4 var(--sans); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-bowl { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; color: var(--wine); background: #f5e1e5; font-size: 37px; }
.cart-empty h3 { margin: 4px 0; font: 700 24px var(--serif); }
.cart-empty p { margin: 0 0 18px; color: #8b7277; font-size: 15px; }
.cart-empty .outline-button { color: var(--wine); border-color: #d4a9b3; }
.cart-empty .outline-button:hover { color: #fff; background: var(--wine); }
.toast { position: fixed; z-index: 80; bottom: 24px; left: 50%; max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 999px; color: #fff; background: #35101a; box-shadow: 0 10px 34px rgba(0,0,0,.22); font: 600 11px var(--sans); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes modal-rise { from { opacity: 0; transform: translateY(15px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes drawer-in { from { transform: translateX(35px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@media (min-width: 1450px) { .product-grid { gap: 30px 48px; } }
@media (max-width: 1000px) {
  :root { --header-height: 76px; }
  .about { grid-template-columns: minmax(260px, 36%) 1fr; }
  .about-panel { padding-inline: 26px; }
  .about-copy p:not(.eyebrow) { font-size: 14px; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-grid { gap: 18px; }
  .product-card { padding: 10px 10px 15px; }
  .product-image-wrap { height: 185px; }
  .detail-modal { gap: 20px; }
}
@media (max-width: 720px) {
  :root { --header-height: 76px; }
  .site-header { min-height: var(--header-height); padding: 13px 17px; align-items: flex-start; }
  .brand-mini { min-width: 0; }
  .brand-script { font-size: 35px; }
  .brand-tagline { max-width: 155px; margin-left: 4px; font-size: 6px; }
  .main-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px 13px; padding-top: 11px; font-size: 8px; letter-spacing: .04em; }
  .main-nav > a { padding: 4px 0; }
  .cart-trigger { width: 26px; height: 26px; margin-top: -5px; }
  .cart-trigger svg { width: 19px; height: 19px; }
  .hero { min-height: 90svh; background-position: 50% center; }
  .hero-content { padding-top: 60px; }
  .hero-title { font-size: clamp(74px, 19vw, 120px); }
  .hero-subtitle { font-size: 22px; }
  .hero-kicker { font-size: 8px; letter-spacing: .17em; }
  .hero-link { margin-top: 25px; }
  .about { display: block; padding-top: var(--header-height); }
  .about-photo { min-height: 38svh; height: 38svh; border-right: 0; border-bottom: 5px solid rgba(255,226,231,.8); border-radius: 0 0 48% 4% / 0 0 10% 5%; box-shadow: 0 7px 0 rgba(82,17,31,.25); background-position: center 45%; }
  .about-panel { padding: 30px 20px 36px; }
  .about-copy h2 { font-size: 30px; }
  .about-copy h3 { margin: 13px auto 18px; }
  .about-copy p:not(.eyebrow) { font-size: 14px; text-align: left; }
  .values-grid { margin-top: 22px; gap: 9px; }
  .value-item { padding: 13px 8px; }
  .value-item p { font-size: 9px; }
  .products { padding: calc(var(--header-height) + 33px) 17px 44px; background-attachment: scroll; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 30px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; }
  .product-card { padding: 8px 8px 13px; border-radius: 17px; }
  .product-image-wrap { height: clamp(122px, 35vw, 180px); border-radius: 10px; }
  .product-card h3 { margin-top: 10px; font-size: 17px; }
  .product-card p { min-height: 49px; font-size: 11px; }
  .product-card .price { font-size: 10px; }
  .product-card .price small { font-size: 8px; }
  .card-detail-label { margin-top: 9px; padding: 7px 8px; font-size: 7px; }
  .catalog-footer { margin-top: 26px; gap: 15px; }
  .catalog-footer p { font-size: 14px; }
  .contact { padding: calc(var(--header-height) + 32px) 21px 0; }
  .contact-details { gap: 20px 17px; margin: 30px auto 26px; }
  .contact-detail { gap: 10px; }
  .contact-icon { flex-basis: 28px; width: 28px; height: 28px; font-size: 17px; }
  .contact-detail strong { font-size: 10px; }
  .contact-detail small { font-size: 10px; }
  .contact-note { font-size: 14px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; padding: 14px 0 18px; }
  .footer-script { width: 100%; }
  .detail-modal { grid-template-columns: 1fr; gap: 18px; width: min(520px,100%); padding: 20px; max-height: calc(100vh - 24px); }
  .detail-media { gap: 8px; }
  .detail-media > img { height: 240px; }
  .detail-info { padding: 0; }
  .detail-info h2 { font-size: 31px; }
  .detail-description { font-size: 14px; }
  .detail-specs { padding: 12px 0; gap: 7px; font-size: 12px; }
  .detail-actions { margin-top: 14px; }
  .detail-thumbnails { display: none; }
  .cart-drawer { padding: 25px 17px 17px; }
  .cart-header h2 { font-size: 29px; }
  .cart-column-head { grid-template-columns: minmax(0,1fr) 86px 75px; gap: 5px; }
  .cart-row { grid-template-columns: minmax(0,1fr) 86px 75px; gap: 5px; padding: 13px 0; }
  .cart-product { gap: 8px; }
  .cart-product img { flex-basis: 48px; width: 48px; height: 55px; }
  .cart-product-copy strong { font-size: 14px; }
  .cart-product-copy small { font-size: 8px; }
  .cart-qty { width: 83px; }
  .cart-qty button { width: 22px; }
  .cart-row-total strong { font-size: 9px; }
  .cart-summary h3 { font-size: 19px; }
}
@media (max-width: 390px) {
  .site-header { padding-inline: 12px; }
  .brand-script { font-size: 30px; }
  .brand-tagline { max-width: 125px; font-size: 5px; }
  .main-nav { gap: 9px; font-size: 7px; }
  .product-grid { gap: 11px 9px; }
  .product-image-wrap { height: 120px; }
  .product-card h3 { font-size: 15px; }
  .product-card p { font-size: 10px; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .quantity-control { width: 115px; }
  .contact-details { grid-template-columns: 1fr; }
  .cart-column-head { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* PDF-specific refinements: second product page and full-page cart overlay. */
.products { background-image: url('../images/catalog-backdrop.jpg'); background-position: left center; background-size: cover; }
.products-overlay { background: linear-gradient(90deg, rgba(107,30,50,.58), rgba(117,36,57,.82) 42%, rgba(84,18,36,.93) 74%); }
.product-grid.catalog-secondary { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.catalog-arrow { position: absolute; z-index: 5; top: 53%; display: grid; place-items: center; width: 64px; height: 66px; padding: 0; border: 0; color: rgba(255,255,255,.95); background: transparent; cursor: pointer; font: 500 68px/.75 var(--serif); text-shadow: 0 3px 12px rgba(49,3,14,.14); transition: transform .25s ease, color .25s ease; }
.catalog-arrow:hover { color: #ffe2e8; transform: translateX(5px); }
.catalog-prev { left: 16px; }
.catalog-prev:hover { transform: translateX(-5px); }
.catalog-next { right: 16px; }
.catalog-arrow[hidden] { display: none; }

.cart-backdrop { position: fixed; inset: 0; z-index: 50; display: block; overflow-y: auto; padding: 26px clamp(12px, 4vw, 58px) 40px; background: linear-gradient(90deg, rgba(94,23,42,.69), rgba(126,46,66,.84)), url('../images/catalog-backdrop.jpg') center / cover no-repeat; backdrop-filter: none; }
.cart-page-shell { width: min(1300px, 100%); margin: 2vh auto 0; }
.cart-page-heading { position: relative; margin: 0 auto 27px; text-align: center; color: #fff8f9; }
.cart-page-heading h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 45px)/1.08 var(--serif); }
.cart-page-heading .heading-rule { margin-top: 12px; }
.cart-close { position: absolute; top: -5px; right: 0; border: 1px solid rgba(255,245,247,.35); color: #fff; background: rgba(255,246,248,.1); }
.cart-close:hover { background: rgba(255,246,248,.22); }
.cart-drawer { display: block; width: 100%; height: auto; max-height: none; overflow: visible; padding: 0; color: var(--ink); background: transparent; box-shadow: none; animation: modal-rise .3s ease both; }
.cart-main-panel { display: grid; grid-template-columns: minmax(0, 1fr) 265px; align-items: start; gap: clamp(20px, 3vw, 38px); min-height: 64vh; padding: clamp(20px, 4vw, 60px); border-radius: 29px; background: rgba(235, 199, 207, .97); }
.cart-table-panel { min-width: 0; padding: 15px 17px 19px; border-radius: 20px; background: rgba(255, 247, 248, .27); }
.cart-column-head { display: grid; grid-template-columns: minmax(150px, 1fr) 86px 88px 94px 62px; gap: 8px; padding: 0 5px 8px; border-bottom: 1px solid rgba(78,18,30,.75); color: #401019; font: 700 12px var(--sans); letter-spacing: 0; text-transform: none; }
.cart-column-head span:not(:first-child) { text-align: center; }
.cart-items { flex: unset; overflow: visible; min-height: 0; }
.cart-row { display: grid; grid-template-columns: minmax(150px, 1fr) 86px 88px 94px 62px; gap: 8px; align-items: center; min-height: 100px; padding: 12px 5px; border-bottom: 1px solid rgba(94,32,46,.17); }
.cart-product { gap: 12px; }
.cart-product img { flex-basis: 68px; width: 68px; height: 78px; border-radius: 6px; }
.cart-product-copy strong { color: #3c111b; font: 700 16px/1.08 var(--serif); }
.cart-product-copy small { color: #5c3941; font: 500 10px var(--sans); }
.cart-qty { justify-self: center; width: 73px; height: 28px; gap: 0; border: 1px solid #581522; border-radius: 3px; color: #4f1421; background: rgba(255,255,255,.25); }
.cart-qty button { width: 22px; height: 26px; font-size: 16px; }
.cart-qty output { min-width: 13px; text-align: center; font-size: 10px; }
.cart-unit-price, .cart-row-total { color: #38101a; text-align: center; font: 600 11px var(--sans); }
.cart-row-total strong { font: 600 11px var(--sans); }
.cart-actions { text-align: center; }
.remove-item { margin: 0; color: #501220; font: 500 10px var(--sans); text-decoration: none; }
.remove-item::before { content: '× '; font-size: 18px; vertical-align: -1px; }
.cart-summary { margin-top: 0; padding: 21px 18px 20px; border: 0; border-radius: 21px; background: #fff; }
.cart-summary h3 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #6b3a44; color: #42111b; text-align: center; font: 700 21px/1.1 var(--serif); }
.summary-row { padding: 8px 0; color: #38121b; font: 600 12px var(--sans); }
.summary-row strong { font: 600 11px var(--sans); }
.summary-total { margin-top: 4px; padding-top: 11px; border-top: 1px solid #7b4b54; }
.summary-total strong { font-size: 12px; }
.checkout-button { width: 100%; margin-top: 20px; padding: 12px 9px; border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.cart-continue-button { width: 100%; min-height: 39px; margin-top: 10px; border: 1px solid #581522; border-radius: 6px; color: #581522; background: #fff; cursor: pointer; font: 500 12px var(--sans); transition: color .2s, background .2s; }
.cart-continue-button:hover { color: #fff; background: #581522; }
.cart-empty { min-height: 260px; color: #501522; }
.cart-empty p { color: #795962; }
.cart-empty .outline-button { min-height: 38px; color: #581522; border-color: #7e4552; background: transparent; }
.cart-empty .outline-button:hover { color: #fff; background: #581522; }

@media (max-width: 1000px) {
  .catalog-arrow { width: 43px; font-size: 56px; }
  .catalog-prev { left: 4px; }
  .catalog-next { right: 4px; }
  .cart-main-panel { grid-template-columns: minmax(0, 1fr) 230px; padding: 22px; gap: 16px; }
  .cart-table-panel { padding-inline: 9px; }
  .cart-column-head, .cart-row { grid-template-columns: minmax(125px, 1fr) 72px 72px 78px 50px; gap: 5px; }
  .cart-column-head { font-size: 10px; }
  .cart-product img { flex-basis: 54px; width: 54px; height: 64px; }
  .cart-product-copy strong { font-size: 14px; }
  .cart-unit-price, .cart-row-total, .cart-row-total strong { font-size: 9px; }
  .cart-qty { width: 68px; }
  .cart-qty button { width: 19px; }
}
@media (max-width: 720px) {
  .products { background-attachment: scroll; }
  .product-grid.catalog-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-arrow { top: auto; bottom: 115px; width: 40px; height: 42px; font-size: 47px; }
  .catalog-prev { left: 2px; }
  .catalog-next { right: 2px; }
  .cart-backdrop { padding: 18px 10px 25px; }
  .cart-page-shell { margin-top: 2px; }
  .cart-page-heading { margin-bottom: 18px; padding-inline: 38px; }
  .cart-page-heading h2 { font-size: 31px; }
  .cart-close { top: -2px; right: 0; width: 31px; height: 31px; }
  .cart-main-panel { display: flex; flex-direction: column; gap: 17px; min-height: unset; padding: 13px; border-radius: 20px; }
  .cart-table-panel { order: 2; width: 100%; padding: 10px; overflow-x: auto; border-radius: 14px; }
  .cart-column-head { display: none; }
  .cart-items { overflow: visible; }
  .cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 83px; gap: 9px; min-width: 0; padding: 11px 2px; }
  .cart-product { gap: 8px; }
  .cart-product img { flex-basis: 49px; width: 49px; height: 57px; }
  .cart-product-copy strong { font-size: 14px; }
  .cart-product-copy small { font-size: 9px; }
  .cart-qty { grid-column: 2; grid-row: 1; width: 80px; }
  .cart-unit-price { display: none; }
  .cart-row-total { grid-column: 1; grid-row: 2; margin-left: 57px; text-align: left; font-size: 10px; }
  .cart-row-total::before { content: 'Total: '; }
  .cart-actions { grid-column: 2; grid-row: 2; text-align: center; }
  .remove-item { font-size: 9px; }
  .cart-summary { order: 1; width: 100%; padding: 17px 15px; border-radius: 15px; }
  .cart-summary h3 { font-size: 20px; }
  .summary-row { font-size: 12px; }
  .checkout-button { margin-top: 12px; }
  .cart-empty { width: 100%; min-height: 220px; }
}

/* The WordPress page uses a viewport-sized iframe, so internal section scrolling remains aligned with 100vh. */
.site-header { position: fixed; background: linear-gradient(180deg, rgba(58, 9, 22, .30), rgba(58, 9, 22, .08)); backdrop-filter: blur(5px); }

/* Keep the static appearance close to the submitted PDF: simple hero, clean product cards, translucent contact panel. */
.hero-content { padding-top: 34px; }
.hero-kicker, .hero-link, .scroll-hint { display: none !important; }
.about-copy > .eyebrow, .section-heading > .eyebrow, .contact-content > .eyebrow { display: none; }
.product-number, .card-detail-label, .catalog-footer { display: none !important; }
.products { padding-bottom: 54px; }
.product-card { padding-bottom: 15px; }
.product-card p { min-height: 42px; }
.contact { padding-top: calc(var(--header-height) + 20px); }
.contact-backdrop { z-index: -2; background: linear-gradient(90deg, rgba(70,12,27,.34), rgba(105,30,48,.3)), url('../images/catalog-backdrop.jpg') left center / cover no-repeat; }
.contact::before { content: ''; position: absolute; z-index: -1; inset: 12% 9% 7%; border-radius: 48px; background: rgba(255, 231, 236, .28); pointer-events: none; }
.contact-content { position: relative; width: min(820px, 100%); padding: 22px 20px 28px; }
.contact-content h2 { font-size: clamp(29px, 3vw, 42px); }
.contact-details { grid-template-columns: 1fr; gap: 20px; width: min(610px, 100%); margin: 42px auto 29px; }
.contact-detail { gap: 15px; color: #290b12; }
.contact-icon { flex-basis: 42px; width: 42px; height: 42px; border: 0; color: #fff8f8; background: #681629; font-size: 22px; }
.contact-detail strong { color: #290b12; font-size: 13px; }
.contact-detail small { color: #290b12; font-size: 12px; }
.contact-note { width: min(740px, 100%); max-width: 740px; margin: 0 auto; color: #fffaf9; font-size: 14px; line-height: 1.5; text-align: left; text-shadow: 0 1px 5px rgba(55,7,18,.28); }
.site-footer { display: none; }
@media (max-width: 720px) {
  .contact { padding-top: calc(var(--header-height) + 16px); }
  .contact::before { inset: 8% 4% 5%; border-radius: 25px; }
  .contact-content { padding: 25px 10px 25px; }
  .contact-details { margin: 27px auto 24px; gap: 16px; }
  .contact-note { width: 100%; font-size: 12px; }
}
