/* =============================================
   DISTRICT STREETWEAR — MAIN STYLESHEET
   ============================================= */

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

:root {
  --black: #0a0a0a;
  --white: #F2EFE8;
  --off-white: #FAFAF7;
  --grey-100: #1a1a1a;
  --grey-200: #2a2a2a;
  --grey-300: #3a3a3a;
  --grey-400: #888;
  --grey-500: #bbb;
  --accent: #c8a96e;
  --accent-light: #e8d5b0;
  --red: #e03030;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 60px;
  --promo-h: 36px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--black);
  overflow-x: hidden;
}

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

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

/* ===================== UTILITIES ===================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 80px 0; }

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-top.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.view-all {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--transition);
  white-space: nowrap;
  margin-bottom: 4px;
}

.view-all:hover { opacity: 0.5; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--off-white); opacity: 0.9; }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--grey-100); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ===================== PROMO BAR ===================== */
.promo-bar {
  background: var(--black);
  color: var(--white);
  height: var(--promo-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 200;
}

.promo-track {
  display: flex;
  align-items: center;
  animation: promoScroll 28s linear infinite;
  white-space: nowrap;
}

.promo-track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 32px;
}

.promo-track .sep {
  color: var(--accent);
  padding: 0 4px;
}

@keyframes promoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.promo-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 40px;
  max-width: 1600px;
  margin: 0 auto;
  gap: 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--black);
  flex-shrink: 0;
}

/* NAV */
.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 14px;
  display: block;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover::after { transform: scaleX(1); }

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: none;
  width: 760px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 160px;
  gap: 0;
}

.mega-col {
  padding: 32px 24px;
  border-right: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-col:last-child { border-right: none; padding: 0; }

.mega-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 6px;
}

.mega-col a {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  padding: 3px 0;
  transition: color var(--transition);
}

.mega-col a:hover { color: var(--accent); }

.mega-img-col { overflow: hidden; }

.mega-promo-bg {
  width: 100%;
  height: 100%;
  min-height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.mega-promo-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-promo-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.mega-promo-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}

.mega-promo-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  transition: color var(--transition);
}
.mega-promo-link:hover { color: var(--white); }

/* HEADER ICONS */
.header-icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  position: relative;
  transition: opacity var(--transition);
}
.icon-btn:hover { opacity: 0.5; }

.cart-count {
  position: absolute;
  top: 6px; right: 6px;
  width: 16px; height: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* SEARCH BAR */
.search-bar {
  height: 0;
  overflow: hidden;
  transition: height var(--transition);
  border-top: 1px solid transparent;
  background: var(--off-white);
}

.search-bar.open {
  height: 56px;
  border-top-color: rgba(0,0,0,0.08);
}

.search-inner {
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 56px;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  color: var(--grey-400);
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  outline: none;
}

.search-input::placeholder { color: var(--grey-400); }

.search-close {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--grey-400);
  padding: 4px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }

/* MOBILE OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    #0a0a0a 0%,
    #161410 30%,
    #1a1510 60%,
    #0d0d0d 100%
  );
  position: relative;
}

/* Subtle geometric texture on hero */
.hero-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200,169,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(242,239,232,0.55);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 44px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ===================== MARQUEE ===================== */
.marquee-strip {
  background: var(--black);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track-2 {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-track-2 span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242,239,232,0.7);
  padding: 0 24px;
}

.m-dot {
  color: var(--accent) !important;
  padding: 0 4px !important;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== CATEGORIES ===================== */
.cat-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 2px;
  height: 420px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.cat-large { grid-row: span 1; }

.cat-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card:hover .cat-bg { transform: scale(1.04); }

.cat-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--accent);
  color: #5a3f10;
  padding: 3px 8px;
  align-self: flex-start;
}

.cat-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cat-count {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* Garment silhouettes as CSS art */
.cat-shape {
  position: absolute;
  opacity: 0.12;
}

.hoodie-shape {
  width: 80px; height: 100px;
  background: var(--white);
  clip-path: polygon(25% 0%, 75% 0%, 90% 20%, 100% 20%, 95% 60%, 80% 60%, 80% 100%, 20% 100%, 20% 60%, 5% 60%, 0% 20%, 10% 20%);
}

.tee-shape {
  width: 80px; height: 90px;
  background: var(--white);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 85% 25%, 85% 100%, 15% 100%, 15% 25%, 0% 20%);
}

