/* ================================================================
   DANA — Premium Streetwear Boutique
   Design System & Styles
   ================================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; background: var(--offwhite); color: var(--black); font-family: var(--font-body); font-weight: 400; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Custom Properties ---------- */
:root {
  /* Sakura Palette */
  --sakura: #C98B96;
  --sakura-light: #E8C5CC;
  --sakura-pale: #F5E6EA;
  --sakura-deep: #A66B78;
  --sakura-glow: rgba(201,139,150,.15);

  /* Neutrals */
  --white: #FFFFFF;
  --offwhite: #F9F7F4;
  --cream: #F3EDE7;
  --gray-100: #EDE9E5;
  --gray-200: #DDD8D3;
  --gray-300: #B8B2AB;
  --gray-400: #8A847D;
  --gray-500: #5C5650;
  --charcoal: #2A2A2C;
  --dark: #1A1A1C;
  --black: #0B0B0B;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --ts-xs: clamp(.6875rem, .65rem + .15vw, .75rem);
  --ts-sm: clamp(.8125rem, .78rem + .15vw, .875rem);
  --ts-base: clamp(.9375rem, .9rem + .2vw, 1rem);
  --ts-lg: clamp(1.0625rem, 1rem + .3vw, 1.125rem);
  --ts-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --ts-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --ts-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --ts-4xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --ts-5xl: clamp(3rem, 2rem + 4vw, 5.5rem);
  --ts-hero: clamp(3.5rem, 2rem + 6vw, 8rem);

  /* Spacing */
  --sp-2xs: .25rem;
  --sp-xs: .5rem;
  --sp-sm: .75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;
  --sp-section: clamp(5rem, 4rem + 4vw, 9rem);

  /* Layout */
  --container-max: 1400px;
  --container-pad: clamp(1.25rem, 1rem + 1.5vw, 3rem);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 150ms;
  --dur-normal: 300ms;
  --dur-slow: 500ms;
  --dur-slower: 800ms;

  /* Borders */
  --radius-xs: .375rem;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 500;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.12);
}

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Announcement Bar ---------- */
.announcement { background: var(--black); color: var(--white); font-size: var(--ts-xs); letter-spacing: .08em; text-transform: uppercase; overflow: hidden; height: 36px; display: flex; align-items: center; position: relative; z-index: var(--z-sticky); }
.announcement__track { display: flex; gap: var(--sp-3xl); white-space: nowrap; animation: marquee-announcement 30s linear infinite; }
.announcement__track span { display: flex; align-items: center; gap: var(--sp-xs); }
.announcement__track span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sakura); flex-shrink: 0; }
@keyframes marquee-announcement { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky); padding: var(--sp-2xl) 0; transition: background var(--dur-normal) var(--ease-out), padding var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out); }
.nav--scrolled { background: rgba(249,247,244,.92); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); padding: var(--sp-sm) 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav--checkout { background: var(--white); padding: var(--sp-md) 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { height: 32px; transition: filter var(--dur-normal) var(--ease-out), opacity var(--dur-normal); }
.nav__logo img { height: 100%; width: auto; }
.nav--hero .nav__logo img.logo-dark,
.nav--hero .nav__links a { color: var(--white); }
.nav--hero .nav__logo img.logo-dark { display: none; }
.nav--hero .nav__logo img.logo-light { display: block; }
.nav--scrolled .nav__logo img.logo-dark { display: block; }
.nav--scrolled .nav__logo img.logo-light { display: none; }
.nav__logo img.logo-dark { display: block; }
.nav__logo img.logo-light { display: none; }

.nav__links { display: flex; align-items: center; gap: var(--sp-2xl); }
.nav__links a { font-size: var(--ts-sm); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color var(--dur-fast), opacity var(--dur-fast); position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--sakura); transition: width var(--dur-normal) var(--ease-out); }
.nav__links a:hover::after { width: 100%; }
.nav--hero .nav__links a { color: var(--white); }
.nav--scrolled .nav__links a { color: var(--black); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-lg); }
.nav__action-btn { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); transition: background var(--dur-fast); }
.nav__action-btn:hover { background: rgba(0,0,0,.05); }
.nav__action-btn svg { width: 22px; height: 22px; transition: stroke var(--dur-normal); }
.nav--hero .nav__action-btn svg { stroke: var(--white); }
.nav--scrolled .nav__action-btn svg { stroke: var(--black); }
.cart-count { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; background: var(--sakura); color: var(--white); font-size: 10px; font-weight: 600; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform var(--dur-normal) var(--ease-spring); }
.cart-count.visible { transform: scale(1); }

