/* =============================================================================
   IFW (India for World) — Master Stylesheet
   Mobile-First, Accessible, Premium Marketplace Design
   ============================================================================= */

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

:root {
  --color-charcoal: #1A1D24;
  --color-white: #FFFFFF;
  --color-canvas: #FAF7F2;
  --color-saffron: #FF9933;
  --color-saffron-hover: #E68524;
  --color-green: #138808;
  --color-green-soft: #E8F5E9;
  --color-text-body: #2B2F38;
  --color-text-muted: #5A6070;
  --color-border: #E5E0D8;
  --color-card-bg: #FFFFFF;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(26, 29, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 29, 36, 0.08);
  --shadow-lg: 0 16px 36px rgba(26, 29, 36, 0.12);

  --container-max: 1240px;
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--color-text-body);
  font-size: 1rem;
}

.text-muted {
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-saffron);
  margin-bottom: 0.6rem;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Navigation */
.site-header {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.25rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Header Search */
.header-search-wrap {
  flex: 1;
  max-width: 440px;
  display: none;
}

.header-search-form {
  position: relative;
  width: 100%;
}

.header-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 0.6rem 2.5rem 0.6rem 1.1rem;
  font-size: 0.85rem;
  color: var(--color-white);
  transition: all 0.2s ease;
}

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

.header-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-saffron);
}

.header-search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav Links */
.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 0;
}

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

.nav-cta {
  background: var(--color-saffron);
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-saffron-hover);
  color: var(--color-charcoal);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  color: var(--color-white);
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.25s ease;
}

/* Mobile Dropdown Menu */
.mobile-nav-drawer {
  display: none;
  background-color: var(--color-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-search {
  margin-bottom: 1.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mobile-nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--color-saffron);
  color: var(--color-charcoal);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-saffron);
  color: var(--color-charcoal);
}

.btn-primary:hover {
  background-color: var(--color-saffron-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

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

.btn-whatsapp {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: #0f6f06;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(19, 136, 8, 0.25);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-verified {
  background-color: var(--color-green-soft);
  color: var(--color-green);
  border: 1px solid rgba(19, 136, 8, 0.2);
}

.badge-sample {
  background-color: #FFF3E0;
  color: #B76E00;
  border: 1px solid rgba(183, 110, 0, 0.25);
  font-size: 0.68rem;
}

.badge-category {
  background-color: #EDE8E1;
  color: var(--color-charcoal);
  font-size: 0.7rem;
}

.badge-stock {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-green);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 4rem;
  background-color: var(--color-canvas);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  font-size: 2.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-body);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #EDE8E1;
  position: relative;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(26, 29, 36, 0.85) 0%, transparent 100%);
  color: var(--color-white);
  font-size: 0.8rem;
}

/* Shipping Notice Strip */
.shipping-strip {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shipping-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.85rem;
  text-align: center;
}

.shipping-flags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
}

.flag-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Featured Maker Spotlight */
.maker-spotlight-section {
  padding: 4.5rem 0;
  background-color: var(--color-white);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  align-items: center;
}

.spotlight-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background: #1A1D24;
}

