/* Divine Collection — blush, gold, selected elegance */

:root {
  --bg: #f8f3ef;
  --bg-pure: #ffffff;
  --bg-soft: #f3e8e0;
  --ink: #2c211c;
  --muted: #8a7568;
  --line: rgba(44, 33, 28, 0.08);
  --line-strong: rgba(44, 33, 28, 0.16);
  --accent: #2c211c;
  --accent-warm: #a67c52;
  --ring: linear-gradient(135deg, #c44dff, #f0c56a, #e07a3a);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 77, 255, 0.06), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(224, 122, 58, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 760px) {
  .container { width: min(1140px, calc(100% - 48px)); }
}

/* Soft cursor glow */
.cursor-glow {
  display: none;
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(circle, rgba(166, 124, 82, 0.16), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease);
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { display: block; }
  .cursor-glow.is-on { opacity: 1; }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  color: #fff;
}

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

.site-header.is-scrolled .brand-logo {
  filter: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  background: #f6ebe3;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

@media (max-width: 520px) {
  .brand-text { font-size: 1.15rem; }
  .header-actions .icon-btn { display: none; }
  .hero-sub { font-size: 0.88rem; max-width: 28ch; }
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-right: 2px;
  transition: border-color 0.35s var(--ease);
}

.site-header.is-scrolled .lang-switch {
  border-color: var(--line-strong);
}

.lang-btn {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: inherit;
  opacity: 0.65;
  transition: 0.2s var(--ease);
}

.lang-btn.is-active {
  background: currentColor;
  color: var(--ink);
  opacity: 1;
}

.site-header:not(.is-scrolled) .lang-btn.is-active {
  color: #111;
  background: #fff;
}

.site-header.is-scrolled .lang-btn.is-active {
  background: var(--ink);
  color: #fff;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav a {
  position: relative;
  transition: opacity 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

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

.icon-btn,
.cart-btn,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  color: inherit;
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-warm);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.25s var(--ease);
}

.cart-count.is-on {
  opacity: 1;
  transform: scale(1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(247, 246, 244, 0.98);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 8px 20px 24px;
  gap: 2px;
  color: var(--ink);
}

.mobile-nav a {
  padding: 16px 4px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] { display: none; }

@media (min-width: 860px) {
  :root { --header-h: 76px; }
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .brand-logo { width: 46px; height: 46px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.btn-ghost-dark {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--ink); background: var(--bg-pure); }
.btn-light {
  background: #fff;
  color: var(--ink);
  margin-top: 8px;
}
.btn-light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); }
.btn-block { width: 100%; }

/* Hero — full-bleed video */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

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

.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
  transition: opacity 1.6s ease;
}

.hero-image.is-active { opacity: 1; }

.hero-image:nth-child(1) { object-position: center 28%; }
.hero-image:nth-child(2) { object-position: center 18%; }
.hero-image:nth-child(5) { object-position: center 12%; }

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.72) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: calc(var(--header-h) + 28px) 20px calc(88px + var(--safe-b));
  max-width: 640px;
  animation: riseIn 1.15s var(--ease) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: clamp(96px, 22vw, 132px);
  height: clamp(96px, 22vw, 132px);
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: logoPulse 5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin-bottom: 14px;
}

.hero-brand span {
  display: block;
  margin-top: 8px;
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 28px;
  max-width: 36ch;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

@media (min-width: 520px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.hero-scroll {
  position: absolute;
  bottom: calc(20px + var(--safe-b));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
  100% { opacity: 0.3; transform: translateY(0); }
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-pure);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 32s linear infinite;
}

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

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

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--muted);
  max-width: 38ch;
  margin-inline: auto;
  font-size: 0.98rem;
}

/* Brands */
.brands {
  padding: 64px 0 24px;
}

.brand-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brand-chip {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  background: var(--bg-pure);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand-chip:hover,
.brand-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.collection {
  padding: 48px 0 72px;
}

@media (min-width: 860px) {
  .brands { padding: 88px 0 32px; }
  .collection { padding: 56px 0 104px; }
  .section-head { margin-bottom: 56px; }
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 20px;
}

@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
}