/* Mobile Menu */
.nav__hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: transform var(--dur-normal) var(--ease-out), opacity var(--dur-fast); }
.nav--hero .nav__hamburger span { background: var(--white); }
.nav--scrolled .nav__hamburger span { background: var(--black); }
.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; background: var(--offwhite); z-index: calc(var(--z-sticky) - 1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2xl); opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out); }
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-body); font-size: var(--ts-3xl); font-weight: 700; text-transform: uppercase; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ---------- Hero Section ---------- */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; background: var(--black); padding: var(--sp-lg); }
.hero__video-wrapper { position: relative; width: 100%; height: 100%; border-radius: var(--radius-2xl); overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.4) 100%); pointer-events: none; }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: var(--sp-xl); }
.hero__brand { font-family: var(--font-display); font-size: var(--ts-hero); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: .9; margin-bottom: var(--sp-md); opacity: 0; transform: translateY(30px); animation: hero-reveal .8s var(--ease-out) .3s forwards; }
.hero__tagline { font-size: var(--ts-lg); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; opacity: 0; transform: translateY(20px); animation: hero-reveal .8s var(--ease-out) .6s forwards; }
.hero__cta { margin-top: var(--sp-2xl); opacity: 0; transform: translateY(20px); animation: hero-reveal .8s var(--ease-out) .9s forwards; }
.hero__scroll { position: absolute; bottom: var(--sp-2xl); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--sp-xs); color: var(--white); font-size: var(--ts-xs); letter-spacing: .1em; text-transform: uppercase; opacity: 0; animation: hero-reveal .8s var(--ease-out) 1.2s forwards; }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--white), transparent); animation: scroll-line 1.5s var(--ease-in-out) infinite; }
@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-line { 0%,100% { opacity: .3; transform: scaleY(.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm); font-family: var(--font-body); font-size: var(--ts-sm); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: var(--sp-md) var(--sp-2xl); border-radius: var(--radius-full); transition: all var(--dur-normal) var(--ease-out); position: relative; overflow: hidden; min-height: 48px; }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--charcoal); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:active { transform: translateY(0); }
.btn--sakura { background: var(--sakura); color: var(--white); }
.btn--sakura:hover { background: var(--sakura-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,139,150,.3); }
.btn--outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn--outline-white:hover { background: var(--white); color: var(--black); }
.btn--lg { padding: var(--sp-lg) var(--sp-3xl); font-size: var(--ts-base); min-height: 56px; }
.btn--full { width: 100%; }
.btn__arrow { transition: transform var(--dur-normal) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:disabled { opacity: .5; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--black); padding: var(--sp-lg) 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: flex; gap: 0; animation: marquee 25s linear infinite; }
.marquee__item { font-family: var(--font-display); font-size: var(--ts-3xl); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--white); padding: 0 var(--sp-2xl); display: flex; align-items: center; gap: var(--sp-2xl); flex-shrink: 0; }
.marquee__item::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sakura); flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Sections Common ---------- */
.section { padding: var(--sp-section) 0; }
.section__label { font-size: var(--ts-xs); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--sakura); margin-bottom: var(--sp-md); }
.section__title { font-family: var(--font-body); font-size: var(--ts-4xl); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.section__subtitle { font-size: var(--ts-lg); color: var(--gray-500); max-width: 540px; margin-top: var(--sp-md); line-height: 1.7; }

/* ---------- Scroll Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }
[data-reveal-delay="4"] { transition-delay: 400ms; }

/* ---------- Brand Story ---------- */
.story { padding: var(--sp-3xl) 0; background: var(--offwhite); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); align-items: center; }
.story__image { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3/4; background: var(--gray-100); perspective: 800px; max-width: 60%; }
.story__image--3d { transform-style: preserve-3d; transition: transform var(--dur-slow) var(--ease-out); }
.story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.story__image--3d:hover img { transform: scale(1.04); }
.story__image::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(0,0,0,.05); border-radius: inherit; pointer-events: none; z-index: 2; }
.story__image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-xl) var(--sp-lg); background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%); z-index: 1; display: flex; flex-direction: column; gap: var(--sp-xs); }
.story__image-tag { font-size: var(--ts-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sakura-light); }
.story__image-caption { font-size: var(--ts-sm); color: rgba(255,255,255,.9); line-height: 1.5; font-weight: 300; }
.story__text { max-width: 420px; }
.story__text .section__label { font-size: var(--ts-xs); }
.story__text .section__title { font-family: var(--font-body); font-size: var(--ts-3xl); font-weight: 700; margin-bottom: var(--sp-md); }
.story__body { font-size: var(--ts-sm); color: var(--gray-500); line-height: 1.8; margin-bottom: var(--sp-lg); }
@media (max-width: 768px) {
  .story__grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

/* ---------- Collection Filters ---------- */
.collection-filters { display: flex; justify-content: center; gap: var(--sp-sm); margin-bottom: var(--sp-3xl); flex-wrap: wrap; }
.filter-btn { padding: var(--sp-sm) var(--sp-xl); border-radius: var(--radius-full); font-size: var(--ts-sm); font-weight: 500; letter-spacing: .04em; border: 1.5px solid var(--gray-200); background: transparent; color: var(--gray-500); transition: all var(--dur-normal) var(--ease-out); cursor: pointer; }
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Featured Product / Product Grid ---------- */
.featured { background: var(--white); }
.featured__header { text-align: center; margin-bottom: var(--sp-4xl); }
.featured__header .section__subtitle { margin-left: auto; margin-right: auto; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-xl); }

