/* ================================================================
   KHOJ CLOTHING — v2 (RomaZ-inspired)
   khojclothing.in | Premium ethnic fashion | "Your Styling Guide"
   Colors: Gold #B08D57 · Cream #FAF6EF · Ink #221B14
   ================================================================ */

/* ── Fonts ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600;700&family=Pinyon+Script&display=swap');

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --gold:         #B08D57;
  --gold-hover:   #8C6A3A;
  --gold-pale:    #F3ECDF;
  --pink:         #ffb6c1;
  --pink-mid:     #F9A0AF;
  --pink-light:   #FDE8EC;
  --dark:         #221B14;
  --text:         #3D3026;
  --subtext:      #7A6B5C;
  --border:       #E8DECF;
  --bg:           #FAF6EF;
  --bg-section:   #F3ECDF;
  --card-bg:      #FFFFFF;
  --card-radius:  8px;
  --page-px:      4.5rem;
  --header-h:     68px;
  --nav-h:        46px;
}

/* ── Page container ───────────────────────────────────────────── */
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--page-px);
  padding-right: var(--page-px);
}


/* ================================================================
   STORE CSS — shared/common styles kept here
   Includes: fonts, reset, variables, page container, section header,
   shared buttons, product cards, and common responsive rules.
   ================================================================ */

/* ================================================================
   5. SECTION COMMONS
   ================================================================ */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-section); }
.section-pink { background: var(--pink-light); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-title-wrap {}
.section-eyebrow {
  font-family: 'Pinyon Script', cursive;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-transform: none;
  margin-bottom: 0.25rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.12;
}
.section-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 0.7rem;
  border-radius: 0;
}
.view-all-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s;
  flex-shrink: 0;
}
.view-all-link:hover { color: var(--gold); }


/* ================================================================
   7. PRODUCT CARD — Aerion native
   ================================================================ */
.product-grid {
  display: grid;
  gap: 1.25rem;
}
.product-grid-5 { grid-template-columns: repeat(5, 1fr); }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(34,27,20,0.04);
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 12px 32px -16px rgba(34,27,20,0.18);
  transform: translateY(-3px);
}
.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F5F0E8;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }

.product-card-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  transition: color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.6);
}
.product-card-wish:hover { color: #E11D48; background: #fff; }
.product-card-wish svg { width: 15px; height: 15px; }

.product-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}
.product-card:hover .product-card-add {
  opacity: 1;
  transform: translateY(0);
}

.product-card-info {
  padding: 0.9rem 1rem 1rem;
}
.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.product-mrp {
  font-size: 12px;
  color: var(--subtext);
  text-decoration: line-through;
}
.product-disc {
  font-size: 11px;
  font-weight: 600;
  color: #16A34A;
}


/* ================================================================
   RESPONSIVE — Tablet ≤1100px
   ================================================================ */
@media (max-width: 1100px) {
  :root { --page-px: 2.5rem; }
  .product-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .banner-collection-container { min-width: 240px; }
  .header-top { grid-template-columns: 200px 1fr auto; }
}

/* ================================================================
   RESPONSIVE — Mobile ≤768px
   ================================================================ */
@media (max-width: 768px) {
  :root { --page-px: 1.25rem; --header-h: 58px; }

  /* Announcement bar */
  .announcement-bar { height: 28px; }
  .announcement-item { font-size: 11px; padding: 0 1.5rem; }

  /* Header */
  .header-top { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .header-logo img { height: 40px; }
  .header-search { display: none; }
  .nav-inner { overflow-x: auto; scrollbar-width: none; gap: 0; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-link { padding: 0 0.9rem; font-size: 13px; }

  /* Hero — image top, text below */
  .hero-inner { grid-template-columns: 1fr; min-height: unset; }
  .hero-img-col { order: -1; height: 70vw; min-height: 260px; max-height: 420px; }
  .hero-img { object-position: center top; }
  .hero-text-col { padding: 2rem var(--page-px) 2.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { max-width: 100%; }

  /* Section titles */
  .section-title { font-size: 1.5rem; }
  .section-header { margin-bottom: 1.25rem; }
  .section-eyebrow { margin-bottom: 0.3rem; }

  /* Categories */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

  /* Product grids — horizontal swipe row on mobile */
  .product-grid-5, .product-grid-4 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.6rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
  }
  .product-grid-5::-webkit-scrollbar,
  .product-grid-4::-webkit-scrollbar { display: none; }
  .product-grid-5 .product-card,
  .product-grid-4 .product-card {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }

  /* Generic collection — stack */
  .generic-collection { flex-direction: column; gap: 0.75rem; }
  .banner-collection-container { width: 100%; min-width: 0; }
  .banner-image-container { height: 260px; min-height: 260px; }
  .banner-gradient { background: linear-gradient(to top, rgba(15,10,5,0.88) 0%, rgba(15,10,5,0.25) 50%, transparent 100%) !important; }
  .product-collection-container { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

  /* Offer banner */
  .offer-banner-inner { margin: 0 var(--page-px); border-radius: 10px; }
  .offer-banner-content { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem; }
  .offer-banner-cta-wrap { width: 100%; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Brand story */
  .brand-story-section { padding: 3rem 0; }
  .brand-story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .brand-story-mosaic { max-width: 100%; margin: 0; aspect-ratio: 16/9; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* Section */
  .section { padding: 1.75rem 0; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
.section {
    padding: 0.5rem 0 !important;
}
.heading-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.12;
  margin: 0;
  text-align: left;
}

.heading-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 0.7rem;
  margin-left: 0;
  margin-right: auto;
  border-radius: 0;
}