/* ── Variables — Balmaseda Showroom ── */
:root {
  --white: #fbfaf7;
  --pearl: #f3efe8;
  --pearl-2: #e7e1d7;
  --silver: #a89f93;
  --silver-light: #d8d1c6;
  --silver-shine: #f0ebe3;
  --silver-dark: #5f574f;
  --lavender: #ebe6de;
  --blush: #efeae2;
  --charcoal: #161412;
  --ink: #24201c;
  --text-muted: #6a635b;
  --accent: #7a5c3e;
  --accent-light: #a9845f;
  --accent-deep: #5c4330;
  --accent-soft: rgba(122, 92, 62, 0.12);
  --accent-glow: rgba(122, 92, 62, 0.22);
  --header-bg-start: #1f1b17;
  --header-bg-mid: #161412;
  --header-bg-end: #0d0b0a;
  --header-line: rgba(169, 132, 95, 0.45);
  --header-text: #f7f4ef;
  --header-muted: rgba(235, 228, 218, 0.7);
  --border: rgba(36, 32, 28, 0.1);
  --border-strong: rgba(36, 32, 28, 0.16);
  --glass: rgba(251, 250, 247, 0.82);
  --surface: #fffcf8;
  --surface-muted: rgba(243, 239, 232, 0.9);
  --shadow: 0 6px 24px rgba(22, 20, 18, 0.06);
  --shadow-lg: 0 18px 48px rgba(22, 20, 18, 0.1);
  --shadow-accent: 0 8px 24px var(--accent-glow);
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page-gutter: clamp(1rem, 3.5vw, 2rem);
  --section-space: clamp(3rem, 7vw, 5.5rem);
  --content-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

main {
  width: 100%;
  overflow-x: clip;
}

body.splash-active {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* ── Splash intro ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #100e0c 0%, #1a1714 50%, #252119 100%);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.35) 0%, transparent 70%);
  animation: pulse-glow 2s ease-in-out infinite;
}

.splash-logo {
  width: 120px;
  height: auto;
  position: relative;
  z-index: 1;
  animation: splash-pop 1.2s var(--ease-out) both;
  filter: drop-shadow(0 0 30px rgba(200, 200, 220, 0.4));
}

.splash-text {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--silver-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fade-up 1s 0.3s var(--ease-out) both;
}

@keyframes splash-pop {
  0% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  60% { transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ── Animated background ── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--white) 0%, var(--accent-soft) 40%, var(--lavender) 100%);
  top: -10%;
  left: -8%;
  animation-duration: 22s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--silver-shine) 0%, var(--blush) 100%);
  top: 40%;
  right: -10%;
  animation-duration: 26s;
  animation-delay: -5s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--white) 0%, var(--pearl-2) 100%);
  bottom: 10%;
  left: 20%;
  animation-duration: 20s;
  animation-delay: -8s;
}

.orb-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.35;
  top: 25%;
  left: 45%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.sparkle {
  position: absolute;
  font-size: 1rem;
  color: var(--accent-light);
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}

.sparkle-1 { top: 15%; left: 12%; animation-delay: 0s; }
.sparkle-2 { top: 55%; right: 18%; animation-delay: 1.2s; font-size: 0.7rem; }
.sparkle-3 { bottom: 30%; left: 8%; animation-delay: 2.4s; }
.sparkle-4 { top: 35%; right: 30%; animation-delay: 0.8s; font-size: 1.2rem; }
.sparkle-5 { bottom: 15%; right: 40%; animation-delay: 3s; font-size: 0.8rem; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1) rotate(180deg); }
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(165deg, var(--header-bg-start) 0%, var(--header-bg-mid) 48%, var(--header-bg-end) 100%);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 28px rgba(16, 14, 12, 0.24);
  transition: box-shadow 0.3s, background 0.3s;
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--header-line) 25%,
    var(--accent-light) 50%,
    var(--header-line) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.header.mega-open {
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px rgba(16, 14, 12, 0.2);
}

.header.scrolled {
  box-shadow: 0 6px 32px rgba(16, 14, 12, 0.3);
  background: linear-gradient(165deg, #201d18 0%, var(--header-bg-end) 100%);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
  transition: transform 0.3s var(--ease-out);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  animation: logo-wiggle 6s ease-in-out infinite;
}

@keyframes logo-wiggle {
  0%, 90%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-4deg); }
  96% { transform: rotate(4deg); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--header-text);
}

.logo-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-light);
}

.nav-desktop {
  display: none;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--header-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  position: relative;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.nav-shop-btn {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out);
}

.nav-shop-btn.open .nav-chevron,
.header.mega-open .nav-shop-btn .nav-chevron {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .nav-shop-btn {
    display: inline-flex;
  }
}

.nav-link:hover {
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 320px;
  margin-left: auto;
  position: relative;
  z-index: 120;
}

.header-search .search-wrap {
  width: 100%;
  position: relative;
}

.shop-btn {
  display: none;
}

/* ── Mega menu dropdown ── */
.mega-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(20, 20, 26, 0.35);
  backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s;
}