.product-card { position: relative; cursor: pointer; text-decoration: none; color: inherit; transition: transform var(--dur-normal) var(--ease-out); }
.product-card:hover { transform: translateY(-4px); }
.product-card__image { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); margin-bottom: var(--sp-md); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card__image--sm img { object-fit: contain; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__badge { position: absolute; top: var(--sp-md); left: var(--sp-md); background: var(--sakura); color: var(--white); font-size: var(--ts-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-full); z-index: 2; }
.product-card__quick { position: absolute; bottom: var(--sp-md); left: var(--sp-md); right: var(--sp-md); opacity: 0; transform: translateY(8px); transition: all var(--dur-normal) var(--ease-out); z-index: 2; }
.product-card:hover .product-card__quick { opacity: 1; transform: translateY(0); }
.product-card__info { display: flex; justify-content: space-between; align-items: baseline; }
.product-card__name { font-weight: 500; font-size: var(--ts-base); }
.product-card__price { display: flex; align-items: baseline; gap: var(--sp-xs); }
.product-card__price-current { font-weight: 600; font-size: var(--ts-base); }
.product-card__price-original { font-size: var(--ts-sm); color: var(--gray-400); text-decoration: line-through; }

/* Product Placeholder (gradient background when no image) */
.product-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-sm); }
.product-placeholder__brand { font-family: var(--font-display); font-size: var(--ts-3xl); font-weight: 800; color: rgba(255,255,255,.3); letter-spacing: .1em; }
.product-placeholder__text { font-size: var(--ts-xs); color: rgba(255,255,255,.2); text-transform: uppercase; letter-spacing: .15em; }

/* ---------- Lifestyle / Full-width Section ---------- */
.lifestyle { position: relative; height: 70vh; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lifestyle__bg { position: absolute; inset: 0; background: var(--charcoal); }
.lifestyle__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.lifestyle__content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: var(--sp-xl); }
.lifestyle__content .section__title { color: var(--white); margin-bottom: var(--sp-lg); }
.lifestyle__content p { font-size: var(--ts-lg); max-width: 500px; margin: 0 auto var(--sp-2xl); opacity: .85; }

