/* ═══════════════════════════════════════════════════════════════
   Namaste Imports – Homepage · Modern Cultural Minimalist
   Warm palette · 4K-ready · Bento grid · Trust bar
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');
/* display=swap for non-blocking text */

/* ── Home page: match Cart/Featured theme (Nepal flag: crimson, navy, gold) ── */
.home-page {
  --shadow-soft: 0 4px 24px rgba(0, 63, 135, 0.08);
  --shadow-card: 0 12px 40px rgba(0, 63, 135, 0.1), 0 4px 12px rgba(139, 0, 0, 0.06);
  --shadow-elevated: 0 24px 64px rgba(0, 63, 135, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

.home-page body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Lato', sans-serif;
  position: relative;
}

/* Subtle Lokta paper texture */
.home-page body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

.home-page .home-hero,
.home-page .home-trust-bar,
.home-page .marquee-strip,
.home-page .nepali-border,
.home-page .home-products,
.home-page .featured-strip,
.home-page .why-bg,
.home-page .visit-us,
.home-page footer { position: relative; z-index: 1; }

/* Below-fold sections: allow browser to skip work until near viewport */
.home-page .home-products,
.home-page .why-bg,
.home-page .visit-us { content-visibility: auto; contain-intrinsic-size: auto 360px; }

/* Keep nav fixed at top (do not override with position: relative) */
.home-page nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; }

/* ── HERO: Same gradient as Contact page (crimson → navy + star pattern) ── */
.home-hero {
  min-height: 65vh;
  min-height: 65dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 64px) clamp(20px, 3vw, 36px);
  background: linear-gradient(135deg, var(--deep-crimson), var(--crimson) 50%, var(--navy));
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A017' fill-opacity='0.05'%3E%3Cpath d='M40 0l5 15h16l-13 9 5 15-13-9-13 9 5-15-13-9h16z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  animation: bgDrift 25s linear infinite;
  pointer-events: none;
  will-change: background-position;
}

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

.home-hero-badge {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.7rem, 1.1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(10px, 1.5vw, 16px);
  padding: 8px 20px 10px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  animation: homeFadeUp 0.9s ease both;
}

.home-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: clamp(12px, 1.5vw, 20px);
  animation: homeFadeUp 0.9s ease 0.1s both;
}

.home-hero h1 span {
  color: var(--gold);
  font-weight: 700;
}

.home-hero-sub {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 400;
  color: var(--white);
  max-width: 480px;
  margin: 0 auto clamp(18px, 2.5vw, 28px);
  line-height: 1.65;
  animation: homeFadeUp 0.9s ease 0.2s both;
}

.home-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  animation: homeFadeUp 0.9s ease 0.3s both;
}

.home-hero .btn-artisan {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: clamp(11px, 1.4vw, 14px) clamp(26px, 3vw, 40px);
  border-radius: 6px;
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-hero .btn-artisan:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.45);
}

.home-hero .btn-artisan.btn-outline-hero {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}

.home-hero .btn-artisan.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hero CTA: short labels on narrow phones only; 768px+ matches desktop (incl. tablet portrait) */
.home-hero .home-hero-btn-label--short {
  display: none;
}

@media (max-width: 767px) {
  .home-hero .home-hero-btn-label--full {
    display: none;
  }
  .home-hero .home-hero-btn-label--short {
    display: inline;
  }
}

/* ── TRUST BAR (navy + gold, match Cart/Featured) ── */
.home-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  padding: clamp(12px, 2vw, 18px) clamp(20px, 4vw, 40px);
  background: var(--navy);
  color: var(--gold);
  border-top: 2px solid rgba(212, 160, 23, 0.35);
  border-bottom: 2px solid rgba(212, 160, 23, 0.35);
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.home-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── BENTO PRODUCT GRID ── */
.home-products {
  padding: clamp(32px, 5vw, 48px) clamp(24px, 5vw, 48px) clamp(28px, 4vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
}

.home-products-head {
  text-align: center;
  margin-bottom: clamp(22px, 3.5vw, 40px);
}

.home-products-tag {
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.home-products-head h2 {
  font-family: 'Cinzel', serif;
  /* Match .why-bg h2.section-title scale (Authentic. Ethical. Canadian.) */
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.home-products-head h2 span {
  color: var(--crimson);
}

.home-products-head p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--dark);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.9;
}

/* Artisan Collection: dynamic categories from admin, 3 per row */
.home-artisan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  grid-auto-rows: minmax(200px, auto);
}

