/* ============================================================
   GRYNDIX ENSEMBLE — style.css
   Contemporary Streetwear & Urban Fashion
   ============================================================ */

:root {
  --black:    #1a1a1a;
  --white:    #ffffff;
  --blue:     #3B82F6;
  --blue-dk:  #2563EB;
  --grey:     #6B7280;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-800: #1f2937;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-disp: 'Syne', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --hdr-h: 60px;
  --announce-h: 36px;
  --radius: 4px;
  --radius-md: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.3);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-disp);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
}

.section-sub {
  color: var(--grey);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.22s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  padding: 0.5rem 1.25rem;
}

.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-full { width: 100%; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.72rem; }
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--grey-800); border-color: var(--grey-800); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  position: relative;
  background: var(--black);
  color: rgba(255,255,255,0.85);
  height: var(--announce-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 100;
}

.announce-bar.hidden { display: none; }

.marquee-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee-inner span { padding-right: 0; }

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

.announce-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
  z-index: 2;
}

.announce-close:hover { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

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

.hdr-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue);
  text-transform: uppercase;
  margin-top: 1px;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.cart-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ============================================================
   SEARCH DROPDOWN
   ============================================================ */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--grey-800);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
  z-index: 80;
}

.search-dropdown.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input::placeholder { color: rgba(255,255,255,0.35); }

.search-input:focus { border-color: var(--blue); }

.search-submit {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.search-submit:hover { background: var(--blue-dk); }

.search-results {
  max-width: 640px;
  margin: 0.75rem auto 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  color: var(--white);
}

.search-result-item:hover { background: rgba(255,255,255,0.07); }

.search-result-img {
  width: 48px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.search-result-name { font-weight: 600; font-size: 0.85rem; }
.search-result-price { font-size: 0.78rem; color: var(--blue); margin-top: 2px; }
.search-no-results { color: rgba(255,255,255,0.5); font-size: 0.85rem; padding: 0.5rem 0; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--black);
  z-index: 160;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.close-nav {
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  line-height: 1;
}

.close-nav:hover { color: var(--white); }

.mob-nav-link {
  display: block;
  padding: 1rem 1.25rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}

.mob-nav-link:hover {
  color: var(--white);
  padding-left: 1.75rem;
}

.mob-nav-footer {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.mob-nav-footer p { margin-bottom: 0.25rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8rem;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  max-width: 700px;
  margin-left: 2rem;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-accent { color: var(--blue); }

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

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

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--black);
  padding: 0.85rem 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.col-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
}

.col-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.col-card:hover img { transform: scale(1.08); }

.col-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 0.5rem;
  transition: background 0.3s;
}

.col-card:hover .col-overlay {
  background: linear-gradient(to top, rgba(26,26,26,0.88) 0%, rgba(0,0,0,0.2) 60%);
}

.col-label {
  font-family: var(--font-disp);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  display: block;
}

.col-count {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  display: block;
  text-align: center;
}

/* ============================================================
   FEATURED ROW
   ============================================================ */
.featured-section {
  background: var(--grey-100);
  padding: 5rem 1.5rem;
}

.product-row {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   SHOP ALL SECTION
   ============================================================ */
.shop-all {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.pill {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pill.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.sort-wrap {
  flex-shrink: 0;
}

.sort-select {
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sort-select:focus { border-color: var(--blue); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--grey);
  font-size: 0.95rem;
}

.hidden { display: none !important; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--grey-100);
}

.card-img-primary,
.card-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.card-img-hover { opacity: 0; }

.product-card:hover .card-img-primary { opacity: 0; transform: scale(1.04); }
.product-card:hover .card-img-hover { opacity: 1; transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
}

.card-badge.badge-blue {
  background: var(--blue);
}

.card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s;
  border: none;
}

.product-card:hover .card-wishlist {
  opacity: 1;
  transform: scale(1);
}

.card-wishlist.active svg { fill: #ef4444; stroke: #ef4444; }

.card-wishlist svg {
  width: 15px;
  height: 15px;
  stroke: var(--grey);
  fill: none;
  transition: all 0.2s;
}

.card-wishlist:hover svg { stroke: #ef4444; }

.card-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  z-index: 2;
  border: none;
  width: 100%;
}

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

.card-quick-add:hover { background: var(--blue); }

.card-body {
  padding: 0.85rem 0.75rem;
}

.card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}

.card-name {
  font-family: var(--font-disp);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.card-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.card-compare {
  font-size: 0.78rem;
  color: var(--grey);
  text-decoration: line-through;
}

.card-orders {
  font-size: 0.7rem;
  color: var(--grey);
  margin-top: 4px;
}

.card-stars {
  display: flex;
  gap: 2px;
  margin-top: 5px;
}

.card-stars svg {
  width: 11px;
  height: 11px;
  fill: #f59e0b;
}

/* ============================================================
   BRAND STORY
   ============================================================ */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--black);
  max-width: 1440px;
  margin: 0 auto;
}

.story-img-wrap {
  overflow: hidden;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.brand-story:hover .story-img-wrap img { transform: scale(1.04); }

.story-content {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-title {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.story-body {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 480px;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-disp);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--grey-800);
  padding: 1.5rem 1.5rem;
}

.trust-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.trust-item svg { color: var(--blue); flex-shrink: 0; }

.trust-title {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
}

.trust-sub {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  padding: 4rem 1.5rem 0;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-tagline {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-email-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  outline: none;
  min-width: 0;
}

.footer-email-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-email-input:focus { border-color: var(--blue); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.payment-icons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pay-icon {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  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;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--white);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--grey-200);
  background: var(--black);
  color: var(--white);
  flex-shrink: 0;
}

.cart-title {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 700;
}

.cart-count { font-size: 0.85rem; opacity: 0.6; }

.close-cart {
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}

.close-cart:hover { color: var(--white); }

.ship-progress-wrap {
  padding: 0.75rem 1.25rem;
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
  flex-shrink: 0;
}

.ship-bar-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 0.4rem;
}

.ship-bar-track {
  height: 4px;
  background: var(--grey-200);
  border-radius: 2px;
  overflow: hidden;
}

.ship-bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.5s var(--ease);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 250px;
  gap: 1rem;
  color: var(--grey);
  text-align: center;
}

