@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Serif+TC:wght@600;700&display=swap');

@font-face {
  font-family: 'Bodoni Moda';
  src: url('./assets/bodoni-moda-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('./assets/bodoni-moda-latin-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pinyon Script';
  src: url('./assets/pinyon-script-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf8f4;
  --surface: #fff;
  --field: #fffcf8;
  --tea: #efe3d8;
  --ink: #3d2d27;
  --muted: #6b5449;
  --accent: #7c5140;
  --accent-hover: #633c2e;
  --border: #ad8f7d;
  --line: #ddcfc3;
  --shadow: #4e342018;
  --sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --serif: 'Bodoni Moda', 'Noto Serif TC', 'Songti TC', 'PMingLiU', Georgia, serif;
  --latin: 'Bodoni Moda', Didot, Baskerville, Georgia, serif;
  --script: 'Pinyon Script', 'Bodoni Moda', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; }
img { display: block; width: 100%; height: auto; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--surface); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; transform: translateY(-155%); padding: 10px 16px; border: 1px solid var(--accent); background: var(--paper); color: var(--ink); }
.skip:focus { transform: none; }
.shell { width: min(1260px, calc(100% - 100px)); margin-inline: auto; }
.section-space { padding-block: clamp(65px, 7.5vw, 110px); }
.eyebrow { color: var(--accent); font: 600 .84rem/1.45 var(--serif); letter-spacing: .16em; }
.eyebrow:lang(en) { font: 400 clamp(1.6rem, 3.5vw, 2.65rem)/1.15 var(--script); letter-spacing: normal; }
h2 { margin-top: 7px; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.24; letter-spacing: .035em; }

.header { position: sticky; z-index: 3; top: 0; border-bottom: 1px solid var(--line); background: var(--field); color: var(--ink); }
.masthead { min-height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 8px; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: 0 0 34px; color: var(--accent); }
.brand span { white-space: nowrap; font: 400 clamp(1.9rem, 3.1vw, 2.65rem)/1 var(--script); }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.header nav a { padding-block: 8px; white-space: nowrap; font-size: .91rem; font-weight: 600; }
.header :focus-visible { outline-color: var(--accent); }
.header nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; padding: 9px 18px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: inherit; font-size: .91rem; font-weight: 700; line-height: 1.35; text-align: center; transition: background-color .18s, border-color .18s, color .18s; }
.button svg { width: 19px; height: 19px; flex: 0 0 19px; }
.primary { border-color: var(--border); background: var(--accent); color: var(--surface); }
.primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.outline, .card-pick { border-color: var(--border); background: var(--surface); color: var(--accent); }
.outline:hover, .card-pick:hover { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.subtle-link { display: inline-block; color: var(--accent); font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--border); text-underline-offset: 4px; }
.subtle-link:hover { text-decoration-color: currentColor; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: clamp(510px, 46vw, 650px);
  margin-top: clamp(19px, 4vw, 55px);
  isolation: isolate;
  background: linear-gradient(140deg, var(--surface) 5%, var(--paper) 38%, var(--tea) 100%);
}
.hero::after { position: absolute; z-index: 1; inset: 13px; border: 1px solid #b596837d; pointer-events: none; content: ''; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5.6vw, 79px); }
.hero-ornament { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: var(--accent); }
.hero-ornament::before, .hero-ornament::after { display: block; width: 24px; height: 1px; background: var(--border); content: ''; }
.hero-ornament svg { width: 25px; height: 25px; }
.hero-label { color: var(--muted); font: 600 .78rem/1.5 var(--sans); letter-spacing: .24em; }
.hero h1 { margin-block: 15px 13px; }
.hero-title-en { display: block; width: max-content; margin-left: -.04em; color: var(--accent); font: 400 clamp(4rem, 7.65vw, 7.25rem)/.9 var(--script); }
.hero-title-zh { display: block; margin-top: 19px; color: var(--ink); font: 600 clamp(1.08rem, 1.75vw, 1.47rem)/1.5 var(--serif); letter-spacing: .11em; }
.hero-deck { color: var(--muted); font-size: clamp(.87rem, 1.25vw, 1.08rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 23px; }
.hero-actions .button { padding-inline: 24px; }
.hero-portrait { position: relative; min-width: 0; overflow: hidden; background: var(--tea); }
.hero-portrait img { position: absolute; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-portrait figcaption { position: absolute; right: 23px; bottom: 23px; padding: 3px 7px; background: var(--paper); color: var(--muted); font-size: .7rem; letter-spacing: .08em; }

.pickup-strip { margin-top: 13px; }
.strip-content { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; min-height: 49px; padding: 9px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.strip-content p { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .91rem; font-weight: 600; }
.strip-content svg { flex: 0 0 18px; width: 18px; height: 18px; }
.strip-content a { flex-shrink: 0; }

.catalog { padding-top: clamp(55px, 6vw, 89px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-heading > p { color: var(--muted); padding-bottom: 3px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.categories { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.result-count { flex-shrink: 0; color: var(--muted); font-size: .9rem; white-space: nowrap; }
[data-category] { --category-accent: var(--accent); }
.category { min-height: 44px; padding: 7px 15px; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); color: var(--accent); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.category:hover { border-color: var(--accent); background: var(--field); }
.category[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: var(--surface); }

.photo-products, .text-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.product { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.product-photo { position: relative; display: block; width: 100%; aspect-ratio: 1.08; overflow: hidden; padding: 0; border: 0; background: var(--surface); }
.product-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 55%; transition: transform .28s; }
.product-link:hover .product-photo img { transform: scale(1.048); }
[data-product='cash-twenty'] img { object-position: center 42%; }
[data-product='cash-hundred'] img { object-position: center 44%; }
[data-product='rose-one'] img { object-position: center 52%; }
.zoom { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--border); background: var(--accent); color: var(--surface); }
.zoom svg { width: 19px; height: 19px; }
.product-content { display: flex; flex: 1; flex-direction: column; align-items: start; min-width: 0; padding: 13px 14px 14px; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin-bottom: 7px; }
.product-category { display: inline-block; border-radius: 999px; padding: 2px 7px; border: 1px solid var(--category-accent); color: var(--category-accent); font-size: .8rem; font-weight: 700; }
.product-size { color: var(--muted); font-size: .83rem; font-weight: 600; }
.product-name { min-width: 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.35; }
.product-description { margin-top: 5px; color: var(--muted); font-size: .88rem; }
.product-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; width: 100%; margin-top: auto; padding-top: 12px; }
.product-price { color: var(--accent); font: 600 .95rem/1.5 var(--serif); }
.card-pick { min-height: 41px; padding: 6px 11px; font-size: .85rem; }
.more-products { margin-top: clamp(28px, 5vw, 52px); }
.text-products .product { border-top: 3px solid var(--category-accent); }
.catalog-note { margin-top: 17px; color: var(--muted); font-size: .88rem; }
.catalog-note a { margin-inline-start: .55em; }

.order { border-block: 1px solid var(--line); background: var(--paper); }
.order-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: clamp(26px, 6.5vw, 88px); }
.receipt { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-top: 23px; padding: 14px; border: 1px solid var(--line); border-inline-start: 3px solid var(--border); border-radius: 14px; background: var(--surface); }
.chosen-photo { flex: 0 0 83px; width: 83px; height: 83px; border-radius: 11px; object-fit: cover; object-position: center 56%; }
.receipt-copy { min-width: 0; }
.receipt-label { color: var(--accent); font-size: .83rem; font-weight: 700; }
#chosen-name { margin-top: 2px; font: 700 1.14rem/1.45 var(--serif); }
#chosen-price { color: var(--accent); font-size: .9rem; font-weight: 700; }
#chosen-description { margin-top: 3px; color: var(--muted); font-size: .87rem; }
.form { min-width: 0; padding: clamp(20px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: 2px; background: var(--surface); box-shadow: 0 11px 30px var(--shadow); }
.field { display: block; min-width: 0; font-size: .9rem; font-weight: 700; }
.field span { color: var(--accent); }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 13px; }
.field select, .field input, .field textarea, #message { display: block; min-width: 0; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--field); color: var(--ink); font-size: 1rem; line-height: 1.5; font-weight: 400; }
.field select, .field input { height: 45px; }
.field select { appearance: none; padding-right: 24px; background: var(--field) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%237c5140' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 7px center / 16px; }
.field textarea, #message { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.urgent-note { color: var(--accent); font-size: .88rem; }
.form-submit { width: 100%; margin-top: 17px; }
.form-note { margin-top: 7px; color: var(--muted); font-size: .84rem; text-align: center; }

.questions { display: grid; gap: 8px; }
.questions details { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; cursor: pointer; list-style: none; font-weight: 700; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 3px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--accent); transition: transform .16s; }
.questions summary:hover svg { background: var(--accent); color: var(--surface); }
.questions details[open] summary svg { transform: rotate(45deg); }
.questions details p { padding: 0 14px 14px; color: var(--muted); }

.footer { border-top: 1px solid var(--line); background: var(--tea); color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 113px; padding-block: 24px; }
.footer p { color: var(--muted); font-size: .88rem; }
.footer .brand + p { margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-self: end; font-size: .89rem; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer a:focus-visible { outline-color: var(--accent); }
.mobile-inquiry { display: none; }

.dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); }
.dialog::backdrop { background: #332018a8; }
.dialog-inner { position: relative; padding: clamp(17px, 4vw, 28px); }
.dialog h2 { margin: 0 40px 8px 0; font-size: clamp(1.38rem, 4.5vw, 2.05rem); }
.dialog-inner > p { color: var(--muted); }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 1.65rem; line-height: 1; }
.dialog-close:hover { background: var(--accent); color: var(--surface); }
#message { min-height: 148px; margin-top: 12px; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.copy-status { min-height: 1.5em; margin-top: 5px; font-size: .86rem; }
.photo-dialog { width: min(605px, calc(100% - 24px)); }
.photo-gallery { display: grid; justify-items: center; overflow: hidden; margin-block: 12px; border-radius: 11px; background: var(--paper); }
.photo-gallery img { width: auto; max-width: 100%; height: min(53vh, 480px); object-fit: contain; }
.photo-thumbnails { display: flex; gap: 7px; align-items: center; }
.photo-thumbnails button { width: 54px; height: 54px; overflow: hidden; padding: 1px; border: 2px solid var(--border); border-radius: 7px; background: var(--paper); }
.photo-thumbnails button[aria-pressed='true'] { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.photo-thumbnails img { height: 100%; border-radius: 3px; object-fit: cover; }
.gallery-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.gallery-actions p { color: var(--accent); font-weight: 700; }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 64px); }
  .photo-products, .text-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 100px; scroll-padding-bottom: 73px; }
  body:has(.mobile-inquiry) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 34px); }
  .section-space { padding-block: 53px; }
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 6px; min-height: 89px; padding-block: 6px; }
  .header nav { gap: clamp(14px, 8vw, 35px); }
  .header nav a { padding-block: 1px; }
  .brand svg { width: 29px; height: 29px; flex-basis: 29px; }

  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 13px; }
  .hero::after { inset: 8px; }
  .hero-copy { padding: 27px clamp(22px, 6vw, 42px) 26px; }
  .hero-ornament { margin-bottom: 8px; }
  .hero h1 { margin-block: 10px 9px; }
  .hero-title-en { font-size: clamp(3.6rem, 13.4vw, 5.9rem); }
  .hero-title-zh { margin-top: 10px; }
  .hero-actions { margin-top: 15px; }
  .hero-actions .button { min-height: 44px; padding-inline: 18px; }
  .hero-portrait { aspect-ratio: 1.21; }
  .hero-portrait img { object-position: center 54%; }
  .hero-portrait figcaption { right: 15px; bottom: 15px; }
  .strip-content { padding-inline: 10px; }
  .strip-content p, .strip-content a { font-size: .82rem; }

  .section-heading { flex-direction: column; align-items: start; gap: 5px; margin-bottom: 15px; }
  .catalog-toolbar { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  .categories { gap: 5px; }
  .category { padding-inline: 11px; }
  .photo-products, .text-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-content { padding: 9px; }
  .product-actions { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 9px; }
  .card-pick { min-height: 40px; width: 100%; }
  .zoom { right: 5px; bottom: 5px; width: 33px; height: 33px; }
  .zoom svg { width: 17px; height: 17px; }

  .order-grid { grid-template-columns: 1fr; gap: 19px; }
  .receipt { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 7px; padding-block: 17px; }
  .footer-links { justify-self: start; }
  .mobile-inquiry { position: fixed; z-index: 2; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 17px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--paper); }
  .mobile-inquiry > div { min-width: 0; }
  .mobile-inquiry p:first-child { font-size: .91rem; font-weight: 700; }
  .mobile-inquiry p:last-child { overflow: hidden; max-width: 100%; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-inquiry .button { flex-shrink: 0; }
}
@media (max-width: 385px) {
  .shell { width: calc(100% - 26px); }
  .strip-content { flex-wrap: wrap; }
  .field-pair { grid-template-columns: 1fr; }
  .product-content { padding: 7px; }
  .product-price, .product-description { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Shared navigation and social links */
.masthead > .social-links, .footer-grid > .social-links { justify-self: end; }
.social-links { display: flex; align-items: center; gap: 7px; }
.social-link { display: inline-grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--accent); transition: background-color .18s, color .18s; }
.social-link svg { width: 22px; height: 22px; }
.social-link:hover { background: var(--accent); color: var(--surface); }
.social-compact { width: 38px; height: 38px; flex-basis: 38px; }
.social-compact svg { width: 21px; height: 21px; }
.site-nav { min-width: 0; }
.site-nav > a[aria-current], .site-nav .current-section { color: var(--accent); }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 4px; min-height: 36px; white-space: nowrap; cursor: pointer; list-style: none; font-size: .91rem; font-weight: 600; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary svg { width: 14px; height: 14px; color: var(--accent); }
.nav-group[open] summary svg { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 5px); left: 0; z-index: 2; display: grid; min-width: 160px; padding: 5px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 24px var(--shadow); }
.nav-group:not([open]) .nav-dropdown { display: none; }
.header nav .nav-dropdown a { padding: 9px 11px; border-radius: 4px; }
.header nav .nav-dropdown a:hover { background: var(--field); }
.footer-grid { grid-template-columns: 1fr auto auto; gap: 12px clamp(18px, 4vw, 45px); }
.footer .brand { margin-bottom: 3px; }