@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.product-card.is-in {
  opacity: 1;
  transform: translateY(0);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 16px;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.product-card:hover .product-media::after {
  opacity: 1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 1s var(--ease);
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.product-color {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

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

.product-price {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-view {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  transition: letter-spacing 0.3s var(--ease);
}

.product-card:hover .product-view {
  letter-spacing: 0.2em;
}

/* Editorial band */
.editorial {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.editorial-media {
  position: absolute;
  inset: 0;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

.editorial.is-in .editorial-media img {
  transform: scale(1);
}

.editorial-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0.45) 100%);
}

.editorial-copy {
  position: relative;
  z-index: 1;
  padding: 48px 20px 56px;
  max-width: 520px;
  color: #fff;
}

.editorial-copy .section-label { color: rgba(255, 255, 255, 0.7); }
.editorial-copy .section-title {
  color: #fff;
  margin-bottom: 14px;
}

.editorial-copy > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32ch;
  margin-bottom: 20px;
}

@media (min-width: 860px) {
  .editorial { min-height: 90vh; }
  .editorial-copy {
    padding: 64px 48px 72px;
    margin-left: max(0px, calc((100% - 1140px) / 2));
  }
}

/* Story */
.story {
  padding: 72px 0;
  background: var(--bg-pure);
}

.story-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .story { padding: 112px 0; }
  .story-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}

.story-copy .section-title { margin-bottom: 16px; }
.story-copy > p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 38ch;
}

.story-points {
  list-style: none;
  display: grid;
}

.story-points li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}

.story-points li:hover {
  padding-left: 8px;
  color: var(--accent-warm);
}

.story-points li:last-child { border-bottom: 1px solid var(--line); }

.story-visual {
  position: relative;
  min-height: 420px;
}

.story-img {
  position: absolute;
  object-fit: cover;
  object-position: center 12%;
  background: var(--bg-soft);
  transition: transform 0.7s var(--ease);
}

.story-img-a {
  width: 68%;
  aspect-ratio: 3 / 4;
  top: 0;
  left: 0;
  z-index: 1;
}

.story-img-b {
  width: 55%;
  aspect-ratio: 3 / 4;
  bottom: 0;
  right: 0;
  z-index: 2;
  box-shadow: -16px -16px 0 var(--bg-pure);
}

.story-visual:hover .story-img-a { transform: translate(-4px, -6px); }
.story-visual:hover .story-img-b { transform: translate(4px, 6px); }

@media (max-width: 600px) {
  .story-visual { min-height: 360px; }
  .story-img-b { box-shadow: -10px -10px 0 var(--bg-pure); }
}

/* Visit */
.visit {
  padding: 80px 0 calc(80px + var(--safe-b));
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(166, 124, 82, 0.08));
}

.visit .section-desc { margin-bottom: 36px; }

.visit-places {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 560px) {
  .visit-places { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.visit-place {
  padding: 28px 20px;
  border: 1px solid var(--line);
  background: var(--bg-pure);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.visit-place:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.visit-place h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.visit-place p {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.visit-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm) !important;
}

.visit-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  max-width: 420px;
  margin-inline: auto;
}

@media (min-width: 520px) {
  .visit-cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

/* Footer */
.site-footer {
  padding: 40px 0 calc(36px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: var(--bg-pure);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-inner a {
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.footer-inner a:hover { color: var(--accent-warm); }

/* Modal & cart */
.modal[hidden],
.cart-drawer[hidden] { display: none; }

.modal,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal-backdrop,
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.48);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 16px));
  max-height: calc(100% - 24px - var(--safe-b));
  margin: 12px auto;
  background: var(--bg-pure);
  overflow: auto;
  display: grid;
  border: 1px solid var(--line);
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 760px) {
  .modal-panel {
    grid-template-columns: 1fr 1fr;
    max-height: min(680px, calc(100% - 48px));
    margin: 24px auto;
    overflow: hidden;
  }
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
}

.modal-media {
  position: relative;
  background: var(--bg-soft);
  min-height: 280px;
}

.modal-thumbs {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.modal-thumbs[hidden] { display: none; }

.modal-thumb {
  width: 52px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.72;
}

.modal-thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 52vh;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

@media (min-width: 760px) {
  .modal-media img { max-height: none; }
}

.modal-body {
  padding: 28px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-brand {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  padding-right: 36px;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.modal-desc { color: var(--muted); font-size: 0.92rem; }
.modal-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.size-btn {
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  font-weight: 500;
  font-size: 0.85rem;
  transition: 0.2s var(--ease);
}

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

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

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 480px) {
  .modal-actions { flex-direction: row; }
  .modal-actions .btn { flex: 1; }
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(400px, 100%);
  height: 100%;
  background: var(--bg-pure);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  animation: slideIn 0.35s var(--ease);
  padding-bottom: var(--safe-b);
}

@keyframes slideIn {
  from { transform: translateX(100%); }
}

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

.cart-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 48px 12px;
}

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

.cart-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  background: var(--bg-soft);
}

.cart-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item p {
  font-size: 0.78rem;
  color: var(--muted);
}

.cart-item-remove {
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  padding: 8px;
}

.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
}

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

.cart-hint {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: 0.3s var(--ease);
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.modal-open { overflow: hidden; }

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