.cart-empty svg { opacity: 0.3; }
.cart-empty p { font-size: 0.9rem; }

.cart-line {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-100);
}

.cart-line-img {
  width: 72px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--grey-100);
}

.cart-line-info { flex: 1; min-width: 0; }

.cart-line-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line-meta {
  font-size: 0.72rem;
  color: var(--grey);
  margin-top: 2px;
}

.cart-line-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 0.35rem;
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: all 0.15s;
}

.qty-btn:hover { border-color: var(--blue); color: var(--blue); }

.qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.cart-line-remove {
  color: var(--grey);
  font-size: 0.72rem;
  margin-left: 0.5rem;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}

.cart-line-remove:hover { color: #ef4444; }

.cart-foot {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--grey-200);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.cart-note {
  font-size: 0.72rem;
  color: var(--grey);
  margin-bottom: 1rem;
  text-align: center;
}

/* ============================================================
   QUICK-ADD POPUP
   ============================================================ */
.qa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.qa-overlay.open { opacity: 1; pointer-events: all; }

.qa-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 230;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.38s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  gap: 1.5rem;
}

.qa-sheet.open { transform: translateY(0); }

.qa-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 22px;
  color: var(--grey);
  line-height: 1;
}

.qa-close:hover { color: var(--black); }

.qa-img-wrap {
  width: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grey-100);
}

.qa-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.qa-info { flex: 1; padding-top: 0.25rem; }

.qa-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.qa-name {
  font-family: var(--font-disp);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.qa-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.qa-price {
  font-size: 1rem;
  font-weight: 700;
}

.qa-compare {
  font-size: 0.85rem;
  color: var(--grey);
  text-decoration: line-through;
}

.qa-colors {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.qa-color-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  background: var(--white);
  transition: all 0.15s;
}

.qa-color-btn:hover { border-color: var(--black); color: var(--black); }
.qa-color-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }

.qa-sizes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.qa-sizes {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.qa-size-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-200);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  background: var(--white);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-size-btn:hover { border-color: var(--black); color: var(--black); }
.qa-size-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }
.qa-size-btn.wide { width: auto; padding: 0 0.75rem; }

/* ============================================================
   PDP MODAL
   ============================================================ */
.pdp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.pdp-overlay.open { opacity: 1; pointer-events: all; }