/* ---------- Values ---------- */
.values { background: var(--offwhite); }
.values__header { text-align: center; margin-bottom: var(--sp-4xl); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2xl); }
.value-card { text-align: center; padding: var(--sp-2xl) var(--sp-lg); }
.value-card__icon { width: 56px; height: 56px; margin: 0 auto var(--sp-lg); display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); background: var(--sakura-pale); color: var(--sakura-deep); }
.value-card__icon svg { width: 26px; height: 26px; }
.value-card__title { font-family: var(--font-body); font-size: var(--ts-xl); font-weight: 700; margin-bottom: var(--sp-sm); }
.value-card__text { font-size: var(--ts-sm); color: var(--gray-500); line-height: 1.7; max-width: 300px; margin: 0 auto; }
@media (max-width: 768px) {
  .values__grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--black); color: var(--white); }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3xl); }
.newsletter__text .section__label { color: var(--sakura-light); }
.newsletter__text .section__title { color: var(--white); font-size: var(--ts-3xl); }
.newsletter__text p { color: var(--gray-300); margin-top: var(--sp-sm); }
.newsletter__form { display: flex; gap: var(--sp-sm); width: 100%; max-width: 440px; }
.newsletter__input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-full); padding: var(--sp-md) var(--sp-xl); color: var(--white); font-size: var(--ts-sm); outline: none; transition: border-color var(--dur-fast), background var(--dur-fast); min-height: 48px; }
.newsletter__input::placeholder { color: var(--gray-400); }
.newsletter__input:focus { border-color: var(--sakura); background: rgba(255,255,255,.12); }
@media (max-width: 768px) {
  .newsletter__inner { flex-direction: column; text-align: center; }
  .newsletter__form { max-width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--gray-300); padding: var(--sp-4xl) 0 var(--sp-xl); }
.footer--checkout { padding: var(--sp-xl) 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-3xl); margin-bottom: var(--sp-4xl); }
.footer__brand p { margin-top: var(--sp-md); font-size: var(--ts-sm); line-height: 1.7; max-width: 280px; }
.footer__brand img { height: 28px; margin-bottom: var(--sp-md); }
.footer__col-title { font-family: var(--font-body); font-weight: 700; font-size: var(--ts-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: var(--sp-lg); }
.footer__col a { display: block; font-size: var(--ts-sm); padding: var(--sp-2xs) 0; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--sakura-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-xl); border-top: 1px solid rgba(255,255,255,.08); font-size: var(--ts-xs); color: var(--gray-500); }
.footer__socials { display: flex; gap: var(--sp-md); }
.footer__socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.1); transition: all var(--dur-fast); }
.footer__socials a:hover { border-color: var(--sakura); background: rgba(201,139,150,.1); }
.footer__socials svg { width: 18px; height: 18px; fill: var(--gray-300); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--sp-md); text-align: center; }
}

/* ---------- Cart Drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: var(--z-overlay); opacity: 0; pointer-events: none; transition: opacity var(--dur-normal); backdrop-filter: blur(4px); }
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 440px; height: 100%; background: var(--white); z-index: var(--z-modal); transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out); display: flex; flex-direction: column; }
.cart-drawer.active { transform: translateX(0); }

.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-xl); border-bottom: 1px solid var(--gray-100); flex-shrink: 0; }
.cart-drawer__title { font-family: var(--font-body); font-size: var(--ts-xl); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cart-drawer__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); transition: background var(--dur-fast); }
.cart-drawer__close:hover { background: var(--gray-100); }
.cart-drawer__close svg { width: 20px; height: 20px; }

/* Shipping Progress */
.shipping-progress { padding: var(--sp-lg) var(--sp-xl); background: var(--sakura-pale); flex-shrink: 0; }
.shipping-progress__text { font-size: var(--ts-sm); text-align: center; margin-bottom: var(--sp-sm); font-weight: 500; }
.shipping-progress__text strong { color: var(--sakura-deep); }
.shipping-progress__bar { height: 4px; background: var(--sakura-light); border-radius: var(--radius-full); overflow: hidden; position: relative; }
.shipping-progress__fill { height: 100%; background: var(--sakura); border-radius: var(--radius-full); transition: width var(--dur-slow) var(--ease-out); position: relative; }
.shipping-progress__fill::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: var(--sakura); border-radius: 50%; border: 2px solid var(--white); }
.shipping-progress__tiers { display: flex; justify-content: space-between; margin-top: var(--sp-xs); font-size: var(--ts-xs); color: var(--gray-400); }
.shipping-progress__tier { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.shipping-progress__tier.reached { color: var(--sakura-deep); font-weight: 600; }

/* Cart Items */
.cart-drawer__items { flex: 1; overflow-y: auto; padding: var(--sp-lg) var(--sp-xl); }
.cart-drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: var(--gray-400); }
.cart-drawer__empty svg { width: 48px; height: 48px; margin-bottom: var(--sp-md); opacity: .4; }
.cart-drawer__empty p { font-size: var(--ts-sm); margin-bottom: var(--sp-xl); }