.home-artisan-grid .home-bento-cell {
  min-height: 260px;
}

.home-artisan-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--dark);
  font-size: 1rem;
}

.home-artisan-fallback a {
  color: var(--crimson);
  text-decoration: underline;
}

.home-artisan-cta {
  text-align: center;
  margin-top: clamp(32px, 5vw, 48px);
}

.home-artisan-cta .btn-view-more {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.home-artisan-cta .btn-view-more:hover {
  background: var(--deep-crimson);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
  grid-auto-rows: minmax(180px, auto);
}

.home-bento-cell {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}

.home-bento-cell:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elevated);
}

.home-bento-cell .cell-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  overflow: hidden;
}

/* Placeholder (no image) stays slightly muted */
.home-bento-cell .cell-bg.placeholder {
  opacity: 0.92;
}

/* With image: full visibility and sharp rendering */
.home-bento-cell .cell-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
}

.home-bento-cell:hover .cell-bg,
.home-bento-cell:hover .cell-bg img {
  transform: scale(1.05) translateZ(0);
}

.home-bento-cell .cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 70%);
  pointer-events: none;
}

.home-bento-cell .cell-content {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 2vw, 24px);
}

.home-bento-cell .cell-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 0 24px rgba(212, 160, 23, 0.2);
}

.home-bento-cell .cell-meta {
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Bento layout: mix of spans for visual interest */
.home-bento-cell.span-4 { grid-column: span 4; }
.home-bento-cell.span-6 { grid-column: span 6; }
.home-bento-cell.span-8 { grid-column: span 8; }
.home-bento-cell.span-12 { grid-column: span 12; }
.home-bento-cell.row-2 { grid-row: span 2; }
.home-bento-cell.row-1 { grid-row: span 1; }

/* Placeholder gradient when no image */
.home-bento-cell .cell-bg.placeholder {
  background: linear-gradient(145deg, var(--crimson) 0%, var(--navy) 100%);
  opacity: 0.85;
}

.home-bento-cell {
  text-decoration: none;
  color: inherit;
}

/* ── TABLET (768px – 1024px): 2-col grids, comfortable spacing ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-hero {
    min-height: 62vh;
    padding: clamp(44px, 6vw, 56px) clamp(32px, 5vw, 48px) clamp(20px, 3.5vw, 32px);
  }
  .home-hero-btns {
    gap: 14px;
  }
  .home-trust-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    padding: 14px 24px;
  }
  .home-trust-item {
    align-items: center;
    flex: 0 0 auto;
  }
  .home-products {
    padding: 40px 32px 36px;
  }
  .home-artisan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .home-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
  }
  .home-bento-cell.span-4 { grid-column: span 1; }
  .home-bento-cell.span-6 { grid-column: span 2; }
  .home-bento-cell.span-8 { grid-column: span 2; }
  .home-bento-cell.span-12 { grid-column: span 2; }
  .home-bento-cell.row-2 { grid-row: span 1; }
  .home-bento-cell .cell-content { padding: 20px 22px; }
  .home-page .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .home-page .testi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .home-page .cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .visit-us {
    padding: 28px 32px 32px;
  }
}

/* 4K / large viewport: cap max width for readability, increase spacing */
@media (min-width: 1920px) {
  .home-hero-content { max-width: 1000px; }
  .home-products { max-width: 1600px; padding-left: 64px; padding-right: 64px; }
  .home-bento { gap: 28px; }
  .home-bento-cell .cell-content { padding: 28px 32px; }
  .home-bento-cell .cell-title { font-size: 1.5rem; }
}

/* ── Section styling (match Cart/Featured: crimson, gold, navy) ── */
.home-page .section-tag {
  color: var(--crimson);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-page h2.section-title {
  color: var(--dark);
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.home-page h2.section-title span {
  color: var(--navy);
}

.home-page .section-sub {
  color: var(--dark);
  opacity: 0.82;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── Browse by Category ── */
.home-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
}

.home-page .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.home-page .cat-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.home-page .cat-icon {
  font-size: 2.5rem;
  padding: 28px 20px 12px;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.06), rgba(0, 63, 135, 0.08));
}

.home-page .cat-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--crimson);
  padding: 0 14px 6px;
}

