:root {
  color-scheme: dark;
  --cream: #f4eee6;
  --ink: #201611;
  --paper: #e6d4c2;
  --chocolate: #3b2a20;
  --olive: #4a5441;
  --tobacco: #885d3d;
  --cognac: #b98156;
  --line: #f4eee633;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--cream); background: var(--ink); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { margin: 0; font: 500 3rem/1 var(--serif); }
h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
h3 { font-size: 2.2rem; }
p { margin: 0 0 1.1rem; }
.frame { width: min(90%, 80rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header, .footer { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.header {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  min-height: 4rem;
  padding: .55rem clamp(1rem, 3vw, 2rem);
  border-radius: 2rem;
}
.wordmark { font: 600 1.3rem/1 var(--serif); letter-spacing: .09em; text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.8rem, 3vw, 2rem); }
nav a, footer > a:last-child { font-size: .875rem; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.signature { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-right: .45rem; border: 1px solid #f4eee66b; border-radius: 50%; font-size: 1.05rem; letter-spacing: -.08em; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  isolation: isolate;
  position: relative;
  min-height: clamp(32rem, 65vw, 49rem);
  margin-block: -2rem clamp(2rem, 6vw, 5rem);
  border: 1px solid #ecba8c4a;
  border-radius: clamp(1.5rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 79% 29%, #6a4634 0, #332219 43%, #201510 76%);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: calc(100% + clamp(2rem, 9vw, 8rem));
  margin: 0 0 clamp(1rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: clamp(1.4rem, 3vw, 2.5rem);
}
.header, .hero-copy, .hero-image figcaption {
  background: linear-gradient(145deg, #f4d0ae35, #21160f78 55%, #f4d0ae12);
  border: 1px solid #ffead166;
  box-shadow: inset 0 1px 1px #fff0e16b, inset 0 -1px 1px #fff0e128, 0 16px 45px #0e080744;
  backdrop-filter: blur(22px) saturate(1.18);
}
.hero h1 { font-size: clamp(3.2rem, 7.6vw, 7.3rem); line-height: .87; letter-spacing: -.062em; margin-bottom: .3em; }
.hero p { color: var(--paper); margin-bottom: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; border: 1px solid #ffead188; border-radius: 99rem; padding: .65rem 1.25rem; color: var(--cream); background: linear-gradient(145deg, #828870, var(--olive) 68%); box-shadow: inset 0 1px 1px #ffffff42; font-size: .9rem; text-decoration: none; }
.button:hover { background: #666f59; }
.hero-image { position: absolute; inset: 0 0 0 37%; margin: 0; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.8) saturate(.78); }
.hero-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #332219, #33221900 40%), linear-gradient(0deg, #20140f80, transparent 40%); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; right: 1.15rem; bottom: 1.15rem; padding: .4rem .8rem; border-radius: 99rem; color: var(--cream); font-size: .75rem; }
.catalog { border-top: 1px solid var(--line); padding-block: clamp(2.2rem, 5vw, 4.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { background: transparent; border: 1px solid var(--line); min-height: 2.75rem; padding: .4rem .9rem; border-radius: 99rem; font-size: .875rem; }
.filters button[aria-pressed=true], .filters button:hover { background: #f4eee61e; color: var(--cream); border-color: #f4eee66b; }
.catalog-status { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; margin: 0; background: #fff5e709; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.product { border: 1px solid var(--line); max-width: 32rem; }
.product-media { display: grid; place-items: center; aspect-ratio: 4/3; background: #e8ddcf; color: var(--chocolate); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-copy { padding: 1.2rem; }
.category { font-size: .875rem; color: #d5a681; margin-bottom: .55rem; }
.price { margin: .85rem 0; font-weight: 600; }
.outline { background: transparent; color: var(--cream); }
.outline:hover { color: var(--cream); }
.brand { background: #34251d; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 5vw, 5rem); padding-block: clamp(2.5rem, 7vw, 6.5rem); }
.split h3 { margin-bottom: .75rem; }
.split p:last-child { margin-bottom: 0; }
.material { color: #d5a681; margin-top: .7rem; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
details summary { cursor: pointer; padding: .8rem .25rem; font-weight: 500; }
.care-details details p { margin: 0 0 1rem; }
.contacts { color: var(--cream); background: var(--olive); }
.contact-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.contact-links .button { border-color: var(--cream); }
dialog { width: min(92%, 46rem); max-height: 90dvh; padding: 0; border: 1px solid var(--line); background: #34251d; color: var(--cream); }
dialog::backdrop { background: #20160f99; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-header { position: sticky; top: 0; background: #34251d; display: flex; justify-content: end; padding: .5rem .8rem; }
.close { background: transparent; border: 1px solid var(--line); width: 2.75rem; min-height: 2.75rem; font-size: 1.5rem; }
.dialog-content { padding: 0 clamp(1rem, 4vw, 2rem) 2rem; }
.dialog-content h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; margin-bottom: 1rem; align-items: center; }
.gallery img { display: block; max-width: 100%; max-height: 30rem; margin-inline: auto; }
dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
dd { margin: 0; }
@media (max-width: 700px) {
  .header { align-items: flex-start; flex-direction: column; gap: .5rem; padding: .7rem 1rem; margin-top: .65rem; border-radius: 1.25rem; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: clamp(30rem, 107vw, 39rem); }
  .hero-image { inset: 0 0 12%; }
  .hero-image img { object-position: center 34%; }
  .hero-image::after { background: linear-gradient(0deg, #332219 0%, transparent 48%); }
  .hero-copy { width: auto; margin: 0 .7rem 2.55rem; padding: 1.15rem; }
  .hero h1 { font-size: clamp(2.95rem, 10vw, 4.75rem); }
  .hero p { margin-bottom: .85rem; }
  .hero-image figcaption { position: absolute; top: auto; right: .9rem; bottom: -3.4rem; border: 0; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .split { grid-template-columns: 1fr; }
}

/* Shared glass surfaces and navigation below the opening image. */
:root {
  --glass-surface: linear-gradient(145deg, #ad7c5726, #34231a6b 49%, #e0b58d12), #251913;
  --glass-border: #ffead13b;
  --glass-shadow: inset 0 1px 1px #fff0e136, 0 16px 38px #0e080732;
}
.header { position: sticky; top: .65rem; z-index: 5; }
.header nav a {
  padding: .25rem .55rem;
  border-radius: 99rem;
  text-decoration: none;
}
.header nav a:hover, .header nav a[aria-current] {
  background: #fff2df27;
  box-shadow: inset 0 0 0 1px #ffead13b;
}
.glass-section { scroll-margin-top: 7.25rem; }
.section-links, .glass-section { margin-bottom: clamp(1rem, 3vw, 2.25rem); }
.section-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.3rem);
}
.section-links a, .glass-section {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.section-links a {
  display: grid;
  gap: .2rem;
  padding: clamp(.85rem, 2.1vw, 1.65rem);
  border-radius: 1.25rem;
  text-decoration: none;
}
.section-links a:hover { background: #52382a; border-color: #ffead180; }
.section-links strong { font: 500 clamp(1.55rem, 3.3vw, 2.6rem)/1 var(--serif); }
.section-links span { font-size: .875rem; color: var(--paper); }
.glass-section { border-radius: clamp(1.4rem, 3vw, 2.5rem); }
.glass-section, .glass-section > .split { padding: clamp(1.25rem, 4.2vw, 3.6rem); }
.glass-section:has(> .split) { padding: 0; }
.catalog-status { border-color: var(--glass-border); background: #100a072c; }
.filters button { background: #100a072c; }
.filters button[aria-pressed=true] {
  background: linear-gradient(145deg, #757e65, #47513e);
  box-shadow: inset 0 1px 1px #fff0e160;
}
.care-details { display: grid; gap: .65rem; }
.care-details details {
  background: #fff2df0a;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
}
.care-details details[open] { background: #fff2df12; }
.care-details details summary { padding: .85rem 1rem; }
.care-details details p { margin: 0; padding: 0 1rem 1rem; color: var(--paper); }
.contacts { background: linear-gradient(145deg, #727c5c59, #31382b 65%), #31382b; }
.product { border-radius: 1.3rem; overflow: hidden; background: #fff2df0a; }
.product-media { background: #574238; color: var(--cream); }
dialog { border-radius: 1.35rem; box-shadow: 0 24px 80px #0b060599; }
.back-top { padding: .45rem .95rem; border: 1px solid var(--glass-border); border-radius: 99rem; }
@media (max-width: 700px) {
  .header { top: .4rem; }
  .header nav { gap: .2rem; width: 100%; justify-content: space-between; }
  .header nav a { padding-inline: .3rem; }
  .section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-links a:last-child { grid-column: 1 / -1; }
}
.section-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-links a:last-child { grid-column: auto; }
.order-steps { margin: 0 0 1.25rem; padding-inline-start: 1.4rem; color: var(--paper); }
.order-steps li + li { margin-top: .65rem; }
#order-links { display: flex; flex-wrap: wrap; gap: .65rem; }
@media (max-width: 800px) {
  .section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .header nav { flex-wrap: nowrap; overflow-x: auto; padding: .15rem .25rem; }
  .header nav a { flex: 0 0 auto; white-space: nowrap; }
}
.hero-image img { object-position: center 59%; }
.product-media img { object-fit: cover; object-position: center 57%; }

.products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); gap: clamp(.6rem, 1.5vw, 1rem); }
.product { position: relative; max-width: none; }
.product:hover { border-color: #ffead183; }
.product-media { aspect-ratio: 1; }
.product-media img { min-width: 0; min-height: 0; }
.product-copy { padding: clamp(.65rem, 1.5vw, 1rem); }
.product-copy h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.product-copy .price { margin: .4rem 0; font-size: .875rem; font-weight: 400; }
.product-open { background: transparent; border: 0; padding: .15rem 0; font-size: .875rem; text-decoration: underline; }
.product-open::after { content: ""; position: absolute; inset: 0; }
.product:focus-within { outline: 2px solid var(--cream); outline-offset: 3px; }
.product-gallery { margin-bottom: 1rem; }
.product-gallery img { display: block; width: 100%; height: min(48dvh, 29rem); object-fit: contain; background: #201611; border-radius: 1rem; touch-action: pan-y; }
.gallery-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .65rem; margin-top: .65rem; }
.gallery-controls button { min-height: 2.75rem; background: #fff2df12; border: 1px solid var(--glass-border); border-radius: 99rem; }
.gallery-controls button:hover { background: #fff2df27; }
.gallery-counter { font-size: .875rem; color: var(--paper); font-variant-numeric: tabular-nums; }
@media (max-width: 550px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#cart-items { list-style: none; margin: 0 0 1rem; padding: 0; }
#cart-items li { display: grid; grid-template-columns: 1fr 2.75rem auto 2.75rem; gap: .55rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--glass-border); }
#cart-items button { min-height: 2.75rem; border-radius: 50%; background: #fff2df12; border: 1px solid var(--glass-border); }
.button:disabled { opacity: .55; cursor: default; }
#seller-details { margin-top: 1.4rem; overflow-wrap: anywhere; }

.price { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.regular-price { color: var(--paper); opacity: .82; }
.discount { padding: .08rem .45rem; border: 1px solid var(--glass-border); border-radius: 99rem; background: var(--olive); color: var(--cream); font-size: .8rem; }

/* Olive glass accents echo the contact panel. */
:root {
  --olive-glass: linear-gradient(145deg, #727c5c59, #31382b 72%), #31382b;
  --olive-edge: #b9c4a26b;
}
.section-links a[href="#order"],
#order {
  background: var(--olive-glass);
  border-color: var(--olive-edge);
}
.section-links a[href="#order"]:hover {
  background: linear-gradient(145deg, #657350, #384332);
  border-color: #c4d0aa;
}
.header nav a[aria-current] {
  background: #6676538c;
  box-shadow: inset 0 0 0 1px var(--olive-edge);
}
#catalog .catalog-status,
#cart-items button {
  background: #53634736;
  border-color: var(--olive-edge);
}
#cart-items button:hover { background: #657350; }
.discount { background: linear-gradient(145deg, #627153, #414d37); border-color: var(--olive-edge); }

#catalog { border-color: var(--olive-edge); }
#catalog .section-head h2 { color: #dce5ce; }
@media (max-width: 800px) { .section-links a:last-child { grid-column: 1 / -1; } }

.mobile-menu { display: none; }
@media (min-width: 960px) {
  body {
    display: grid;
    grid-template-columns: clamp(11rem, 16vw, 15rem) minmax(0, 80rem);
    grid-template-rows: auto auto;
    justify-content: center;
    column-gap: clamp(1rem, 3vw, 2.5rem);
    padding: 1.5rem clamp(1.25rem, 4vw, 4rem) 0;
  }
  .header {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    top: 1.5rem;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(.85rem, 1.8vw, 1.4rem);
    border-radius: 1.65rem;
  }
  .header .wordmark {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-size: clamp(.95rem, 1.35vw, 1.2rem);
  }
  .header nav { display: grid; gap: .3rem; }
  .header nav a { display: flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .5rem .8rem; }
  main, .footer { grid-column: 2; min-width: 0; }
  main > .frame, .footer.frame { width: 100%; }
  .hero { margin-top: 0; min-height: clamp(31rem, 47vw, 45rem); }
  .hero-copy { width: calc(100% + clamp(2rem, 6vw, 5rem)); }
  .hero h1 { font-size: clamp(3.4rem, 6vw, 6.6rem); }
  .glass-section { scroll-margin-top: 1.5rem; }
}
@media (max-width: 700px) {
  .header { flex-direction: row; align-items: center; min-height: 3.65rem; }
  .mobile-menu:not([hidden]) {
    display: inline-block;
    min-height: 2.75rem;
    padding: .4rem .8rem;
    border: 1px solid var(--olive-edge);
    border-radius: 99rem;
    background: #52604470;
    font-size: .875rem;
  }
  .header nav { flex-wrap: wrap; overflow: visible; }
  .header:has(.mobile-menu:not([hidden])) nav {
    display: none;
    position: absolute;
    inset: calc(100% + .4rem) 0 auto;
    padding: .5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.15rem;
    background: #30221c;
    box-shadow: var(--glass-shadow);
  }
  .header:has(.mobile-menu[aria-expanded="true"]) nav { display: grid; }
  .header nav a { min-height: 2.75rem; display: flex; align-items: center; gap: .4rem; padding: .35rem .75rem; }
  .header:has(.mobile-menu[hidden]) { flex-wrap: wrap; }
  .header .wordmark { font-size: clamp(.95rem, 4vw, 1.3rem); }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 4.75rem); }
  .glass-section { scroll-margin-top: 5.5rem; }
}

/* Keep the opening copy and product photograph in their own columns. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 0;
  align-items: stretch;
  margin-top: 1rem;
  margin-bottom: clamp(1rem, 2.6vw, 2rem);
  border-radius: 1.65rem;
  background: linear-gradient(145deg, #403126, #261b15 70%);
}
.hero-copy {
  width: auto;
  margin: 0;
  align-self: center;
  padding: clamp(1.35rem, 4vw, 3.7rem);
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.hero h1 { font-size: clamp(2.6rem, 4.7vw, 5.2rem); line-height: .96; letter-spacing: -.045em; }
.hero-image { position: relative; inset: auto; min-height: clamp(22rem, 35vw, 36rem); }
.hero-image img { position: absolute; inset: 0; object-position: center 54%; filter: brightness(.95); }
.hero-image::after { background: linear-gradient(0deg, #20140f56, transparent 28%); }
.hero-image figcaption { right: .85rem; bottom: .85rem; transform: none; }
@media (min-width: 960px) {
  body { grid-template-columns: clamp(10rem, 13vw, 12.5rem) minmax(0, 73rem); }
  .header {
    gap: .8rem;
    padding: .85rem;
    background: linear-gradient(145deg, #52604446, #32251e 75%);
    border-color: var(--olive-edge);
    border-radius: 1.2rem;
  }
  .header .wordmark { padding: .25rem .35rem .6rem; font-size: 1rem; }
  .header nav { gap: .15rem; border-top: 1px solid var(--glass-border); padding-top: .45rem; }
  .header nav a { border-radius: .65rem; }
  .hero { margin-top: 0; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-image { grid-row: 1; min-height: clamp(13rem, 60vw, 22rem); }
  .hero-image img { object-position: center 53%; }
  .hero-copy { padding: 1.3rem 1.15rem 1.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4.25rem); }
  .hero-image figcaption { padding: .3rem .65rem; background: #271b16d9; border: 1px solid var(--glass-border); }
}

.hero { align-items: end; margin-bottom: .85rem; }
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: calc(100% + clamp(1rem, 6vw, 5rem));
  margin: 0 0 1.15rem 1.15rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid #ffead14d;
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #554235dc, #251912bc);
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
}
.hero h1 { font-size: clamp(2.55rem, 4.4vw, 4.5rem); }
.hero p { margin-bottom: .85rem; }
.hero-image { min-height: clamp(19rem, 30vw, 29rem); }
.section-links, .glass-section { margin-bottom: .85rem; }
.section-links a { padding: .75rem 1rem; }
.section-links strong { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.glass-section, .glass-section > .split { padding: clamp(1.1rem, 3vw, 2rem); }
.glass-section:has(> .split) { padding: 0; }
.section-head { margin-bottom: 1rem; }
@media (min-width: 960px) {
  body { grid-template-columns: clamp(9.5rem, 12vw, 11.5rem) minmax(0, 65rem); column-gap: clamp(1rem, 2vw, 1.6rem); }
}
@media (max-width: 700px) {
  .hero-image { min-height: clamp(12rem, 54vw, 20rem); }
  .hero-image figcaption { top: .55rem; bottom: auto; }
  .hero-copy { width: auto; margin: -2.5rem .65rem .65rem; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3.5rem); }
}

.mini-cart { display: none; }
@media (min-width: 960px) and (min-height: 520px) {
  .mini-cart:not([hidden]) {
    display: grid;
    gap: .55rem;
    padding: .8rem;
    background: var(--olive-glass);
    border: 1px solid var(--olive-edge);
    border-radius: .9rem;
  }
  .mini-cart h2 { font-size: 1.65rem; }
  .mini-cart p { margin: 0; color: var(--paper); font-size: .875rem; }
  .mini-cart .button { min-height: 2.5rem; padding: .35rem .45rem; text-align: center; font-size: .875rem; }
}

.sidebar { display: contents; }
.section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-links a:last-child { grid-column: auto; }
.quick-add { display: flex; position: relative; z-index: 2; width: 100%; min-height: 2.75rem; margin-top: .55rem; padding: .4rem .55rem; text-align: center; }
.cart-product-label { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.cart-product-label span { overflow-wrap: anywhere; }
.cart-product-label img { flex: none; width: 2.25rem; height: 2.25rem; border-radius: .4rem; object-fit: cover; }
#mini-cart-items { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
#mini-cart-items li { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .35rem 0; border-bottom: 1px solid var(--olive-edge); }
#mini-cart-items img { width: 1.7rem; height: 1.7rem; }
@media (min-width: 960px) {
  .sidebar { display: grid; grid-column: 1; grid-row: 1 / 3; align-self: start; position: sticky; top: 1.5rem; gap: .75rem; max-height: calc(100dvh - 3rem); overflow: auto; }
  .sidebar .header { position: relative; top: auto; grid-area: auto; }
}

.hero-copy {
  justify-self: start;
  width: max-content;
  max-width: calc(100% + 2rem);
  margin: 0 0 1.25rem 1.25rem;
  padding: clamp(.95rem, 1.8vw, 1.5rem);
  border-radius: 1rem;
  background: linear-gradient(145deg, #523d2ecc, #291c15d9);
}
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
@media (min-width: 701px) {
  .hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .hero-image::after { background: linear-gradient(90deg, #34261d, transparent 28%), linear-gradient(0deg, #20140f56, transparent 28%); }
}
@media (max-width: 700px) {
  .hero-copy { max-width: calc(100% - 1.3rem); margin: -1.6rem .65rem .65rem; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
}

.hero {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  background: radial-gradient(ellipse at 0 5%, #52604445, transparent 72%), #2b211a;
}
.hero-copy {
  align-self: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(1.45rem, 4vw, 3.5rem);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
.hero h1 { font-size: clamp(3rem, 5.3vw, 5.5rem); margin-bottom: .3em; }
.hero .hero-material { color: #d8e2c9; margin-bottom: 1rem; }
.hero-image { min-height: clamp(20rem, 31vw, 28rem); }
.hero-image img { object-position: center 58%; }
.hero-image::after { content: none; }
@media (max-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-image { grid-row: 2; min-height: clamp(12rem, 54vw, 21rem); }
  .hero-copy { padding: 1.25rem; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(20rem, 31vw, 28rem);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  min-height: 0;
  z-index: -1;
}
.hero-image img { object-position: center 52%; }
.hero-image::after {
  content: "";
  background: linear-gradient(90deg, #201710fa 0%, #201710e8 30%, #20171050 66%, transparent);
}
.hero-copy {
  align-self: auto;
  width: min(100%, 36rem);
  padding: clamp(1.35rem, 3.8vw, 3.3rem);
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
@media (max-width: 700px) {
  .hero { min-height: clamp(23rem, 89vw, 29rem); }
  .hero-image img { object-position: center 48%; }
  .hero-image::after { background: linear-gradient(0deg, #201710 0%, #201710dc 30%, #20171012 80%); }
  .hero-copy { padding: 1.25rem; }
  .hero h1 { font-size: clamp(2.35rem, 8vw, 3.4rem); }
}

.catalog-cart-control { position: relative; z-index: 2; margin-top: .55rem; }
.catalog-cart-control .quick-add { margin-top: 0; }
.catalog-cart-control [hidden] { display: none; }
.catalog-stepper { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; min-height: 2.75rem; text-align: center; border: 1px solid var(--olive-edge); border-radius: 99rem; background: var(--olive-glass); }
.catalog-stepper button { min-height: 2.75rem; border: 0; border-radius: 50%; background: transparent; }
.catalog-stepper button:hover { background: #fff2df27; }
.hero-image img { object-position: center 62%; }
@media (max-width: 700px) {
  .hero-image img { object-position: 79% center; }
}

.shop-form label,.shop-form output{display:block;margin:12px 0}
.shop-form input,.shop-form textarea{display:block;width:100%;padding:12px;margin-top:5px;border:1px solid #8c7c6e;border-radius:10px;background:#241d19;color:#fff;font:inherit}
.shop-form summary{cursor:pointer}.shop-form details,.shop-form{margin-bottom:14px}.shop-form li{white-space:pre-line}

#product-dialog { --image-width:min(48vw,calc(min(60dvh,33rem) * var(--photo-ratio,.75))); width:min(94vw,calc(var(--image-width) + 24rem)); background:#30251e; overscroll-behavior:contain }
#product-dialog::backdrop { background:#110d0ac4; backdrop-filter:blur(5px) }
#product-dialog .dialog-header { height:0; padding:0; background:transparent; z-index:2 }
#product-dialog .close { margin:.55rem; width:44px; height:44px; border-radius:50%; background:#32261fe8; color:#fff }
#product-detail { padding:0 1rem 1rem 0; display:grid; grid-template-columns:minmax(0,var(--image-width)) minmax(0,1fr); gap:clamp(1rem,3vw,2rem); align-items:center }
#product-detail .product-gallery { margin:0 }
#product-detail .product-gallery img { width:100%; height:auto; background:transparent; border-radius:12px }
.product-info { padding:2.4rem .5rem 1rem; min-width:0 }
.product-info h2 { font-size:clamp(2rem,4vw,3.2rem); line-height:1.04; overflow-wrap:anywhere }
.product-info .button { margin:.25rem .25rem .25rem 0 }
@media(max-width:650px){
  #product-dialog { margin:auto auto 0; width:min(100%,max(18rem,calc(68dvh * var(--photo-ratio,.75)))); max-width:100%; max-height:94dvh; border-radius:1.3rem 1.3rem 0 0 }
  #product-detail { grid-template-columns:minmax(0,1fr); gap:.8rem; padding:0 0 max(1rem,env(safe-area-inset-bottom)) }
  #product-detail .gallery-controls { margin-inline:.75rem }
  .product-info { padding:0 1rem }
}
@media(prefers-reduced-motion:no-preference){
  #product-dialog[open] { animation:product-enter .22s ease-out }
  @keyframes product-enter { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:translateY(0) } }
}

#account { width:min(92vw,30rem); padding:clamp(1.25rem,4vw,2rem); overflow-wrap:anywhere; overscroll-behavior:contain }
#account::backdrop { background:#110d0ab8; backdrop-filter:blur(5px) }
.account-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem }
.account-heading h2 { font-size:clamp(1.9rem,5vw,2.6rem); margin:0 }
.account-heading button { width:44px; height:44px }
#account .shop-form { margin:0 }
@media (prefers-reduced-motion:no-preference) {
  #account[open], .header:has(.mobile-menu[aria-expanded="true"]) nav { animation:shop-appear .22s cubic-bezier(.2,.8,.25,1) }
  dialog[open]::backdrop { animation:shop-dim .18s ease-out }
  .button,.gallery-controls button { transition:transform .16s ease-out,background-color .16s }
  .button:active,.gallery-controls button:active { transform:scale(.97) }
  @keyframes shop-appear { from { opacity:0; transform:translateY(8px) scale(.985) } }
  @keyframes shop-dim { from { opacity:0 } }
}