.cart-item { display: flex; gap: var(--sp-md); padding: var(--sp-md) 0; border-bottom: 1px solid var(--gray-100); }
.cart-item:last-child { border-bottom: none; }
.cart-item__image { width: 80px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item__name { font-weight: 500; font-size: var(--ts-sm); }
.cart-item__variant { font-size: var(--ts-xs); color: var(--gray-400); margin-top: 2px; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; }
.cart-item__price { font-weight: 600; font-size: var(--ts-sm); }
.cart-item__quantity { display: flex; align-items: center; gap: 0; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.cart-item__qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: var(--ts-base); transition: background var(--dur-fast); }
.cart-item__qty-btn:hover { background: var(--gray-100); }
.cart-item__qty-val { width: 32px; text-align: center; font-size: var(--ts-sm); font-weight: 500; }
.cart-item__remove { color: var(--gray-400); font-size: var(--ts-xs); text-decoration: underline; cursor: pointer; transition: color var(--dur-fast); margin-top: 4px; align-self: flex-end; }
.cart-item__remove:hover { color: var(--black); }

/* Cart Footer */
.cart-drawer__footer { padding: var(--sp-xl); border-top: 1px solid var(--gray-100); background: var(--white); flex-shrink: 0; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; margin-bottom: var(--sp-sm); font-size: var(--ts-base); }
.cart-drawer__subtotal-label { color: var(--gray-500); }
.cart-drawer__subtotal-value { font-weight: 700; font-family: var(--font-body); font-size: var(--ts-xl); }
.cart-drawer__note { font-size: var(--ts-xs); color: var(--gray-400); text-align: center; margin-bottom: var(--sp-md); }
.cart-drawer__checkout { width: 100%; text-align: center; }

/* ---------- Product Page ---------- */
.product-page { padding-top: 80px; }
.product-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); padding: var(--sp-2xl) 0; }

/* Gallery */
.gallery { display: flex; flex-direction: column; gap: var(--sp-md); }
.gallery__main { aspect-ratio: 4/4; border-radius: var(--radius-xl); overflow: hidden; background: var(--gray-100); position: relative; display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: 70%; height: auto; max-height: 85%; object-fit: contain; transition: transform var(--dur-slow) var(--ease-out); }
.gallery__main--img1 img { width: 80% !important; }
.gallery__main--img2 img { width: 60% !important; }
.gallery__main--img3 img { width: 60% !important; }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__thumbs { display: flex; gap: var(--sp-sm); }
.gallery__thumb { width: 56px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--dur-fast); background: var(--gray-100); }.gallery__thumb.active, .gallery__thumb:hover { border-color: var(--sakura); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info { padding-top: var(--sp-sm); }
.product-info__breadcrumb { font-size: var(--ts-xs); color: var(--gray-400); margin-bottom: var(--sp-xl); display: flex; gap: var(--sp-xs); }
.product-info__breadcrumb a:hover { color: var(--black); }
.product-info__breadcrumb span { color: var(--gray-300); }
.product-info__name { font-family: var(--font-body); font-size: var(--ts-3xl); font-weight: 700; line-height: 1.1; margin-bottom: var(--sp-md); }
.product-info__price-row { display: flex; align-items: baseline; gap: var(--sp-md); margin-bottom: var(--sp-lg); }
.product-info__price { font-family: var(--font-body); font-size: var(--ts-2xl); font-weight: 700; }
.product-info__price-original { font-size: var(--ts-lg); color: var(--gray-400); text-decoration: line-through; }
.product-info__badge { background: var(--sakura); color: var(--white); font-size: var(--ts-xs); font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); letter-spacing: .04em; }

