/* =========================
   COMPONENTS.CSS — FINAL CLEAN
========================= */

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
}

/* =========================
   🔥 BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-sm);
  letter-spacing: var(--letter-normal);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--color-black);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}


/* =========================
   🔥 PRODUCT GRID
========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;

  max-width: 1600px;
  margin: 0 auto;

  padding: 0; /* ✅ IMPORTANT */
}

/* =========================
   SHOP GRID OVERRIDE
========================= */

.shop .product-grid {
  grid-template-columns: repeat(3, 1fr);

}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* =========================
   🔥 PRODUCT CARD
========================= */

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  will-change: transform;

  /* 🔥 ADD THIS */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

/* =========================
   🔥 PRODUCT MEDIA
========================= */

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden; /* 🔥 changed from visible */
  background: transparent;

  border-radius: 12px; /* 🔥 added */
  transform: translateZ(0);
}


/* ===============================
   🖼 PRODUCT MEDIA IMAGES
================================ */

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;

  transform: translateZ(0);
  backface-visibility: hidden;
  transition: opacity 0.25s ease-out, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media {
  transform: translateY(-2px);
}

.product-card:hover .product-media img {
  transform: scale(1.02);
}

/* ===============================
   🧱 IMAGE LAYERS (FIXED — STABLE)
================================ */

.img-front,
.img-back {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain !important;
  padding: 0 !important;

  transition: opacity 0.25s ease-out;
}

/* 🔥 CRITICAL BASE STATE (prevents flashing) */
.img-front {
  opacity: 1;
  z-index: 2;
}

.img-back {
  opacity: 0;
  z-index: 1;
}

/* ===============================
   🚫 DISABLED MODEL LAYER (CLEAN)
================================ */

.img-model {
  display: none !important;
}

/* ===============================
   🔄 HOVER BEHAVIOR (CLEAN + STABLE)
================================ */

.product-card:hover .img-front {
  opacity: 0;
}

.product-card:hover .img-back {
  opacity: 1;
}

/* ===============================
   🚫 DISABLE MODEL IN CARD ONLY
================================ */

.product-card:hover .product-media {
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* =========================
   🔥 PRODUCT INFO
========================= */

.products {
  background: #ffffff; /* 🔥 force clean white */
}

.product-info {
  margin-top: 16px;
  text-align: center;
}

.product-title {
  font-size: 12px;
  letter-spacing: 0.08em;

  text-transform: uppercase; /* 🔥 added */

  margin-top: 10px;
}

.product-price {
  font-size: 12px;
  letter-spacing: 0.06em;

  text-transform: uppercase; /* 🔥 added */

  opacity: 0.7;
}

/* =========================
   🔥 PRODUCT SWATCHES
========================= */

.product-swatches {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: black;

  display: inline-block;
  cursor: pointer;

  opacity: 0.6;
  transition: all 0.2s ease;

  /* 🔥 FIX: make ALL colors visible */
  border: 1px solid rgba(0,0,0,0.15);
}

.swatch:hover,
.swatch.active {
  opacity: 1;
  transform: scale(1.2);
}


/* =========================
   🔥 QUICK ADD
========================= */

.quick-add-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%, 8px);

  width: 36px;
  height: 36px;

  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);

  background: white;
  color: black;

  font-size: 14px;

  cursor: pointer;

  opacity: 0;
  transition: all 0.25s ease;

  z-index: 5;
}

.product-card:hover .quick-add-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}

.quick-add-btn:hover {
  transform: translate(-50%, 0) scale(1.04);
}

/* =========================
   🔥 BADGE
========================= */

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  padding: 4px 8px;
}


/* =========================
   🔥 SECTION TITLE
========================= */

.section-title {
  font-size: var(--text-xl);
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: var(--letter-wide);
}

:root {
  --announcement-height: 40px;
}


/* =========================
    ANNOUNCEMENT BAR
========================= */

