/* Font fallback — show system font until Inter loads */
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2e;
  --navy-light: #112240;
  --navy-card: #132035;
  --white: #ffffff;
  --gold:#e8d4a2;
  --gold-hover: #ffeab5;
  --gray: #8899aa;
  --gray-light: #aabbcc;
  --green: #22c55e;
  --border: rgba(255,255,255,0.08);
  --font: 'Cairo', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--navy) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}

.nav-icon {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-icon:hover { color: var(--white); }

.nav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

/* ===== BURGER MENU ===== */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: color-mix(in srgb, var(--navy) 98%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.open {
  max-height: 400px;
}

.mobile-nav ul {
  list-style: none;
  padding: 12px 0 20px;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, background 0.2s;
  border-left: 2px solid transparent;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 5%, transparent);
  border-left-color: var(--gold);
}

@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .mobile-nav { display: block; }
  .nav-links   { display: none; }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
  }

  .logo       { order: 0; }
  .nav-icons  { order: 1; gap: 14px; }
  .burger-btn { order: 2; }

  .logo img {
    height: 26px;
    max-width: 38vw;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  display: block;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-sub-underline {
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.hero-title {
  font-size: clamp(64px, 11vw, 130px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title-ghost {
  position: absolute;
  font-size: clamp(64px, 11vw, 130px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: rgba(255,255,255,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  max-width: 100vw;
  overflow: hidden;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.view-all {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-all:hover { opacity: 0.75; }

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card { cursor: pointer; contain: layout style; }

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a2d45;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
}

.product-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-name {
  transition: color 0.2s;
}
.product-name:hover {
  color: var(--gold);
}

.badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green);
  color: #fff;
  text-transform: uppercase;
}

.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e53e3e;
  color: #fff;
  text-transform: uppercase;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.product-badges .badge-new,
.product-badges .badge-sale {
  position: static;
}

.product-card-icons {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s;
}
.product-card:hover .product-card-icons {
  opacity: 1;
  transform: translateY(0);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(30, 50, 75, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.icon-btn:hover { background: rgba(50, 80, 110, 0.95); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.active { color: #e53e3e; }

/* cart icon — gold */
.product-card-icons .icon-btn:last-child {
  background: var(--gold);
  color: var(--navy);
}
.product-card-icons .icon-btn:last-child:hover { background: var(--gold-hover); }

.product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
  color: var(--white);
}

.product-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 8px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-new {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.price-old {
  font-size: 12px;
  color: var(--gray);
  text-decoration: line-through;
}

.size-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--gray-light);
  letter-spacing: 0.05em;
  cursor: pointer;
}

.size-badge.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ===== CATEGORIES ===== */
.categories-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.categories-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.categories-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  position: relative;
  overflow: hidden;

  display: block;
  aspect-ratio: 3/4;
}

.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.04); }

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,35,0.85) 0%, rgba(10,20,35,0.1) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.cat-overlay h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--white);
}

.cat-overlay p {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.cat-overlay .shop-now {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.05em;
}

/* ===== FLASH SALE ===== */
.flash-sale-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.flash-sale-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 58px;
}

.countdown-block span {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.countdown-block small {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-top: 4px;
  text-transform: uppercase;
}

.countdown-sep {
  font-size: 22px;
  font-weight: 900;
  color: var(--gray);
  margin-bottom: 10px;
}

.flash-sale-footer {
  margin-top: 40px;
  text-align: center;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  padding: 60px 40px 80px;
}

.newsletter-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.newsletter-card .section-label { color: var(--gray); }

.newsletter-card h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}

.newsletter-card p {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.newsletter-form {
  margin-bottom: 14px;
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-form input {
  width: 100%;
  padding: 18px 20px;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  outline: none;
  font-family: var(--font);
  color: var(--white);
}
.newsletter-form input::placeholder { color: var(--gray); }
.newsletter-form input:focus { background: rgba(255,255,255,0.08); }

.newsletter-form .btn-gold {
  border-radius: 0;
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 12px;
  border: none;
}

.newsletter-card small {
  font-size: 11px;
  color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 40px 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand > a {
  font-size: 13px;
  color: var(--gray);
  display: block;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.footer-brand > a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  color: var(--gray);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.social-links a:hover { color: var(--white); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  *, *::before, *::after { box-sizing: border-box; }
  body { overflow-x: hidden; }
  .nav-links { display: none; }
  .hero-bg { display: none; }
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .categories-grid-top,
  .categories-grid-bottom { grid-template-columns: 1fr; }
  .section, .categories-section, .flash-sale-section, .newsletter-section { padding: 56px 16px; max-width: 100%; }
  .footer { padding: 48px 16px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .flash-sale-header { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; gap: 0; }
  .newsletter-form input {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 18px;
    font-size: 14px;
  }
  .newsletter-form .btn-gold {
    border-radius: 0;
    padding: 18px;
    font-size: 12px;
    justify-content: center;
    width: 100%;
  }
  .newsletter-card { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(30, 50, 75, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: var(--navy-light);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-close-btn:hover { color: var(--white); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
}

.cart-empty-icon { color: var(--gray); opacity: 0.4; }
.cart-empty-text { font-size: 13px; color: var(--gray); }

/* Cart loader */
.cart-loader {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
}
.cart-loader.visible { display: flex; }

.cart-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: cartSpin 0.7s linear infinite;
}
@keyframes cartSpin {
  to { transform: rotate(360deg); }
}

.cart-loader-text {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* Cart items list */
.cart-items { padding: 8px 0; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 64px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background: #1a2d45;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 8px;
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-price { font-size: 13px; font-weight: 700; color: var(--white); }
.cart-item-price-old { font-size: 11px; color: var(--gray); text-decoration: line-through; }

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-item-remove {
  font-size: 11px;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s;
  padding: 0;
}
.cart-item-remove:hover { color: #e53e3e; }

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border: none;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  transition: background 0.2s;
}
.cart-qty-btn:hover { background: rgba(255,255,255,0.1); }

.cart-qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  line-height: 28px;
}

/* Footer */
.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.cart-shipping-note {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 12px;
  text-align: center;
}

.cart-continue-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s;
}
.cart-continue-btn:hover { border-color: rgba(255,255,255,0.5); }

/* Featured drops — 3 columns */
.featured .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .featured .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured section — hide sizes by default, show on hover */
.featured .size-badges {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.featured .product-card:hover .size-badges {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PROMO BAR ===== */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #e53e3e;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  padding: 0 48px;
}

.promo-bar-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.promo-bar-text strong {
  color: #ffe066;
  letter-spacing: 0.12em;
}

.promo-countdown {
  font-weight: 800;
  color: #ffe066;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.promo-bar-cta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 4px 12px;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.promo-bar-cta:hover {
  background: rgba(255,255,255,0.15);
}

.promo-bar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}

.promo-bar-close:hover {
  color: #fff;
}

/* Push navbar down when promo bar is visible */
body:has(.promo-bar) .navbar {
  top: 38px;
}

body:has(.promo-bar[style*="display:none"]) .navbar,
body:has(.promo-bar[style*="display: none"]) .navbar {
  top: 0;
}

@media (max-width: 600px) {
  .promo-bar-inner {
    padding: 0 36px 0 12px;
    gap: 10px;
  }
  .promo-bar-text {
    font-size: 10px;
  }
  .promo-bar-cta {
    display: none;
  }
}

/* ===== CATEGORY BANNER ===== */
.category-banner {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
}

.category-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.category-banner-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.category-banner-title {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.category-banner-sub {
  font-size: 13px;
  color: var(--gray-light);
}

@media (max-width: 600px) {
  .category-banner { padding: 24px 16px; }
  .category-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== INTRO SPLASH SCREEN ===== */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
}

/* prevent horizontal scroll during intro */
html.intro-active,
html.intro-active body {
  overflow: hidden;
}

.intro-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--navy, #0d1b2e);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.intro-left  { left: 0; transform: translateX(0); }
.intro-right { right: 0; transform: translateX(0); }

.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.intro-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
  max-width: 70vw;
  /* show the store's real logo colors (old rule forced it white via brightness(0) invert(1)) */
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
  animation: introPulse 1.2s ease-in-out infinite alternate;
}

.intro-brand {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #ffffff;
  animation: introPulse 1.2s ease-in-out infinite alternate;
}

.intro-tagline {
  color: var(--gold, #e8d4a2);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  opacity: 0;
  animation: introFadeIn 0.6s ease 0.4s forwards;
}

@keyframes introPulse {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.04); }
}

@keyframes introFadeIn {
  to { opacity: 1; }
}

/* open state — panels slide apart */
#intro-overlay.open .intro-left  { transform: translateX(-100%); }
#intro-overlay.open .intro-right { transform: translateX(100%); }
#intro-overlay.open .intro-logo  { opacity: 0; }

/* after animation done, remove from flow */
#intro-overlay.done { display: none; }