.mega-backdrop.visible {
  opacity: 1;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(28, 28, 34, 0.1);
  transition: max-height 0.4s var(--ease-out), opacity 0.3s;
}

.mega-menu.open {
  max-height: 480px;
  opacity: 1;
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.mega-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.mega-col-wide {
  grid-column: 1 / -1;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.mega-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--silver-dark);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.mega-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}

.mega-link:hover {
  color: var(--charcoal);
  transform: translateX(3px);
}

.mega-link-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
}

.mega-link-main:hover {
  transform: none;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  max-width: 220px;
  padding: 0.6rem 0.9rem 0.6rem 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  transition: border-color 0.25s, box-shadow 0.25s, width 0.3s var(--ease-out), background 0.25s;
}

.search-input:focus {
  outline: none;
  max-width: 260px;
  border-color: rgba(212, 184, 150, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.search-input:focus + .search-icon,
.search-wrap:focus-within .search-icon {
  color: #fff;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: color 0.2s;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 150;
  max-height: min(360px, 55dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  padding: 0.35rem;
}

.search-dropdown-header {
  padding: 0.55rem 0.75rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-dark);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(247, 245, 248, 0.95);
  outline: none;
}

.search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pearl-2);
}

.search-result-thumb.product-logo-fallback {
  object-fit: contain;
  padding: 0.35rem;
}

.search-result-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.search-result-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-cat {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  flex-shrink: 0;
}

.search-dropdown-empty {
  padding: 1rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.search-dropdown-footer {
  padding: 0.35rem 0.5rem 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0.15rem;
}

.search-dropdown-all {
  width: 100%;
  padding: 0.65rem;
  border: none;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.15s;
}

.search-dropdown-all:hover {
  background: rgba(247, 245, 248, 0.95);
}

.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.cart-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 184, 150, 0.4);
}

.cart-btn.bump {
  animation: cart-bump 0.4s var(--ease-out);
}

@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.2); }
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 0.85rem 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.account-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.account-label {
  margin-left: 0.4rem;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 184, 150, 0.4);
}

.account-btn--active {
  border-color: rgba(212, 184, 150, 0.5);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.cart-count.pop {
  animation: count-pop 0.35s var(--ease-out);
}

/* Mobile menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 184, 150, 0.4);
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.menu-btn.open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.35s var(--ease-out), opacity 0.25s ease, visibility 0.25s;
  background: var(--header-bg-end, #1a1714);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav.open {
  max-height: min(80dvh, 560px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 0.35rem var(--page-gutter) 1.15rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 0.15rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--header-text, #f5f5f7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-catalog {
  margin-top: 0.85rem;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.mobile-nav-backdrop:not(.hidden) {
  pointer-events: auto;
}

.mobile-nav-backdrop.visible {
  opacity: 1;
}

@keyframes count-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2e2924 100%);
  color: var(--white);
  border: 1px solid rgba(184, 147, 90, 0.35);
  box-shadow: 0 4px 16px rgba(26, 23, 20, 0.18);
}

.btn-primary:hover {
  box-shadow: var(--shadow-accent);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--charcoal);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.btn-full {
  width: 100%;
}

/* ── Hero ── */
.hero {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-space) var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.hero h1 .line {
  display: block;
  animation: fade-up 0.9s var(--ease-out) both;
}

.hero h1 .line:nth-child(2) {
  animation-delay: 0.12s;
}

.hero h1 .accent em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 45%, var(--charcoal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2rem;
  animation: fade-up 0.9s 0.24s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  animation: fade-up 0.9s 0.36s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  width: fit-content;
  animation: fade-up 0.9s 0.48s var(--ease-out) both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.stat span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero visual — product carousel */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.hero-carousel {
  width: 100%;
  max-width: min(380px, 100%);
  margin: 0 auto;
  animation: fade-up 0.9s 0.2s var(--ease-out) both;
}

.hero-carousel-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  text-align: left;
}

.hero-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
  text-align: left;
}

.hero-carousel-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, #ece8f0 0%, #d4d0da 100%);
}

.hero-carousel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.hero-carousel-slide:hover .hero-carousel-photo {
  transform: scale(1.03);
}

.hero-carousel-photo.product-logo-fallback {
  object-fit: contain;
  padding: 2rem;
  opacity: 0.9;
}

.hero-carousel-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-carousel-caption {
  padding: 1rem 1.1rem 1.15rem;
}

.hero-carousel-category {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver-dark);
}

.hero-carousel-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.hero-carousel-btn:hover {
  background: #fff;
  border-color: var(--silver-dark);
  transform: scale(1.05);
}