.spotlight-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.spotlight-content h3 {
  font-size: 1.7rem;
  margin: 0.4rem 0 0.8rem;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.spotlight-story {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Product Cards & Grid */
.products-section {
  padding: 4.5rem 0;
}

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

.product-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D3CCC0;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #EDE8E1;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-maker-info {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  color: var(--color-charcoal);
}

.product-card-title a:hover {
  color: var(--color-saffron);
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-card-pricing {
  display: flex;
  flex-direction: column;
}

.price-usd {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1;
}

.price-inr {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Category Tiles */
.categories-section {
  padding: 4.5rem 0;
  background-color: var(--color-white);
}

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

.category-tile {
  background: var(--color-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.category-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-saffron);
  box-shadow: var(--shadow-sm);
}

.category-tile.is-coming-soon {
  opacity: 0.85;
  cursor: default;
}

.category-tile-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.category-tile-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* 5 Steps: How IFW Works */
.steps-section {
  padding: 5rem 0;
  background-color: var(--color-canvas);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-saffron);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Why IFW Pillars */
.pillars-section {
  padding: 4.5rem 0;
  background-color: var(--color-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-card {
  padding: 1.75rem;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-saffron);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA Band */
.cta-band {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
}

/* Filter Bar (Shop Page) */
.shop-filter-bar {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}

.filter-pill {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-canvas);
  color: var(--color-text-body);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.filter-select {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-canvas);
  color: var(--color-text-body);
}

.filter-search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-canvas);
}

/* Product Detail Page (product.html) */
.product-detail-section {
  padding: 3rem 0 4.5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main-view {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #EDE8E1;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

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

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  width: 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  background-color: #EDE8E1;
}

.gallery-thumb.is-active {
  border-color: var(--color-saffron);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel h1 {
  font-size: 1.85rem;
  margin-bottom: 0.8rem;
}

.product-pricing-box {
  padding: 1.25rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.product-pricing-box .price-usd {
  font-size: 1.8rem;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.spec-item {
  display: flex;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-border);
}

.spec-label {
  width: 120px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.spec-val {
  color: var(--color-text-body);
}

.product-order-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.75rem 0;
}

.product-story-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
}

.product-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Maker Profile Page (maker.html & makers.html) */
.makers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.maker-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.25s ease;
}

.maker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.maker-card-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.maker-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background-color: var(--color-charcoal);
  flex-shrink: 0;
}

.maker-header-meta h3 {
  font-size: 1.15rem;
}

.maker-town {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.maker-bio-snippet {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* Accordion Component (FAQ) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-charcoal);
  background: none;
  cursor: pointer;
}

.accordion-header:hover {
  color: var(--color-saffron);
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.accordion-item.is-open .accordion-body {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* Forms (Sell, Business, Contact) */
.form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}

.form-label-required::after {
  content: " *";
  color: #D32F2F;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-text-body);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-saffron);
}

.form-help {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.form-checkbox-label {
  display: flex;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-text-body);
  align-items: flex-start;
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 0.25rem;
}

/* Legal Pages & Draft Banner */
.legal-draft-banner {
  background-color: #FFF3E0;
  border: 1px solid #FFE0B2;
  color: #B76E00;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-content {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-body);
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  max-width: 360px;
}

.footer-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-white);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer-subline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: var(--color-saffron);
  color: var(--color-charcoal);
  transform: translateY(-2px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

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

.footer-links-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

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

/* Responsive Media Queries (Tablet & Desktop) */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
  }

  .spotlight-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 2.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid .step-card:nth-child(4),
  .steps-grid .step-card:nth-child(5) {
    grid-column: span 1;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .product-story-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .makers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.2fr 2fr;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .header-search-wrap {
    display: block;
  }
  .nav-menu {
    display: flex;
  }
  .mobile-nav-toggle {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================================================
   Artisans & Jigsaw Map Styles (artisans.html & state.html)
   ============================================================================= */

/* Page Header & Region Filters */
.artisans-hero {
  background: linear-gradient(180deg, var(--color-charcoal) 0%, #232832 100%);
  color: var(--color-white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.artisans-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.artisans-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.region-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.region-btn:hover,
.region-btn.is-active {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: var(--color-charcoal);
  font-weight: 600;
}

/* Jigsaw Map Main Interactive Layout */
.jigsaw-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .jigsaw-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* SVG Map Canvas & Container */
.map-stage-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.map-tip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 153, 51, 0.12);
  color: #c76f0c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.india-svg-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  background: radial-gradient(circle at center, #FAF7F2 0%, #F0EAE1 100%);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px dashed rgba(26, 29, 36, 0.15);
}

.india-svg-map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

/* SVG Jigsaw Piece Elements */
.svg-state-piece {
  cursor: pointer;
  fill: #EAE3D9;
  stroke: #1A1D24;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.svg-state-piece:hover {
  fill: #FFE0B2;
  stroke: var(--color-saffron);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(255, 153, 51, 0.5));
}

.svg-state-piece.is-selected {
  fill: var(--color-saffron);
  stroke: var(--color-charcoal);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(255, 153, 51, 0.75));
}

.svg-state-label { display: none !important; }

/* Video Stage Card */
.video-stage-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 90px;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-charcoal);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.video-frame-wrap iframe,
.video-frame-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #000;
}

.video-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(19, 136, 8, 0.1);
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-charcoal);
}