.home-page .cat-card p {
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.75;
  padding: 0 14px 24px;
  line-height: 1.55;
}

/* ── Why Choose Us (navy + gold, match theme) ── */
.home-page .why-bg {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #002a5c 50%, var(--navy) 100%);
  /* Tighter top (below Handpicked strip); keep comfortable bottom above border */
  padding: clamp(26px, 4vw, 40px) 0 clamp(36px, 5vw, 52px);
  overflow: hidden;
}

.home-page .why-bg-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A017' fill-opacity='0.04'%3E%3Cpath d='M40 0l5 15h16l-13 9 5 15-13-9-13 9 5-15-13-9h16z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  animation: bgDrift 30s linear infinite;
  pointer-events: none;
}

.home-page .why-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
  text-align: center;
}

.home-page .why-bg .section-tag {
  color: var(--gold);
  border-bottom-color: rgba(212, 160, 23, 0.5);
  display: inline-block;
}

.home-page .why-bg h2.section-title {
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.home-page .why-bg h2.section-title span {
  color: var(--gold-light);
  font-weight: 700;
}

.home-page .why-bg .section-sub {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.home-page .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
  text-align: left;
}

@media (max-width: 1000px) {
  .home-page .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-page .why-card {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 160, 23, 0.2);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.home-page .why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.9;
}

.home-page .why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(212, 160, 23, 0.25);
  border-color: rgba(212, 160, 23, 0.4);
}

.home-page .why-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.home-page .why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.home-page .why-card:hover .why-card-icon {
  background: rgba(212, 160, 23, 0.28);
  transform: scale(1.08);
}

.home-page .why-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  color: var(--gold);
}

.home-page .why-card-icon.why-card-icon-maple svg {
  stroke: var(--gold-light);
}

.home-page .why-card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0;
  letter-spacing: 0.02em;
}