.hero-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(34, 34, 40, 0.2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.hero-carousel-dot:hover {
  background: var(--silver-dark);
}

/* ── Marquee ── */
.marquee-strip {
  overflow: hidden;
  padding: 0.85rem 0;
  background: var(--surface-muted);
  border-block: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.hero-marquee {
  grid-column: 1 / -1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -0.35rem;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 25s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.marquee-track span:nth-child(odd) {
  color: var(--charcoal);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Section shared ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

.filters,
.about,
.contact {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-space) var(--page-gutter);
}

.category-tabs-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  margin: 0 0 1.5rem;
  padding: 0.7rem 0;
  background: var(--surface-muted);
  backdrop-filter: blur(14px);
  border-block: 1px solid var(--border);
}

.category-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
}

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

.category-tab {
  flex-shrink: 0;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s var(--ease-out);
  font-family: inherit;
  cursor: pointer;
}

.category-tab:hover {
  border-color: var(--accent-light);
  color: var(--charcoal);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2e2924 100%);
  color: var(--white);
  border-color: rgba(184, 147, 90, 0.45);
  box-shadow: var(--shadow-accent);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Filters & products ── */
.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  transition: all 0.25s var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--accent-light);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2e2924 100%);
  color: var(--white);
  border-color: rgba(184, 147, 90, 0.45);
  box-shadow: var(--shadow-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  animation: card-in 0.6s var(--ease-out) both;
  cursor: default;
}

.product-view {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.product-view:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
}

.product-name-link {
  transition: color 0.2s;
}

.product-card:hover .product-name-link {
  color: var(--silver-dark);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--pearl) 0%, var(--pearl-2) 45%, var(--blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.product-card:hover .product-image::before {
  transform: translateX(100%);
}

.product-image .product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-image .product-photo {
  transform: scale(1.06);
}

.product-image .product-logo-fallback {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.45;
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}

.product-info {
  padding: 1.1rem 1.2rem 1.35rem;
}

.product-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--silver-dark);
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-actions {
  display: flex;
  gap: 0.4rem;
}

.detail-btn {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.25s var(--ease-out);
}

.detail-btn:hover {
  color: var(--charcoal);
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.8);
}

.product-price {
  font-size: 1.05rem;
  font-weight: 600;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.product-price--sale {
  color: var(--accent-deep);
  font-weight: 700;
}

.product-price-old {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.85;
}

.add-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease-out);
}

.add-btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: rgba(184, 147, 90, 0.5);
  box-shadow: var(--shadow-accent);
  transform: scale(1.05);
}

.add-btn.added {
  animation: added-pulse 0.5s var(--ease-out);
}

@keyframes added-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); background: var(--charcoal); color: white; }
  100% { transform: scale(1); }
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.active-dept-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.1rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.active-dept-banner span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.dept-clear {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.2s;
}

.dept-clear:hover {
  color: var(--charcoal);
  border-color: var(--silver);
}

/* ── About ── */
.about-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.about-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 200, 220, 0.3) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.about-logo {
  position: relative;
  width: 110px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
  animation: float 5s ease-in-out infinite;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ── Contact ── */
.contact {
  padding-bottom: 5rem;
}

.contact-card {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.contact-logo {
  width: 64px;
  height: auto;
  margin: 0 auto 1.25rem;
  opacity: 0.85;
  animation: float 4s ease-in-out infinite;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--pearl) 100%);
  backdrop-filter: blur(12px);
  padding: 2rem var(--page-gutter);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.footer-inner {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-logo {
  width: 32px;
  height: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Cart ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 26, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.35s;
}

.cart-overlay.visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, var(--white) 0%, var(--pearl) 100%);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: -12px 0 48px rgba(28, 28, 34, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-logo {
  width: 32px;
  height: auto;
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.cart-close {
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.2s, transform 0.2s;
}

.cart-close:hover {
  background: var(--pearl-2);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding: 1rem 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  animation: slide-in 0.35s var(--ease-out) both;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-qty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: background 0.2s, transform 0.2s;
}

.qty-btn:hover {
  background: var(--pearl);
  transform: scale(1.1);
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1.35rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
}

.cart-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--silver-dark);
  text-align: center;
}

.cart-promo {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--accent-deep);
  text-align: center;
  line-height: 1.4;
}

/* ── Promo banner (WhatsApp discount) ── */
.promo-banner {
  background: linear-gradient(90deg, var(--charcoal) 0%, #2e2924 55%, var(--header-bg-start) 100%);
  border-bottom: 1px solid rgba(212, 184, 150, 0.22);
  color: var(--header-text);
}

.promo-banner.hidden {
  display: none;
}

.promo-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.7rem var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
}

.promo-banner-badge {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.promo-banner-text {
  flex: 1;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--header-muted);
}

.promo-banner-text strong {
  color: var(--header-text);
  font-weight: 600;
}