/* Color Selector */
.color-selector { margin-bottom: var(--sp-xl); }
.color-selector__label { font-size: var(--ts-sm); font-weight: 500; margin-bottom: var(--sp-sm); }
.color-selector__options { display: flex; gap: var(--sp-sm); }
.color-option { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gray-200); cursor: pointer; transition: all var(--dur-fast); position: relative; }
.color-option:hover { border-color: var(--gray-400); transform: scale(1.1); }
.color-option.active { border-color: var(--black); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black); }
.color-option__inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }

/* Social Proof */
.social-proof { display: flex; align-items: center; gap: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); background: var(--sakura-pale); border-radius: var(--radius-sm); margin-bottom: var(--sp-xl); font-size: var(--ts-sm); }
.social-proof__dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* Size Selector */
.size-selector { margin-bottom: var(--sp-xl); }
.size-selector__label { font-size: var(--ts-sm); font-weight: 500; margin-bottom: var(--sp-sm); display: flex; justify-content: space-between; }
.size-selector__guide { color: var(--sakura); font-weight: 400; text-decoration: underline; cursor: pointer; }
.size-selector__options { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }
.size-option { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: var(--ts-sm); font-weight: 500; transition: all var(--dur-fast); cursor: pointer; }
.size-option:hover { border-color: var(--black); }
.size-option.active { background: var(--black); color: var(--white); border-color: var(--black); }
.size-option.out-of-stock { opacity: .35; pointer-events: none; text-decoration: line-through; }

/* Quantity */
.quantity-selector { margin-bottom: var(--sp-xl); }
.quantity-selector__label { font-size: var(--ts-sm); font-weight: 500; margin-bottom: var(--sp-sm); }
.quantity-selector__controls { display: inline-flex; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: var(--ts-lg); transition: background var(--dur-fast); }
.qty-btn:hover { background: var(--gray-100); }
.qty-value { width: 56px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: var(--ts-base); border-left: 1.5px solid var(--gray-200); border-right: 1.5px solid var(--gray-200); }

/* Add to Cart */
.add-to-cart { margin-bottom: var(--sp-lg); }
.add-to-cart__btn { width: 100%; min-height: 56px; font-size: var(--ts-base); font-weight: 600; letter-spacing: .06em; position: relative; overflow: hidden; }
.add-to-cart__btn .btn-text { position: relative; z-index: 1; }
.add-to-cart__btn--loading .btn-text { opacity: 0; }
.add-to-cart__btn--loading::after { content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.3); border-top-color: var(--white); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.add-to-cart__btn--added { background: #16a34a !important; }

/* Trust Badges */
.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); margin-bottom: var(--sp-xl); }
.trust-badge { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--sp-md); border: 1px solid var(--gray-100); border-radius: var(--radius-md); gap: var(--sp-xs); }
.trust-badge svg { width: 22px; height: 22px; color: var(--sakura); }
.trust-badge span { font-size: var(--ts-xs); color: var(--gray-500); line-height: 1.3; }

