:root {
  color-scheme: light;
  --paper: #f6f2eb;
  --ink: #26231f;
  --muted: #5c554c;
  --line: #d7cfc3;
  --radius: .55rem;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #624b39; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(2.25rem, 5.1vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3.7vw, 3rem); letter-spacing: -.035em; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .nav-bar, .shell, .foot { width: min(100% - 5rem, 1350px); margin-inline: auto; }
.top-inner { min-height: 90px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.site-search { width: min(100%, 19rem); display: flex; border: 1px solid var(--line); background: #fffdfa; }
.site-search, .button, .card, .card img, .hero-image, .thumb, .thumb img, dialog, select { border-radius: var(--radius); }
.site-search input { min-width: 0; width: 100%; padding: .5rem .7rem; font: inherit; color: inherit; border: 0; background: transparent; }
.site-search button, .account-link { min-height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: .45rem; }
.site-search button { min-width: 44px; justify-content: center; }
.account-link { justify-self: end; }
.account-link:hover { text-decoration: underline; }
.site-search svg, .account-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.brand { color: #9c2025; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand b { font: 700 2rem/.9 var(--display); letter-spacing: -.06em; }
.brand span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; margin-top: .35rem; }
.nav-bar { border-top: 1px solid var(--line); }
nav { display: flex; justify-content: center; align-items: center; gap: clamp(.75rem, 3vw, 2.4rem); min-height: 47px; }
nav a { padding: .45rem 0; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.primary-nav { font-weight: 700; }
.product-menu { position: relative; }
.product-menu summary { cursor: pointer; padding-block: .45rem; }
.product-menu div { position: absolute; z-index: 3; right: 0; top: 100%; display: grid; min-width: 10rem; padding: .5rem .9rem; border: 1px solid var(--line); background: var(--paper); }
.plain { border: 0; padding: .5rem 0; background: transparent; }
.hero { margin-top: 1.4rem; }
.hero-media { position: relative; }
.hero-image { display: block; overflow: hidden; background: #d7cfc3; }
.hero-image img { aspect-ratio: 2.28; object-fit: cover; object-position: center 58%; }
.slide-arrow, .controls button { color: #fff; border: 0; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 .15em; border-radius: 50%; background: #26231fe0; font: 2rem/1 var(--body); }
.slide-arrow:hover { background: #26231f; }
.previous { left: clamp(.35rem, 1.4vw, 1.4rem); }
.next { right: clamp(.35rem, 1.4vw, 1.4rem); }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; padding: 1.65rem 0 1.85rem; gap: 1rem; border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: .85rem; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: .55rem 1.15rem; background: var(--ink); border: 1px solid var(--ink); color: white; }
.button:hover { background: #48413a; }
.controls { position: absolute; left: 50%; bottom: .35rem; transform: translateX(-50%); display: flex; align-items: center; border-radius: 99px; background: #26231fe0; }
.controls button { background: transparent; width: 44px; height: 44px; padding: 0; }
.slide-dot::before { content: ''; display: block; width: 18px; height: 4px; margin-inline: auto; background: #ffffff85; border-radius: 4px; }
.slide-dot[aria-current="true"]::before, .slide-dot:hover::before { background: #fff; }
.thumb { background: transparent; border: 1px solid var(--line); min-width: 44px; min-height: 44px; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.section { margin-block: 3.1rem; }
.section h2 { margin-bottom: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.category-shortcuts, .home-selection { text-align: center; }
.category-shortcuts { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.shortcut-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; max-width: 65rem; margin: 1.5rem auto 0; }
.shortcut-list a { min-height: 90px; padding: .55rem .2rem; display: grid; gap: .3rem; justify-items: center; align-content: center; font-weight: 600; }
.shortcut-list a:hover { background: #eae3d9; }
.shortcut-list svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.home-selection .card { padding-bottom: .9rem; background: #eae3d9; }
.home-selection .card h3 { padding-inline: .6rem; }
.home-selection .outline { margin-top: 1.4rem; }
.outline { background: transparent; color: var(--ink); }
.outline:hover { color: #fff; }
.search-status { margin-block: .75rem 1.5rem; color: var(--muted); }
.card { display: block; }
.card img { aspect-ratio: 16 / 10; object-fit: contain; background: #ebe5dc; }
.card p, .card h3 { margin-top: .6rem; font-weight: 600; }
.card:hover p, .card:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.bread { color: var(--muted); margin-block: 1.35rem; font-size: .95rem; }
.listing-head { display: flex; align-items: end; justify-content: space-between; gap: .9rem; margin-bottom: 1.5rem; }
.listing-head label { display: grid; gap: .2rem; font-size: .9rem; }
select { padding: .45rem; background: transparent; border: 1px solid var(--line); }
.detail { display: grid; grid-template-columns: 1.75fr 1fr; align-items: start; gap: clamp(1rem, 4vw, 4rem); }
.detail aside { padding: clamp(1rem, 3vw, 2rem); background: #fffdfa; border: 1px solid var(--line); border-radius: var(--radius); }
.detail h1 { font-size: clamp(2.2rem, 4.3vw, 4rem); margin-bottom: 1.4rem; }
.detail-category { display: inline-block; margin-bottom: .6rem; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.detail-info { margin-top: 1.3rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.detail-info summary { padding-block: .25rem; cursor: pointer; font-weight: 600; }
.detail-info p { margin-top: .45rem; color: var(--muted); }
.gallery-trigger { position: relative; display: block; padding: 0; width: 100%; border: 0; border-radius: var(--radius); overflow: hidden; background: transparent; cursor: zoom-in; }
.gallery-trigger span { position: absolute; right: .65rem; bottom: .65rem; padding: .35rem .6rem; background: var(--ink); color: white; border-radius: .35rem; font-size: .875rem; }
.gallery-main { background: #ebe5dc; aspect-ratio: 16 / 10; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.thumb { width: 82px; padding: 3px; }
.thumb img { height: 48px; object-fit: cover; }
.foot { min-height: 78px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 3rem; }
dialog { max-width: min(490px, calc(100% - 2rem)); padding: 1.5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
dialog::backdrop { background: #26231f80; }
dialog p { margin-block: .8rem; }
.message { background: #e9e2d5; padding: .7rem; }
#photo-viewer { width: min(1100px, 96vw); max-width: none; padding: .65rem; }
#photo-viewer form { display: flex; justify-content: end; margin-bottom: .65rem; }
#photo-viewer img { max-height: 77vh; object-fit: contain; }
@media (max-width: 699px) {
  .top-inner, .nav-bar, .shell, .foot { width: calc(100% - 2rem); }
  .top-inner { padding-block: .7rem; row-gap: .65rem; }
  .top-inner .brand { grid-column: 2; grid-row: 1; }
  .account-link { grid-column: 3; grid-row: 1; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  nav { flex-wrap: wrap; gap: 0 .9rem; font-size: .9rem; line-height: 1.25; }
  .product-menu div { right: auto; left: 50%; transform: translateX(-50%); }
  .shortcut-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3rem; }
  .shortcut-list a { grid-column: span 2; font-size: .9rem; }
  .shortcut-list a:nth-child(-n+2) { grid-column: span 3; }
  .hero { margin-top: .8rem; }
  .hero-image img { aspect-ratio: auto; object-fit: contain; }
  .hero-bottom { align-items: start; flex-direction: column; padding: 1.1rem 0; }
  .grid, .detail { grid-template-columns: 1fr; }
  .listing-head { flex-wrap: wrap; align-items: start; }
  .section { margin-block: 2rem; }
}