.promo-banner-cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.promo-banner-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--header-muted);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.promo-banner-close:hover {
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .promo-banner-inner {
    flex-wrap: wrap;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .promo-banner-text {
    flex: 1 1 calc(100% - 4rem);
    order: 2;
  }

  .promo-banner-badge {
    order: 1;
  }

  .promo-banner-close {
    order: 1;
    margin-left: auto;
  }

  .promo-banner-cta {
    order: 3;
    width: 100%;
    text-align: center;
  }
}

/* ── Checkout modal ── */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 304;
  width: min(440px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--white) 0%, var(--pearl) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.checkout-modal.open,
.checkout-modal[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal::backdrop {
  display: none;
}

.checkout-modal-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2rem 2rem 2.25rem;
}

.checkout-summary {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.checkout-summary li strong {
  color: var(--charcoal);
  font-weight: 500;
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  padding-top: 0.25rem;
}

.checkout-total-row--whatsapp,
.checkout-total-row--final {
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.22);
  font-size: 1.05rem;
}

.checkout-total-row--final {
  background: rgba(22, 20, 18, 0.04);
  border-color: rgba(22, 20, 18, 0.1);
}

.checkout-total-row--whatsapp strong,
.checkout-total-row--final strong {
  color: var(--charcoal);
}

.checkout-form {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.checkout-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.checkout-form select {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.checkout-form .auth-field em {
  font-style: normal;
  opacity: 0.65;
  font-weight: 400;
}

.checkout-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--accent-deep);
}

.checkout-discount-row strong {
  color: var(--accent-deep);
  font-weight: 600;
}

.checkout-promo {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.22);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkout-promo p {
  margin: 0;
}

.checkout-promo-badge {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  line-height: 1.4;
}

.checkout-code-box {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.checkout-code-field {
  margin: 0;
}

.checkout-code-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.checkout-code-row input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-code-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.checkout-code-msg {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.checkout-code-msg.is-error {
  color: #b42318;
}

.checkout-code-msg.is-ok {
  color: #067647;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

.btn-mercadopago {
  background: linear-gradient(90deg, #009ee3 0%, #007eb5 100%);
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-mercadopago:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-mercadopago:disabled,
.btn-whatsapp:disabled {
  opacity: 0.65;
  cursor: wait;
}

.checkout-note {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

/* ── Product detail modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 26, 0.5);
  backdrop-filter: blur(6px);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.35s;
}

.modal-overlay.visible {
  opacity: 1;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 301;
  width: min(920px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--white) 0%, var(--pearl) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.product-modal.open,
.product-modal[open] {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.product-modal::backdrop {
  display: none;
}

/* ── Auth modal ── */
.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 302;
  width: min(420px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--white) 0%, var(--pearl) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.auth-modal.open,
.auth-modal[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal::backdrop {
  display: none;
}

.auth-modal-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem 2rem 2.25rem;
  -webkit-overflow-scrolling: touch;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.auth-brand-logo {
  width: 52px;
  height: auto;
  margin-bottom: 0.35rem;
}

.auth-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.auth-setup-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(232, 224, 240, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.auth-setup-notice code {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-tab.active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.auth-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.auth-password-group {
  margin-bottom: 0.5rem;
}

.auth-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  background: linear-gradient(
    180deg,
    rgba(248, 246, 250, 0) 0%,
    rgba(248, 246, 250, 0.92) 28%,
    var(--pearl) 100%
  );
}

.auth-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.auth-field span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-dark);
  margin-bottom: 0.35rem;
}

.auth-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--silver);
  box-shadow: 0 0 0 3px rgba(200, 200, 208, 0.35);
}

.auth-error {
  font-size: 0.82rem;
  color: #b44;
  background: rgba(245, 232, 238, 0.6);
  border: 1px solid rgba(180, 68, 68, 0.25);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
}

.auth-success {
  font-size: 0.82rem;
  color: #2d6a4f;
  background: rgba(232, 245, 238, 0.8);
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
}

.auth-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.auth-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: var(--silver-dark);
  text-decoration: underline;
  cursor: pointer;
}

.auth-link:hover {
  color: var(--charcoal);
}

.field-hint {
  display: block;
  font-size: 0.68rem;
  color: var(--silver-dark);
  margin-top: 0.3rem;
}

.auth-dev-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  word-break: break-all;
}

.auth-dev-link a {
  color: var(--charcoal);
}

.auth-user-panel {
  text-align: center;
}

.auth-user-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.auth-user-meta {
  font-size: 0.82rem;
  color: var(--silver-dark);
  margin-bottom: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}

.modal-gallery {
  background: linear-gradient(160deg, var(--pearl) 0%, var(--silver-light) 50%, var(--lavender) 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 280px;
  padding: 0;
}

.modal-image {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pearl);
  overflow: hidden;
}

.modal-image .modal-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  object-position: center center;
}

.modal-image .modal-photo.product-logo-fallback {
  width: 130px;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(200, 200, 220, 0.35));
}

.modal-color-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.modal-info {
  padding: 2rem 2rem 2.25rem;
}

.modal-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--silver-dark);
  margin-bottom: 0.4rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
}