/* Accordions */
.accordion { border-top: 1px solid var(--gray-200); }
.accordion__item { border-bottom: 1px solid var(--gray-200); }
.accordion__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--sp-lg) 0; font-size: var(--ts-base); font-weight: 500; text-align: left; cursor: pointer; min-height: 48px; }
.accordion__trigger svg { width: 18px; height: 18px; transition: transform var(--dur-normal) var(--ease-out); flex-shrink: 0; }
.accordion__item.active .accordion__trigger svg { transform: rotate(180deg); }
.accordion__content { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.accordion__content-inner { padding: 0 0 var(--sp-xl); font-size: var(--ts-sm); color: var(--gray-500); line-height: 1.8; }

@media (max-width: 768px) {
  .product-page__grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

/* ---------- Sticky Mobile Add-to-Cart ---------- */
.sticky-atc { display: none; }
@media (max-width: 768px) {
  .sticky-atc { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky); background: var(--white); padding: var(--sp-md) var(--container-pad); box-shadow: 0 -4px 20px rgba(0,0,0,.08); align-items: center; justify-content: space-between; gap: var(--sp-md); }
  .sticky-atc__info { display: flex; flex-direction: column; }
  .sticky-atc__name { font-weight: 600; font-size: var(--ts-sm); }
  .sticky-atc__price { font-family: var(--font-body); font-weight: 700; }
  .sticky-atc .btn { flex-shrink: 0; }
}

/* ---------- Toast Notification ---------- */
.toast { position: fixed; bottom: var(--sp-xl); right: var(--sp-xl); background: var(--charcoal); color: var(--white); padding: var(--sp-md) var(--sp-xl); border-radius: var(--radius-md); font-size: var(--ts-sm); font-weight: 500; z-index: var(--z-toast); transform: translateY(120%); opacity: 0; transition: all var(--dur-normal) var(--ease-out); display: flex; align-items: center; gap: var(--sp-sm); box-shadow: var(--shadow-xl); }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast__icon { color: #4ade80; }
@media (max-width: 768px) {
  .toast { left: var(--sp-md); right: var(--sp-md); bottom: 80px; }
}

/* ---------- Urgency Bar ---------- */
.urgency { display: flex; align-items: center; gap: var(--sp-xs); font-size: var(--ts-xs); color: var(--sakura-deep); margin-bottom: var(--sp-md); }
.urgency svg { width: 16px; height: 16px; animation: pulse-dot 1s infinite; }

/* ---------- Loading / Page Transition ---------- */
.page-loader { position: fixed; inset: 0; background: var(--black); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .5s var(--ease-out); }
.page-loader.loaded { opacity: 0; pointer-events: none; }
.page-loader__brand { font-family: var(--font-display); font-size: var(--ts-4xl); font-weight: 800; color: var(--white); letter-spacing: .12em; animation: loader-pulse 1.2s ease-in-out infinite; }
@keyframes loader-pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */

.checkout { padding-top: 100px; padding-bottom: var(--sp-4xl); }
.checkout__grid { display: grid; grid-template-columns: 1fr 420px; gap: var(--sp-4xl); align-items: start; }
@media (max-width: 1024px) {
  .checkout__grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .checkout__summary-side { order: -1; }
}

/* Checkout Steps */
.checkout-steps { display: flex; gap: var(--sp-xl); }
.checkout-step { font-size: var(--ts-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-300); padding: var(--sp-xs) 0; border-bottom: 2px solid transparent; transition: all var(--dur-fast); }
.checkout-step.active { color: var(--black); border-bottom-color: var(--sakura); }
@media (max-width: 768px) {
  .checkout-steps { display: none; }
}

/* Checkout Form */
.checkout-section__title { font-family: var(--font-body); font-size: var(--ts-xl); font-weight: 700; margin-bottom: var(--sp-xl); }

.checkout-form { display: flex; flex-direction: column; gap: var(--sp-md); }

.form-row { display: grid; gap: var(--sp-md); }
.form-row--half { grid-template-columns: 1fr 1fr; }
.form-row--third { grid-template-columns: 1fr 2fr; }
@media (max-width: 480px) {
  .form-row--half, .form-row--third { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-2xs); }
.form-group label { font-size: var(--ts-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.form-group input,
.form-group select { height: 48px; padding: 0 var(--sp-lg); border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: var(--ts-sm); color: var(--black); background: var(--white); transition: border-color var(--dur-fast); outline: none; }
.form-group input:focus,
.form-group select:focus { border-color: var(--sakura); }
.form-group input.error,
.form-group select.error { border-color: #ef4444; }

/* Shipping Options */
.shipping-options { display: flex; flex-direction: column; gap: var(--sp-sm); margin-bottom: var(--sp-2xl); }
.shipping-option { display: flex; align-items: center; gap: var(--sp-md); padding: var(--sp-lg); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); cursor: pointer; transition: all var(--dur-fast); }
.shipping-option:hover { border-color: var(--gray-400); }
.shipping-option.active { border-color: var(--sakura); background: var(--sakura-pale); }
.shipping-option input[type="radio"] { width: 20px; height: 20px; accent-color: var(--sakura); flex-shrink: 0; }
.shipping-option__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.shipping-option__name { font-weight: 600; font-size: var(--ts-sm); }
.shipping-option__delay { font-size: var(--ts-xs); color: var(--gray-400); }
.shipping-option__price { font-weight: 700; font-size: var(--ts-sm); white-space: nowrap; }

.checkout-pay-btn { margin-top: var(--sp-md); }

.checkout-secure { display: flex; align-items: center; gap: var(--sp-xs); font-size: var(--ts-xs); color: var(--gray-400); margin-top: var(--sp-md); text-align: center; justify-content: center; }
.checkout-secure svg { flex-shrink: 0; color: var(--sakura); }

/* Order Summary */
.order-summary { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: var(--sp-xl); position: sticky; top: 100px; }
.order-summary__title { font-family: var(--font-body); font-size: var(--ts-lg); font-weight: 700; margin-bottom: var(--sp-lg); text-transform: uppercase; letter-spacing: .05em; }

.order-summary__items { display: flex; flex-direction: column; gap: var(--sp-md); padding-bottom: var(--sp-lg); border-bottom: 1px solid var(--gray-100); margin-bottom: var(--sp-lg); }

.order-summary__item { display: flex; gap: var(--sp-md); align-items: center; }
.order-summary__item-image { width: 60px; height: 75px; border-radius: var(--radius-xs); overflow: hidden; background: var(--gray-100); flex-shrink: 0; position: relative; }
.order-summary__item-qty { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--gray-500); color: var(--white); font-size: 10px; font-weight: 600; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.order-summary__item-info { flex: 1; }
.order-summary__item-name { font-weight: 500; font-size: var(--ts-sm); }
.order-summary__item-variant { font-size: var(--ts-xs); color: var(--gray-400); }
.order-summary__item-price { font-weight: 600; font-size: var(--ts-sm); white-space: nowrap; }

.order-summary__totals { display: flex; flex-direction: column; gap: var(--sp-sm); }
.order-summary__row { display: flex; justify-content: space-between; font-size: var(--ts-sm); color: var(--gray-500); }
.order-summary__row--discount { color: #16a34a; }
.order-summary__row--total { font-size: var(--ts-lg); font-weight: 700; color: var(--black); padding-top: var(--sp-md); border-top: 1px solid var(--gray-100); margin-top: var(--sp-sm); }

.order-summary__trust { margin-top: var(--sp-xl); display: flex; flex-direction: column; gap: var(--sp-sm); }
.order-summary__trust-item { display: flex; align-items: center; gap: var(--sp-sm); font-size: var(--ts-xs); color: var(--gray-400); }
.order-summary__trust-item svg { color: var(--sakura); flex-shrink: 0; }

/* ================================================================
   ORDER SUCCESS PAGE
   ================================================================ */

.success-page { padding-top: 120px; padding-bottom: var(--sp-5xl); min-height: 80vh; display: flex; align-items: center; }
.success-card { max-width: 600px; margin: 0 auto; text-align: center; padding: var(--sp-3xl); }
.success-card__icon { margin-bottom: var(--sp-xl); }
.success-card__icon svg { margin: 0 auto; }
.success-card__title { font-family: var(--font-body); font-size: var(--ts-3xl); font-weight: 700; margin-bottom: var(--sp-md); }
.success-card__subtitle { font-size: var(--ts-base); color: var(--gray-500); line-height: 1.7; margin-bottom: var(--sp-2xl); }
.success-card__details { background: var(--gray-100); border-radius: var(--radius-lg); padding: var(--sp-xl); margin-bottom: var(--sp-2xl); display: flex; flex-direction: column; gap: var(--sp-md); }
.success-card__detail { display: flex; justify-content: space-between; align-items: center; }
.success-card__detail-label { font-size: var(--ts-sm); color: var(--gray-500); }
.success-card__detail-value { font-size: var(--ts-sm); font-weight: 600; }
.success-card__actions { margin-bottom: var(--sp-xl); }
.success-card__support { font-size: var(--ts-xs); color: var(--gray-400); }
.success-card__support a { color: var(--sakura); text-decoration: underline; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
