/* ================================================================
   N&N CLOTHIFY — Clean Editorial Theme (LAAM-inspired)
   Fonts: Manrope (display) + Inter (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  /* Ink (text) */
  --ink:           #141414;
  --ink-mid:       #6E6E6B;
  --ink-dim:       #A3A19B;
  --ink-btn-hover: #2B2B2B;

  /* Surfaces */
  --paper:         #FFFFFF;
  --paper-alt:     #F6F5F2;
  --line:          #E8E5E0;
  --line-soft:     #F0EEE9;

  /* Accent (terracotta/rust) */
  --accent:        #C4483A;
  --accent-dark:   #A63A2E;
  --accent-soft:   #F6E4E0;

  /* Category palette */
  --teal:          #2F5D62;
  --mustard:       #C79A3D;

  /* Semantic */
  --wa-green:      #25D366;
  --wa-green-dark: #1EBD5C;
  --red:           #D64545;
  --green:         #1E9E5A;

  /* Elevation */
  --shadow-sm:     0 1px 2px rgba(20,20,20,0.04), 0 2px 8px rgba(20,20,20,0.04);
  --shadow-md:     0 6px 20px rgba(20,20,20,0.08);
  --shadow-lg:     0 20px 56px rgba(20,20,20,0.14);
  --shadow-hover:  0 14px 34px rgba(20,20,20,0.10);

  /* Shape */
  --radius:        8px;
  --radius-lg:     16px;
  --radius-full:   100px;

  /* Type */
  --font-display:  'Manrope', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --transition:    0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ================================================================
   HEADER
   ================================================================ */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}

.logo { flex-shrink: 0; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.logo-tag {
  display: block;
  font-size: 8px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-search { flex: 1; position: relative; }
.header-search input {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--paper-alt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.header-search input::placeholder { color: var(--ink-dim); }
.header-search input:focus {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--line);
}

.cart-btn {
  position: relative;
  background: var(--ink);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--ink-btn-hover); transform: scale(1.06); }
.cart-count {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #FFFFFF;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-display);
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
}

/* ================================================================
   HERO BANNER
   ================================================================ */
.hero {
  background: var(--paper-alt);
  padding: 42px 20px 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,72,58,0.08) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(47,93,98,0.08) 0%, transparent 70%);
  bottom: -80px;
  left: 20px;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 520px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  color: var(--ink-mid);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all var(--transition);
}
.hero-btn-primary:hover {
  background: var(--ink-btn-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.hero-btn-secondary:hover { border-color: var(--ink); }

.hero-badges {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.hero-badge-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-badge-pill .badge-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.hero-badge-pill .badge-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.3;
}

/* ================================================================
   BANNER CAROUSEL
   ================================================================ */
.banner-carousel {
  position: relative;
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 20px;
}
.banner-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.banner-track {
  display: flex;
  transition: transform 0.5s ease;
}
.banner-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px;
  border-radius: var(--radius-lg);
  min-height: 220px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.banner-slide-icon {
  font-size: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
.banner-slide-body { color: #FFFFFF; position: relative; z-index: 2; }

/* ---- Image banners ---- */
.banner-slide.has-image {
  position: relative;
  padding: 0;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  overflow: hidden;
  align-items: flex-end;
}
.banner-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}
.banner-slide.has-image .banner-slide-body {
  padding: 28px 28px;
  width: 100%;
}
@media (min-width: 601px) {
  .banner-slide.has-image { aspect-ratio: 21 / 9; min-height: 440px; }
  .banner-slide.has-image .banner-slide-body { padding: 36px 36px 36px 72px; }
  .banner-slide-icon { font-size: 64px; }
}
@media (min-width: 1024px) {
  .banner-slide.has-image { min-height: 520px; }
}
.banner-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.banner-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.6vw, 16px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  max-width: 460px;
  line-height: 1.5;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--ink);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform var(--transition);
}
.banner-cta:hover { transform: translateY(-2px); }

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
  z-index: 2;
}
.banner-nav:hover { background: #FFFFFF; }
.banner-prev { left: 30px; }
.banner-next { right: 30px; }

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}
.banner-dot.active {
  background: var(--ink);
  width: 18px;
  border-radius: var(--radius-full);
}

@media (max-width: 600px) {
  .banner-slide:not(.has-image) { flex-direction: column; align-items: flex-start; text-align: left; padding: 22px 20px; }
  .banner-slide-icon { font-size: 36px; }
  .banner-nav { display: none; }
}

/* ================================================================
   PROMO STRIPS
   ================================================================ */
.promo-strips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 16px 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.promo-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--transition);
}
.promo-chip:hover { border-color: var(--ink-dim); }
.promo-chip-icon { font-size: 20px; flex-shrink: 0; }
.promo-chip-text { line-height: 1.3; }
.promo-chip-text small { font-weight: 400; color: var(--ink-mid); font-size: 10px; display: block; }
/* accent top edge per chip */
.promo-chip:nth-child(1) { border-top: 2px solid var(--accent); }
.promo-chip:nth-child(2) { border-top: 2px solid var(--teal); }
.promo-chip:nth-child(3) { border-top: 2px solid var(--mustard); }