.home-page .why-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.82rem, 0.95vw, 0.88rem);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .home-page .why-bg {
    padding: clamp(20px, 4vw, 32px) 0 clamp(28px, 4vw, 40px);
  }
  .home-page .why-inner {
    padding: 0 clamp(16px, 4vw, 32px);
  }
  .home-page .why-bg .section-tag {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
  }
  .home-page .why-bg h2.section-title {
    font-size: clamp(1.1rem, 4.2vw, 1.45rem);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .home-page .why-bg .section-sub {
    font-size: 0.82rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .home-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-page .why-card {
    padding: 12px 10px;
  }
  .home-page .why-card-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 8px;
  }
  .home-page .why-card-icon {
    width: 30px;
    height: 30px;
  }
  .home-page .why-card-icon svg {
    width: 14px;
    height: 14px;
  }
  .home-page .why-card h3 {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-align: center;
    min-width: 0;
    width: 100%;
  }
  .home-page .why-card p {
    font-size: 0.72rem;
    line-height: 1.45;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .home-page .why-grid {
    gap: 8px;
  }
  .home-page .why-card {
    padding: 10px 8px;
  }
  .home-page .why-bg .section-tag {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .home-page .why-bg h2.section-title {
    font-size: clamp(1rem, 4.8vw, 1.25rem);
  }
  .home-page .why-card-icon {
    width: 28px;
    height: 28px;
  }
  .home-page .why-card-icon svg {
    width: 13px;
    height: 13px;
  }
  .home-page .why-card h3 {
    font-size: 0.66rem;
  }
  .home-page .why-card p {
    font-size: 0.68rem;
  }
}

/* ── What Customers Say (Testimonials) ── */
.home-page .testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.home-page .testi-card {
  background: #fff;
  padding: 28px 28px 24px;
  border-radius: var(--radius-md);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-page .testi-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.home-page .testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.home-page .testi-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark);
  opacity: 0.88;
  font-style: italic;
  margin-bottom: 18px;
}

.home-page .testi-author {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.home-page .testi-loc {
  color: var(--dark);
  opacity: 0.6;
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ── Handpicked Favourites (crimson → navy gradient, match page-hero) ── */
.home-page .featured-strip {
  background: linear-gradient(135deg, var(--deep-crimson), var(--crimson) 45%, var(--navy));
  padding: clamp(24px, 4vw, 36px) clamp(24px, 4.5vw, 48px) clamp(14px, 2.5vw, 22px);
  text-align: center;
}

.home-page .featured-strip h2 {
  font-family: 'Cinzel', serif;
  /* Match .why-bg h2.section-title scale */
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.home-page .featured-strip h2 .featured-strip-handpicked {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: initial;
  color: var(--white);
  font-weight: 600;
}

.home-page .featured-strip h2 .featured-strip-fav {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: initial;
  /* Match .why-bg h2.section-title span */
  color: var(--gold-light);
  font-weight: 700;
}

.home-page .featured-strip p {
  /* Match .why-bg .section-sub */
  font-family: 'Lato', sans-serif;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.home-page .featured-strip a {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.home-page .featured-strip a:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.45);
}

/* ── Visit Us (theme colors) ── */
.visit-us {
  background: var(--cream);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 48px) clamp(24px, 4vw, 40px);
}

.visit-us-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.visit-us-tag {
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(135deg, var(--crimson) 0%, #a00d24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--crimson);
  margin-bottom: 8px;
  display: block;
}

.visit-us-tag::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  margin: 10px auto 0;
}

.visit-us-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--navy) 0%, var(--crimson) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.visit-us-intro {
  font-size: 0.98rem;
  color: #2d1810;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.visit-us-map-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(44, 24, 16, 0.12), 0 8px 24px rgba(44, 24, 16, 0.06);
  border: 1px solid rgba(44, 24, 16, 0.06);
}

.visit-us-map-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--crimson), var(--crimson) 20px, var(--gold) 20px, var(--gold) 40px, var(--navy) 40px, var(--navy) 60px);
  z-index: 2;
}

.visit-us-map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  vertical-align: middle;
}

.visit-us-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 320px;
  background: rgba(253, 246, 227, 0.98);
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.1);
  border: 1px solid rgba(44, 24, 16, 0.06);
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .visit-us-card {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

@supports not (backdrop-filter: blur(12px)) {
  .visit-us-card { background: rgba(253, 246, 227, 0.99); }
}

.visit-us-address {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #2d1810;
  line-height: 1.6;
  margin-bottom: 12px;
}

.visit-us-address strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--crimson), #a00d24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--crimson);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.visit-us-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease;
}

.visit-us-link:hover {
  color: var(--crimson);
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .home-hero {
    padding-top: clamp(40px, 5vw, 72px);
  }
  .visit-us-map { height: 340px; }
  .visit-us-card {
    position: static;
    max-width: none;
    margin: 0;
    border-radius: 0 0 16px 16px;
    padding: 16px 20px;
  }
}

/* ── Floating WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.whatsapp-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-float-text {
  display: none;
}

@media (max-width: 520px) {
  .whatsapp-float {
    padding: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
  .whatsapp-float-icon svg { width: 32px; height: 32px; }
}

/* Nepali border: theme (crimson, gold, navy) – same as Cart/Featured */
.home-page .nepali-border {
  background: repeating-linear-gradient(90deg,
    var(--crimson) 0px, var(--crimson) 20px,
    var(--gold) 20px, var(--gold) 24px,
    var(--navy) 24px, var(--navy) 44px,
    var(--gold) 44px, var(--gold) 48px
  );
}