.announcement-bar {
  width: 100%;
  height: 40px;        /* 🔥 KEY FIX */

  background: #000;
  color: #fff;

  display: flex;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;

  overflow: hidden;

  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-left: 0;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/*  HIDE ON SCROLL */
.announcement-bar.hidden {
  transform: translateY(-100%);
}

.announcement-track {
  display: flex;
  align-items: center;
  width: max-content;

  animation: marquee 60s linear infinite;

  will-change: transform;
  transform: translateX(0);
  backface-visibility: hidden;
}

.announcement-track span {
  display: inline-flex;
  align-items: center;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;

  text-transform: uppercase;
  white-space: nowrap;

  color: inherit; /* 🔥 ADD THIS */
}

.announcement-item.active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sep {
  display: inline-block;
  margin: 0 24px; /* 🔥 THIS controls spacing */
  opacity: 0.6;
}

/* GROUP */
.announcement-group {
  display: inline-flex;
  align-items: center;
}

/* ITEM */
.announcement-group .item {
  white-space: nowrap;
  font-size: 11.05px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 🔥 MAIN SPACING (Charlotte feel) */
.announcement-group .item + .item {
  margin-left: 100px; /* wider = premium */
}

/* 🔥 LOOP BREAK (CRITICAL FIX) */
.announcement-group {
  margin-right: 100px;
}

/* =========================
   📄 OTHER PAGES ANNOUNCEMENT (BLACK)
========================= */

body:not(.home-page) .announcement-bar {
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: var(--announcement-height);
  width: 100%;
  z-index: 1000; /* 🔥 FIX */

  background: transparent;
  border-bottom: none;

  transition: 
    top 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    border 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.navbar.scrolled .nav-link {
  color: rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: #000;
}

.nav-container {
  width: 100%;
  max-width: 1600px;     /* match your container */
  margin: 0 auto;        /* center it */
  padding: 0 70px;

  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 20px; /* 🔥 THIS IS THE FIX */
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.12em; 
  text-transform: uppercase;
  font-weight: 600;

  color: rgba(255,255,255,0.55); /* ✅ BACK */

  transition: color 0.3s ease;

  display: flex;
  align-items: center;
  height: 60px;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
   gap: 20px; /* 🔥 match left side */
}

/*  NAVBAR SHIFT WHEN ANNOUNCEMENT HIDES */
.navbar.shift-up {
  top: 0;
}

/* =========================
   🏠 HOME NAVBAR
========================= */
body.home-page .navbar {
  background: transparent;
}

body.home-page .nav-link,
body.home-page .nav-logo,
body.home-page .nav-icon {
  color: white;
}

/* =========================
   📄 OTHER PAGES NAVBAR
========================= */
body:not(.overlay-page) .navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
}

body:not(.home-page) .nav-link,
body:not(.home-page) .nav-logo,
body:not(.home-page) .nav-icon {
  color: #000;
}

@media (max-width: 768px) {
  .navbar {
    background: #fff !important;
    top: 0 !important;
  }

  .nav-link,
  .nav-logo,
  .nav-icon {
    color: #000 !important;
  }

  .announcement-bar {
    position: relative;
    transform: none !important;
  }
}

/* =========================
   EMPTY CART
========================= */
.cart-empty {
  text-align: center;
  margin-top: 80px;
}

.empty-title {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-sub {
  font-size: 12px;
  opacity: 0.6;
  margin: 8px 0 16px;
}

.empty-cta {
  padding: 10px 18px;
  border: 1px solid black;
  background: black;
  color: white;
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.empty-cta:hover {
  background: white;
  color: black;
}

/* =========================
   🔥 NAV ICONS
========================= */

.nav-icon {
  position: relative;
  display: flex;              /* 🔥 ADD */
  align-items: center;        /* 🔥 ADD */
  justify-content: center;    /* 🔥 ADD */

  cursor: pointer;
  transition: opacity 0.2s ease; /* 🔥 ADD */
}

.nav-icon:hover {
  opacity: 0.6;
}

.nav-icon svg {
  width: 18px;
  height: 18px;

  stroke: currentColor;
  display: block;
}

/* 👜 CART BADGE — MINIMAL RED NUMBER */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 16px;
  height: 16px;

  font-size: 10px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;
  color: #fff;

  border-radius: 999px;

  z-index: 999; /* 🔥 FIX: ensure visibility */
  opacity: 1;
  visibility: visible;
}

/* 🔍 SEARCH INPUT */
.search-input {
  position: absolute;
  right: 100%; /* 🔥 KEY: expand to the LEFT */

  width: 0;
  opacity: 0;

  border: none;
  border-bottom: 1px solid currentColor;
  outline: none;

  background: transparent;
  color: inherit;

  font-size: 13px;
  text-align: left;

  margin-right: 10px; /* spacing from icon */

  transition: all 0.3s ease;
}

/* ACTIVE STATE */
.search-input.active {
  width: 140px;
  opacity: 1;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* =========================
   SHOP SPACING FIX
========================= */

.shop {
  width: 100%;
  max-width: none;
  margin: 0;

  padding: 40px 0 80px; /* 🔥 REMOVE SIDE PADDING */
}

.shop-filters {
  display: flex;
  gap: 12px;
  margin-top: 16px; /* ✅ FIXED */
}

/* =========================
   🔥 PRODUCT PAGE NAV FIX
========================= */

body.product-page .navbar {
  top: 0 !important;
  background: #fff;
  border-bottom: 1px solid #eee;
}

body.product-page .navbar.shift-up {
  top: 0 !important;
}

body.product-page .nav-link {
  color: rgba(0, 0, 0, 0.6);
}

body.product-page .nav-link:hover,
body.product-page .nav-link.active {
  color: #000;
}

body.product-page .nav-logo,
body.product-page .nav-icon {
  color: #000;
}

/* 🔥 force correct logo */
body.product-page .logo-white { display: none; }
body.product-page .logo-black { display: block; }

/* ===============================
   SHOP CONTROLS (FILTER + SORT)
=============================== */

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-sort {
  margin: 0;
}

/* refine sort */
.shop-sort select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: white;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

/* =========================
   🔥 SHOP PAGE NAV FIX
========================= */

body.shop-page .nav-link {
  color: rgba(0, 0, 0, 0.6);
}

/* =========================
   🔥 LOGO SYSTEM
========================= */

.nav-logo {
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  width: auto;
}

.logo-white,
.logo-black {
  position: absolute;
  inset: 0;
}


/* =========================
   🔥 NAVBAR COLORS
========================= */

.navbar .nav-logo,
.navbar .nav-link,
.navbar .nav-icon {
  color: white;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-icon {
  color: var(--color-black);
}


/* =========================
   🔥 LOGO SWITCH SYSTEM
========================= */

.logo-white { display: block; }
.logo-black { display: none; }

.navbar.scrolled .logo-white { display: none; }
.navbar.scrolled .logo-black { display: block; }


/* =========================
   🔥 TOAST
========================= */

#toast-root {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.toast {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.25s;

  max-width: 320px;
  text-align: center;
  border-radius: 6px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   🔥 QUICK ADD MODAL
========================= */

.quick-add-modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.25); /* 🔥 stronger dim */
  backdrop-filter: blur(6px);   /* 🔥 key effect */

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.25s ease;

  z-index: 2000;
}

.quick-add-modal.active {
  opacity: 1;
  pointer-events: all;
}


/* =========================
   🔥 MODAL CONTENT
========================= */

.quick-add-content {
  background: white;
  padding: 40px 32px;
  width: 380px;
  max-width: 90%;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);

  transform: scale(0.96);
  opacity: 0;

  transition: all 0.25s ease;
  will-change: transform, opacity; /* 🔥 ADD HERE */
  position: relative; /* 🔥 ADD THIS */
}

.qa-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-top: 12px;
}

/* 🔥 ANIMATE IN */
.quick-add-modal.active .quick-add-content {
  transform: scale(1);
  opacity: 1;
}

/* =========================
   🔥 FIX MODAL IMAGE GLITCH
========================= */

.qa-image {
  position: static !important;
  width: 100%;
  height: auto;

  object-fit: contain;

  transform: none !important;
}

.quick-add-body img {
  max-width: 220px;
  width: 100%;
  height: auto;

  display: block;
}

/* Prevent product card styles leaking */
.quick-add-modal img {
  position: static !important;
  transform: none !important;
}

/* =========================
   🔥 CLOSE BUTTON
========================= */

.quick-add-close {
  position: absolute;
  top: 16px;
  right: 16px;

  font-size: 12px;
  font-weight: 500;

  opacity: 0.35;

  cursor: pointer;

  transition: all 0.2s ease;
}

.quick-add-close:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* =========================
   🔥 BODY
========================= */

.quick-add-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  
}