/* ================================================================
   CATEGORY CIRCLES
   ================================================================ */
.categories-section {
  background: var(--paper-alt);
  padding: 20px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 14px;
}
.categories-header h2 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.categories-see-all {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.category-circles {
  display: flex;
  gap: 4px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-circles::-webkit-scrollbar { display: none; }

.cat-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 0 8px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.cat-circle-item:hover { transform: translateY(-2px); }
.cat-circle-item.active .cat-circle {
  box-shadow: 0 0 0 2px var(--paper-alt), 0 0 0 4px var(--ink);
}
.cat-circle-item.active .cat-label {
  color: var(--ink);
  font-weight: 700;
}

.cat-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.cat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-mid);
  text-align: center;
  max-width: 68px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================================================
   PRODUCTS SECTION
   ================================================================ */
.products-section {
  padding: 8px 12px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.products-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.products-count {
  font-size: 11px;
  color: var(--ink-dim);
  background: var(--paper-alt);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 520px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 780px)  { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1060px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- Product Card ---- */
.product-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  border: 1px solid var(--line);
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--ink-dim);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--paper-alt);
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-demo-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--ink-mid);
  backdrop-filter: blur(4px);
}
.product-card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { color: var(--accent); border-color: var(--accent); }

.card-discount-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.card-badge-chip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-body { padding: 10px 10px 12px; }
.card-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.card-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.card-mrp {
  font-size: 11px;
  color: var(--ink-dim);
  text-decoration: line-through;
}
.card-off {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
}

.card-sizes {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.card-sizes span {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
}

.card-add-btn {
  width: 100%;
  padding: 8px 0;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all var(--transition);
}
.card-add-btn:hover {
  background: var(--ink-btn-hover);
}

/* ---- Empty state ---- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--ink-dim);
}
.empty-state .empty-icon { font-size: 52px; display: block; margin-bottom: 14px; }
.empty-state p { font-size: 15px; margin-bottom: 6px; color: var(--ink-mid); }
.empty-state small { font-size: 13px; }
.empty-state a { color: var(--accent); font-weight: 600; }

/* ================================================================
   CART PANEL
   ================================================================ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.5);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-panel {
  position: fixed;
  right: -440px;
  top: 0;
  height: 100vh;
  width: min(420px, 100vw);
  background: var(--paper);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--line);
}
.cart-panel.open { right: 0; }

.cart-header {
  padding: 20px 24px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.close-btn {
  width: 34px;
  height: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.close-btn:hover { border-color: var(--ink); color: var(--ink); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  color: var(--ink-dim);
  gap: 10px;
}
.cart-empty span { font-size: 48px; }
.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cart-item-img {
  width: 68px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-alt);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.demo-img-small {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  display: inline-block;
}
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cart-item-qty button:hover { border-color: var(--ink); }
.cart-item-qty span { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; color: var(--ink); }
.cart-item-remove {
  position: absolute;
  top: 14px;
  right: 0;
  color: var(--ink-dim);
  font-size: 13px;
  padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red); }

.cart-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cart-total-label { font-size: 13px; color: var(--ink-mid); font-weight: 500; }
.cart-total-amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--wa-green);
  color: white;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(37,211,102,.25);
}
.checkout-btn:hover { background: var(--wa-green-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37,211,102,.32); }

/* ================================================================
   PRODUCT DETAIL MODAL
   ================================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.55);
  z-index: 300;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }

.product-modal {
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: sticky;
  top: 10px;
  left: calc(100% - 50px);
  float: right;
  margin: 10px 10px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: all var(--transition);
  color: var(--ink-mid);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { border-color: var(--ink); color: var(--ink); }

.modal-img { width: 100%; aspect-ratio: 3/4; background: var(--paper-alt); overflow: hidden; clear: both; }
.modal-img img { width: 100%; height: 100%; object-fit: contain; }
.modal-demo-img { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 80px; background: var(--paper-alt); }

/* ---- Image Gallery ---- */
.modal-gallery { width: 100%; background: var(--paper-alt); }
.modal-gallery-main {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.modal-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--paper);
  overflow-x: auto;
  scrollbar-width: none;
}
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  background: var(--paper-alt);
  transition: border-color 0.2s;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb.active { border-color: var(--ink); }
.modal-thumb:hover { border-color: var(--ink-dim); }

.modal-info { padding: 18px 22px 32px; }
.modal-badge {
  display: inline-block;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.modal-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: 0.1px;
}
.modal-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.modal-price-main {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}
.modal-price-mrp { font-size: 15px; color: var(--ink-dim); text-decoration: line-through; }
.modal-price-discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(30,158,90,0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.modal-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 18px; }