/* Home and collections */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.category-tile { min-height: 0; overflow: hidden; padding: 7px 7px 0; border: 1px solid var(--line); background: var(--surface); }
.category-image { aspect-ratio: .94; overflow: hidden; }
.category-image img { height: 100%; object-fit: cover; object-position: center 52%; transition: transform .28s; }
.category-tile:hover img { transform: scale(1.035); }
.category-tile:hover, .product:hover { border-color: var(--border); }
.category-tile-title { display: flex; min-height: 76px; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 10px 11px; }
.category-tile-title p { color: var(--accent); font: italic 500 .93rem/1.3 var(--latin); }
.category-tile-title h3 { font-size: clamp(1rem, 1.9vw, 1.35rem); line-height: 1.35; }
.home-notices { border-top: 1px solid var(--line); padding-block: clamp(22px, 5vw, 64px); background: var(--tea); }
.home-notice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 5vw, 55px); }
.home-notice-grid article { padding: clamp(16px, 2.5vw, 29px); border: 1px solid var(--line); background: var(--field); }
.home-notice-grid h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.home-notice-grid article > p:not(.eyebrow) { margin: 9px 0 14px; color: var(--muted); }
.page-shell { padding-block: 20px clamp(55px, 7vw, 91px); }
.breadcrumbs { margin-bottom: clamp(18px, 3vw, 34px); color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 2px 7px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { padding-right: 7px; color: var(--accent); content: '/'; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.page-heading { margin-bottom: clamp(19px, 3.1vw, 37px); padding-bottom: clamp(15px, 2.8vw, 28px); border-bottom: 1px solid var(--line); }
.page-heading h1 { margin-top: 6px; font-size: clamp(2.12rem, 4.45vw, 3.85rem); line-height: 1.25; letter-spacing: .045em; }
.page-note { margin-top: 7px; color: var(--muted); }
.category { display: inline-flex; align-items: center; justify-content: center; }
.product-link { display: flex; min-width: 0; height: 100%; flex-direction: column; }
.product-link:focus-visible { outline-offset: -4px; }
.card-pick { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px; }
.product-link:hover .card-pick { background: var(--accent); color: var(--surface); }
.more-products > h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 2.35vw, 1.95rem); }