/* =========================
   🔥 TITLE / PRICE
========================= */

#qa-title {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

#qa-price {
  font-size: 13px;
  color: #666;   /* 👈 stronger than opacity */
  opacity: 1;    /* 👈 REMOVE fading */
}

/* =========================
   🔥 SIZE OPTIONS
========================= */



/* =========================
   🔥 ADD BUTTON
========================= */

.qa-add-btn {
  width: 100%;
  padding: 16px;

  background: #111;
  color: white;

  font-size: 12px;
  letter-spacing: 0.15em;

  border: none;

  transition: 0.2s ease;
  margin-top: 8px; /* 🔥 EXTRA BREATHING SPACE */
}

.qa-add-btn:disabled {
  background: #aaa;
}

.qa-add-btn:hover {
  background: black;
  color: white;
}

.qa-add-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* =========================
   🔥 TITLE / PRICE POLISH
========================= */

#qa-title {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================
   🔥 SIZE BUTTONS (PREMIUM)
========================= */

/* =========================
   🔥 SIZE CONTAINER
========================= */

.qa-sizes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}


.qa-size {
  padding: 6px 10px;
  border: 1px solid transparent;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border 0.2s ease, transform 0.15s ease;
  margin: 12px 6px;

  position: relative; /* ✅ ADD THIS */
}