.modal-price {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.modal-price .product-price--sale {
  font-size: 1.35rem;
}

.modal-price .product-price-old {
  font-size: 1rem;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.detail-label {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.82rem;
}

.detail-value {
  color: var(--text-muted);
}

.modal-sizes {
  margin-bottom: 1.5rem;
}

.modal-picker {
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.picker-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.picker-step {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.picker-selected {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-sizes.ready .picker-step {
  background: var(--silver-dark);
}

.picker-hint {
  font-size: 0.78rem;
  color: var(--silver-dark);
  margin-bottom: 0.65rem;
}

.picker-hint.hidden {
  display: none;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  font-family: inherit;
}

.color-btn:hover {
  border-color: var(--silver);
}

.color-btn.active {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 2px rgba(28, 28, 34, 0.12);
}

.color-btn.error {
  animation: shake 0.35s;
  border-color: #c44;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.color-name {
  font-size: 0.78rem;
  color: var(--ink);
  padding-right: 0.15rem;
}

.size-options-locked .size-btn {
  opacity: 0.35;
  pointer-events: none;
}

.size-options-locked .size-btn:disabled {
  cursor: not-allowed;
}

#modal-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-swatches {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-sizes .detail-label {
  display: block;
  margin-bottom: 0.65rem;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-btn {
  min-width: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.2s var(--ease-out);
}

.size-btn:hover {
  border-color: var(--silver);
}

.size-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.size-btn.error {
  animation: shake 0.35s;
  border-color: #c44;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Responsive ── */

/* Small phones */
@media (max-width: 380px) {
  :root {
    --header-h: calc(108px + env(safe-area-inset-top, 0px));
  }

  .logo-name {
    font-size: 1.1rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .product-name {
    font-size: 1.05rem;
  }

  .product-actions {
    width: 100%;
    justify-content: stretch;
  }

  .detail-btn,
  .add-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Phones */
@media (max-width: 767px) {
  :root {
    --header-h: calc(112px + env(safe-area-inset-top, 0px));
  }

  body {
    background-attachment: scroll;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "search search";
    gap: 0.55rem 0.65rem;
    height: auto;
    min-height: var(--header-h);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right));
    align-items: center;
  }

  .logo {
    grid-area: logo;
    min-width: 0;
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .header-search {
    grid-area: search;
    max-width: none;
    width: 100%;
    margin-left: 0;
  }

  .header-search .search-wrap {
    width: 100%;
  }

  .header-actions {
    grid-area: actions;
    margin-left: 0;
    gap: 0.4rem;
  }

  .search-input,
  .search-input:focus {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .menu-btn {
    display: flex;
  }

  .account-label {
    display: none;
  }

  .account-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .cart-btn {
    width: 44px;
    height: 44px;
  }

  /* Hero: intro → carousel → marquee → actions → stats */
  .hero:not(.hero--atelier) {
    display: flex;
    flex-direction: column;
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
    gap: 1rem;
  }

  .hero:not(.hero--atelier) .hero-content {
    display: contents;
  }

  .hero-intro {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    width: 100%;
  }

  .hero-marquee {
    order: 3;
    margin-top: -0.5rem;
  }

  .hero-carousel-viewport {
    border-radius: var(--radius-lg);
  }

  .hero-carousel-image {
    aspect-ratio: 4 / 5;
    max-height: min(420px, 58vh);
  }

  .hero-carousel-photo {
    object-position: center center;
  }

  .hero-actions {
    order: 4;
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .hero-stats {
    order: 5;
    width: 100%;
    justify-content: space-around;
    padding: 0.85rem 1rem;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    max-width: 100%;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-carousel {
    max-width: 100%;
  }

  .hero-carousel-name {
    font-size: 1.05rem;
  }

  .hero-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .search-dropdown {
    max-height: min(320px, 50dvh);
  }

  .search-result {
    min-height: 56px;
  }

  .filters,
  .contact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .category-tabs-wrap {
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .category-tab {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mega-menu.open {
    max-height: 70dvh;
    overflow-y: auto;
  }

  .filter-bar {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .products-grid {
    gap: 0.75rem;
  }

  .product-info {
    padding: 0.85rem 0.9rem 1rem;
  }

  .product-name {
    font-size: 1.1rem;
  }

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

  .product-price {
    margin-bottom: 0.25rem;
  }

  .product-actions {
    width: 100%;
  }

  .detail-btn,
  .add-btn {
    flex: 1;
    min-height: 44px;
  }

  .contact-card {
    padding: 2.5rem 1.25rem;
  }

  .contact-card .btn {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    height: auto;
    min-height: 48px;
    line-height: 1.35;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .contact-card h2 {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }

  .footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  /* Product modal — bottom sheet on mobile */
  .product-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translate3d(0, 100%, 0);
    width: 100%;
    max-width: 100%;
    max-height: min(92dvh, 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    display: none;
  }

  .product-modal.open,
  .product-modal[open] {
    display: flex;
    flex-direction: column;
    transform: translate3d(0, 0, 0);
  }

  .product-modal .modal-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal .modal-gallery {
    flex-shrink: 0;
    width: 100%;
    min-height: 0;
    max-height: min(52dvh, 420px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .product-modal .modal-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: min(52dvh, 420px);
    overflow: hidden;
    background: linear-gradient(160deg, var(--pearl) 0%, var(--silver-light) 100%);
  }

  .product-modal .modal-image .modal-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: min(52dvh, 420px);
    object-fit: contain;
    object-position: center center;
  }

  .product-modal .modal-image .modal-photo.product-logo-fallback {
    width: 120px;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .product-modal .modal-info {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal .modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 252, 248, 0) 0%, var(--white) 28%);
  }

  .product-modal .modal-actions .btn {
    flex: 1;
    min-height: 48px;
  }

  .cart-header {
    padding-top: calc(1.35rem + env(safe-area-inset-top));
  }

  .cart-close {
    width: 44px;
    height: 44px;
  }

  .checkout-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translate3d(0, 100%, 0);
    width: 100%;
    max-width: 100%;
    max-height: min(92dvh, 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .checkout-modal.open,
  .checkout-modal[open] {
    display: flex;
    flex-direction: column;
    transform: translate3d(0, 0, 0);
  }

  .checkout-modal .modal-close {
    top: calc(0.75rem + env(safe-area-inset-top));
    right: 0.75rem;
    width: 44px;
    height: 44px;
    z-index: 5;
  }

  .checkout-modal-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: calc(2.75rem + env(safe-area-inset-top)) 1.25rem calc(1.75rem + env(safe-area-inset-bottom));
  }

  .product-modal .modal-close {
    top: calc(0.75rem + env(safe-area-inset-top));
    right: 0.75rem;
    width: 44px;
    height: 44px;
    z-index: 5;
    box-shadow: var(--shadow);
  }

  .auth-modal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    inset: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding-bottom: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .auth-modal.open,
  .auth-modal[open] {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .auth-modal .modal-close {
    top: calc(0.75rem + env(safe-area-inset-top));
    right: 0.75rem;
    width: 44px;
    height: 44px;
    z-index: 5;
  }

  .auth-modal-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: calc(3rem + env(safe-area-inset-top)) 1.25rem calc(1.75rem + env(safe-area-inset-bottom));
  }

  .checkout-actions {
    flex-direction: column;
  }

  .checkout-actions .btn {
    width: 100%;
  }

  .modal-title {
    padding-right: 2rem;
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .marquee-track {
    font-size: 0.9rem;
    gap: 1.5rem;
  }

  .active-dept-banner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .product-modal .modal-gallery,
  .product-modal .modal-image,
  .product-modal .modal-image .modal-photo {
    aspect-ratio: 16 / 10;
    max-height: 42dvh;
  }

  .checkout-modal {
    max-height: min(96dvh, 100%);
  }

  .checkout-modal-inner {
    padding-top: calc(2rem + env(safe-area-inset-top));
  }
}

/* Very small phones */
@media (max-width: 360px) {
  :root {
    --header-h: calc(108px + env(safe-area-inset-top, 0px));
  }

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

  .hero-stats {
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
  }

  .stat strong {
    font-size: 1.15rem;
  }
}

/* Tablets (portrait) */
@media (min-width: 600px) and (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .hero-carousel-image {
    aspect-ratio: 3 / 4;
  }

  .header-search .search-wrap {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .header-inner {
    display: flex;
    height: var(--header-h);
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-search {
    flex: 0 1 260px;
    max-width: 260px;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .search-wrap {
    flex: 0 1 220px;
  }

  .search-input {
    max-width: 220px;
  }

  .search-input:focus {
    max-width: 260px;
  }

  .hero:not(.hero--atelier) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .hero:not(.hero--atelier) .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .filter-bar {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .modal-layout {
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    max-height: calc(100dvh - 2rem);
  }

  .modal-gallery {
    min-height: auto;
    max-height: calc(100dvh - 2rem);
  }

  .modal-image,
  .modal-image .modal-photo {
    min-height: 100%;
    max-height: calc(100dvh - 2rem);
  }

  .modal-info {
    overflow-y: auto;
    max-height: calc(100dvh - 2rem);
  }

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

/* Tablets (landscape) & small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-carousel {
    max-width: min(400px, 100%);
  }

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

  .product-modal {
    width: min(880px, calc(100% - 2rem));
  }

  .modal-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .search-wrap {
    flex: 0 1 260px;
  }

  .search-input {
    max-width: 240px;
  }

  .search-input:focus {
    max-width: 300px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

/* Large screens */
@media (min-width: 1280px) {
  :root {
    --content-max: 1280px;
  }

  .header-inner,
  .hero,
  .filters,
  .contact,
  .footer-inner {
    max-width: var(--content-max);
  }
}

/* Landscape phones */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  :root {
    --header-h: 76px;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    height: var(--header-h);
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-search {
    flex: 1;
    max-width: 220px;
    margin-left: auto;
  }

  .logo-text {
    display: flex;
  }

  .logo-tag {
    display: none;
  }

  .hero:not(.hero--atelier) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .hero:not(.hero--atelier) .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: row;
    margin-bottom: 1rem;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-stats {
    width: fit-content;
  }

  .hero-carousel-image {
    aspect-ratio: 1 / 1;
  }

  .splash {
    display: none;
  }
}

/* Look Studio — virtual fitting room */
.look-studio {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--page-gutter);
  overflow: hidden;
  color: var(--header-text);
  background: linear-gradient(165deg, #12100e 0%, #1a1714 42%, #221e1a 100%);
  border-top: 1px solid rgba(212, 184, 138, 0.12);
  border-bottom: 1px solid rgba(212, 184, 138, 0.12);
}

.look-studio-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.look-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(212, 184, 138, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 184, 138, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.look-glow {
  position: absolute;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.look-glow--left {
  top: 10%;
  left: -8%;
  background: rgba(184, 147, 90, 0.35);
}

.look-glow--right {
  bottom: 5%;
  right: -8%;
  background: rgba(212, 184, 138, 0.22);
}

.look-studio-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
}

.look-studio-badge,
.look-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 184, 138, 0.28);
  background: rgba(255, 252, 248, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.88);
}

.look-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffb2;
  box-shadow: 0 0 10px rgba(125, 255, 178, 0.75);
  animation: lookPulse 2s ease-in-out infinite;
}

@keyframes lookPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.look-studio-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.look-studio-head h1,
.look-studio-head h2 {
  margin: 0.85rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fffaf4;
}

.look-rail-head .look-rail-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fffaf4;
}

body.look-page {
  background: #12100e;
}

body.look-page main {
  padding-top: 0;
}

body.look-page .look-studio {
  min-height: calc(100dvh - var(--header-h));
  border: none;
}

.look-studio-intro {
  margin: 0;
  max-width: 34rem;
  color: rgba(235, 228, 218, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.look-studio-intro strong {
  color: var(--accent-light);
}

.look-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: stretch;
}

.look-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 184, 138, 0.14);
  background: rgba(255, 252, 248, 0.04);
  backdrop-filter: blur(12px);
}

.look-rail-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.look-rail-step {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 147, 90, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
}

.look-rail-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fffaf4;
}

.look-rail-head p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: rgba(235, 228, 218, 0.55);
}

.look-rail-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow-y: auto;
  max-height: min(52vh, 520px);
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 147, 90, 0.45) transparent;
}

.look-piece-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid rgba(212, 184, 138, 0.12);
  border-radius: 14px;
  background: rgba(18, 16, 14, 0.55);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.look-piece-card:hover,
.look-piece-card:focus-visible {
  border-color: rgba(184, 147, 90, 0.55);
  transform: translateX(3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.look-piece-card.is-active {
  border-color: var(--accent-light);
  background: rgba(184, 147, 90, 0.12);
  box-shadow: 0 0 0 1px rgba(184, 147, 90, 0.25), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.look-piece-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.look-piece-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fffaf4;
}

.look-piece-card em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
}

.look-model-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.look-model-frame {
  width: 100%;
  max-width: 400px;
}

.lookboard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem 0.75rem 0.5rem;
  border-radius: 28px;
  border: 1px solid rgba(212, 184, 138, 0.18);
  background:
    radial-gradient(ellipse 90% 60% at 50% 20%, rgba(212, 184, 138, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.05) 0%, rgba(18, 16, 14, 0.55) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 252, 248, 0.08);
  overflow: hidden;
}

.lookboard.look-complete {
  border-color: rgba(184, 147, 90, 0.5);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(184, 147, 90, 0.16),
    inset 0 1px 0 rgba(255, 252, 248, 0.1);
}

.lookboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 auto 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 184, 138, 0.28);
  background: rgba(255, 252, 248, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.88);
}

.lookboard-canvas {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.look-model-photo-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 184, 138, 0.22);
  background: #1a1714;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 252, 248, 0.08);
}

.lookboard.has-look-photo .look-model-photo-frame {
  border-color: rgba(184, 147, 90, 0.55);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(184, 147, 90, 0.18),
    inset 0 1px 0 rgba(255, 252, 248, 0.1);
}

.look-model-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}

.look-model-photo.is-changing {
  opacity: 0.35;
  transform: scale(1.02);
}

.look-model-photo.is-ready {
  opacity: 1;
  transform: scale(1);
}

.look-model-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  min-height: 1.75rem;
}

.look-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 184, 138, 0.28);
  background: rgba(255, 252, 248, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fffaf4;
}

.look-chip--hint {
  color: rgba(235, 228, 218, 0.6);
  font-weight: 500;
  border-style: dashed;
}

.look-chip-plus {
  color: var(--accent-light);
  font-size: 0.85rem;
  opacity: 0.85;
}

.look-model-fallback {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(235, 228, 218, 0.58);
}

.look-model-fallback.hidden {
  display: none;
}

.lookboard-aura,
.lookboard-figure,
.lookboard-lines,
.lookboard-card {
  display: none;
}

.lookboard-title {
  margin: 0.85rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: #fffaf4;
  line-height: 1.25;
  min-height: 1.4em;
}

.look-model-hint {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(235, 228, 218, 0.72);
  min-height: 1.4em;
}

.look-mobile-picker {
  display: none;
  margin-top: 1.25rem;
}

.look-mobile-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.look-mobile-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(212, 184, 138, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.04);
  color: rgba(235, 228, 218, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.look-mobile-tab.active {
  border-color: rgba(184, 147, 90, 0.55);
  background: rgba(184, 147, 90, 0.14);
  color: #fffaf4;
}

.look-mobile-scroll {
  display: none;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

.look-mobile-scroll.active {
  display: flex;
}

.look-mobile-scroll .look-piece-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  grid-template-columns: 72px 1fr;
}

.look-dock {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: end;
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 184, 138, 0.16);
  background: rgba(255, 252, 248, 0.05);
  backdrop-filter: blur(14px);
}

.look-dock-slots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: stretch;
}

.look-dock-link {
  display: grid;
  place-items: center;
  width: 1.75rem;
  color: var(--accent-light);
  font-size: 1.1rem;
  opacity: 0.7;
}

.look-dock-slot {
  min-height: 88px;
}

.look-dock-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.55rem 0.65rem;
  align-items: center;
  height: 100%;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 184, 138, 0.12);
  background: rgba(18, 16, 14, 0.45);
}

.look-dock-card--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  min-height: 88px;
}

.look-dock-tag {
  display: inline-block;
  margin-bottom: 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.look-dock-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  grid-row: span 2;
}

.look-dock-card h4 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fffaf4;
  line-height: 1.25;
}

