:root {
  --ink: #151611;
  --muted: #6f7168;
  --paper: #f8f8f4;
  --soft: #ecece5;
  --stone: #d8d0c1;
  --olive: #596143;
  --olive-dark: #30351f;
  --gold: #d6a46a;
  --gold-soft: #f2d6a7;
  --white: #ffffff;
  --line: rgba(21, 22, 17, 0.16);
  --shadow: 0 24px 70px rgba(15, 16, 12, 0.18);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-product-open {
  overflow: hidden;
}

body.is-cart-open {
  overflow: hidden;
}

body.is-confirmation-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 11, 8, 0.58), rgba(10, 11, 8, 0));
  transition:
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-height: 58px;
  padding: 5px 14px 5px 5px;
  color: var(--white);
  background: rgba(8, 8, 6, 0.42);
  border: 1px solid rgba(214, 164, 106, 0.34);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  font-weight: 700;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #050504;
  border: 1px solid rgba(242, 214, 167, 0.62);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(214, 164, 106, 0.5);
  box-shadow: 0 12px 28px rgba(15, 16, 12, 0.1);
}

.site-header.is-scrolled .brand-subtitle,
.site-header.is-open .brand-subtitle {
  color: #9b6f35;
}

.site-nav {
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-left: 22px;
  padding: 0 8px 0 15px;
  color: var(--white);
  background: rgba(8, 8, 6, 0.5);
  border: 1px solid rgba(214, 164, 106, 0.42);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.cart-trigger:hover,
.cart-trigger:focus-visible {
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}

.cart-trigger strong {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 999px;
  font-size: 12px;
}

.site-header.is-scrolled .cart-trigger,
.site-header.is-open .cart-trigger {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(214, 164, 106, 0.5);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 7% 72px;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--slide-bg, #e9dfd2);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 6200ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -32px;
  background:
    linear-gradient(rgba(20, 14, 10, 0.18), rgba(20, 14, 10, 0.18)),
    var(--slide-image) var(--backdrop-pos, center) / cover no-repeat;
  filter: blur(5px) saturate(0.82) brightness(0.7);
  opacity: 1;
  transform: scale(1.025);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 6, 0.86) 0%, rgba(8, 8, 6, 0.68) 35%, rgba(8, 8, 6, 0.18) 62%, rgba(8, 8, 6, 0.42) 100%);
}

.hero-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: var(--slide-pos, center);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.82) 0%, rgba(8, 9, 7, 0.54) 36%, rgba(8, 9, 7, 0.08) 72%),
    linear-gradient(0deg, rgba(8, 9, 7, 0.42), rgba(8, 9, 7, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.campaign-hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.44);
}

.campaign-hero h1 {
  max-width: 520px;
  font-size: 78px;
}

.campaign-hero .hero-shade {
  background: linear-gradient(180deg, rgba(8, 9, 7, 0.3), transparent 20%);
}

@media (min-width: 641px) {
  .campaign-hero {
    height: max(620px, calc(100svh - 36px));
    min-height: max(620px, calc(100svh - 36px));
  }

  .campaign-hero .hero-slide--portrait img {
    justify-self: end;
    width: auto;
    max-width: 100%;
    height: calc(100svh - var(--header-h) - 36px);
    max-height: calc(100% - var(--header-h));
    margin: var(--header-h) 6vw 0 0;
    box-shadow: 0 28px 70px rgba(8, 8, 6, 0.32);
  }
}

.hero-content.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-content > * {
  animation: hero-rise 620ms ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 150ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 220ms;
}

@keyframes hero-rise {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: 88px;
}

h2 {
  font-size: 52px;
}

h3 {
  font-size: 26px;
}

.hero-lead {
  max-width: 530px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--olive);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--olive-dark);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.section-pad {
  padding: 112px 7%;
}

.shop {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f2eb 42%, #ffffff 100%);
}

.shop.section-pad {
  padding-top: 88px;
}

