@font-face {
  font-family: "Avenir Next Georgian";
  src: url("fonts/AvenirNextGeorgian-Medium.ttf") format("truetype");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-georgian: "Avenir Next Georgian", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #18191f;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #ffffff;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --coral: #e31e24;
  --sun: #f6c85f;
  --blue: #1f4b99;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(24, 25, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: var(--font-georgian);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  letter-spacing: 0;
}

button,
input,
select,
textarea,
option {
  font: inherit;
  font-family: var(--font-georgian);
}

::placeholder {
  font-family: var(--font-georgian);
}

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

.topbar {
  display: flex;
  justify-content: center;
  padding: 8px 16px;
  color: var(--white);
  background: #25262a;
  font-size: 13px;
}

.topbar p {
  margin: 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 620px) minmax(90px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(241, 243, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: fit-content;
  gap: 12px;
}

.brand-wordmark { font-size: 25px; font-weight: 800; color: #232428; }
.brand-wordmark > span { color: var(--coral); }

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.icon-button,
.cart-button,
.search button {
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}

.menu-button {
  display: inline-grid;
  position: relative;
  width: 44px;
  height: 44px;
  gap: 5px;
  place-content: center;
  border: 1px solid rgba(24, 25, 31, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(24, 25, 31, 0.06);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

@media (min-width: 861px) {
  .menu-button {
    display: none;
  }
}

.menu-button:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: #f0fdfa;
}

.menu-button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: opacity 160ms ease, transform 180ms ease;
}

.menu-button[aria-expanded="true"] {
  border-color: rgba(15, 118, 110, 0.4);
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search {
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: transparent;
}

.search button {
  height: 100%;
  color: var(--ink);
  background: var(--white);
}

.search:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px #e31e241a; }

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  justify-self: end;
}

.cart-button {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.cart-button span {
  position: absolute;
  right: -5px;
  top: -5px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
}

.category-strip {
  display: flex;
  gap: 8px;
  padding: 12px clamp(18px, 4vw, 56px);
  overflow-x: auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.category-strip a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 0;
  color: #3f4450;
  font-size: 14px;
  font-weight: 650;
}

.category-strip .active {
  color: var(--coral);
  background: #fff1f6;
}

.category-showcase {
  position: relative;
  padding: 30px 0 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-showcase__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 0 clamp(18px, 4vw, 56px) 14px;
}

.category-showcase__header h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
}

.category-showcase__header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.category-showcase::before,
.category-showcase::after {
  content: "";
  position: absolute;
  top: 74px;
  bottom: 10px;
  z-index: 3;
  width: clamp(18px, 4vw, 56px);
  pointer-events: none;
  display: none;
}

.category-showcase::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.category-showcase::after {
  right: 0;
  background: linear-gradient(270deg, var(--soft) 0%, rgba(247, 248, 251, 0) 100%);
}

.category-rail {
  display: grid;
  grid-auto-columns: minmax(218px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 56px) 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44%;
  align-items: center;
  padding: 12px;
  gap: 6px;
  height: 112px;
  overflow: hidden;
  border: 1px solid rgba(24, 25, 31, 0.08);
  border-radius: 8px;
  background: #f6f7f8;
  box-shadow: none;
  scroll-snap-align: start;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 5px 14px rgba(24, 25, 31, 0.05);
}

.category-card span {
  position: static;
  z-index: 2;
  max-width: none;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #20242d;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.category-card img {
  position: static;
  width: 100%;
  height: 86px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.category-card:hover img {
  transform: scale(1.05) translateY(-2px);
}

.category-card:nth-child(2) img,
.category-card:nth-child(6) img {
  width: 100%;
  height: 86px;
}

.category-card:nth-child(4) img {
  width: 100%;
}

.shop-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 56px) 64px;
  scroll-margin-top: 115px;
}

.filters {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 0 22px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.filter-form {
  display: grid;
  gap: 14px;
}

.filters-heading {
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.filter-panel {
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  color: var(--ink);
  padding-top: 12px;
}

.filter-panel summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.filter-panel summary::-webkit-details-marker {
  display: none;
}

.filter-panel summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.filter-panel[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.filter-options {
  display: grid;
  gap: 10px;
  padding: 14px 0 2px;
}

.filters label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.filters input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #9aa3ad;
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.filters input[type="checkbox"]:checked {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 3px #fff;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.filter-actions .add-button {
  min-height: 38px;
  padding: 0 16px;
}

.filter-actions a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.products-section {
  min-width: 0;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.crumbs {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
}

.toolbar h2, .toolbar h1 {
  margin: 0;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.toolbar-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.toolbar select {
  height: 42px;
  min-width: 160px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.chip-row {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  overflow-x: auto;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 13px;
  font-size: 13px;
  color: #3f4450;
  background: var(--white);
  cursor: pointer;
}

.chip.active {
  border-color: #eed0dc;
  color: #a21951;
  background: #fff1f6;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #ebebee;
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #dfb8c8;
  box-shadow: 0 8px 24px #29202a0a;
}

.image-wrap {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: #fff;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 220ms ease;
}

.product-card:hover .image-wrap img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.product-info {
  display: grid;
  gap: 7px;
  padding: 14px 14px 4px;
}

.vendor {
  color: #76727a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-title {
  display: -webkit-box;
  height: 47px;
  margin: 0;
  overflow: hidden;
  color: #22252c;
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.pill {
  padding: 5px 8px;
  border-radius: 999px;
  color: #515866;
  background: #f2f4f7;
  font-size: 12px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  min-height: 29px;
}

.price {
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
}

.old-price {
  color: #9ca3af;
  font-size: 14px;
  text-decoration: line-through;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 12px 14px 14px;
  align-items: center;
}

.stock-label { color: #357653; font-size: 11px; }
.stock-label::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: middle; }
.stock-label.unavailable { color: #7b7478; }
.card-actions .add-button { display: grid; place-items: center; width: 42px; height: 42px; background: #fff1f6; color: #a21951; border: 1px solid #f4dce5; }
.card-actions .add-button:hover { color: #fff; background: var(--coral); }
.cart-action-label { display: none; }
.add-button:disabled { opacity: .45; cursor: not-allowed; }
.card-actions .add-button.is-added { background: #e8f5ed; color: #257046; border-color: #c9e2d1; }

.add-button,
.wish-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.add-button {
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.add-button:hover {
  background: var(--teal-dark);
}

.wish-button {
  display: grid;
  place-items: center;
  color: var(--coral);
  background: #fff0f3;
}

.empty-state {
  display: none;
  margin: 32px 0 0;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.footer {
  padding: 38px clamp(18px, 4vw, 56px) 24px;
  color: var(--white);
  background: #25262a;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1440px;
  margin: 0 auto;
}

.footer-brand img {
  display: block;
  width: 138px;
  height: auto;
  margin-bottom: 16px;
}

.footer p {
  max-width: 340px;
  margin: 0;
  color: #cfd4de;
  line-height: 1.7;
}

.footer a {
  color: #d7dce5;
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--sun);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 750;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-top: 10px;
  color: #cfd4de;
  font-size: 14px;
  line-height: 1.45;
}

.footer-cta {
  width: fit-content;
  margin-top: 16px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--white) !important;
  background: var(--teal);
  font-weight: 800;
}

.footer-cta:hover {
  background: var(--teal-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  max-width: 1440px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb6c4;
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
}

.product-detail-page,
.checkout-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px clamp(18px, 4vw, 56px) 56px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-thumbs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-detail-info {
  display: grid;
  gap: 18px;
}

.product-detail-info h1 {
  margin: 0;
  font-size: 34px;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.product-option {
  display: grid;
  gap: 8px;
  max-width: 320px;
  font-weight: 800;
}

.product-option select,
.qty-input,
.checkout-grid input,
.checkout-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
}

.product-buy-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qty-input {
  width: 92px;
}

.checkout-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.checkout-panel h1 {
  margin: 0 0 20px;
}

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

.checkout-grid label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.checkout-grid .full {
  grid-column: 1 / -1;
}

.checkout-grid textarea {
  min-height: 110px;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f6f8;
}

.cart-line h2 {
  margin: 0 0 6px;
  font-size: 15px;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
}

.cart-line-actions {
  display: flex;
  gap: 8px;
}

.cart-line-actions input {
  width: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.cart-line-actions button,
.cart-line form button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--white);
  cursor: pointer;
}

.cart-line-actions button {
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  background: #f3f6f8;
  font-size: 18px;
}

.payment-option {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-body {
  background: #f6f7fb;
}

.admin-shell .card {
  border: 1px solid #e4e7ee;
  border-radius: 8px;
}

.admin-thumb {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-preview {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
      "brand . actions menu"
      "search search search search";
    align-items: center;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    margin-right: 0;
  }

  .menu-button {
    display: inline-grid !important;
    position: relative;
    top: auto;
    right: auto;
    z-index: 5;
    grid-area: menu;
    justify-self: end;
    margin-left: 0;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    gap: 10px;
    margin-left: 0;
  }

  .header-actions > a:not(.cart-button) {
    display: none;
  }

  .cart-button {
    width: 42px;
    height: 42px;
  }

  .search {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .category-rail {
    grid-auto-columns: minmax(210px, 236px);
  }

  .category-card {
    height: 112px;
  }

  .shop-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .toolbar {
    align-items: start;
    flex-direction: column;
  }

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

  .category-strip {
    position: sticky;
    top: var(--header-height, 148px);
    z-index: 16;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 0;
    padding-block: 0;
    overflow: hidden;
    border-bottom-width: 0;
    box-shadow: 0 18px 30px rgba(24, 25, 31, 0);
    transition: max-height 220ms ease, padding-block 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .category-strip.is-open {
    max-height: min(360px, 60dvh);
    overflow-y: auto;
    padding-block: 12px;
    border-bottom-width: 1px;
    box-shadow: 0 18px 30px rgba(24, 25, 31, 0.08);
  }

  .category-strip a {
    display: flex;
    align-items: center;
    min-height: 42px;
    white-space: normal;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

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

  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-line > strong,
  .cart-line form {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .topbar {
    font-size: 12px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    background: #ffffff;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .category-strip {
    padding-inline: 14px;
  }

  .category-showcase {
    padding-top: 18px;
  }

  .category-showcase__header {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    padding-inline: 14px;
  }

  .category-showcase__header h2 {
    font-size: 21px;
  }

  .category-showcase::before,
  .category-showcase::after {
    top: 92px;
    width: 14px;
  }

  .category-rail {
    grid-auto-columns: minmax(176px, 56vw);
    gap: 10px;
    padding: 0 14px 10px;
  }

  .category-card {
    height: 120px;
  }

  .category-card span {
    max-width: 112px;
    font-size: 14px;
  }

  .category-card img {
    width: 100%;
    height: 76px;
  }

  .shop-shell {
    padding: 22px 14px 42px;
  }

  .filters {
    padding: 16px;
  }

  .filter-form {
    gap: 12px;
  }

  .filter-options {
    gap: 10px;
    padding-left: 0;
  }

  .filters label {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
  }

  .filters input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

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

  .product-title {
    height: 43px;
    min-height: 43px;
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) 38px;
    padding: 10px;
  }

  .card-actions .add-button { width: 38px; height: 38px; min-height: 38px; }
  .product-info { padding: 10px 10px 0; }
  .price { font-size: 16px; }
  .image-wrap img { padding: 12px; }

  .wish-button {
    display: none;
  }

  .footer {
    padding-block: 32px 22px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand img {
    width: 122px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-buy-row {
    align-items: stretch;
    flex-direction: column;
  }

  .qty-input {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

.featured-collection { background: #fcf2f6; padding: 30px clamp(18px, 4vw, 56px) 18px; border-bottom: 1px solid #f1e1e8; }
.collection-heading, .carousel-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1488px; margin: 0 auto; }
.collection-heading { margin-bottom: 22px; }
.collection-eyebrow { color: #9d345d; font-size: 12px; margin: 0 0 8px; }
.collection-heading h1 { font-size: 32px; line-height: 1.3; margin: 0; }
.collection-heading h1 span { font-size: 23px; font-weight: 500; margin-left: 16px; }
.collection-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; flex-shrink: 0; }
.collection-link:hover { color: var(--coral); }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4.3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px 0 12px; max-width: 1488px; margin: auto; }
.featured-track::-webkit-scrollbar { display: none; }
.featured-track .product-card { scroll-snap-align: start; }
.featured-track .image-wrap { aspect-ratio: 1.65; }
.featured-track .image-wrap img { position: absolute; inset: 0; padding: 14px; }
.featured-track .product-card { border-color: #f0dfe6; }
.carousel-footer { margin-top: 5px; }
.collection-note { color: #806473; font-size: 12px; }
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-position { color: #806473; font-size: 12px; min-width: 46px; margin-right: 8px; }
.carousel-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5cbd6; background: transparent; color: #33242c; }
.carousel-arrow:hover:not(:disabled) { background: #fff; border-color: #a21951; }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
.mobile-filter-toggle { display: none; }
.cart-notice { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 14px 20px; background: #25262a; color: white; border-radius: 8px; box-shadow: 0 8px 28px #0002; max-width: calc(100% - 28px); width: max-content; font-size: 14px; }
.cart-notice a { color: #ffb5d2; text-decoration: underline; margin-left: 14px; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
@media (max-width: 1120px) {
  .brand-wordmark { font-size: 21px; }
  .featured-track { grid-auto-columns: calc((100% - 48px) / 3.25); }
  .toolbar { flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand actions menu" "search search search"; }
  .site-header .brand-wordmark { font-size: 23px; }
  .brand-logo { width: 52px; height: 52px; }
  .shop-shell { gap: 18px; scroll-margin-top: 170px; }
  .js .mobile-filter-toggle { display: flex; align-items: center; gap: 10px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; }
  .mobile-filter-toggle svg:last-child { margin-left: auto; }
  .mobile-filter-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
  .js .filters:not(.is-open) { display: none; }
  .collection-heading h1 { font-size: 28px; }
  .collection-heading h1 span { display: block; font-size: 19px; margin: 6px 0 0; }
  .featured-track { grid-auto-columns: calc((100% - 32px) / 2.4); }
}
@media (max-width: 680px) {
  .featured-collection { padding: 22px 14px 14px; }
  .collection-heading { align-items: end; gap: 10px; margin-bottom: 16px; }
  .collection-heading h1 { font-size: 27px; }
  .collection-heading h1 span { font-size: 17px; }
  .collection-eyebrow { max-width: 200px; font-size: 11px; }
  .collection-link { font-size: 11px; gap: 3px; }
  .collection-link svg { width: 16px; flex-shrink: 0; }
  .featured-track { grid-auto-columns: 64%; gap: 12px; }
  .featured-track .image-wrap { aspect-ratio: 1.65; }
  .collection-note { font-size: 11px; max-width: 165px; }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-position { margin: 0; min-width: 32px; }
  .category-showcase__header { flex-direction: row; align-items: center; }
  .category-showcase__header span { font-size: 11px; }
  .category-rail { grid-auto-columns: 190px; }
  .category-card { height: 100px; grid-template-columns: minmax(0, 1fr) 62px; padding: 10px; }
  .category-card span { font-size: 12px; max-width: none; }
  .category-showcase { padding-bottom: 14px; }
  .toolbar h1, .toolbar h2 { font-size: 23px; }
  .toolbar-controls { font-size: 12px; gap: 6px; }
  .toolbar select { min-width: 145px; max-width: 100%; font-size: 12px; }
  .filters { padding: 0 0 18px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .product-detail-info h1 { font-size: 26px; }
}
@media (max-width: 360px) {
  .site-header .brand-wordmark { font-size: 18px; }
  .brand { gap: 8px; }
  .brand-logo { width: 44px; height: 44px; }
  .collection-heading h1 { font-size: 25px; }
  .collection-heading h1 span { font-size: 15px; }
  .collection-link { max-width: 88px; white-space: normal; }
  .category-showcase__header h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