.pants-shape {
  width: 70px; height: 100px;
  background: var(--white);
  clip-path: polygon(0% 0%, 100% 0%, 100% 10%, 60% 12%, 60% 100%, 40% 100%, 40% 12%, 0% 10%);
}

.acc-shape {
  width: 70px; height: 50px;
  background: var(--white);
  clip-path: polygon(10% 60%, 0% 80%, 0% 100%, 100% 100%, 100% 80%, 90% 60%, 80% 20%, 60% 0%, 40% 0%, 20% 20%);
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card { position: relative; cursor: pointer; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f3ef;
  aspect-ratio: 3/4;
  margin-bottom: 14px;
}

/* Different bg tones per product */
.product-img-1  { background: linear-gradient(145deg, #e8e4dc 0%, #d8d4cc 100%); }
.product-img-2  { background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%); }
.product-img-3  { background: linear-gradient(145deg, #2a2820 0%, #3a3628 100%); }
.product-img-4  { background: linear-gradient(145deg, #1a1a1a 0%, #111 100%); }
.product-img-5  { background: linear-gradient(145deg, #d4c8b8 0%, #c4b8a8 100%); }
.product-img-6  { background: linear-gradient(145deg, #2c2420 0%, #1c1410 100%); }
.product-img-7  { background: linear-gradient(145deg, #e0ddd8 0%, #d0cdc8 100%); }
.product-img-8  { background: linear-gradient(145deg, #1c1c1c 0%, #2c2c2c 100%); }
.product-img-9  { background: linear-gradient(145deg, #c8c0b0 0%, #b8b0a0 100%); }
.product-img-10 { background: linear-gradient(145deg, #242830 0%, #343840 100%); }

.product-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-img { transform: scale(1.04); }

/* Product silhouette shapes */
.product-silhouette { opacity: 0.2; }

.hoodie-sil {
  width: 100px; height: 130px;
  background: var(--black);
  clip-path: polygon(25% 0%, 75% 0%, 90% 20%, 100% 20%, 95% 60%, 80% 60%, 80% 100%, 20% 100%, 20% 60%, 5% 60%, 0% 20%, 10% 20%);
}

.tee-sil {
  width: 100px; height: 115px;
  background: var(--black);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 85% 25%, 85% 100%, 15% 100%, 15% 25%, 0% 20%);
}

.pants-sil {
  width: 90px; height: 130px;
  background: var(--black);
  clip-path: polygon(0% 0%, 100% 0%, 100% 10%, 60% 12%, 60% 100%, 40% 100%, 40% 12%, 0% 10%);
}

.bomber-sil {
  width: 110px; height: 120px;
  background: var(--black);
  clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 90%, 85% 100%, 15% 100%, 0% 90%, 0% 15%);
}

.cap-sil {
  width: 100px; height: 70px;
  background: var(--black);
  clip-path: polygon(10% 60%, 0% 80%, 0% 100%, 100% 100%, 100% 80%, 90% 60%, 80% 20%, 60% 0%, 40% 0%, 20% 20%);
}

/* Hover actions */
.product-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  transform: translateY(100%);
  transition: transform var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions { transform: translateY(0); }

.quick-add {
  width: 100%;
  padding: 12px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.quick-add:hover { background: var(--grey-100); }
.quick-add.sold-out { background: var(--grey-300); cursor: not-allowed; }

/* Wishlist */
.wishlist-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  z-index: 3;
}

.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { background: var(--white); transform: scale(1.1); }
.wishlist-btn.active svg { fill: var(--red); stroke: var(--red); }

/* Badges */
.product-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
}

.badge-new { background: var(--black); color: var(--white); }
.badge-hot { background: var(--accent); color: #5a3f10; }
.badge-limited { background: #1a3a1a; color: #7acd7a; }
.badge-sold { background: var(--grey-200); color: var(--grey-500); }

/* Product Meta */
.product-meta { padding: 0 2px; }

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform var(--transition);
}
.color-dot:hover { transform: scale(1.25); }

.product-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-price {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-400);
}

/* ===================== EDITORIAL ===================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.editorial-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  overflow: hidden;
}

.editorial-dark { background: var(--black); }
.editorial-light { background: var(--accent-light); }

.ed-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.ed-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.ed-title-dark { color: var(--black); }

.ed-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(242,239,232,0.5);
  margin-bottom: 32px;
  max-width: 340px;
}

.ed-desc-dark { color: rgba(10,10,10,0.55); }

/* Decorative art inside editorial */
.ed-bg-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.ed-art-circle {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.1);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

.ed-art-line {
  position: absolute;
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, rgba(200,169,110,0.15), transparent);
  right: 80px;
  top: 20%;
}

/* ===================== VALUES ===================== */
.values { background: var(--black); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.value-item {
  background: var(--black);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-icon { color: var(--accent); }

.value-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.value-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(242,239,232,0.45);
}

/* ===================== INSTAGRAM ===================== */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.insta-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.insta-1  { background: linear-gradient(145deg, #1a1a1a 0%, #2a1a0a 100%); }
.insta-2  { background: linear-gradient(145deg, #0a0a1a 0%, #1a1a2a 100%); }
.insta-3  { background: linear-gradient(145deg, #1a1010 0%, #2a1a1a 100%); }
.insta-4  { background: linear-gradient(145deg, #0a1a0a 0%, #1a2a1a 100%); }
.insta-5  { background: linear-gradient(145deg, #1a1a0a 0%, #2a2010 100%); }
.insta-6  { background: linear-gradient(145deg, #1a0a1a 0%, #2a1a2a 100%); }

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.insta-item:hover .insta-overlay { opacity: 1; }

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: var(--black);
  padding: 100px 0;
}

.newsletter-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 1px;
}

.newsletter-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,239,232,0.45);
  line-height: 1.7;
  margin-top: 16px;
}

.nl-row {
  display: flex;
  margin-bottom: 12px;
}

.nl-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.nl-input:focus { border-color: rgba(200,169,110,0.5); }
.nl-input::placeholder { color: rgba(255,255,255,0.25); }

.nl-btn { border: none; cursor: pointer; flex-shrink: 0; }

.nl-fine {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.nl-fine a { border-bottom: 1px solid rgba(255,255,255,0.2); }
.nl-fine a:hover { color: rgba(255,255,255,0.5); }

.nl-success {
  display: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #7acd7a;
  margin-top: 8px;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); }

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(242,239,232,0.35);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 28px;
}

.footer-socials { display: flex; gap: 16px; }

.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-socials a:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.footer-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(242,239,232,0.4);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

.footer-payments { display: flex; gap: 8px; align-items: center; }

.pay-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.3);
}

/* ===================== CART DRAWER ===================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100%;
  background: var(--off-white);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cart-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--grey-400);
  padding: 4px;
}

.cart-body { flex: 1; overflow-y: auto; padding: 24px 28px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 300px;
  text-align: center;
  color: var(--grey-400);
}

.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-item-img {
  width: 80px; height: 100px;
  background: #e8e4dc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-item-price { font-size: 13px; color: var(--grey-400); margin-bottom: 12px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 28px; height: 28px;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--grey-100); }

.qty-num { font-size: 14px; font-weight: 500; min-width: 20px; text-align: center; }

.cart-remove {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 11px;
  color: var(--grey-400);
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: underline;
  margin-top: 8px;
  display: block;
}

.cart-footer {
  padding: 24px 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}

.cart-shipping-note { font-size: 12px; color: var(--grey-400); }

.cart-checkout {
  text-align: center;
  display: block;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================== MOBILE NAV OPEN ===================== */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0; left: 0;
    width: 80%;
    max-width: 360px;
    height: 100%;
    background: var(--off-white);
    z-index: 99;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 32px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }

  .nav-link {
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    width: 100%;
  }

  .nav-link::after { display: none; }

  .mega-menu { display: none; }
  .mobile-only { display: list-item; }

  .hero-content { padding: 0 32px; }
  .hero-title { font-size: clamp(56px, 14vw, 100px); }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .cat-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .cat-card { height: 200px; }
  .cat-large { grid-column: span 2; }

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

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

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

  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { grid-template-columns: 1fr 1fr; padding: 60px 24px 40px; gap: 40px; }
  .footer-brand-col { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px; }

  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .search-inner { padding: 0 24px; }
  .newsletter-inner { padding: 0 24px; }
  .section { padding: 60px 0; }

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

@media (max-width: 600px) {
  .mega-menu, .mobile-only { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .values-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: 1fr; height: auto; }
  .cat-large { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
  .hero-title { font-size: clamp(52px, 16vw, 80px); }
  .hero-content { padding: 0 24px; }
  .hero-btns { flex-direction: column; }
}