.shop .filter-bar {
  position: relative;
  z-index: 40;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 34px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(214, 164, 106, 0.24);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(15, 16, 12, 0.08);
  backdrop-filter: blur(18px);
}

.shop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: 10%;
  align-items: start;
  background: var(--white);
}

.section-heading {
  max-width: 720px;
}

.intro-copy p,
.architecture-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.line-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.line-list span {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.line-list span:last-child {
  border-right: 0;
}

.collection {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 7%;
  align-items: center;
}

.collection-media {
  position: sticky;
  top: 110px;
  align-self: start;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.collection-media img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.collection-media span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(14, 15, 11, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar {
  margin: 34px 0 28px;
}

.filter-button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(248, 248, 244, 0.72);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, #050504, #2b241d);
  border-color: rgba(214, 164, 106, 0.36);
  box-shadow: 0 12px 28px rgba(15, 16, 12, 0.18);
}

.category-dropdown {
  position: relative;
  min-width: 225px;
}

.category-toggle {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(21, 22, 17, 0.12);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.category-toggle:hover,
.category-toggle:focus-visible,
.category-dropdown.is-open .category-toggle {
  background: #fffdf8;
  border-color: rgba(214, 164, 106, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    0 14px 34px rgba(15, 16, 12, 0.1);
  outline: 0;
}

.category-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.category-dropdown.is-open .category-chevron {
  transform: translateY(2px) rotate(225deg);
}

.category-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 40px));
  max-height: min(420px, calc(100svh - 180px));
  overflow: auto;
  display: grid;
  gap: 6px;
  padding: 10px;
  background: #fffdf8;
  border: 1px solid rgba(214, 164, 106, 0.42);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(15, 16, 12, 0.18);
  animation: category-menu-in 160ms ease both;
}

.category-menu button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(248, 248, 244, 0.72);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.category-menu button:hover,
.category-menu button:focus-visible,
.category-menu button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, #050504, #2b241d);
  border-color: rgba(214, 164, 106, 0.38);
  outline: 0;
  transform: translateX(2px);
}

.category-menu button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #9b6f35;
  background: #f6ead9;
  border: 1px solid rgba(214, 164, 106, 0.28);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 950;
}

.category-menu button:hover span,
.category-menu button:focus-visible span,
.category-menu button.is-active span {
  color: var(--gold-soft);
  background: rgba(214, 164, 106, 0.14);
}

.category-menu button strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes category-menu-in {
  from {
    transform: translateY(-6px) scale(0.98);
  }

  to {
    transform: translateY(0) scale(1);
  }
}

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

.product-card {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(15, 16, 12, 0.08);
  transition:
    transform 220ms ease,
    opacity 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 164, 106, 0.5);
  box-shadow: 0 28px 76px rgba(15, 16, 12, 0.16);
}

.product-card:focus-visible {
  outline: 3px solid rgba(214, 164, 106, 0.5);
  outline-offset: 4px;
}

.product-card.is-hidden {
  display: none;
}

.product-visual {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4 / 3.25;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 16, 12, 0.1)),
    var(--image, url("assets/collection-edit.png"));
  background-color: var(--tone);
  background-size: var(--zoom, 250%);
  background-position: var(--crop);
  transition:
    filter 240ms ease,
    transform 240ms ease;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: auto 14px 14px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 214, 167, 0.9), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover .product-visual {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.03);
}

.product-card:hover .product-visual::before {
  opacity: 1;
}

.price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(5, 5, 4, 0.88);
  border: 1px solid rgba(242, 214, 167, 0.42);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #9b6f35;
  background: rgba(214, 164, 106, 0.12);
  border: 1px solid rgba(214, 164, 106, 0.24);
  border-radius: 999px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-info strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.product-info h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
}

.product-overlay-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(8, 9, 7, 0.72);
  border: 0;
  cursor: pointer;
  animation: overlay-in 220ms ease both;
}

.product-panel {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100vw - 24px));
  height: min(820px, calc(100svh - 24px));
  max-height: calc(100svh - 24px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(214, 164, 106, 0.34);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
  animation: panel-in 260ms ease both;
}