/* Product details */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 6vw, 82px); align-items: start; }
.detail-no-photo { display: block; max-width: 675px; }
.detail-image { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.detail-image img { max-height: min(70vh, 690px); height: 100%; object-fit: contain; }
.detail-image:focus-visible { outline-offset: -5px; }
.detail-image:hover .zoom { background: var(--accent-hover); }
.detail-visual .photo-thumbnails { margin-top: 11px; }
.detail-info { min-width: 0; }
.detail-category { margin: 0 0 10px; }
.detail-info h1 { font-size: clamp(1.95rem, 3.65vw, 3.25rem); line-height: 1.25; overflow-wrap: anywhere; }
.detail-size { display: block; margin-top: 5px; color: var(--muted); font-size: .54em; font-weight: 600; }
.detail-price { margin-top: 12px; color: var(--accent); font: 600 clamp(1.3rem, 2.4vw, 1.82rem)/1.4 var(--serif); }
.detail-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.detail-actions .button { min-width: 140px; }
.detail-help { margin-top: 9px; color: var(--muted); font-size: .9rem; }
.detail-specs { margin-block: 18px; border-top: 1px solid var(--line); }
.detail-specs div { display: grid; grid-template-columns: 6.3rem minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.detail-specs dt { color: var(--accent); font-size: .95rem; font-weight: 700; }
.detail-specs dd { margin: 0; color: var(--muted); }
.detail-questions summary { padding-block: 9px; }
.related-products { margin-top: clamp(33px, 6.5vw, 72px); }
.related-products h2 { font-size: clamp(1.45rem, 2.75vw, 2.45rem); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Inquiry and ordering guide */
.order-page .order-grid { gap: clamp(22px, 5vw, 70px); }
.order-page .receipt { margin-top: 0; }
.order-browse { margin-top: 12px; }
.urgent-note, .no-script-note { display: flex; align-items: center; gap: 9px; }
.form-submit:disabled { opacity: .66; cursor: default; }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-steps article { padding: clamp(15px, 3vw, 25px); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.guide-steps h2 { margin-top: 0; font-size: clamp(1.23rem, 2.4vw, 1.63rem); }
.guide-steps p { margin: 5px 0 10px; color: var(--muted); }
.guide-faq { max-width: 820px; margin-top: 35px; }
.guide-faq h2, .guide-contact h2 { margin-bottom: 12px; font-size: clamp(1.46rem, 2.9vw, 2.1rem); }
.guide-contact { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 35px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.guide-contact h2 { margin-bottom: 4px; }
.guide-contact p:last-child { color: var(--muted); }

@media (max-width: 760px) {
  .masthead > .social-links { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .header nav.site-nav { gap: clamp(5px, 3vw, 18px); }
  .site-nav > a, .nav-group summary { font-size: clamp(.82rem, 3.55vw, .91rem); }
  .site-nav > a { display: inline-flex; align-items: center; min-height: 36px; }
  .nav-group summary { gap: 2px; }
  .nav-dropdown { min-width: 138px; }
  .social-link { width: 39px; height: 39px; flex-basis: 39px; }
  .masthead .brand span { font-size: clamp(1.83rem, 7vw, 2.3rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > .social-links { justify-self: start; }
  .category-tile { padding: 5px 5px 0; }
  .category-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile-title { min-height: 54px; padding-inline: 9px; }
  .home-notice-grid, .detail-layout, .guide-steps { grid-template-columns: 1fr; }
  .detail-image img { max-height: 53vh; }
  .detail-specs div { grid-template-columns: 5.1rem minmax(0, 1fr); }
  .guide-steps article { padding: 13px; }
}