.qa-size:hover {
  opacity: 1;
}

.qa-size.active {
  border: 1px solid black;
  opacity: 1;
  font-weight: 600;
}

/* =========================
   🚫 SIZE DISABLED STATE
========================= */

.qa-size--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
  pointer-events: auto; /* ✅ allow hover for tooltip */
}


/* 🔥 STRIKE LINE */
.qa-size--disabled::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 12%;
  width: 76%;
  height: 1px;
  background: currentColor;
  transform: rotate(-12deg);
  opacity: 0.8;
}

/* 🚫 REMOVE HOVER EFFECT */
.qa-size--disabled:hover {
  opacity: 0.35;
  transform: none;
}

/* =========================
   🧠 SIZE TOOLTIP
========================= */

.qa-size--disabled::before {
  content: "Out of stock";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.qa-size--disabled:hover::before {
  opacity: 1;
}

/* =========================
   🔥 CART DRAWER (UPGRADE)
========================= */
.cart-item-subtotal {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 4px;
}

/* ===============================
   🛒 CART MICRO INTERACTIONS
=============================== */

/* 🟡 Quantity feedback */
.cart-qty-value {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cart-qty-value.bump {
  transform: scale(1.2);
}

/* 🔴 Remove animation */
.cart-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-item.removing {
  opacity: 0;
  transform: translateX(10px);
}

/* 💰 Total smooth update */
.cart-total-price {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.cart-total-price.updating {
  opacity: 0.4;
}

/* =========================
   🧾 CART ITEMS
========================= */

.cart-item {
  position: relative;
  display: flex;
  flex-direction: row; /* 🔥 FIX */
  gap: 14px;

  padding: 20px 0; /* 🔥 more premium spacing */
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* TITLE */
.cart-item-name {
  font-size: 13px;
  font-weight: 600; /* 🔥 ADD */
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SIZE */
.cart-item-meta {
  font-size: 11px;
  color: #777; /* 🔥 more premium than opacity */
}

/* PRICE */
.cart-item-price {
  font-size: 12px;
  font-weight: 500;
}

.cart-icon svg {
  transform: translateY(1px); /* optical alignment */
}



/* =========================
   🔢 CONTROLS
========================= */

.cart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 10px; /* 🔥 more breathing space */
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;

  border: 1px solid #ddd;
  background: white;

  font-size: 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: black;
  color: white;
}

.cart-qty span {
  font-size: 12px;
  min-width: 18px;
  text-align: center;
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: white;
  color: black;
}

/* =========================
   ❌ REMOVE
========================= */

.cart-remove {
  position: absolute;
  top: 10px;
  right: 0;

  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0.4;
}

.cart-remove:hover {
  opacity: 1;
}

/* ============= ============
   💰 FOOTER cart
========================= */

.cart-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cart-total-label {
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-total-price {
  font-size: 16px;
  font-weight: 600;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;

  border: none;
  background: black;
  color: white;

  font-size: 12px;
  letter-spacing: 0.12em;

  transition: all 0.2s ease;
}

.cart-checkout-btn:hover {
  background: white;
  color: black;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 12px;
}

/* =========================
   🔥 CART DRAWER CORE (FIX)
========================= */

.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;

  width: 360px;
  height: 100vh;

  background: white;
  z-index: 9999; /* 🔥 ABOVE NAVBAR */

  transition: right 0.3s ease;
  will-change: right; /* 🔥 ADD HERE */

  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

/* 🔥 SHOW CART */
.cart-drawer.active {
  right: 0;
}

/* =========================
   🔥 CART OVERLAY (FIX)
========================= */

.cart-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 9998;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   🛒 CART FIX — SCROLL + IMAGE
================================ */

/* Scrollable cart items */
#cart-items {
  overflow-y: auto;
  flex: 1;
  padding-right: 6px;
}

/* Fix oversized product images */
.cart-item-img {
  width: 72px;
  height: 90px; /* 🔥 taller = fashion look */

  object-fit: cover;
  border-radius: 6px;

  flex-shrink: 0;
}

/* Layout fix for row */
.cart-item-row {
  display: flex;
  gap: 14px;
  align-items: center; /* 🔥 cleaner alignment */
}

/* Ensure bottom stays visible */
#cart-total {
  margin-top: auto;
  padding-top: 12px;
  background: white;
}


.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;

  flex: 1;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-logo {
  font-size: 20px;
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 10px;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials img {
  width: 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-socials img:hover {
  opacity: 1;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
}

.footer-payments {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-payments img {
  height: 20px;
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.5;
}

/* =========================
   🔥 MARQUEE — CLEAN FINAL
========================= */

.marquee {
  width: 100%;
  height: 88px;
  margin: 24px 0 6px;

  overflow: hidden;
  background: #fff; /* ✅ WHITE BAR */

  display: flex;
  align-items: center;

  cursor: grab;
}

/* =========================
   🔁 TRACK (SCROLL)
========================= */

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;

  animation: marqueeScroll 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* =========================
   🔤 TEXT
========================= */
.marquee__text {
  display: flex;
  align-items: center;

  font-size: 72px;
  font-weight: 700;
  text-transform: uppercase;

  white-space: nowrap;
  color: #000; /* ✅ BLACK TEXT */

  letter-spacing: -0.01em;

  line-height: 1; 
  padding: 0 20px;
  text-rendering: optimizeLegibility;
}

/* =========================
   📏 SPACING
========================= */

.marquee__item {
  display: flex;
  align-items: center;
  margin-right: 42px;
  opacity: 1;
}

/* =========================
   🎞 ANIMATION
========================= */

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   🔥 LOOKBOOK MARQUEE VARIANT
========================= */

.marquee--lookbook {
  background: #000;
  margin: 40px 0; /* 🔥 more breathing room than default */
}

.marquee--lookbook .marquee__text {
  color: #fff;
}

/* optional: slightly tighter feel for premium look */
.marquee--lookbook .marquee__item {
  margin-right: 36px;
}

.marquee--lookbook .marquee__track {
  animation: marqueeScroll 32s linear infinite;
}

/* =========================
   SIZE GUIDE
   ========================= */

.size-guide__content {
  padding: 24px;
}

.size-guide__title {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.size-guide__unit {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}

.size-guide__table {
  width: auto;
  min-width: 520px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14px;
}

.size-guide__table th,
.size-guide__table td {
  padding: 12px;
  text-align: center;
}

.size-guide__table thead {
  border-bottom: 1px solid #ddd;
}

.size-guide__table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.size-guide__table tbody tr:hover {
  background: #f5f5f5;
}

.size-guide__table tr.active {
  background: #111;
  color: #fff;
}

.size-guide__table tr.active td {
  font-weight: 500;
}

.size-guide__empty {
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* =========================
   🎨 COLOR SELECTOR
========================= */

.product__colors {
  margin-top: 16px;
}

.product__colors .label {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.color-container {
  display: flex;
  gap: 10px;
}

.color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 1px #000;
}

/* =========================
   🔥 LUXURY PAGE TRANSITIONS (FIXED)
========================= */

body {
  opacity: 1;
  transition: opacity 0.35s ease;
}

/* 👇 Apply transform ONLY when animating */
body.page-enter {
  opacity: 1;
}

body.page-exit {
  opacity: 0;
}

/* =========================
   🔥 HOME NAVBAR FINAL FIX (ISOLATED)
========================= */

/* DEFAULT (TRANSPARENT OVER HERO) */
body.home-page .navbar {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

/* TEXT = WHITE ON HERO */
body.home-page .navbar .nav-link,
body.home-page .navbar .nav-logo,
body.home-page .navbar .nav-icon {
  color: rgba(255,255,255,0.85);
}

/* HOVER */
body.home-page .navbar .nav-link:hover,
body.home-page .navbar .nav-link.active {
  color: #fff;
}

/* =========================
   🔥 SCROLLED STATE (HOME ONLY)
========================= */

body.home-page .navbar.scrolled {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* 🔥 FORCE BLACK TEXT WHEN SCROLLED */
body.home-page .navbar.scrolled .nav-link,
body.home-page .navbar.scrolled .nav-logo,
body.home-page .navbar.scrolled .nav-icon {
  color: #000;
}

/* HOVER (SCROLLED) */
body.home-page .navbar.scrolled .nav-link:hover,
body.home-page .navbar.scrolled .nav-link.active {
  color: #000;
}

/* =========================
   🔥 LOOKBOOK NAVBAR VISIBILITY FIX
========================= */
/* isolate transition effect away from layout */
body.lookbook-page.page-enter {
  opacity: 1 !important;
}

body.lookbook-page.page-exit {
  opacity: 0;
}

/* =========================
   🔥 LOOKBOOK NAVBAR HARD FIX
========================= */

/* REMOVE STACKING CONTEXT */
body.lookbook-page {
  opacity: 1 !important;
}


/* =========================
   🔥 LOOKBOOK NAVBAR REAL FIX
========================= */


/* ENSURE NAVBAR TAKES TOP CLEANLY */
body.lookbook-page .navbar.shift-up {
  top: 0;
}

/* =========================
   🔥 LOOKBOOK NAVBAR FIX (FINAL REAL FIX)
========================= */

.lookbook-hero,
.lookbook-solo {
  overflow: visible;
}


/* ==========================
   QUICK ADD COLORS CONTAINER
========================== */
#qa-colors {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.qa-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;

  /* 🔥 visibility fix */
  border: 1px solid rgba(0,0,0,0.15);

  transition: all 0.2s ease;
}

.qa-color-swatch:hover {
  transform: scale(1.1);
}

.qa-color-swatch.active {
  border: 1px solid #000;
}

/* =========================
   🔥 FINAL NAVBAR SCROLLED FIX (FOR OVERLAY PAGES)
========================= */

.overlay-page .navbar.scrolled {
  background: #fff !important;
  border-bottom: 1px solid #eee !important;
}

/* FORCE TEXT TO BLACK */
.overlay-page .navbar.scrolled .nav-link,
.overlay-page .navbar.scrolled .nav-logo,
.overlay-page .navbar.scrolled .nav-icon {
  color: #000 !important;
}

/* =========================
   🔥 LOOKBOOK OVERLAY TEXT FIX
========================= */

.overlay-page .navbar:not(.scrolled) .nav-link,
.overlay-page .navbar:not(.scrolled) .nav-logo,
.overlay-page .navbar:not(.scrolled) .nav-icon {
  color: rgba(255,255,255,0.9);
}

/* HOVER (WHITE) */
.overlay-page .navbar:not(.scrolled) .nav-link:hover,
.overlay-page .navbar:not(.scrolled) .nav-link.active {
  color: #fff;
}

/* =========================
   HERO — MEDIA SYSTEM (FINAL)
========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* container */
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden; /* 🔥 ensures no overflow when scaling */
}

.hero__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 25%;

  transform: scale(1.08); /* 🔥 FIXED */

  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero__image--active {
  opacity: 1;
  transform: scale(1);
}

/* content stays above */
.hero__content {
  position: absolute;

  top: 58%;
  left: 64%;

  transform: translate(-50%, -50%);
}

/* =========================
   DROP — IMAGE HOVER SWAP
========================= */

.drop-image {
  position: relative;
  width: 100%;
  overflow: hidden;

  line-height: 0; /* 🔥 CRITICAL: removes inline image gap */
}

/* base image */
.drop-image__main {
  width: 100%;
  display: block;
}

/* hover image */
.drop-image__hover {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 0.4s ease;
}

/* hover effect */
.drop-image:hover .drop-image__hover {
  opacity: 1;
}

/* =========================
   HERO CTA — SWEEP EFFECT (FINAL)
========================= */

.hero__cta {
  position: relative;
  overflow: hidden;

  display: inline-block;
  padding: 10px 18px;

  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.9);
  color: #000;

  border: 1px solid rgba(255,255,255,0.6);

  text-decoration: none;
  cursor: pointer;

  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

/* 🔥 TEXT LAYER (keeps text above animation) */
.hero__cta span {
  position: relative;
  z-index: 2;
}

.hero__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 140%;
  height: 100%;

  background: rgba(0, 0, 0, 0.85);

  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.5s ease;

  pointer-events: none;
}

/* 🔥 HOVER TRIGGER */
.hero__cta:hover::after {
  transform: translateX(120%) skewX(-20deg);
}

/* 🔥 TEXT INTERACTION */
.hero__cta:hover {
  color: #fff;
  letter-spacing: 0.16em;
}

/* =========================
   MOBILE ADJUSTMENT
========================= */

@media (max-width: 768px) {
  .hero__content {
    top: auto;
    bottom: 80px;

    left: 50%;
    transform: translateX(-50%);

    text-align: center;
  }
}