.panel-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: rgba(8, 8, 6, 0.72);
  border: 1px solid rgba(242, 214, 167, 0.48);
  border-radius: 50%;
  cursor: pointer;
}

.panel-close span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 21px;
  height: 1px;
  background: currentColor;
}

.panel-close span:first-child {
  transform: rotate(45deg);
}

.panel-close span:last-child {
  transform: rotate(-45deg);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(610px, 1.2fr);
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: stretch;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(214, 164, 106, 0.12), rgba(214, 164, 106, 0)),
    #090907;
}

.detail-gallery-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.detail-main-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(15, 16, 12, 0.1), rgba(15, 16, 12, 0)),
    var(--detail-image, url("assets/collection-edit.png"));
  background-color: var(--detail-tone, #eee8da);
  background-position: var(--detail-crop, center);
  background-size: var(--detail-zoom, 250%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  transition: filter 180ms ease;
}

.detail-thumbnails {
  display: none;
  gap: 9px;
  align-content: start;
  min-width: 0;
}

.gallery-thumbnail {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 4px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.gallery-thumbnail > span:last-child {
  display: none;
}

.gallery-thumbnail:hover,
.gallery-thumbnail:focus-visible,
.gallery-thumbnail.is-active {
  color: var(--white);
  border-color: var(--gold);
  transform: translateX(2px);
}

.gallery-thumbnail-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(0deg, rgba(15, 16, 12, 0.12), rgba(15, 16, 12, 0)),
    var(--detail-image, url("assets/collection-edit.png"));
  background-color: var(--swatch, #d6a46a);
  background-position: var(--detail-crop, center);
  background-size: var(--detail-zoom, 250%);
  border-radius: 3px;
  filter: saturate(var(--color-sat, 1)) brightness(var(--color-bright, 1));
}

.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  color: var(--white);
  background: rgba(5, 5, 4, 0.72);
  border: 1px solid rgba(242, 214, 167, 0.48);
  border-radius: 50%;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: rgba(5, 5, 4, 0.94);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav-prev {
  left: 14px;
}

.gallery-nav-next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(5, 5, 4, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

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

.color-option {
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.color-option:hover,
.color-option:focus-visible,
.color-option.is-active {
  border-color: var(--gold);
  background: rgba(214, 164, 106, 0.1);
  transform: translateY(-2px);
}

.color-preview {
  display: block;
  height: 72px;
  background:
    linear-gradient(0deg, rgba(15, 16, 12, 0.18), rgba(15, 16, 12, 0)),
    var(--detail-image, url("assets/collection-edit.png"));
  background-color: var(--swatch, #d6a46a);
  background-position: var(--detail-crop, center);
  background-size: var(--detail-zoom, 250%);
  filter: saturate(var(--color-sat, 1)) brightness(var(--color-bright, 1));
}

.color-option span:last-child {
  display: none;
}

.detail-content {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(270px, 1.08fr);
  gap: 11px 16px;
  min-height: 0;
  padding: 26px 30px;
  overflow-y: auto;
}

.detail-summary {
  display: contents;
}

.detail-category,
.detail-content h2,
.unit-selection-panel,
.purchase-row,
.cart-summary,
.cart-message,
.payment-panel,
.product-features {
  grid-column: 1 / -1;
}

.detail-category {
  margin: 0;
  color: #9b6f35;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-content h2 {
  max-width: 640px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 11px;
  grid-column: 1 / -1;
  margin-top: 3px;
}

.detail-price span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-price strong {
  color: #9c632b;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.option-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.option-group legend,
.option-heading span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.option-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.option-heading strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.color-option-group .option-heading strong {
  display: none;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.size-options.is-clothing {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.size-options button {
  min-width: 46px;
  min-height: 46px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 900;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.size-options.is-clothing button {
  min-width: 0;
  min-height: 46px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.1;
}

.size-options button:hover,
.size-options button:focus-visible,
.size-options button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.unit-selection-panel {
  display: grid;
  gap: 11px;
  padding: 13px;
  background: rgba(214, 164, 106, 0.09);
  border: 1px solid rgba(214, 164, 106, 0.34);
  border-radius: 6px;
}

.unit-selection-heading,
.unit-selection-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unit-selection-heading > div {
  display: grid;
  gap: 3px;
}

.unit-selection-heading span {
  color: #9b6f35;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.unit-selection-heading h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.unit-selection-heading > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
}

.unit-selection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.unit-selection-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.unit-selection-item-header strong {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.unit-selection-item-header span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unit-selection-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.unit-selection-fields label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.unit-selection-fields label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.unit-selection-fields select {
  width: 100%;
  min-height: 38px;
  padding: 0 28px 0 9px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.unit-selection-fields select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 164, 106, 0.16);
}

.purchase-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 62px;
  gap: 10px;
  align-items: stretch;
}

.add-cart-button,
.favorite-button,
.cart-summary button {
  min-height: 56px;
  color: var(--white);
  background: #050504;
  border: 1px solid #050504;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 900;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.add-cart-button:hover,
.add-cart-button:focus-visible,
.favorite-button:hover,
.favorite-button:focus-visible,
.cart-summary button:hover,
.cart-summary button:focus-visible {
  background: #2a241d;
  border-color: #2a241d;
  transform: translateY(-2px);
}

.favorite-button {
  font-size: 31px;
  line-height: 1;
}

.favorite-button.is-active {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(214, 164, 106, 0.42);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.cart-summary span {
  color: #9b6f35;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-summary strong,
.cart-summary p {
  display: block;
  margin: 4px 0 0;
}

.cart-summary p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cart-summary button {
  min-width: 124px;
  padding: 0 20px;
  touch-action: manipulation;
}

.cart-summary-actions {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cart-summary-actions button {
  position: relative;
  min-width: 0;
  pointer-events: auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cart-summary .continue-shopping-button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
}

.cart-summary .continue-shopping-button:hover,
.cart-summary .continue-shopping-button:focus-visible {
  color: var(--white);
}

.cart-message,
.order-message {
  min-height: 22px;
  margin: -6px 0 0;
  color: #76511f;
  font-size: 14px;
  font-weight: 800;
}

.payment-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(214, 164, 106, 0.12), rgba(214, 164, 106, 0)),
    var(--white);
  border: 1px solid rgba(214, 164, 106, 0.36);
  border-radius: 6px;
}

.payment-header {
  display: grid;
  gap: 6px;
}

.payment-header span {
  color: #9b6f35;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-header h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.payment-method {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #0a0a08;
  border: 1px solid rgba(242, 214, 167, 0.34);
  border-radius: 5px;
  color: var(--white);
}

.payment-dot {
  width: 18px;
  height: 18px;
  border: 5px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
}

.payment-method strong {
  display: block;
  font-size: 16px;
}

.payment-method p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.payment-method em {
  padding: 7px 10px;
  color: var(--gold-soft);
  border: 1px solid rgba(242, 214, 167, 0.34);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

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

.delivery-fields label {
  display: grid;
  gap: 7px;
}

.delivery-fields span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.delivery-fields input,
.delivery-fields textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.delivery-fields textarea {
  min-height: 92px;
  padding-block: 12px;
  resize: vertical;
}

.delivery-fields input:focus,
.delivery-fields textarea:focus {
  border-color: rgba(214, 164, 106, 0.82);
  box-shadow: 0 0 0 3px rgba(214, 164, 106, 0.18);
}

.field-wide {
  grid-column: 1 / -1;
}

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

.complete-order-button,
.whatsapp-order-button {
  min-height: 58px;
  color: var(--white);
  background: #050504;
  border: 1px solid #050504;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 950;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.complete-order-button:hover,
.complete-order-button:focus-visible,
.whatsapp-order-button:hover,
.whatsapp-order-button:focus-visible {
  background: #2a241d;
  border-color: #2a241d;
  transform: translateY(-2px);
}

.whatsapp-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #294b3b;
  border-color: #294b3b;
}

.whatsapp-order-button:hover,
.whatsapp-order-button:focus-visible {
  background: #1d3d2f;
  border-color: #1d3d2f;
}

.whatsapp-order-button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 950;
}

.whatsapp-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.whatsapp-order-button .whatsapp-icon {
  width: 17px;
  height: 17px;
}

.whatsapp-float {
  position: fixed;
  z-index: 70;
  right: clamp(16px, 2.5vw, 30px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 14px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(10, 86, 43, 0.32);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #1fbd5a;
  box-shadow: 0 18px 38px rgba(10, 86, 43, 0.4);
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(214, 164, 106, 0.72);
  outline-offset: 3px;
}

.whatsapp-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.order-message {
  margin: 0;
}

.product-features {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.feature-heading h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-heading span {
  width: 26px;
  height: 4px;
  background: var(--ink);
  border-radius: 999px;
}

.product-features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 16px;
  margin: 9px 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
  font-size: 13px;
  line-height: 1.35;
}

.product-features li {
  position: relative;
  padding-left: 16px;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.order-confirmation-overlay {
  position: fixed;
  z-index: 240;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.order-confirmation-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(8, 9, 7, 0.76);
  border: 0;
  cursor: pointer;
  animation: overlay-in 200ms ease both;
}

.order-confirmation-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(520px, 100%);
  max-height: calc(100svh - 48px);
  padding: 42px 42px 34px;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(214, 164, 106, 0.56);
  border-radius: 6px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: panel-in 240ms ease both;
}

.order-confirmation-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.order-confirmation-close:hover,
.order-confirmation-close:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.order-confirmation-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  color: var(--gold-soft);
  background: var(--ink);
  border: 1px solid rgba(214, 164, 106, 0.68);
  border-radius: 50%;
}

.order-confirmation-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.order-confirmation-eyebrow {
  margin-bottom: 7px;
  color: #8a5a23;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-confirmation-dialog h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.order-confirmation-dialog > p {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.order-confirmation-number {
  margin-top: 15px;
  padding: 8px 12px;
  color: #5f431f;
  background: #f5ecdf;
  border: 1px solid #dfc7a7;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0;
}

.order-confirmation-socials {
  display: grid;
  justify-items: center;
  gap: 13px;
  width: 100%;
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.order-confirmation-socials > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-confirmation-socials > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.order-confirmation-socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.order-confirmation-socials a:hover,
.order-confirmation-socials a:focus-visible {
  color: var(--gold-soft);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.order-confirmation-socials svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.order-confirmation-socials .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.order-confirmation-action {
  width: min(300px, 100%);
  min-height: 52px;
  margin-top: 26px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
}

.order-confirmation-action:hover,
.order-confirmation-action:focus-visible {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.cart-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.cart-overlay-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(8, 9, 7, 0.68);
  border: 0;
  cursor: pointer;
  animation: overlay-in 200ms ease both;
}

.cart-drawer {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(570px, 100vw);
  height: 100svh;
  color: var(--ink);
  background: var(--paper);
  border-left: 1px solid rgba(214, 164, 106, 0.42);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.28);
  animation: cart-drawer-in 260ms ease both;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  padding: 18px 22px;
  color: var(--white);
  background: #0a0a08;
  border-bottom: 1px solid rgba(214, 164, 106, 0.46);
}

.cart-drawer-header > div {
  display: grid;
  gap: 4px;
}

.cart-drawer-header span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-drawer-header h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 214, 167, 0.4);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cart-browse {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.cart-empty {
  align-self: center;
  display: grid;
  gap: 13px;
  max-width: 350px;
  margin: auto;
  padding: 34px;
  text-align: center;
}

.cart-empty strong {
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

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

.cart-empty button,
.cart-checkout-button {
  min-height: 54px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 950;
  touch-action: manipulation;
}

.cart-items {
  min-height: 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  min-height: 122px;
  background:
    linear-gradient(0deg, rgba(15, 16, 12, 0.1), rgba(15, 16, 12, 0)),
    var(--cart-image, url("assets/collection-edit.png"));
  background-color: var(--cart-tone, #eee8da);
  background-position: var(--cart-crop, center);
  background-size: var(--cart-zoom, 250%);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.cart-item-content {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.cart-item-header,
.cart-item-controls,
.cart-item-campaign,
.cart-total-row,
.cart-checkout-heading > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-header > div {
  min-width: 0;
}

.cart-item-header span {
  color: #9b6f35;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-item-header h3 {
  margin-top: 3px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.cart-remove {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 3px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 21px;
}

.cart-variants {
  display: grid;
  gap: 6px;
}

.cart-variant-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 6px;
  align-items: center;
}

.cart-variant-row > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-variant-row select {
  width: 100%;
  min-height: 34px;
  padding: 0 24px 0 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 850;
}

.cart-line-quantity {
  display: grid;
  grid-template-columns: 32px 38px 32px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 4px;
}

.cart-line-quantity button,
.cart-line-quantity output {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  font-weight: 950;
}

.cart-line-quantity button {
  background: transparent;
  cursor: pointer;
}

.cart-line-quantity output {
  background: var(--white);
}

.cart-item-price {
  font-size: 17px;
  font-weight: 950;
}

.cart-item-campaign {
  justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.cart-item-campaign input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--ink);
}

.cart-item-campaign span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.cart-item-campaign.is-selected span {
  color: #76511f;
}

.cart-footer {
  display: grid;
  gap: 13px;
  padding: 18px 22px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(214, 164, 106, 0.44);
  box-shadow: 0 -18px 44px rgba(15, 16, 12, 0.08);
}

.cart-total-row span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-total-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.cart-total-row > strong {
  font-size: 26px;
  font-weight: 950;
}

.cart-saving {
  margin: 0;
  padding: 9px 11px;
  color: #76511f;
  background: rgba(214, 164, 106, 0.12);
  border-left: 3px solid var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.cart-checkout-panel {
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
}

.cart-back-button {
  min-height: 38px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.cart-checkout-heading {
  display: grid;
  gap: 7px;
  margin: 5px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-checkout-heading > span {
  color: #9b6f35;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-checkout-heading h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 25px;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-checkout-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.cart-checkout-heading strong {
  font-size: 22px;
  font-weight: 950;
}

.cart-checkout-panel .payment-method {
  margin-bottom: 18px;
}

.cart-delivery-fields {
  margin-bottom: 18px;
}

.cart-checkout-panel .whatsapp-note {
  margin-top: 10px;
}

@keyframes cart-drawer-in {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes overlay-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.architecture {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 7%;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.architecture .eyebrow {
  color: #aab18f;
}

.architecture-copy p {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
}

.architecture-media {
  overflow: hidden;
  border-radius: 6px;
}

.architecture-media img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.store-facts {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.store-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.store-facts dt,
.store-facts dd {
  margin: 0;
}

.store-facts dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.store-facts dd {
  font-weight: 800;
}

.style-service {
  background: var(--soft);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-steps li {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.service-steps li:last-child {
  border-right: 0;
}

.service-steps span {
  color: var(--olive);
  font-weight: 900;
}

.service-steps h3 {
  margin-top: 52px;
}

.service-steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.appointment {
  padding: 0 7% 112px;
  background:
    linear-gradient(180deg, var(--soft) 0%, var(--soft) 50%, var(--paper) 50%, var(--paper) 100%);
}

.appointment-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 8%;
  padding: 54px;
  color: var(--white);
  background: var(--olive-dark);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.appointment .eyebrow {
  color: #ccd5ac;
}

.appointment-form {
  display: grid;
  gap: 16px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
}

.appointment-form select option {
  color: var(--ink);
}

.appointment-form input:focus,
.appointment-form select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 7%;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

  .site-header {
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin-left: 0;
    padding: 10px 22px 22px;
    color: var(--ink);
    background: rgba(248, 248, 244, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-inline: 28px;
  }

  .intro,
  .collection,
  .architecture,
  .appointment-inner {
    grid-template-columns: 1fr;
  }

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

  .product-panel {
    width: min(720px, calc(100vw - 28px));
    height: auto;
    overflow-y: auto;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    overflow: visible;
  }

  .detail-gallery-stage {
    aspect-ratio: 4 / 3;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-row: 2;
  }

  .gallery-thumbnail {
    grid-template-columns: 42px 1fr;
    align-items: center;
    text-align: left;
  }

  .gallery-thumbnail:hover,
  .gallery-thumbnail:focus-visible,
  .gallery-thumbnail.is-active {
    transform: translateY(-2px);
  }

  .detail-main-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 420px;
  }

  .detail-content {
    gap: 14px 16px;
    padding: 32px;
    overflow: visible;
  }

  .collection-media {
    position: relative;
    top: auto;
    max-width: 560px;
  }

  .line-list,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .line-list span,
  .service-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .line-list span:last-child,
  .service-steps li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand {
    min-height: 54px;
    padding-right: 12px;
  }

  .brand-subtitle {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .hero {
    min-height: 680px;
    padding: 110px 20px 52px;
    align-items: end;
  }

  .campaign-hero {
    height: 360px;
    min-height: 360px;
    margin-top: var(--header-h);
    padding: 0;
    transition: height 420ms ease;
  }

  .campaign-hero.has-portrait-slide {
    height: min(150vw, calc(100svh - var(--header-h) - 28px));
    min-height: 0;
    max-height: 720px;
  }

  .hero-slide {
    object-position: 58% center;
  }

  .campaign-hero .hero-slide {
    background-color: var(--slide-bg, #e9dfd2);
  }

  .campaign-hero .hero-slide--portrait img {
    justify-self: center;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    box-shadow: none;
    object-position: center;
  }

  .campaign-hero .hero-content {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .campaign-hero .hero-slide::before,
  .campaign-hero .hero-slide::after {
    display: none;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 9, 7, 0.88) 0%, rgba(8, 9, 7, 0.56) 48%, rgba(8, 9, 7, 0.08) 100%),
      linear-gradient(90deg, rgba(8, 9, 7, 0.54), rgba(8, 9, 7, 0.08));
  }

  .campaign-hero .hero-shade {
    background: linear-gradient(0deg, rgba(8, 9, 7, 0.08), transparent 38%);
  }

  .hero-lead,
  .intro-copy p,
  .architecture-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section-pad {
    padding: 76px 20px;
  }

  .shop.section-pad {
    padding-top: 62px;
  }

  .product-grid,
  .shop-grid {
    width: 100%;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    grid-auto-flow: row;
    gap: 10px;
  }

  .shop-grid > .product-card {
    min-width: 0;
    max-width: 100%;
  }

  .shop .filter-bar {
    width: 100%;
    border-radius: 22px;
  }

  .filter-button,
  .category-dropdown {
    flex: 1 1 auto;
  }

  .category-dropdown {
    min-width: min(100%, 225px);
  }

  .category-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .category-menu button {
    min-height: 48px;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 0 12px;
  }

  .category-menu button span {
    width: 32px;
    height: 32px;
  }

  .category-menu button strong {
    font-size: 13px;
  }

  .product-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .product-info {
    gap: 7px;
    padding: 11px 10px 13px;
  }

  .product-info h3 {
    display: -webkit-box;
    min-height: 35px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-meta {
    align-items: flex-start;
    gap: 6px;
  }

  .product-meta span {
    min-height: 24px;
    max-width: 68%;
    padding: 4px 7px;
    font-size: 8px;
    line-height: 1.1;
    white-space: normal;
  }

  .product-info strong {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .product-info p {
    display: none;
  }

  .price-tag {
    top: 8px;
    right: 8px;
    min-height: 30px;
    padding: 0 9px;
    font-size: 10px;
  }

  .product-overlay {
    padding: 0;
  }

  .product-panel {
    width: 100%;
    max-height: 100svh;
    border-width: 0;
    border-radius: 0;
  }

  .panel-close {
    top: 12px;
    right: 12px;
  }

  .detail-gallery {
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0;
    background: var(--paper);
  }

  .detail-gallery-stage {
    grid-row: 1;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    background: #11110f;
  }

  .detail-summary {
    display: grid;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 18px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .detail-summary .detail-category {
    margin: 0;
    font-size: 11px;
  }

  .detail-summary h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.18;
    text-transform: none;
  }

  .detail-summary .detail-price {
    margin-top: 3px;
  }

  .detail-summary .detail-price strong {
    font-size: 27px;
  }

  .detail-summary .detail-price span {
    padding-bottom: 4px;
    font-size: 11px;
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-main-visual {
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: none;
    border-width: 0;
    border-radius: 0;
  }

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

  .detail-price,
  .color-option-group,
  .size-option-group {
    grid-column: 1 / -1;
  }

  .detail-thumbnails {
    grid-row: 3;
    gap: 6px;
    padding: 12px 18px 16px;
    background: var(--paper);
  }

  .gallery-thumbnail {
    grid-template-columns: 1fr;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
    border-radius: 3px;
    text-align: center;
  }

  .gallery-thumbnail-image {
    aspect-ratio: 1;
  }

  .color-preview {
    height: 90px;
  }

  .size-options.is-clothing {
    gap: 5px;
  }

  .size-options.is-clothing button {
    min-height: 44px;
    font-size: 12px;
  }

  .detail-content {
    gap: 15px;
    padding: 18px 18px 30px;
  }

  .purchase-row {
    grid-template-columns: 1fr 74px;
  }

  .unit-selection-list,
  .unit-selection-fields,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }

  .cart-summary button {
    width: 100%;
  }

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

  .payment-panel {
    padding: 18px;
  }

  .payment-method {
    grid-template-columns: auto 1fr;
  }

  .payment-method em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .delivery-fields {
    grid-template-columns: 1fr;
  }

  .product-features ul {
    grid-template-columns: 1fr;
    font-size: 16px;
  }

  .store-facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .appointment {
    padding: 0 20px 76px;
  }

  .appointment-inner {
    padding: 30px 20px;
  }

  .site-footer {
    padding: 28px 20px;
  }

  .cart-trigger {
    min-height: 40px;
    margin-left: 8px;
    padding: 0 6px 0 11px;
    font-size: 10px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    padding: 13px;
  }

  .cart-trigger strong {
    min-width: 28px;
    height: 28px;
  }

  .cart-drawer-header {
    min-height: 78px;
    padding: 13px 16px;
  }

  .cart-drawer-header h2 {
    font-size: 23px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 14px;
  }

  .cart-item-image {
    min-height: 104px;
  }

  .cart-item-header h3 {
    font-size: 14px;
  }

  .cart-variant-row {
    grid-template-columns: 46px minmax(0, 1fr) minmax(68px, 0.7fr);
    gap: 5px;
  }

  .cart-variant-row select {
    padding-left: 6px;
    font-size: 10px;
  }

  .cart-item-controls {
    align-items: flex-end;
  }

  .cart-item-campaign {
    align-items: flex-start;
  }

  .cart-footer,
  .cart-checkout-panel {
    padding: 16px;
  }

  .cart-checkout-heading h3 {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .shop.section-pad {
    padding-inline: 14px;
  }

  .shop-grid {
    grid-template-columns: calc(50% - 4px) calc(50% - 4px);
    gap: 8px;
  }

  .product-info {
    padding-inline: 8px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .cart-trigger > span {
    display: none;
  }

  .cart-trigger {
    padding-left: 6px;
  }
}