.video-craft-headline {
  font-size: 1rem;
  font-weight: 600;
  color: #C26300;
  margin-bottom: 0.75rem;
}

.video-state-bio {
  font-size: 0.925rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.video-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 28-State Jigsaw Grid */
.jigsaw-grid-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.jigsaw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Jigsaw Piece Card with interlocking puzzle visual */
.jigsaw-card {
  position: relative;
  background: var(--color-white);
  border: 1.5px solid #E2D9CD;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Puzzle Knob Notch Visuals */
.jigsaw-card::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--color-canvas);
  border: 1.5px solid #E2D9CD;
  border-radius: 50%;
  border-top-color: transparent;
  z-index: 2;
  transition: all 0.25s ease;
}

.jigsaw-card::after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 25%;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border: 1.5px solid #E2D9CD;
  border-radius: 50%;
  border-bottom-color: transparent;
  z-index: 2;
  transition: all 0.25s ease;
}

.jigsaw-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-saffron);
  box-shadow: 0 10px 24px rgba(255, 153, 51, 0.18);
}

.jigsaw-card.is-active {
  border-color: var(--color-saffron);
  background: #FFFDF9;
  box-shadow: 0 0 0 2px var(--color-saffron), 0 8px 20px rgba(255, 153, 51, 0.15);
}

.jigsaw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.jigsaw-piece-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #F4EFEB;
  color: var(--color-charcoal);
}

.jigsaw-state-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-charcoal);
}

.jigsaw-craft-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #C26300;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.jigsaw-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--color-muted);
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

.jigsaw-open-link {
  color: var(--color-saffron);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* =============================================================================
   State-Specific District Jigsaw Page (state.html)
   ============================================================================= */

.state-header-banner {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 3rem 0 2.5rem;
}

.state-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.state-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.state-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .state-banner-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.state-title-large {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.state-craft-lead {
  font-size: 1.15rem;
  color: var(--color-saffron);
  font-weight: 500;
  max-width: 650px;
}

/* District Jigsaw Board Layout */
.district-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .district-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* District Jigsaw Pieces List / Grid */
.district-jigsaw-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .district-jigsaw-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

.district-piece-card {
  position: relative;
  background: var(--color-white);
  border: 2px solid #E6DED4;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

/* Puzzle piece tab on district cards */
.district-piece-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 30px;
  width: 20px;
  height: 20px;
  background: var(--color-canvas);
  border: 2px solid #E6DED4;
  border-radius: 50%;
  border-top-color: transparent;
  transition: all 0.2s ease;
}

.district-piece-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-saffron);
  box-shadow: 0 8px 24px rgba(255, 153, 51, 0.18);
}

.district-piece-card.is-active {
  border-color: var(--color-saffron);
  background: #FFFDF8;
  box-shadow: 0 0 0 2px var(--color-saffron), 0 8px 24px rgba(255, 153, 51, 0.2);
}

.district-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-saffron);
  background: rgba(255, 153, 51, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.district-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.district-craft {
  font-size: 0.9rem;
  font-weight: 600;
  color: #B55B00;
  margin-bottom: 0.5rem;
}

.district-artisan-name {
  font-size: 0.8rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* District Video Cinema Stage */
.district-cinema-stage {
  position: sticky;
  top: 90px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cinema-title-row {
  margin-top: 1rem;
}

.cinema-district-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.cinema-craft-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-saffron);
  margin-bottom: 0.75rem;
}

.cinema-story-text {
  font-size: 0.92rem;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  background: var(--color-canvas);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-saffron);
}

.cinema-cta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* =============================================================================
   Vibrant Colorful Jigsaw Map Styles (Landing Page & Artisans)
   ============================================================================= */

