@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasGrotDisp-45Light-Trial.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasGrotText-55Roman-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasGrotText-65Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #171717;
  --muted: #676767;
  --line: #e7e3df;
  --soft: #f8f8f8;
  --sand: #d8cdc0;
  --shell: #f1e6df;
  --accent: #202020;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(20, 20, 20, 0.08);
  --product-font: "Neue Haas Grotesk", "Poppins", "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: #fff;
}

.promo-bar {
  overflow: hidden;
  min-height: 32px;
  background: #111;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-track {
  display: flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  animation: promo-scroll 18s linear infinite;
}

.promo-track span {
  flex: 0 0 auto;
  padding: 0 34px;
  white-space: nowrap;
}

@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

.header-main {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.beachwear-strip {
  height: 74px;
  border-top: 1px solid rgba(23, 23, 23, 0.06);
  background: url("assets/beachwear-menu-strip.jpg") center 34% / cover no-repeat;
  opacity: 1;
  overflow: hidden;
  transition: height 220ms ease, opacity 180ms ease, border-width 180ms ease;
}

.site-header.strip-hidden .beachwear-strip {
  height: 0;
  border-top-width: 0;
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 118px;
  height: 68px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.site-nav {
  position: absolute;
  top: 102px;
  right: 18px;
  display: none;
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px;
}

.site-nav.open {
  display: grid;
}

.site-nav a,
.site-nav button {
  border-radius: 6px;
  padding: 12px;
  color: var(--muted);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav button span {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav button:hover,
.site-nav button:focus {
  background: var(--soft);
  color: var(--ink);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: transparent;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  min-width: 100%;
  border: 0;
  background: transparent;
  padding: 6px 0;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.nav-dropdown.open button span {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown:hover button span,
.nav-dropdown:focus-within button span {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu a {
  padding: 10px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-dropdown-backdrop {
  display: none;
}

.instagram-link {
  color: var(--ink) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-button,
.search-button,
.account-button {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
}

.search-button svg,
.account-button svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.cart-icon {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon .bag-body {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.1;
}

.cart-icon .bag-handle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
}

.cart-button #cartCount {
  position: absolute;
  right: -9px;
  top: -5px;
  display: grid;
  min-width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 4px;
  font-size: 0.58rem;
  font-weight: 400;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 27;
  display: none;
  align-items: start;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 198px 18px 18px;
}

.search-panel.open {
  display: flex;
}

.search-box {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 640px);
}

.search-box label {
  color: var(--muted);
  font-size: 0.78rem;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1.3rem, 6vw, 2.4rem);
  outline: none;
}

.search-box .icon-button {
  justify-self: end;
}

.hero {
  display: grid;
  min-height: 92vh;
  padding: 210px 18px 34px;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 380px;
  text-align: center;
}

.hero-logo {
  width: min(520px, 92vw);
  mix-blend-mode: multiply;
}

.hero-copy p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-family: "Neue Haas Grotesk", "Montserrat", Arial, sans-serif;
  font-size: clamp(0.9rem, 4vw, 1.08rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-image {
  min-height: 300px;
  border-radius: var(--radius);
  background: url("assets/hero-beachwear.jpg");
  background-color: var(--shell);
  background-position: center 42%;
  background-size: cover;
  box-shadow: var(--shadow);
}

.section {
  padding: 62px 18px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading span,
.contact-section span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.8rem, 7vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading.compact h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
}

.categories-section {
  background: #fff;
  padding-top: 32px;
  padding-bottom: 34px;
}

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

.category-card {
  display: flex;
  min-height: 132px;
  align-items: end;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.category-card:hover {
  border-color: #171717;
}

.category-card span {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.category-card small {
  color: var(--muted);
  font-weight: 400;
}

.products-section {
  background: #fff;
  scroll-margin-top: 132px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.bikini-finder {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 28px;
  margin: -10px 0 24px;
  font-family: var(--product-font);
}

.bikini-finder[hidden] {
  display: none;
}

.bikini-finder > span {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.finder-dropdown {
  position: relative;
  min-width: 150px;
  font-family: var(--product-font);
}

.finder-dropdown summary {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  list-style: none;
  text-transform: uppercase;
}

.finder-dropdown summary::-webkit-details-marker {
  display: none;
}

.finder-dropdown summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
}

.finder-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.finder-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 12;
  display: grid;
  min-width: 170px;
  gap: 8px;
  background: #fff;
  padding: 10px 0;
}

.finder-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.finder-options input {
  width: 12px;
  height: 12px;
  accent-color: var(--ink);
}

@media (max-width: 719px) {
  .cart-panel {
    display: block;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cart-panel-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }

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

  .checkout-box {
    max-height: none;
    overflow: visible;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .bikini-finder {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .product-info {
    gap: 6px;
    padding: 10px 7px 14px;
  }

  .product-title-button,
  .product-meta h3,
  .price {
    font-size: 0.72rem;
  }

  .product-swatches span {
    width: 16px;
    height: 16px;
  }
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.product-media-button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.product-media-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.product-media-button img.image-contain {
  object-fit: contain;
  background: #fff;
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 14px 10px 18px;
  font-family: var(--product-font);
}

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

.product-title-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.product-title-button,
.product-meta h3 {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.price {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.86rem;
}

.product-swatches {
  display: flex;
  gap: 6px;
  min-height: 20px;
  align-items: center;
}

.product-swatches span {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--swatch);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.consult-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-section {
  display: grid;
  gap: 22px;
  padding: 58px 18px 90px;
}

.wholesale-section {
  border-top: 1px solid var(--line);
  background: #fff;
  padding-top: 42px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: none;
  background: rgba(17, 17, 17, 0.28);
}

.cart-overlay.open {
  display: block;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 29;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  width: min(100%, 430px);
  height: 100vh;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -20px 0 60px rgba(20, 20, 20, 0.15);
  font-family: var(--product-font);
  font-weight: 300;
  transform: translateX(100%);
  transition: transform 180ms ease;
}

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

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
}

.cart-panel-header span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: none;
}

.cart-panel-header h2 {
  margin: 3px 0 0;
  font-size: 1.18rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 300;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  overflow: auto;
  padding: 14px 18px;
}

.cart-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 14px;
}

.cart-item img {
  width: 74px;
  height: 92px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--soft);
}

.cart-product-copy h3 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.cart-product-copy p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
}

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

.cart-controls {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}

.cart-controls button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
}

.cart-controls span {
  min-width: 28px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 300;
}

.remove-button {
  width: auto;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-family: var(--product-font);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.remove-button span {
  display: block;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.checkout-box {
  display: grid;
  gap: 10px;
  max-height: 48vh;
  overflow: auto;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 18px 18px;
}

.free-shipping-box {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.free-shipping-text {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.free-shipping-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--soft);
}

.free-shipping-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 180ms ease;
}

.checkout-box label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon-row input,
.checkout-box select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 300;
}

.coupon-row button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  padding: 0 12px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.coupon-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.4;
}

.buyer-fields {
  display: grid;
  gap: 9px;
}

.buyer-fields input,
.proof-upload input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 300;
}

.transfer-box,
.proof-upload,
.order-confirmation {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.transfer-box h3 {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
}

.transfer-box p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.transfer-box span,
.proof-upload p {
  color: var(--muted);
  font-size: 0.72rem;
}

.transfer-box strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 400;
}

.proof-upload input {
  padding: 9px 12px;
}

.proof-upload p,
.order-confirmation p {
  margin: 0;
  line-height: 1.45;
}

.order-confirmation:empty {
  display: none;
}

.order-confirmation strong {
  font-size: 0.9rem;
  font-weight: 400;
}

.order-confirmation pre {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.checkout-tab {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.checkout-tab summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 300;
  cursor: pointer;
  list-style: none;
}

.checkout-tab summary::-webkit-details-marker {
  display: none;
}

.checkout-tab summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}

.checkout-tab[open] summary {
  border-bottom: 1px solid var(--line);
}

.checkout-tab[open] summary::after {
  content: "-";
}

.checkout-tab-content {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.checkout-totals {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.checkout-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-totals strong {
  color: var(--ink);
  font-weight: 400;
}

.checkout-totals .total-line {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 400;
}

.checkout-button {
  width: 100%;
  margin-top: 4px;
  font-family: var(--product-font);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
}

.cart-panel button,
.cart-panel input,
.cart-panel select,
.purchase-card button,
.purchase-card input,
.purchase-card select {
  font-family: var(--product-font);
  font-weight: 300;
}

.checkout-button.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.purchase-overlay {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: none;
  background: rgba(17, 17, 17, 0.34);
}

.purchase-overlay.open {
  display: block;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 33;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.purchase-modal.open {
  display: flex;
}

.purchase-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  padding: 22px;
  font-family: var(--product-font);
  font-weight: 300;
}

.purchase-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.purchase-heading {
  display: grid;
  gap: 4px;
  padding-right: 44px;
}

.purchase-heading span {
  color: var(--muted);
  font-size: 0.72rem;
}

.purchase-heading h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 300;
}

.purchase-summary {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.purchase-summary h3 {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
}

#purchaseSummaryItems {
  display: grid;
  gap: 8px;
}

#purchaseSummaryItems div,
.purchase-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

#purchaseSummaryItems strong,
.purchase-summary-total strong {
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

.purchase-summary-total {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
}

.purchase-section {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.coupon-section {
  padding: 9px 10px;
  gap: 6px;
}

.coupon-section label,
.coupon-section .coupon-message {
  font-size: 0.68rem;
}

.coupon-section .coupon-row input,
.coupon-section .coupon-row button {
  min-height: 34px;
  font-size: 0.72rem;
}

.pickup-address {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.45;
}

.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(17, 17, 17, 0.36);
}

.product-modal-overlay.open {
  display: block;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 31;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.product-modal.open {
  display: flex;
}

.product-modal-card {
  position: relative;
  display: grid;
  width: min(100%, 880px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.product-modal-media {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-modal-card > img,
.product-modal-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.product-modal-media > img.image-contain {
  object-fit: contain;
  background: #fff;
}

.product-thumbnails {
  display: flex;
  gap: 7px;
  padding: 0 0 8px;
}

.product-thumbnails:empty {
  display: none;
}

.product-thumbnails button {
  width: 48px;
  height: 62px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.product-thumbnails button.active {
  border-color: var(--ink);
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-info {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  font-family: var(--product-font);
}

.product-modal-info span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-modal-info h2 {
  margin: 0;
  font-size: clamp(1.4rem, 7vw, 2.3rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-modal-info strong {
  font-size: 1.08rem;
  font-weight: 500;
}

.product-modal-info p {
  margin: 0;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 2;
}

.policy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: none;
  background: rgba(0, 0, 0, 0.38);
}

.policy-modal-overlay.open {
  display: block;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.policy-modal.open {
  display: flex;
}

.policy-modal-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 860px);
  max-height: min(84vh, 760px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.policy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #fff;
}

.policy-modal-header {
  display: grid;
  gap: 8px;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.policy-modal-header span {
  color: var(--muted);
  font-family: var(--product-font);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.policy-modal-header h2 {
  margin: 0;
  max-width: 660px;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-modal-content {
  display: grid;
  gap: 24px;
  min-height: 0;
  max-height: calc(min(84vh, 760px) - 112px);
  overflow-y: scroll;
  overflow-x: hidden;
  border-right: 8px solid #f2f2f2;
  scrollbar-color: var(--ink) #f2f2f2;
  scrollbar-width: thin;
  padding: 24px 18px 24px 24px;
}

.policy-modal-content::-webkit-scrollbar {
  width: 10px;
}

.policy-modal-content::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.policy-modal-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ink);
}

.policy-modal-content article {
  display: grid;
  gap: 10px;
}

.policy-modal-content h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-modal-content p,
.policy-modal-content li {
  margin: 0;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
}

.policy-modal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.product-options {
  display: grid;
  gap: 9px;
}

.product-options label {
  color: var(--muted);
  font-size: 0.74rem;
}

.product-options select,
.product-options input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.size-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.size-option-row span {
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.84rem;
  font-weight: 300;
}

.size-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 178px;
}

.size-buttons button {
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--product-font);
  font-size: 0.64rem;
  font-weight: 300;
  padding: 0 8px;
  cursor: pointer;
}

.size-buttons button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.color-buttons button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.color-dot {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--swatch);
}

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

.color-buttons button.active .color-dot {
  border-color: var(--ink);
}

.size-buttons button:disabled {
  color: #aaa;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f7f7f7;
}

.product-description-block {
  display: grid;
  max-width: 390px;
  border-top: 0;
  margin-top: 18px;
  padding-top: 10px;
}

@media (min-width: 720px) {
  .site-header {
    padding: 0;
  }

  .header-main {
    padding: 16px 34px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    gap: 38px;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .site-nav a {
    padding: 10px 11px;
  }

  .site-nav button {
    padding: 10px 0;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 2;
    width: max-content;
    min-width: max-content;
    min-height: 78px;
    align-content: center;
    background: transparent;
    transform: translateX(-50%);
    box-shadow: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-backdrop {
    position: fixed;
    top: 102px;
    left: 0;
    right: 0;
    z-index: 1;
    height: 78px;
    background: #fff;
  }

  .site-header:has(.nav-dropdown:hover) .nav-dropdown-backdrop,
  .site-header:has(.nav-dropdown:focus-within) .nav-dropdown-backdrop,
  .site-header:has(.nav-dropdown.open) .nav-dropdown-backdrop,
  .site-header.dropdown-active .nav-dropdown-backdrop {
    display: block;
  }

  .header-actions {
    position: static;
  }

  .cart-button,
  .search-button,
  .account-button {
    box-shadow: none;
  }

  .hero {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 30px;
    min-height: 86vh;
    padding: 218px 34px 42px;
  }

  .hero-copy {
    justify-items: start;
    min-height: 520px;
    text-align: left;
  }

  .hero-image {
    min-height: 520px;
  }

  .section,
  .contact-section {
    padding-right: 34px;
    padding-left: 34px;
  }

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

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

  .contact-section {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .product-modal-card img {
    height: 100%;
  }
}

@media (min-width: 720px) and (max-height: 720px) {
  .cart-panel {
    grid-template-rows: auto minmax(260px, 1fr) auto;
  }

  .checkout-box {
    max-height: 38vh;
  }
}

@media (min-width: 1080px) {
  .site-header,
  .header-main,
  .hero,
  .section,
  .contact-section {
    padding-right: max(56px, calc((100vw - 1180px) / 2));
    padding-left: max(56px, calc((100vw - 1180px) / 2));
  }

  .site-header {
    padding-right: 0;
    padding-left: 0;
  }

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