.look-dock-card p {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  color: rgba(235, 228, 218, 0.62);
}

.look-dock-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.look-dock-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 252, 248, 0.08);
  color: rgba(247, 243, 237, 0.85);
  font-size: 0.85rem;
  cursor: pointer;
}

.look-dock-btn:hover {
  background: rgba(184, 147, 90, 0.22);
}

.look-dock-btn.danger:hover {
  background: rgba(180, 35, 24, 0.25);
}

.look-dock-empty-btn {
  border: 1px dashed rgba(212, 184, 138, 0.28);
  border-radius: 12px;
  background: transparent;
  color: rgba(235, 228, 218, 0.72);
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.look-dock-empty-btn:hover {
  border-color: rgba(184, 147, 90, 0.55);
  color: var(--accent-light);
}

.look-dock-checkout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: min(100%, 280px);
}

.look-dock-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
}

.look-total-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.look-total-row span {
  font-size: 0.72rem;
  color: rgba(235, 228, 218, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.look-total-row strong {
  font-size: 1.05rem;
  color: #fffaf4;
}

.look-total-row.discount strong {
  color: var(--accent-light);
}

.look-total-row.final strong {
  font-size: 1.35rem;
}

.look-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.look-dock-actions .btn-primary {
  min-width: 200px;
}

.look-dock-actions .btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.look-dock-reset {
  color: rgba(235, 228, 218, 0.75);
  border-color: rgba(212, 184, 138, 0.2);
}

.look-dock-reset:hover {
  color: #fffaf4;
  border-color: rgba(212, 184, 138, 0.4);
}

.outfit-modal-hint {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(184, 147, 90, 0.2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .look-model-photo-frame {
    max-width: 340px;
    margin-inline: auto;
  }

  .look-stage-layout {
    grid-template-columns: 1fr;
  }

  .look-rail {
    display: none;
  }

  .look-mobile-picker {
    display: block;
  }

  .look-dock {
    grid-template-columns: 1fr;
  }

  .look-dock-checkout {
    align-items: stretch;
  }

  .look-dock-totals,
  .look-total-row {
    align-items: flex-start;
  }

  .look-dock-actions {
    flex-direction: column;
  }

  .look-dock-actions .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .look-dock-slots {
    grid-template-columns: 1fr;
  }

  .look-dock-link {
    display: none;
  }
}

/* Touch devices — larger tap targets */
@media (hover: none) and (pointer: coarse) {
  .filter-chip,
  .add-btn,
  .detail-btn,
  .size-btn,
  .qty-btn,
  .category-tab,
  .mega-link,
  .color-btn,
  .hero-carousel-btn,
  .hero-carousel-dot,
  .hero-carousel-slide,
  .cart-btn,
  .account-btn,
  .menu-btn,
  .search-result,
  .modal-close,
  .cart-close,
  .promo-banner-close,
  .auth-tab,
  .auth-link,
  .dept-clear,
  .outfit-slot-empty,
  .outfit-slot-btn,
  .outfit-product-card,
  .look-piece-card,
  .look-mobile-tab,
  .look-dock-empty-btn,
  .look-dock-btn {
    min-height: 44px;
  }

  .qty-btn {
    min-width: 44px;
  }

  .promo-banner-close {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }

  .auth-tab {
    min-width: 44px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .hero-carousel-dot {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .hero-carousel-dot::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(34, 34, 40, 0.25);
  }

  .hero-carousel-dot.active::after {
    background: var(--accent);
    transform: scale(1.25);
  }

  .hero-carousel-dot.active {
    background: transparent;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .splash {
    display: none;
  }
}