.landing-map-hero {
  background: linear-gradient(180deg, #1A1D24 0%, #222730 60%, #FAF7F2 100%);
  padding: 3.5rem 0 3rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.landing-map-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.landing-map-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.landing-map-header .highlight-text {
  color: var(--color-saffron);
}

.landing-map-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Jigsaw Canvas Card on Landing Page */
.landing-jigsaw-stage {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .landing-jigsaw-stage {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 2.5rem;
  }
}

/* Colorful Jigsaw States */
.svg-state-piece path {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  stroke: rgba(26, 29, 36, 0.85);
  stroke-width: 1.8;
  stroke-linejoin: round;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* =============================================================================
   Mixed Indian Flag Tricolor Mosaic (12 Saffron, 12 White, 12 Green)
   Saffron: #FF9933 | White: #FFFFFF | Green: #138808
   ============================================================================= */

/* Base State Piece Styling */
.svg-state-piece path {
  stroke: #1E293B !important;
  stroke-width: 1.4px !important;
  stroke-linejoin: round !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Mixed Tricolor Fills */
.svg-state-piece[data-state="andaman-nicobar"] path { fill: #138808 !important; }
.svg-state-piece[data-state="andhra-pradesh"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="arunachal-pradesh"] path { fill: #138808 !important; }
.svg-state-piece[data-state="assam"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="bihar"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="chandigarh"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="chhattisgarh"] path { fill: #138808 !important; }
.svg-state-piece[data-state="dadra-nagar-haveli-daman-diu"] path { fill: #138808 !important; }
.svg-state-piece[data-state="delhi"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="goa"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="gujarat"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="haryana"] path { fill: #138808 !important; }
.svg-state-piece[data-state="himachal-pradesh"] path { fill: #138808 !important; }
.svg-state-piece[data-state="jharkhand"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="karnataka"] path { fill: #138808 !important; }
.svg-state-piece[data-state="kashmir"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="kerala"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="ladakh"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="lakshadweep"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="madhya-pradesh"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="maharashtra"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="manipur"] path { fill: #138808 !important; }
.svg-state-piece[data-state="meghalaya"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="mizoram"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="nagaland"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="odisha"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="puducherry"] path { fill: #138808 !important; }
.svg-state-piece[data-state="punjab"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="rajasthan"] path { fill: #FFFFFF !important; }
.svg-state-piece[data-state="sikkim"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="tamil-nadu"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="telangana"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="tripura"] path { fill: #138808 !important; }
.svg-state-piece[data-state="uttar-pradesh"] path { fill: #138808 !important; }
.svg-state-piece[data-state="uttarakhand"] path { fill: #FF9933 !important; }
.svg-state-piece[data-state="west-bengal"] path { fill: #138808 !important; }

/* Interactive Hover States */
.svg-state-piece:hover path {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4)) brightness(1.18) !important;
  stroke: #000080 !important; /* Ashoka Chakra Navy outline */
  stroke-width: 2.8px !important;
  transform: scale(1.015) !important;
  transform-origin: center !important;
}

.svg-state-piece.is-selected path {
  stroke: #000080 !important;
  stroke-width: 3.5px !important;
  filter: drop-shadow(0 0 16px rgba(0, 0, 128, 0.5)) !important;
}

/* State Labels with High Contrast Halos */
.svg-state-label { display: none !important; }


/* Small UT & Island Hit Areas and Illuminated Markers */
.svg-hit-area {
  pointer-events: all;
  cursor: pointer;
}

.svg-marker-dot {
  fill: #FFFFFF;
  stroke: #14171E;
  stroke-width: 1.5px;
  transition: all 0.25s ease;
  pointer-events: none;
}

.svg-state-piece:hover .svg-marker-dot,
.svg-state-piece.is-selected .svg-marker-dot,
.svg-state-piece.is-enlarged .svg-marker-dot {
  fill: var(--color-saffron);
  stroke: #FFFFFF;
  r: 6.5px;
  filter: drop-shadow(0 0 8px rgba(255, 153, 51, 0.95));
}

/* Readable Typography Labels */
.svg-state-label { display: none !important; }

@media (max-width: 768px) {
  .svg-state-label { display: none !important; }
}


/* =============================================================================
   HEADER SEARCH LIVE DROPDOWN (Products & 753 GI Registry Entries)
   ============================================================================= */
.header-search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 0.4rem;
}

.search-drop-section-title {
  padding: 0.5rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #FAF7F2;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

.search-drop-section-title:first-child {
  border-top: 0;
}

.search-drop-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease;
}

.search-drop-item:last-child {
  border-bottom: 0;
}

.search-drop-item:hover {
  background: rgba(255, 153, 51, 0.08);
}

.search-drop-gi .search-gi-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(183, 21, 64, 0.1);
  color: #B71540;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* State page: GI list shown first; tighter sizing on phones */
@media (max-width: 640px) {
  #gi-section-heading { font-size: 1.4rem !important; line-height: 1.3; }
  .gi-top-section { padding: 1.25rem 0 1.75rem !important; }
  .gi-card { padding: 1.1rem; }
  .gi-filter-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; }
  .gi-filter-btn { flex: 0 0 auto; }
  .state-title-large { font-size: 1.7rem; }
}


/* =============================================================================
   Landing Page Two-Column Layout (Desktop & Mobile Stack)
   ============================================================================= */
.landing-two-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  margin: auto;
  gap: 2.5rem;
  padding: 1rem 0;
  flex: 1;
}

.landing-col-left {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.landing-hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-charcoal);
  margin-bottom: 0.6rem;
}

.landing-hero-subline {
  font-size: 1rem;
  font-weight: 600;
  color: #FF9933;
  margin-bottom: 1.25rem;
}

.landing-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.landing-col-right {
  flex: 0 0 60%;
  max-width: 60%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.landing-col-right .map-center-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.landing-col-right .full-india-svg {
  width: 100%;
  height: auto;
  max-height: 75vh;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.06));
}

@media (max-width: 767px) {
  .landing-two-col {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem 0;
  }
  .landing-col-left {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
  }
  .landing-col-right {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
  }
  .landing-col-right .map-center-wrapper {
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
  }
  .landing-col-right .full-india-svg {
    max-height: 60vh;
  }
}

/* =============================================================================
   State Page (state.html) — Mobile Optimizations (max-width: 640px)
   ============================================================================= */
@media (max-width: 640px) {
  #gi-section-heading {
    font-size: 1.4rem !important;
  }

  .state-title-large {
    font-size: 1.7rem !important;
  }

  .gi-card {
    padding: 1.1rem !important;
  }

  .gi-filter-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }

  .gi-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  body, html, #main-content, #state-district-container {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
}

/* =============================================================================
   Enlarged Map & Floating State Pop-out Card Styles
   ============================================================================= */
.landing-two-col {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1560px !important;
  margin: auto !important;
  gap: 2rem !important;
  padding: 0.5rem 0 !important;
}

.landing-col-left {
  flex: 0 0 30% !important;
  max-width: 30% !important;
}

.landing-col-right {
  flex: 0 0 70% !important;
  max-width: 70% !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.map-center-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.full-india-svg {
  width: 100% !important;
  max-width: 980px !important;
  max-height: 85vh !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.08)) !important;
}

.svg-state-piece:hover .svg-state-label { display: none !important; }

/* Floating State Pop-out Card */
.map-state-popout {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 9999 !important;
  background: rgba(15, 23, 42, 0.95) !important;
  color: #FFFFFF !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.4), 0 0 0 1.5px rgba(255, 153, 51, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transform: translate(-50%, -115%) !important;
  transition: opacity 0.12s ease, transform 0.12s ease !important;
  min-width: 200px !important;
  max-width: 290px !important;
  text-align: left !important;
}

.map-state-popout .popout-state-name {
  font-family: var(--font-heading), 'Poppins', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #FF9933 !important; /* Saffron highlight */
  display: block !important;
  line-height: 1.2 !important;
  margin-bottom: 0.3rem !important;
  letter-spacing: -0.01em !important;
}

.map-state-popout .popout-craft {
  font-size: 0.88rem !important;
  color: #E2E8F0 !important;
  font-weight: 500 !important;
  margin-bottom: 0.35rem !important;
  line-height: 1.35 !important;
}

.map-state-popout .popout-gi-count {
  font-size: 0.82rem !important;
  color: #4ADE80 !important; /* Light green */
  font-weight: 700 !important;
  display: inline-block !important;
  margin-bottom: 0.4rem !important;
}

.map-state-popout .popout-hint {
  font-size: 0.74rem !important;
  color: #94A3B8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding-top: 0.4rem !important;
  font-weight: 500 !important;
}