/* Home nav: same colors as Shop – deep brown bar, tan/gold name, cream “Imports” */
.home-page nav {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.home-page .nav-logo { color: var(--gold); }
.home-page .nav-logo .nav-logo-shop { color: var(--crimson); }
.home-page .nav-logo > span:not(.nav-logo-shop) { color: var(--white); }
.home-page .nav-logo > span:not(.nav-logo-shop) span { color: var(--gold); }
.home-page .nav-links a { color: rgba(255, 255, 255, 0.85); }
.home-page .nav-links a:hover { color: var(--gold); }
.home-page .nav-cart {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
}
.home-page .nav-cart:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
}
.home-page .nav-cart .cart-count { background: var(--crimson); }
.home-page .hamburger span { background: var(--white); }
.home-page .marquee-strip {
  background: var(--navy);
  border-top: 2px solid rgba(212, 160, 23, 0.4);
  border-bottom: 2px solid rgba(212, 160, 23, 0.4);
}
.home-page .marquee-inner { color: var(--gold); }
.home-page .marquee-inner .dot { color: var(--crimson); }

/* Home footer: match Cart/Featured (dark bg, gold accents) */
.home-page footer {
  background: var(--dark);
}
.home-page .footer-brand .logo { color: var(--gold); }
.home-page .footer-col a:hover { color: var(--gold); }
.home-page .footer-bottom span { color: var(--gold); }

/* Animations */
@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: Artisan grid → 2 cols on tablet & mobile (2×2 for six items) */
@media (max-width: 900px) {
  .home-artisan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Tablet: keep Ethically Sourced | Handmade in Nepal | Delivered Worldwide in one horizontal row */
  .home-trust-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2.5vw, 24px);
    padding: 14px 18px;
  }
  .home-trust-item {
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.68rem, 1.5vw, 0.8rem);
  }
  .home-trust-icon {
    flex-shrink: 0;
    width: 32px;
    min-width: 32px;
    height: 32px;
  }
  .home-trust-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 600px) {
  /* Artisan Collection stays 2×2 on phones (see max-width 900px + tablet rules) */
  .home-artisan-grid .home-bento-cell {
    min-height: 200px;
  }
  .home-artisan-grid {
    gap: 12px;
  }
  /* Trust bar: one line on mobile – Ethically Sourced | Handmade in Nepal | Canadian Delivered */
  .home-trust-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 8px 12px;
    text-align: center;
  }
  .home-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.62rem;
    line-height: 1.2;
    min-height: auto;
    padding: 0;
    flex: 1;
    min-width: 0;
  }
  .home-trust-item span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .home-trust-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .home-trust-icon svg {
    width: 12px;
    height: 12px;
  }
}

/* Very small phones: keep one line, tighter so all three fit */
@media (max-width: 380px) {
  .home-trust-bar {
    padding: 8px 6px 10px;
    gap: 4px;
  }
  .home-trust-item {
    gap: 3px;
    font-size: 0.58rem;
  }
  .home-trust-icon {
    width: 22px;
    height: 22px;
  }
  .home-trust-icon svg {
    width: 11px;
    height: 11px;
  }
}

/* Responsive: Bento (if used elsewhere) → stacked on small screens; tablet keeps 2 cols */
@media (max-width: 900px) {
  .home-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
  }
  .home-bento-cell.span-4,
  .home-bento-cell.span-6,
  .home-bento-cell.span-8,
  .home-bento-cell.span-12 {
    grid-column: span 1;
  }
  .home-bento-cell.row-2 {
    grid-row: span 1;
  }
}

/* Tablet: override 900px so bento stays 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .home-bento-cell.span-4 { grid-column: span 1; }
  .home-bento-cell.span-6,
  .home-bento-cell.span-8,
  .home-bento-cell.span-12 { grid-column: span 2; }
}

@media (max-width: 600px) {
  .home-hero {
    min-height: 60vh;
  }
}