.modal-sizes { margin-bottom: 20px; }
.modal-sizes-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.modal-sizes-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--paper-alt);
  color: var(--ink-mid);
}
.size-btn:hover { border-color: var(--ink-dim); color: var(--ink); }
.size-btn.active { border-color: var(--ink); background: var(--ink); color: #FFFFFF; font-weight: 700; }

.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-add-btn {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-add-btn:hover { background: var(--ink-btn-hover); box-shadow: var(--shadow-md); }

.modal-wa-btn {
  width: 100%;
  padding: 14px;
  background: var(--wa-green);
  color: white;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.2);
}
.modal-wa-btn:hover { background: var(--wa-green-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.28); }

/* ================================================================
   ORDER FORM OVERLAY
   ================================================================ */
.order-form-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.order-form-overlay.open { display: flex; }

.order-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.order-form h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0.1px;
}
.order-form p { font-size: 13px; color: var(--ink-mid); margin-bottom: 22px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-dim);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--line);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn-cancel {
  flex: 1;
  padding: 12px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  transition: all var(--transition);
}
.btn-cancel:hover { border-color: var(--ink-dim); color: var(--ink); }
.btn-whatsapp {
  flex: 2;
  padding: 12px;
  background: var(--wa-green);
  color: white;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition);
  box-shadow: 0 4px 14px rgba(37,211,102,.25);
}
.btn-whatsapp:hover { background: var(--wa-green-dark); }

/* ================================================================
   SUCCESS OVERLAY
   ================================================================ */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.55);
  z-index: 400;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.success-overlay.open { display: flex; }

.success-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: popIn .35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-box h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.success-box p { font-size: 14px; color: var(--ink-mid); margin-bottom: 24px; line-height: 1.6; }
.success-box button {
  padding: 12px 32px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all var(--transition);
}
.success-box button:hover { background: var(--ink-btn-hover); }

/* ================================================================
   TOAST
   ================================================================ */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: all .25s ease;
  z-index: 500;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding: 36px 24px 28px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
footer p { font-size: 12px; color: var(--ink-dim); margin-bottom: 16px; letter-spacing: 0.5px; }
footer .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa-green);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
}
footer .wa-link:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
footer .ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(221,42,123,.25);
}
footer .ig-link:hover { filter: brightness(1.08); transform: translateY(-1px); }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
}
.footer-legal-links a { color: var(--ink-dim); transition: color var(--transition); letter-spacing: 0.3px; }
.footer-legal-links a:hover { color: var(--ink); }
.footer-legal-links .footer-dot { color: var(--line); }
.footer-admin-link { margin-top: 10px; font-size: 11px; }
.footer-admin-link a { color: var(--ink-dim); transition: color var(--transition); letter-spacing: 0.5px; }
.footer-admin-link a:hover { color: var(--ink); }
.footer-credit { margin-top: 6px; font-size: 11px; color: var(--ink-dim); }
.footer-credit a { color: var(--ink-dim); transition: color var(--transition); letter-spacing: 0.3px; }
.footer-credit a:hover { color: var(--ink); }

/* ================================================================
   POLICY PAGES (Privacy Policy / Terms & Conditions)
   ================================================================ */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.policy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.policy-back-link:hover { color: var(--accent); }
.policy-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.policy-updated {
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}
.policy-content h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: 0.1px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 14px;
}
.policy-content ul {
  margin: 0 0 14px 20px;
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.8;
}
.policy-content li { margin-bottom: 6px; }
.policy-content strong { color: var(--ink); font-weight: 700; }
.policy-content a { color: var(--accent); font-weight: 600; }
.policy-content a:hover { text-decoration: underline; }
.policy-highlight {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 480px) {
  .hero { padding: 28px 16px 32px; }
  .promo-strips { grid-template-columns: 1fr; gap: 8px; }
  .promo-chip:nth-child(2),
  .promo-chip:nth-child(3) { display: none; }
  .hero-badges { display: none; }
}
@media (min-width: 481px) and (max-width: 780px) {
  .promo-strips { grid-template-columns: 1fr 1fr; }
  .promo-chip:nth-child(3) { display: none; }
}

/* Desktop modal: centered */
@media (min-width: 601px) {
  .modal-overlay { align-items: center; padding: 20px; }
  .product-modal { border-radius: 20px; max-height: 88vh; }
  .modal-img { aspect-ratio: 16/9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ================================================================
   SPLASH SCREEN
================================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--ink);
  opacity: 1;
  transition: opacity 0.5s ease;
}
.splash-screen.splash-hide {
  opacity: 0;
  pointer-events: none;
}
.splash-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 16vw, 88px);
  letter-spacing: 1px;
  line-height: 1;
}
.splash-letter,
.splash-amp {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) scale(0.6) rotate(-8deg);
  animation: splashLetterIn 0.55s cubic-bezier(.34,1.56,.64,1) forwards;
}
.splash-letter { color: var(--paper); }
.splash-amp { color: var(--accent); }
.splash-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  animation: splashFadeUp 0.5s ease forwards;
  animation-delay: 0.55s;
}
.splash-bar {
  width: 120px;
  height: 3px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  opacity: 0;
  animation: splashFadeUp 0.4s ease forwards;
  animation-delay: 0.7s;
}
.splash-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: splashBarFill 1.3s ease forwards;
  animation-delay: 0.7s;
}
@keyframes splashLetterIn {
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splashBarFill {
  to { width: 100%; }
}