.pdp-modal {
  position: fixed;
  inset: 2rem;
  background: var(--white);
  z-index: 250;
  border-radius: var(--radius-md);
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdp-modal.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.pdp-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  font-size: 24px;
  color: var(--grey);
  background: var(--white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pdp-close:hover { color: var(--black); }

.pdp-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  overflow: hidden;
}

.pdp-images {
  background: var(--grey-100);
  overflow: hidden;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info {
  overflow-y: auto;
  padding: 2.5rem;
}

.pdp-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.pdp-name {
  font-family: var(--font-disp);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pdp-price {
  font-size: 1.3rem;
  font-weight: 700;
}

.pdp-compare {
  font-size: 1rem;
  color: var(--grey);
  text-decoration: line-through;
}

.pdp-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: #ef4444;
  padding: 3px 7px;
  border-radius: 3px;
}

.pdp-stars-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--grey);
}

.pdp-stars {
  display: flex;
  gap: 1px;
}

.pdp-stars svg {
  width: 13px;
  height: 13px;
  fill: #f59e0b;
}

.pdp-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 1.5rem;
}

.pdp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.6rem;
}

.pdp-colors {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pdp-color-btn {
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  background: var(--white);
  transition: all 0.15s;
}

.pdp-color-btn:hover { border-color: var(--black); color: var(--black); }
.pdp-color-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }

.pdp-sizes {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pdp-size-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-200);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  background: var(--white);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-size-btn:hover { border-color: var(--black); color: var(--black); }
.pdp-size-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }

.pdp-atc-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pdp-atc-btn {
  flex: 1;
}

/* Reviews Section */
.pdp-reviews {
  border-top: 1px solid var(--grey-200);
  padding-top: 1.5rem;
}

.pdp-reviews-title {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.review-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-100);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.review-date {
  font-size: 0.7rem;
  color: var(--grey);
}

.review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 0.35rem;
}

.review-stars svg {
  width: 11px;
  height: 11px;
  fill: #f59e0b;
}

.review-comment {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.6;
}

.review-verified {
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 260;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.checkout-overlay.open { opacity: 1; pointer-events: all; }

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 540px;
  max-width: calc(100vw - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--grey-800);
  z-index: 270;
  border-radius: var(--radius-md);
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

.checkout-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 22px;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

.checkout-close:hover { color: var(--white); }

.checkout-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.checkout-logo { margin-bottom: 0.5rem; }

.checkout-head h2 {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.checkout-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.checkout-tabs {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 1.5rem;
}

.checkout-tab {
  flex: 1;
  padding: 0.55rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.checkout-tab.active {
  background: var(--blue);
  color: var(--white);
}

.checkout-form .form-group {
  margin-bottom: 1rem;
}

.checkout-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.35rem;
}

.checkout-form input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-form input::placeholder { color: rgba(255,255,255,0.25); }
.checkout-form input:focus { border-color: var(--blue); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cod-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cod-box svg { color: var(--blue); flex-shrink: 0; }

.cod-box strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.cod-box p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.checkout-submit { margin-top: 0.5rem; }

.tab-panel { }
.tab-panel.hidden { display: none; }

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 280;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.success-overlay.open { opacity: 1; pointer-events: all; }

.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.95);
  width: 420px;
  max-width: calc(100vw - 2rem);
  background: var(--white);
  z-index: 290;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

.success-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.success-icon {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.success-title {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.success-sub {
  color: var(--grey);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.success-order {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   SCROLL FADE-UP ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .brand-story { max-width: 100%; }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — 768px (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root { --hdr-h: 56px; }

  .hamburger { display: flex; }
  .main-nav { display: none; }

  .hdr-inner { gap: 1rem; }

  .hero-content { margin-left: 1.25rem; margin-right: 1.25rem; }

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

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .brand-story { grid-template-columns: 1fr; }
  .story-img-wrap { aspect-ratio: 16/9; }
  .story-content { padding: 2rem 1.5rem; }
  .story-stats { grid-template-columns: repeat(4, 1fr); }

  .trust-inner { gap: 1rem; }
  .trust-item { min-width: 120px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .pdp-body { grid-template-columns: 1fr; }
  .pdp-images { height: 280px; }
  .pdp-modal { inset: 0; border-radius: 0; }

  .qa-sheet {
    flex-direction: column;
    padding: 1.25rem;
  }

  .qa-img-wrap {
    width: 100%;
    max-height: 200px;
  }

  .qa-img-wrap img { max-height: 200px; width: auto; margin: 0 auto; }

  .checkout-modal { padding: 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }

  .filter-bar { flex-direction: column; align-items: flex-start; }
  .sort-wrap { width: 100%; }
  .sort-select { width: 100%; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .cart-drawer { width: 100vw; }
  .trust-item { flex-direction: column; text-align: center; gap: 0.35rem; }
}
