:root {
  --paper: #f7f4ee;
  --panel: #ede7dd;
  --ink: #10110f;
  --muted: #6b665e;
  --line: #d7d0c4;
  --dark: #050706;
  --dark-2: #0b0f0d;
  --emerald: #012f23;
  --gold: #d2ad70;
  --gold-soft: #e6c892;
  --shadow: 0 22px 70px rgba(5, 7, 6, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr 1.4fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  background: linear-gradient(90deg, #012117, #073426 50%, #012117);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar i {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.42);
}

.topbar a {
  justify-self: end;
}

.topbar button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.topbar.hidden {
  display: none;
}

.topbar.hidden + .site-header {
  top: 0;
}

.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 75;
  display: grid;
  grid-template-columns: 330px 1fr 360px;
  align-items: center;
  min-height: 86px;
  padding: 0 64px;
  background: rgba(5, 7, 6, 0.68);
  color: #fff;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav,
.header-actions,
.collection-tabs,
.collection-tools,
.hero-rail,
.subfilters {
  display: flex;
  align-items: center;
}

.nav,
.header-actions,
.collection-tabs,
.collection-tools,
.hero-rail,
.subfilters,
.cart-side {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav::-webkit-scrollbar,
.header-actions::-webkit-scrollbar,
.collection-tabs::-webkit-scrollbar,
.collection-tools::-webkit-scrollbar,
.hero-rail::-webkit-scrollbar,
.subfilters::-webkit-scrollbar,
.cart-side::-webkit-scrollbar {
  display: none;
}

.nav {
  justify-content: center;
  gap: clamp(28px, 3vw, 54px);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.header-actions {
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.plain-icon,
.bag-button,
.tab,
.collection-tools button,
.collection-tools select {
  border: 0;
  background: transparent;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bag-button {
  position: relative;
}

.bag-button .bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.hero-stage {
  position: relative;
  min-height: 656px;
  padding: 170px 6.7vw 0;
  overflow: visible;
  background: #050706;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 66% center;
  opacity: 0.9;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.74));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(600px, 52vw);
}

.hero-copy p,
.panel-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 4.1vw, 68px);
  font-weight: 400;
  line-height: 0.98;
}

.hero-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.gold-button,
.ghost-button,
.dark-button,
.outline-button,
.light-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gold-button {
  background: linear-gradient(135deg, #e5c28b, #c89f62);
  color: #14100a;
}

.ghost-button {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.dark-button {
  background: var(--emerald);
  color: #fff;
}

.dark-button.full,
.outline-button.full,
.light-button {
  width: 100%;
}

.outline-button {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.light-button {
  background: #fff;
  color: var(--ink);
}

.hero-rail {
  position: absolute;
  z-index: 3;
  left: 6.7vw;
  right: 6.7vw;
  bottom: -20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rail-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 50% 50%;
  height: 166px;
  overflow: hidden;
  border: 1px solid rgba(50, 44, 36, 0.18);
  background: #f8f5ef;
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.rail-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: var(--panel);
}

.rail-copy {
  position: relative;
  padding: 30px 52px 18px 20px;
}

.rail-copy > span {
  color: #b18a55;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-copy h3 {
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.rail-copy strong {
  font-size: 14px;
  font-weight: 500;
}

.rail-card button,
.product-card .small-action {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #050706;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.collection-shell {
  position: relative;
  padding: 72px 6.7vw 72px;
  background: var(--paper);
}

.collection-tabs {
  min-height: 40px;
  gap: 28px;
  margin-bottom: 18px;
}

.tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
}

.tab.active {
  background: #050706;
  color: #fff;
}

.collection-tools {
  margin-left: auto;
  gap: 14px;
  font-size: 12px;
}

.collection-tools button,
.collection-tools select {
  height: 30px;
  border: 1px solid #c8c0b4;
  padding: 0 18px;
  background: transparent;
}

.collection-tools span {
  margin-left: 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.filter-strip[hidden] {
  display: none !important;
}

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-size: 12px;
}

.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.search-strip {
  display: none;
  max-width: 420px;
  margin: 0 0 20px;
}

.search-strip.open {
  display: grid;
  gap: 6px;
}

.search-strip label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-strip input {
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: #f2eee7;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e4dc;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.save-button {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.save-button.active {
  background: #050706;
  color: #fff;
}

.product-copy {
  position: relative;
  min-height: 108px;
  padding: 18px 48px 18px 16px;
}

.product-copy h3 {
  margin: 0 0 10px;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  min-height: 38px;
}

.product-bottom {
  display: block;
}

.price {
  display: block;
  color: #111;
  font-size: 14px;
}

.color-dot {
  display: none;
}

.quick-link {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.product-card .small-action {
  right: 16px;
  bottom: 18px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: background 200ms ease;
}

body:not(.cart-collapsed) .drawer-backdrop {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.58);
}

.cart-side {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 95;
  width: min(430px, calc(100vw - 18px));
  height: 100vh;
  padding: 46px 32px 30px;
  overflow: auto;
  background: #fff;
  color: var(--ink);
  box-shadow: -26px 0 70px rgba(0, 0, 0, 0.3);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-side.open {
  transform: translateX(0);
}

.cart-head,
.cart-total,
.cart-line-text,
.summary-total,
.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-head {
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.cart-head button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f4f1ea;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: var(--panel);
}

.cart-item h4 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 500;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.qty-button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.cart-total {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.cart-note {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.shipping-card {
  margin-top: 24px;
  padding: 18px;
  background: #f7f1e7;
  color: #8b7041;
  font-size: 12px;
}

.progress {
  height: 3px;
  margin: 14px 0;
  background: #d7c9ad;
}

.progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
}

.mini-checkout {
  position: fixed;
  right: 26px;
  bottom: 0;
  z-index: 70;
  width: 370px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(5, 35, 25, 0.98), rgba(10, 61, 46, 0.96));
  color: #fff;
  box-shadow: var(--shadow);
}

.mini-checkout.hidden {
  display: none;
}

.mini-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
}

.mini-product {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
}

.mini-product img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  background: #fff;
}

.mini-product strong,
.mini-product span,
.mini-product b {
  display: block;
}

.mini-product strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.mini-product span {
  margin: 6px 0 14px;
  color: #d5dfd8;
  font-size: 12px;
}

.pay-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.pay-row span {
  flex: 1;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  text-align: center;
}

.modal {
  border: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.quick-modal {
  width: min(1080px, calc(100vw - 48px));
}

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 0;
}

.quick-media {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 28px 28px 22px;
  background: #f1ece3;
}

.quick-media > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  background: #e5ded3;
}

.media-nav {
  position: absolute;
  left: 36px;
  top: 43%;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  font-size: 22px;
}

.media-nav.right {
  left: auto;
  right: 36px;
}

.quick-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.quick-thumb {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0;
  background: #fff;
}

.quick-thumb.active {
  border-color: #050706;
  box-shadow: inset 0 0 0 1px #050706;
}

.quick-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

.quick-thumb span {
  display: block;
  overflow: hidden;
  padding: 7px 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-copy {
  padding: 58px 42px 38px;
}

.quick-copy h2,
.checkout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.08;
}

.quick-copy p,
.quick-copy dd,
.checkout-note {
  color: var(--muted);
  line-height: 1.55;
}

.quick-price {
  margin: 18px 0;
  font-size: 18px;
  font-weight: 760;
}

.quick-copy dl {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.quick-copy dt {
  color: #9f7d4c;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-copy dd {
  margin: 4px 0 0;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quantity-row div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quantity-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
}

.quick-actions {
  display: grid;
  gap: 10px;
}

.checkout-modal {
  width: min(1260px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 46px 56px;
}

.form-section {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label,
.form-section > label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-line {
  display: flex !important;
  align-items: center;
  grid-template-columns: none;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.form-grid .wide,
.form-section .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-section input {
  height: 44px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
}

.check-line input {
  width: 16px;
  height: 16px;
}

.checkout-summary {
  align-self: start;
  padding: 26px;
  background: #f1ece3;
}

.checkout-summary h3 {
  margin-top: 0;
}

.checkout-line,
.summary-total {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-summary p {
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 110;
  transform: translate(-50%, 140%);
  max-width: min(420px, calc(100vw - 28px));
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  transition: transform 180ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: 280px 1fr 290px;
    padding: 0 36px;
  }

  .hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    padding-bottom: 170px;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 9px 18px;
  }

  .topbar i,
  .topbar span:nth-of-type(2),
  .topbar span:nth-of-type(3),
  .topbar a {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 18px 20px;
    background: #050706;
  }

  .brand {
    font-size: 24px;
  }

  .nav,
  .header-actions,
  .collection-tabs,
  .collection-tools {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-stage {
    min-height: auto;
    padding: 74px 20px 190px;
  }

  .hero-copy {
    width: min(460px, 100%);
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-rail {
    left: 20px;
    right: 20px;
    bottom: -120px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
  }

  .rail-card {
    flex: 0 0 min(520px, 88vw);
  }

  .collection-shell {
    padding: 150px 20px 60px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-view-body,
  .checkout {
    grid-template-columns: 1fr;
  }

  .quick-media > img {
    height: 460px;
  }

  .checkout {
    padding: 32px 22px;
  }

  .mini-checkout {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .rail-card {
    flex-basis: min(344px, 88vw);
    height: 164px;
    grid-template-columns: 48% 52%;
  }

  .rail-card img {
    height: 100%;
  }

  .rail-copy {
    padding: 22px 42px 16px 16px;
  }

  .rail-copy h3 {
    margin: 10px 0 14px;
    font-size: 15px;
  }

  .collection-tabs {
    gap: 10px;
  }

  .collection-tools {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-side {
    width: 100vw;
  }

  .quick-modal,
  .checkout-modal {
    width: calc(100vw - 20px);
  }

  .quick-media {
    padding: 18px;
  }

  .quick-media > img {
    height: 360px;
  }

  .quick-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-copy {
    padding: 34px 22px 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* V6 visual target overrides: user supplied reference is the primary source. */
:root {
  --v6-max: 1330px;
  --v6-page-x: max(64px, calc((100vw - var(--v6-max)) / 2));
  --v6-cream: #f6f2eb;
  --v6-card: #ebe7df;
}

body {
  background: var(--v6-cream);
}

.topbar {
  height: 40px;
  grid-template-columns: 1fr auto 1fr auto 1fr 1fr auto;
  padding: 0 var(--v6-page-x);
  background: linear-gradient(90deg, #00291e, #063a2c 52%, #00251b);
  font-size: 12px;
}

.site-header {
  top: 40px;
  min-height: 92px;
  grid-template-columns: 330px 1fr 360px;
  padding: 0 var(--v6-page-x);
  background: #050706;
}

.brand {
  font-size: 34px;
  letter-spacing: 0.02em;
}

.nav {
  gap: 40px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.header-actions {
  gap: 22px;
}

.plain-icon,
.bag-button {
  height: 36px;
}

.hero-stage {
  min-height: 656px;
  padding: 172px var(--v6-page-x) 0;
}

.hero-image {
  object-position: center center;
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 24%, rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.08) 67%, rgba(0, 0, 0, 0.52));
}

.hero-copy {
  width: 440px;
}

.hero-copy p,
.panel-kicker {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  font-size: 66px;
  line-height: 1.02;
}

.hero-copy span {
  font-size: 16px;
}

.hero-actions {
  gap: 20px;
  margin-top: 28px;
}

.gold-button,
.ghost-button,
.dark-button,
.outline-button,
.light-button {
  height: 40px;
  min-height: 40px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1;
}

.hero-rail {
  left: var(--v6-page-x);
  right: var(--v6-page-x);
  bottom: -20px;
  gap: 18px;
}

.rail-card {
  height: 166px;
  border-color: rgba(0, 0, 0, 0.22);
  background: #f6f2ec;
  box-shadow: none;
}

.rail-copy {
  padding: 34px 54px 18px 20px;
}

.rail-copy h3 {
  margin: 12px 0 22px;
  font-size: 16px;
}

.rail-card button,
.product-card .small-action {
  width: 30px;
  height: 30px;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 23px;
}

.collection-shell {
  padding: 72px var(--v6-page-x) 82px;
  background: var(--v6-cream);
}

.collection-tabs {
  gap: 28px;
  margin-bottom: 18px;
}

.tab {
  min-width: 50px;
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.collection-tools {
  gap: 14px;
}

.collection-tools button,
.collection-tools select {
  height: 30px;
  min-width: 108px;
  border-color: #bfb6aa;
  background: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.filter-strip {
  display: none;
}

.search-strip.open {
  margin-bottom: 20px;
}

.product-grid,
.related-grid,
.collection-page-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--v6-card);
  border-radius: 3px;
}

.product-media {
  display: block;
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  background: #ebe7df;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.badge {
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 2px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.9);
}

.save-button {
  width: 28px;
  height: 28px;
  right: 12px;
  top: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  font-size: 20px;
}

.product-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  min-height: 92px;
  padding: 16px 54px 18px 14px;
  background: var(--v6-card);
}

.product-copy h3 {
  min-height: 0;
  margin: 0 0 7px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.price {
  font-size: 14px;
}

.quick-link {
  position: absolute;
  inset: auto 52px 18px auto;
  opacity: 0;
  pointer-events: auto;
}

.product-card:hover .quick-link {
  opacity: 1;
}

.material-edit {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--v6-cream);
}

.material-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.material-copy {
  display: grid;
  align-content: center;
  padding: 56px 9vw 56px 72px;
}

.material-copy h2,
.newsletter-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.material-copy h2 {
  font-size: 38px;
  line-height: 1.08;
}

.material-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.material-list > div,
.promise-strip > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #9d7b4c;
  font-size: 18px;
  line-height: 1;
}

.material-list strong,
.promise-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-list small,
.promise-strip small {
  color: var(--muted);
  font-size: 12px;
}

.edit-button {
  width: max-content;
  min-width: 146px;
  justify-self: start;
  flex: 0 0 auto;
}

/* V6.10 raster add-button correction */
.rail-card button.card-add-button,
.product-card .small-action.card-add-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.rail-card button.card-add-button .add-button-img,
.product-card .small-action.card-add-button .add-button-img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  pointer-events: none;
}

.rail-card button.card-add-button .icon-img,
.product-card .small-action.card-add-button .icon-img {
  display: none;
}

/* V6.11 mobile horizontal strips */
@media (max-width: 1100px) {
  .nav,
  .header-actions,
  .collection-tabs,
  .collection-tools,
  .filter-strip,
  .subfilters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav::-webkit-scrollbar,
  .header-actions::-webkit-scrollbar,
  .collection-tabs::-webkit-scrollbar,
  .collection-tools::-webkit-scrollbar,
  .filter-strip::-webkit-scrollbar,
  .subfilters::-webkit-scrollbar {
    display: none;
  }

  .nav > *,
  .header-actions > *,
  .collection-tabs > *,
  .collection-tools > *,
  .filter-strip > *,
  .subfilters > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .collection-tabs {
    gap: 22px;
    padding-bottom: 6px;
    scroll-padding-inline: var(--v6-page-x);
  }

  .collection-tools {
    width: auto;
    margin-left: 0;
    gap: 12px;
  }

  .collection-tools button,
  .collection-tools select,
  .tab,
  .filter-chip {
    flex: 0 0 auto;
    min-width: max-content;
  }
}

@media (max-width: 560px) {
  .collection-tabs {
    gap: 20px;
  }
}

.mood-section {
  padding: 34px var(--v6-page-x) 52px;
  background: var(--v6-cream);
}

.section-head .panel-kicker {
  margin-bottom: 14px;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mood-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 28px 24px;
  background: #ebe6dd;
}

.mood-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.mood-tile strong,
.mood-tile > span,
.mood-tile .mood-arrow {
  position: relative;
  z-index: 1;
}

.mood-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.mood-tile > span {
  display: block;
  font-size: 12px;
}

.mood-tile .mood-arrow {
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050706;
  font-style: normal;
}

.mood-tile .mood-arrow .icon-img {
  width: 13px;
  height: 13px;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 44px var(--v6-page-x);
  border-top: 1px solid var(--line);
  background: var(--v6-cream);
}

.promise-strip > div {
  justify-content: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.promise-strip .line-icon {
  flex: 0 0 26px;
}

.promise-strip > div:last-child {
  border-right: 0;
}

.newsletter-band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 34px var(--v6-page-x);
  background: linear-gradient(90deg, #002c20, #063e2e);
  color: #fff;
}

.newsletter-band h2 {
  font-size: 28px;
}

.newsletter-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-band form {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
}

.newsletter-band input {
  height: 44px;
  border: 1px solid rgba(210, 173, 112, 0.72);
  background: transparent;
  color: #fff;
  padding: 0 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.9fr 0.9fr 1.2fr;
  gap: 42px;
  padding: 44px var(--v6-page-x) 54px;
  background: #030403;
  color: #fff;
}

.site-footer .brand {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.site-footer a {
  display: block;
}

.social-row {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.site-footer > small {
  grid-column: 1 / -1;
  margin-top: 14px;
}

.category-hero {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  padding-top: 132px;
  background: var(--v6-cream);
  border-bottom: 1px solid var(--line);
}

.category-copy {
  padding: 58px var(--v6-page-x) 56px;
}

.category-copy h1,
.detail-copy h1,
.checkout-page h1,
.success-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.category-copy h1 {
  font-size: 46px;
}

.category-copy p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
}

.category-hero img {
  width: 100%;
  height: 212px;
  object-fit: cover;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 310px;
  gap: 28px;
  margin-bottom: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line);
}

.filter-panel h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.13em;
}

.filter-panel label {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: 13px;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  align-content: center;
}

.load-more-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 34px 0 10px;
}

.detail-page {
  padding: 154px var(--v6-page-x) 70px;
  background: var(--v6-cream);
}

.breadcrumbs {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 410px;
  gap: 24px 32px;
}

.detail-thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.detail-thumb {
  width: 90px;
  height: 90px;
  padding: 0;
  border: 1px solid var(--line);
  background: #f5f1e9;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: var(--ink);
}

.detail-thumb img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.detail-main {
  position: relative;
}

.detail-main img {
  width: 100%;
  height: 566px;
  object-fit: cover;
}

.detail-arrow {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-arrow.prev { left: 28px; }
.detail-arrow.next { right: 28px; }

.detail-arrow .icon-img {
  width: 14px;
  height: 14px;
}

.detail-copy {
  padding-left: 2px;
}

.detail-copy h1 {
  margin: 12px 0 10px;
  font-size: 42px;
  line-height: 1.04;
}

.detail-price {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 760;
}

.rating-line,
.detail-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-specs {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-specs strong,
.variant-label {
  color: #a6814e;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.variant-row {
  display: flex;
  gap: 10px;
  margin: 10px 0 20px;
}

.variant-row button {
  width: 40px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
}

.detail-actions {
  display: grid;
  gap: 10px;
}

.detail-info-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-info-row h3,
.related-block h3 {
  color: #a6814e;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.related-block {
  grid-column: 1 / -1;
  margin-top: 26px;
}

.checkout-page {
  padding: 154px var(--v6-page-x) 60px;
  background: var(--v6-cream);
}

.checkout-page h1 {
  font-size: 42px;
  line-height: 1.08;
}

.checkout-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
}

.checkout-page .checkout-summary {
  background: #eee8df;
}

.success-card {
  display: grid;
  grid-template-columns: auto 1fr auto 180px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 22px 34px;
  background: #fff;
  border: 1px solid var(--line);
}

.success-card[hidden] {
  display: none;
}

.success-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfe8e1;
  font-size: 24px;
}

@media (max-width: 900px) {
  :root {
    --v6-page-x: 20px;
  }

  .site-header {
    top: 0;
  }

  .hero-stage {
    padding-top: 74px;
  }

  .hero-copy {
    width: min(440px, 100%);
  }

  .product-grid,
  .related-grid,
  .collection-page-grid,
  .mood-grid,
  .promise-strip,
  .site-footer,
  .material-edit,
  .newsletter-band,
  .category-hero,
  .detail-layout,
  .detail-info-row,
  .checkout-page-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 320px;
  }

  .material-image img,
  .detail-main img {
    height: 360px;
  }

  .detail-page,
  .checkout-page {
    padding-top: 28px;
  }

  .detail-thumbs {
    display: flex;
    overflow-x: auto;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .success-card {
    grid-template-columns: 1fr;
  }
}

/* V6.4 raster-icon and fixed-card corrections */
.icon-img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.icon-left {
  transform: rotate(90deg);
}

.icon-right {
  transform: rotate(-90deg);
}

.plain-icon,
.bag-button,
.collection-tools button,
.topbar button,
.cart-head button,
.mini-close,
.modal-close,
.media-nav,
.qty-button,
.remove-button,
.save-button,
.small-action,
.rail-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plain-icon,
.bag-button,
.collection-tools button {
  gap: 8px;
}

.plain-icon .search-label,
.plain-icon .account-label {
  display: none;
}

.bag-button .bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.bag-button .bag-label {
  display: none;
}

.rail-card {
  height: 166px;
  min-height: 166px;
  grid-template-columns: 48% 52%;
}

.rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.rail-copy {
  min-width: 0;
  padding: 30px 52px 18px 20px;
}

.rail-copy h3 {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rail-card button .icon-img,
.product-card .small-action .icon-img {
  width: 15px;
  height: 15px;
}

.save-button .icon-img {
  width: 17px;
  height: 17px;
}

.qty-button .icon-img,
.remove-button .icon-img,
.modal-close .icon-img,
.mini-close .icon-img,
.cart-head button .icon-img,
.topbar button .icon-img {
  width: 14px;
  height: 14px;
}

.product-grid,
.related-grid,
.collection-page-grid {
  align-items: start;
}

.product-card {
  min-height: 0;
  height: auto;
}

.product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

@media (max-width: 900px) {
  .product-grid,
  .related-grid,
  .collection-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card {
    min-height: 0;
  }

  .hero-rail {
    bottom: -112px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 360px);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .rail-card {
    width: 100%;
    height: 166px;
    min-height: 166px;
    flex: none;
  }

  .collection-shell {
    padding-top: 142px;
  }
}

@media (max-width: 560px) {
  .product-grid,
  .related-grid,
  .collection-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-copy {
    min-height: 92px;
    padding: 13px 42px 15px 12px;
  }

  .product-copy h3 {
    font-size: 13px;
  }

  .rail-card {
    height: 158px;
    min-height: 158px;
  }
}

/* V6.5 featured rail correction */
.hero-rail {
  align-items: stretch;
}

.rail-card {
  position: relative;
  height: 176px;
  min-height: 176px;
  overflow: hidden;
}

.rail-card img {
  object-fit: contain;
  padding: 12px;
  background: #eee9df;
}

.rail-copy {
  position: static;
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 26px 58px 18px 20px;
}

.rail-copy span {
  margin-bottom: 8px;
  line-height: 1;
}

.rail-copy h3 {
  display: block;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  font-size: 15px;
  line-height: 1.18;
}

.rail-copy strong {
  align-self: end;
}

.rail-card button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  width: 30px;
  height: 30px;
  padding: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-rail {
    bottom: -116px;
    grid-auto-columns: minmax(314px, 360px);
  }

  .rail-card {
    height: 176px;
    min-height: 176px;
  }

  .collection-shell {
    padding-top: 158px;
  }
}

@media (max-width: 560px) {
  .hero-rail {
    grid-auto-columns: minmax(300px, 84vw);
  }

  .rail-card {
    height: 170px;
    min-height: 170px;
  }

  .rail-copy {
    padding: 22px 52px 16px 16px;
  }
}

/* V6.12 responsive header and hamburger drawer */
.mobile-menu-toggle,
.mobile-menu-backdrop {
  display: none;
}

.hamburger-img,
.menu-close-img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

.menu-close-img {
  display: none;
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .site-header {
    grid-template-columns: minmax(250px, 26vw) 1fr minmax(250px, 24vw);
    min-height: 78px;
    padding: 0 28px;
  }

  .brand {
    font-size: clamp(26px, 2.3vw, 30px);
  }

  .nav {
    gap: clamp(16px, 1.5vw, 26px);
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .header-actions {
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1024px) {
  .topbar {
    white-space: nowrap;
    overflow: hidden;
  }

  .topbar span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header {
    position: fixed;
    top: 40px;
    z-index: 120;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 74px;
    padding: 0 20px;
    background: rgba(5, 7, 6, 0.92);
  }

  .topbar.hidden + .site-header {
    top: 0;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(23px, 4.2vw, 31px);
  }

  .mobile-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hamburger-img {
    width: 24px;
    height: 24px;
  }

  body.mobile-menu-open .hamburger-img {
    display: none;
  }

  body.mobile-menu-open .menu-close-img {
    display: block;
  }

  .site-header .nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 118;
    width: min(380px, calc(100vw - 44px));
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 132px 30px 36px;
    overflow: hidden auto;
    background: #050706;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.48);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-header .nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  body.mobile-menu-open .site-header .nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 112;
    display: block;
    pointer-events: none;
    border: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 220ms ease, background 220ms ease;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.54);
    opacity: 1;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
    gap: 16px;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 72px;
    padding: 0 16px;
  }

  .brand {
    font-size: clamp(21px, 6.1vw, 27px);
    letter-spacing: 0.025em;
  }

  .header-actions {
    gap: 12px;
  }

  .plain-icon span,
  .bag-button .bag-label {
    display: none;
  }

  .plain-icon,
  .bag-button {
    min-width: 24px;
  }

  .bag-button .bag-count {
    min-width: 20px;
    height: 20px;
    margin-left: 0;
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: clamp(19px, 6vw, 24px);
  }

  .header-actions .plain-icon:nth-of-type(2) {
    display: none;
  }

  .site-header .nav {
    width: min(340px, calc(100vw - 24px));
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* V6.18 promise strip tablet/mobile cleanup */
@media (max-width: 900px) {
  .promise-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px 20px;
    border-top: 1px solid var(--line);
  }

  .promise-strip > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 3px;
    justify-content: stretch;
    align-items: start;
    padding: 18px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-strip > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .promise-strip > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .promise-strip .line-icon {
    grid-row: 1 / span 2;
    width: 28px;
    height: 28px;
    justify-self: start;
    font-size: 16px;
  }

  .promise-strip strong {
    margin: 0;
    line-height: 1.25;
  }

  .promise-strip small {
    display: block;
    line-height: 1.45;
  }
}

@media (max-width: 560px) {
  .promise-strip {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .promise-strip > div,
  .promise-strip > div:nth-child(odd),
  .promise-strip > div:nth-last-child(-n + 2) {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-strip > div:last-child {
    border-bottom: 0;
  }

  .promise-strip strong {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .promise-strip small {
    font-size: 12px;
  }
}

/* V6.19 footer tablet/mobile cleanup */
@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
    padding: 38px 20px 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 12px 28px;
    align-items: end;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer .brand {
    margin-bottom: 0;
    font-size: clamp(24px, 5vw, 30px);
  }

  .site-footer .footer-brand p {
    grid-column: 1;
    margin: 0;
    max-width: 440px;
  }

  .social-row {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
    gap: 14px;
    white-space: nowrap;
  }

  .site-footer h3 {
    margin-bottom: 10px;
  }

  .site-footer a {
    line-height: 1.9;
  }

  .site-footer > div:not(.footer-brand) {
    min-width: 0;
  }

  .site-footer > small {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
    padding: 32px 20px 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: block;
    padding-bottom: 2px;
  }

  .site-footer .brand {
    margin-bottom: 10px;
    font-size: clamp(24px, 8vw, 29px);
  }

  .site-footer .footer-brand p {
    max-width: 100%;
  }

  .social-row {
    margin-top: 14px;
  }

  .site-footer > div:nth-of-type(5),
  .site-footer > small {
    grid-column: 1 / -1;
  }

  .site-footer h3 {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .site-footer p,
  .site-footer a,
  .site-footer small {
    font-size: 12px;
    line-height: 1.55;
  }
}

/* V6.21 final raster add-button lock */
.rail-card button.card-add-button,
.product-card .small-action.card-add-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 8;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.rail-card button.card-add-button .add-button-img,
.product-card .small-action.card-add-button .add-button-img {
  display: block;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  object-fit: contain;
  pointer-events: none;
}

.rail-card button.card-add-button::before,
.rail-card button.card-add-button::after,
.product-card .small-action.card-add-button::before,
.product-card .small-action.card-add-button::after {
  display: none;
  content: none;
}

/* V6.25 collection toolbar split: categories scroll, tools stay fixed */
.collection-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.collection-toolbar .collection-tabs {
  min-width: 0;
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.collection-toolbar .collection-tabs > * {
  flex: 0 0 auto;
  white-space: nowrap;
}

.collection-toolbar .collection-tools {
  flex: 0 0 auto;
  width: auto;
  margin-left: 0;
  overflow: visible;
  white-space: nowrap;
}

.collection-toolbar .collection-tools button,
.collection-toolbar .collection-tools select,
.collection-toolbar .collection-tools span {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .collection-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .collection-toolbar .collection-tabs {
    gap: 18px;
  }

  .collection-toolbar .collection-tools {
    gap: 8px;
  }

  .collection-toolbar .collection-tools button,
  .collection-toolbar .collection-tools select {
    min-width: 96px;
    padding-inline: 12px;
  }

  .collection-toolbar .collection-tools span {
    margin-left: 4px;
  }
}

@media (max-width: 640px) {
  .collection-toolbar {
    grid-template-columns: 1fr;
  }

  .collection-toolbar .collection-tools {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 440px) {
  .collection-toolbar .collection-tools span {
    display: none;
  }

  .collection-toolbar .collection-tools button,
  .collection-toolbar .collection-tools select {
    min-width: min(46vw, 148px);
  }
}

/* V6.28 tablet/mobile sticky header scroll lock */
@media (max-width: 1024px) {
  body.header-scrolled .site-header,
  body.mobile-menu-open .site-header {
    top: 0;
  }
}

/* V6.29 full-screen search */
body.search-open {
  overflow: hidden;
}

.search-modal {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: #050706;
  color: #fff;
}

.search-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.search-modal-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.98), rgba(5, 7, 6, 0.82) 44%, rgba(5, 7, 6, 0.18)),
    url("../images/brand/aurelia-hero-clean-v6.jpg") center / cover no-repeat;
}

.search-close {
  position: fixed;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(5, 7, 6, 0.72);
}

.search-modal-intro {
  align-self: end;
  max-width: 520px;
  padding: clamp(80px, 13vh, 150px) clamp(24px, 6vw, 86px);
}

.search-modal-intro h2 {
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.95;
}

.search-modal-intro p:last-child {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.search-modal-panel {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(72px, 10vh, 108px) clamp(20px, 5vw, 64px) 38px;
  background: rgba(246, 242, 235, 0.98);
  color: var(--ink);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.25);
}

.search-modal-panel label {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-input-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid #bfb6aa;
  background: #fff;
}

.search-input-row .icon-img {
  width: 20px;
  height: 20px;
}

.search-input-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 42px);
}

.search-input-row input::placeholder {
  color: rgba(6, 9, 8, 0.38);
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-suggestions button,
.search-results-head button {
  min-height: 34px;
  border: 1px solid #c8c0b4;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.search-suggestions button:hover,
.search-results-head button:hover {
  background: var(--ink);
  color: #fff;
}

.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.search-results-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.search-results {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-right: 4px;
}

.search-result-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgba(6, 9, 8, 0.1);
  background: rgba(255, 255, 255, 0.64);
}

.search-result-media {
  width: 92px;
  height: 92px;
  border: 0;
  padding: 0;
  background: #eee9df;
}

.search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-result-title {
  display: block;
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.2;
  text-align: left;
}

.search-result-card strong {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.search-result-add {
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
}

.search-result-add .add-button-img {
  width: 34px;
  height: 34px;
}

.search-empty {
  display: grid;
  gap: 8px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.search-empty span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .search-modal-shell {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.72) 42%, rgba(5, 7, 6, 0.05)),
      url("../images/brand/aurelia-hero-clean-v6.jpg") center top / cover no-repeat;
  }

  .search-modal-intro {
    align-self: start;
    padding: 82px 20px 28px;
  }

  .search-modal-intro h2 {
    max-width: 560px;
    font-size: clamp(40px, 8vw, 62px);
  }

  .search-modal-panel {
    min-height: 56dvh;
    padding: 28px 20px 30px;
  }
}

@media (max-width: 560px) {
  .search-result-card {
    grid-template-columns: 78px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 98px;
  }

  .search-result-media {
    width: 78px;
    height: 78px;
  }

  .search-result-title {
    font-size: 16px;
  }
}

/* V6.30 account center page */
.account-link.active {
  color: var(--champagne);
}

.account-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 38vw) minmax(0, 1fr);
  padding-top: 126px;
  background: var(--v6-cream);
}

.account-hero-panel {
  position: sticky;
  top: 0;
  min-height: calc(100vh - 126px);
  display: grid;
  align-content: space-between;
  padding: 58px clamp(28px, 4vw, 64px) 42px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.3), rgba(5, 7, 6, 0.96)),
    url("../images/brand/aurelia-hero-clean-v6.jpg") center / cover no-repeat;
  color: #fff;
}

.account-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.account-hero-panel > * {
  position: relative;
  z-index: 1;
}

.account-close-link {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 7, 6, 0.58);
}

.account-hero-panel .brand {
  display: inline-block;
  margin-bottom: clamp(80px, 14vh, 160px);
}

.account-hero-panel h1 {
  max-width: 460px;
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.account-hero-panel p:not(.panel-kicker) {
  max-width: 350px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.55;
}

.account-promise-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.account-promise-row span {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.account-promise-row b {
  color: var(--champagne);
}

.account-workspace {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  padding: clamp(24px, 4vw, 48px);
}

.account-side,
.account-panel,
.account-action-strip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.account-side {
  display: grid;
  align-content: start;
  min-height: 620px;
}

.account-side button {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-align: left;
}

.account-side button.active {
  background: #050706;
  color: #fff;
}

.account-side button .icon-img {
  width: 18px;
  height: 18px;
}

.account-side button.active .icon-img {
  filter: invert(1);
}

.account-side button span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.account-help {
  align-self: end;
  display: grid;
  gap: 8px;
  margin-top: 70px;
  padding: 18px 16px;
  color: var(--muted);
  font-size: 12px;
}

.account-help strong {
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.account-content {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.account-pane {
  display: none;
}

.account-pane.active {
  display: grid;
  gap: 14px;
}

.account-panel {
  padding: clamp(20px, 3vw, 34px);
}

.account-signin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
}

.account-panel h2,
.account-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.account-panel h2 {
  font-size: 30px;
}

.account-panel h3 {
  font-size: 22px;
}

.account-muted,
.account-status {
  color: var(--muted);
  font-size: 13px;
}

.account-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #c8c0b4;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.signin-alt {
  display: grid;
  align-content: center;
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

.signin-alt span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.signin-alt button {
  height: 44px;
  border: 1px solid #c8c0b4;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  gap: 14px;
}

.account-dashboard-grid > .account-panel:first-child {
  grid-column: 1 / -1;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-panel-head button,
.account-panel-head span {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.order-list {
  display: grid;
}

.order-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.order-row img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: #eee9df;
}

.order-row strong,
.order-row span {
  display: block;
}

.order-row span {
  color: var(--muted);
  font-size: 12px;
}

.order-row mark {
  border-radius: 999px;
  padding: 5px 12px;
  background: #eef2ed;
  color: #4f745e;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.order-row b {
  font-size: 13px;
}

.saved-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.saved-preview img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: cover;
  background: #eee9df;
}

.account-address {
  color: var(--ink);
  font-style: normal;
  line-height: 1.65;
}

.account-saved-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.account-saved-card {
  min-width: 0;
}

.account-saved-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee9df;
}

.account-saved-card h3 {
  margin: 12px 0 4px;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.2;
}

.account-saved-card span {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-saved-card strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.account-address-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-address-form .wide {
  grid-column: 1 / -1;
}

.account-address-form button {
  grid-column: 1 / -1;
}

.account-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.account-action-strip button {
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: center;
  column-gap: 12px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 18px;
  background: transparent;
  text-align: left;
}

.account-action-strip button:last-child {
  border-right: 0;
}

.account-action-strip .icon-img,
.account-action-strip button > span:first-child {
  grid-row: 1 / span 2;
  align-self: center;
}

.account-action-strip .icon-img {
  width: 22px;
  height: 22px;
}

.account-action-strip button > span:first-child:not(:last-child) {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.account-action-strip span {
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.account-action-strip small {
  margin-top: 4px;
  color: var(--muted);
}

.account-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .account-page {
    grid-template-columns: 1fr;
  }

  .account-hero-panel {
    position: relative;
    min-height: 520px;
  }

  .account-workspace {
    grid-template-columns: 1fr;
  }

  .account-side {
    min-height: auto;
    display: flex;
    overflow-x: auto;
  }

  .account-side button {
    flex: 0 0 auto;
    min-width: 170px;
    border-right: 1px solid var(--line);
  }

  .account-help {
    display: none;
  }
}

@media (max-width: 760px) {
  .account-page {
    padding-top: 112px;
  }

  .account-hero-panel {
    min-height: 430px;
    padding: 34px 20px 28px;
  }

  .account-hero-panel .brand {
    margin-bottom: 70px;
  }

  .account-promise-row,
  .account-signin-grid,
  .account-dashboard-grid,
  .account-action-strip,
  .account-address-form {
    grid-template-columns: 1fr;
  }

  .account-action-strip button {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-action-strip button:last-child {
    border-bottom: 0;
  }

  .signin-alt {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }

  .order-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .order-row b {
    display: none;
  }

  .account-saved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V6.32 final add-to-cart image button lock */
.hero-rail .rail-card .rail-copy > button.card-add-button,
.product-card .product-bottom button.small-action.card-add-button,
.collection-page-grid .product-card button.small-action.card-add-button,
.related-grid .product-card button.small-action.card-add-button,
.search-result-add {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 20 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.hero-rail .rail-card .rail-copy > button.card-add-button > .add-button-img,
.product-card .product-bottom button.small-action.card-add-button > .add-button-img,
.collection-page-grid .product-card button.small-action.card-add-button > .add-button-img,
.related-grid .product-card button.small-action.card-add-button > .add-button-img,
.search-result-add > .add-button-img {
  display: block !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

.hero-rail .rail-card .rail-copy > button.card-add-button::before,
.hero-rail .rail-card .rail-copy > button.card-add-button::after,
.product-card .product-bottom button.small-action.card-add-button::before,
.product-card .product-bottom button.small-action.card-add-button::after,
.collection-page-grid .product-card button.small-action.card-add-button::before,
.collection-page-grid .product-card button.small-action.card-add-button::after,
.related-grid .product-card button.small-action.card-add-button::before,
.related-grid .product-card button.small-action.card-add-button::after,
.search-result-add::before,
.search-result-add::after {
  display: none !important;
  content: none !important;
}

/* V6.33 product-card detail navigation and view button */
.product-card[data-detail-url],
.rail-card[data-detail-url] {
  cursor: pointer;
}

.product-card[data-detail-url]:focus-visible,
.rail-card[data-detail-url]:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

.product-card[data-detail-url]:hover {
  box-shadow: 0 18px 44px rgba(5, 7, 6, 0.12);
}

.product-card .product-bottom {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-right: 44px;
}

.product-card .product-bottom > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-card .quick-link {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  min-width: 94px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: 1px solid rgba(5, 7, 6, 0.34);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.36);
  color: var(--ink);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1 !important;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.product-card .quick-link:hover,
.product-card .quick-link:focus-visible {
  border-color: #050706;
  background: #050706;
  color: #fff;
}

@media (max-width: 560px) {
  .product-card .product-bottom {
    display: grid !important;
    gap: 12px;
  }

  .product-card .quick-link {
    min-width: 88px;
    height: 28px;
    padding: 0 10px;
    font-size: 9px;
  }
}

/* V6.34 keep collection anchors below fixed header */
#collection {
  scroll-margin-top: 150px;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 132px;
  }

  #collection {
    scroll-margin-top: 132px;
  }
}

/* V6.38 collection category hero rebuild */
.category-hero {
  grid-template-columns: minmax(410px, 0.78fr) minmax(0, 1.22fr) !important;
  align-items: stretch;
  height: 560px;
  min-height: 0;
  box-sizing: border-box;
  padding-top: 132px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 243, 235, 0.98) 0%, rgba(247, 243, 235, 0.94) 46%, rgba(5, 7, 6, 0.98) 46%, rgba(5, 7, 6, 1) 100%);
}

.category-copy {
  display: flex;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 6vw, 96px) var(--v6-page-x) clamp(56px, 5vw, 84px);
}

.category-copy .panel-kicker {
  margin-bottom: 24px;
  color: var(--champagne);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.2em;
}

.category-copy h1 {
  max-width: 590px;
  font-size: clamp(50px, 4.9vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.category-copy p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(5, 7, 6, 0.64);
  font-size: 18px;
  line-height: 1.5;
}

.category-hero img {
  display: block;
  align-self: stretch;
  width: 100%;
  height: 100% !important;
  min-height: 0;
  max-height: 428px;
  box-sizing: border-box;
  border-left: 1px solid rgba(224, 191, 136, 0.28);
  padding: clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at 24% 28%, rgba(224, 191, 136, 0.16), transparent 34%),
    linear-gradient(135deg, #050706 0%, #0d1110 46%, #151515 100%);
  object-fit: contain !important;
  object-position: center;
}

@media (max-width: 1100px) {
  .category-hero {
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr) !important;
    height: 520px;
  }

  .category-copy h1 {
    font-size: clamp(44px, 5vw, 62px);
  }

  .category-hero img {
    max-height: 388px;
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .category-hero {
    grid-template-columns: 1fr !important;
    height: auto;
    min-height: 0;
    padding-top: 92px;
    background: var(--v6-cream);
  }

  .category-copy {
    min-height: auto;
    padding: 52px 20px 34px;
  }

  .category-copy h1 {
    max-width: 680px;
    font-size: clamp(42px, 8vw, 64px);
  }

  .category-copy p {
    max-width: 580px;
    font-size: 16px;
  }

  .category-hero img {
    width: calc(100% - 40px);
    height: 360px !important;
    min-height: 360px;
    max-height: 360px;
    margin: 0 20px 28px;
    border: 1px solid rgba(224, 191, 136, 0.24);
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .category-copy {
    padding: 42px 20px 26px;
  }

  .category-copy .panel-kicker {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .category-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .category-copy p {
    margin-top: 18px;
    font-size: 15px;
  }

  .category-hero img {
    height: 300px !important;
    min-height: 300px;
    max-height: 300px;
    padding: 16px;
  }
}

/* V6.40 collection filter behavior */
.filter-panel[hidden] {
  display: none !important;
}

.filter-panel.open {
  display: grid;
}

#filterToggle.active,
#filterToggle.has-active-filters {
  border-color: #050706;
  background: #050706;
  color: #fff;
}

#filterToggle.active .icon-img,
#filterToggle.has-active-filters .icon-img {
  filter: invert(1);
}

.filter-panel input {
  accent-color: var(--emerald);
}

.empty-results {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  text-align: center;
}

.empty-results h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.empty-results p {
  margin: 0;
  color: var(--muted);
}

/* V6.41 WordPress live layout stabilization */
html {
  scroll-padding-top: 136px;
}

.wp-site-main {
  overflow-x: hidden;
}

.hero-stage {
  height: auto !important;
  min-height: 656px !important;
  padding-top: 172px !important;
  padding-bottom: 112px !important;
  overflow: visible !important;
}

.hero-copy {
  max-width: 500px !important;
}

.hero-copy h1 {
  max-width: 520px;
}

.hero-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: initial !important;
  grid-auto-columns: initial !important;
  align-items: stretch !important;
  left: var(--v6-page-x) !important;
  right: var(--v6-page-x) !important;
  bottom: -20px !important;
  gap: 18px !important;
  overflow: visible !important;
}

.rail-card {
  position: relative !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 166px !important;
  min-height: 166px !important;
  overflow: hidden !important;
  border: 1px solid rgba(5, 7, 6, 0.2) !important;
  background: #f6f2ec !important;
  box-shadow: none !important;
}

.rail-card > a {
  display: grid !important;
  grid-template-columns: 47% 53% !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rail-card > a:not(.card-add-button) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px !important;
  background: #eee9df !important;
  transform: none !important;
}

.rail-copy {
  position: static !important;
  display: flex !important;
  min-width: 0 !important;
  height: 100% !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 22px 56px 22px 20px !important;
}

.rail-copy p {
  margin: 0 !important;
  color: var(--bronze) !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: 0.13em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.rail-copy h3 {
  display: -webkit-box !important;
  min-height: 0 !important;
  max-height: 3.55em !important;
  margin: 0 !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  font-size: 16px !important;
  line-height: 1.18 !important;
}

.rail-copy span {
  display: block !important;
  margin: 0 !important;
  color: #050706 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.rail-copy .price,
.rail-copy .woocommerce-Price-amount,
.rail-copy .woocommerce-Price-currencySymbol,
.product-copy .price,
.product-copy .woocommerce-Price-amount,
.product-copy .woocommerce-Price-currencySymbol {
  display: inline !important;
  white-space: nowrap !important;
}

.rail-card > .card-add-button,
.product-card > .card-add-button {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 8 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  aspect-ratio: 1 / 1 !important;
  transform: none !important;
}

.rail-card > .card-add-button .add-button-img,
.product-card > .card-add-button .add-button-img {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
  border-radius: 50% !important;
  transform: none !important;
}

.collection-shell {
  padding-top: 72px !important;
}

.collection-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

.collection-toolbar .collection-tabs {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
}

.collection-toolbar .tab {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
}

.collection-toolbar .collection-tools {
  min-width: max-content !important;
  margin: 0 !important;
  justify-content: flex-end !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.product-grid,
.collection-page-grid,
.related-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: start !important;
}

.product-card {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 3px !important;
  background: var(--v6-card) !important;
}

.product-card-link {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}

.product-media {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #eee9df !important;
}

.product-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(10px, 1.3vw, 18px) !important;
  transform: none !important;
}

.product-card:hover .product-media img {
  transform: scale(1.02) !important;
}

.product-copy {
  min-height: 96px !important;
  padding: 16px 54px 18px 16px !important;
}

.product-copy h3 {
  display: -webkit-box !important;
  min-height: 0 !important;
  max-height: 2.7em !important;
  margin: 0 0 9px !important;
  overflow: hidden !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.product-copy .price {
  margin: 0 !important;
}

@media (max-width: 1280px) {
  .hero-stage {
    min-height: 690px !important;
    padding-top: 148px !important;
    padding-bottom: 148px !important;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 5.8vw, 64px) !important;
  }

  .hero-rail {
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(310px, 390px) !important;
    bottom: -72px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x proximity !important;
  }

  .rail-card {
    scroll-snap-align: start !important;
  }

  .collection-shell {
    padding-top: 128px !important;
  }

  .product-grid,
  .collection-page-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 118px;
  }

  .site-header {
    top: 40px !important;
  }

  .topbar.hidden + .site-header {
    top: 0 !important;
  }

  .hero-stage {
    min-height: 720px !important;
    padding-top: 150px !important;
  }

  .product-grid,
  .collection-page-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 108px;
  }

  .topbar {
    grid-template-columns: 1fr auto !important;
    height: 40px !important;
  }

  .site-header {
    min-height: 72px !important;
  }

  .hero-stage {
    min-height: 700px !important;
    padding: 134px 20px 142px !important;
  }

  .hero-copy {
    width: min(520px, 100%) !important;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 10vw, 58px) !important;
  }

  .hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .hero-rail {
    left: 20px !important;
    right: 20px !important;
    bottom: -76px !important;
    grid-auto-columns: minmax(300px, 84vw) !important;
  }

  .collection-shell {
    padding: 126px 20px 60px !important;
  }

  .collection-toolbar {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .collection-toolbar .collection-tools {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .product-grid,
  .collection-page-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding-left: 20px !important;
    padding-right: 16px !important;
  }

  .site-header {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    grid-template-columns: 28px minmax(0, calc(100vw - 185px)) 78px !important;
    gap: 8px !important;
    padding-left: 18px !important;
    padding-right: 12px !important;
    overflow: hidden !important;
  }

  .brand {
    min-width: 0 !important;
    width: 100% !important;
    font-size: clamp(18px, 5.55vw, 21px) !important;
    letter-spacing: 0.01em !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-menu-toggle {
    width: 30px !important;
    height: 30px !important;
  }

  .hamburger-img {
    width: 20px !important;
    height: 20px !important;
  }

  .header-actions {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    gap: 8px !important;
    display: flex !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
  }

  .header-actions .account-link {
    display: none !important;
  }

  .plain-icon,
  .bag-button {
    min-width: 22px !important;
    width: auto !important;
  }

  .plain-icon .icon-img,
  .bag-button .icon-img {
    width: 17px !important;
    height: 17px !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .hero-stage {
    min-height: 660px !important;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 48px) !important;
  }

  .hero-actions .gold-button,
  .hero-actions .ghost-button {
    width: min(100%, 350px) !important;
  }

  .rail-card {
    height: 158px !important;
    min-height: 158px !important;
  }

  .rail-copy {
    padding: 18px 48px 18px 16px !important;
  }

  .rail-copy h3 {
    font-size: 15px !important;
  }

  .product-copy {
    min-height: 86px !important;
    padding: 13px 42px 15px 12px !important;
  }

  .product-copy h3 {
    font-size: 13px !important;
  }

  .product-card > .card-add-button {
    right: 12px !important;
    bottom: 14px !important;
  }
}

/* V6.45 add button raster lock: render the generated PNG as the button surface */
.card-add-button {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  background-image: url("../images/icons/button-add-circle-black-clean.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}

.card-add-button > .add-button-img {
  width: 38px !important;
  height: 38px !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.rail-card > .card-add-button {
  right: 18px !important;
  bottom: 18px !important;
}

.product-card > .card-add-button {
  right: 16px !important;
  bottom: 16px !important;
}

@media (max-width: 480px) {
  .card-add-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }

  .card-add-button > .add-button-img {
    width: 36px !important;
    height: 36px !important;
  }
}
