/* A.M. JAIN BAZAR — Design System v4 — Responsive + Badge + Non-Food Nav */
:root {
  --saffron: #FF6B00;
  --marigold: #F7B731;
  --crimson: #C0392B;
  --purple: #7C3AED;
  --teal: #00838F;
  --rose: #FF4E8A;
  --cream: #FFF8E7;
  --deep-brown: #1A0A00;
  --wood: #8B5E3C;
  --gold: #F7B731;
  --white: #FFFFFF
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--deep-brown);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 107, 0, 0.08) 0%, transparent 70%), repeating-linear-gradient(45deg, rgba(255, 107, 0, 0.05) 0px, rgba(255, 107, 0, 0.05) 1px, transparent 1px, transparent 12px, rgba(247, 183, 49, 0.04) 12px, rgba(247, 183, 49, 0.04) 13px, transparent 13px, transparent 24px), conic-gradient(from 0deg, rgba(255, 107, 0, 0.03) 0deg, transparent 30deg, rgba(255, 107, 0, 0.03) 60deg, transparent 90deg) 0 0/120px 120px, var(--cream);
  pointer-events: none;
}

/* ─── BOKEH ─── */
.bokeh-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0);
}

.bokeh:nth-child(1) {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  top: 10%;
  left: 5%
}

.bokeh:nth-child(2) {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.07) 0%, transparent 70%);
  top: 40%;
  right: 8%
}

.bokeh:nth-child(3) {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 78, 138, 0.07) 0%, transparent 70%);
  bottom: 20%;
  left: 15%
}

.bokeh:nth-child(4) {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 131, 143, 0.06) 0%, transparent 70%);
  top: 60%;
  left: 50%
}

.bokeh:nth-child(5) {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(247, 183, 49, 0.07) 0%, transparent 70%);
  top: 5%;
  right: 25%
}

.bokeh:nth-child(6) {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
  bottom: 10%;
  right: 30%
}

.bokeh:nth-child(7) {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  top: 75%;
  left: 60%
}

/* ─── PETALS ─── */
.petal {
  position: fixed;
  font-size: 1rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25
}

.petal:nth-child(1) {
  top: 12%;
  left: 8%;
  animation: fp1 6s ease-in-out infinite alternate
}

.petal:nth-child(2) {
  top: 25%;
  right: 12%;
  animation: fp2 7s ease-in-out infinite alternate;
  animation-delay: 1s
}

.petal:nth-child(3) {
  top: 55%;
  left: 4%;
  animation: fp1 8s ease-in-out infinite alternate;
  animation-delay: 2s
}

.petal:nth-child(4) {
  top: 70%;
  right: 6%;
  animation: fp2 5s ease-in-out infinite alternate;
  animation-delay: .5s
}

.petal:nth-child(5) {
  top: 40%;
  left: 85%;
  animation: fp1 7s ease-in-out infinite alternate;
  animation-delay: 3s
}

.petal:nth-child(6) {
  top: 85%;
  left: 40%;
  animation: fp2 6s ease-in-out infinite alternate;
  animation-delay: 1.5s
}

.petal:nth-child(7) {
  top: 8%;
  right: 35%;
  animation: fp1 5.5s ease-in-out infinite alternate;
  animation-delay: 2.5s
}

.petal:nth-child(8) {
  top: 65%;
  left: 25%;
  animation: fp2 7.5s ease-in-out infinite alternate;
  animation-delay: .8s
}

@keyframes fp1 {
  0% {
    transform: translate(0, 0) rotate(0)
  }

  100% {
    transform: translate(15px, -20px) rotate(25deg)
  }
}

@keyframes fp2 {
  0% {
    transform: translate(0, 0) rotate(0)
  }

  100% {
    transform: translate(-12px, 18px) rotate(-20deg)
  }
}

/* ─── SCREENS ─── */
.screen {
  display: none;
  animation: fadeInUp .45s ease-out;
  position: relative;
  z-index: 1
}

.screen.active {
  display: block
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ═══ HEADER ═══ */
.site-header {
  background: linear-gradient(135deg, #4A0E8F 0%, #C0392B 35%, #FF6B00 65%, #F7B731 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  border-bottom: 3px solid var(--gold)
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 14px);
  pointer-events: none
}

.header-bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.header-bokeh span {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .3
}

.header-bokeh span:nth-child(1) {
  width: 18px;
  height: 18px;
  background: #F7B731;
  top: 20%;
  left: 5%
}

.header-bokeh span:nth-child(2) {
  width: 14px;
  height: 14px;
  background: #FF4E8A;
  top: 60%;
  left: 15%
}

.header-bokeh span:nth-child(3) {
  width: 20px;
  height: 20px;
  background: #00838F;
  top: 30%;
  left: 30%
}

.header-bokeh span:nth-child(4) {
  width: 16px;
  height: 16px;
  background: #7C3AED;
  top: 70%;
  left: 45%
}

.header-bokeh span:nth-child(5) {
  width: 18px;
  height: 18px;
  background: #F7B731;
  top: 25%;
  left: 60%
}

.header-bokeh span:nth-child(6) {
  width: 12px;
  height: 12px;
  background: #FF6B00;
  top: 65%;
  left: 72%
}

.header-bokeh span:nth-child(7) {
  width: 18px;
  height: 18px;
  background: #FF4E8A;
  top: 40%;
  left: 85%
}

.header-bokeh span:nth-child(8) {
  width: 14px;
  height: 14px;
  background: #00838F;
  top: 15%;
  left: 92%
}

.header-bokeh span:nth-child(9) {
  width: 16px;
  height: 16px;
  background: #F7B731;
  top: 55%;
  left: 8%
}

.header-bokeh span:nth-child(10) {
  width: 18px;
  height: 18px;
  background: #7C3AED;
  top: 80%;
  left: 55%
}

.header-bokeh span:nth-child(11) {
  width: 13px;
  height: 13px;
  background: #FF6B00;
  top: 10%;
  left: 40%
}

.header-bokeh span:nth-child(12) {
  width: 16px;
  height: 16px;
  background: #FF4E8A;
  top: 75%;
  left: 25%
}

.bunting {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  height: clamp(32px, 8vw, 52px);
  align-items: flex-start;
  position: relative;
  z-index: 1
}

.bunting-flag {
  width: 0;
  height: 0;
  border-left: clamp(8px, 2vw, 14px) solid transparent;
  border-right: clamp(8px, 2vw, 14px) solid transparent;
  border-top: clamp(14px, 3.5vw, 22px) solid var(--saffron);
  display: inline-block;
  flex-shrink: 0
}

.bunting-flag:nth-child(2n) {
  border-top-color: var(--marigold)
}

.bunting-flag:nth-child(3n) {
  border-top-color: var(--rose)
}

.bunting-flag:nth-child(4n) {
  border-top-color: var(--teal)
}

.bunting-flag:nth-child(5n) {
  border-top-color: var(--purple)
}

.bunting-flag:nth-child(7n) {
  border-top-color: var(--crimson)
}

.header-content {
  padding: clamp(8px, 2vw, 18px) clamp(10px, 3vw, 20px) clamp(4px, 1vw, 8px);
  position: relative;
  z-index: 1
}

.event-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.8rem, 8vw, 3.5rem);
  color: var(--cream);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4), 0 0 30px rgba(247, 183, 49, 0.3);
  margin-bottom: 2px;
  line-height: 1.2
}

.event-subtitle {
  font-family: 'Kalam', cursive;
  font-size: clamp(0.65rem, 2.5vw, 0.85rem);
  color: rgba(255, 248, 231, 0.85);
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.5vw, 3px)
}

.string-lights {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: center;
  gap: clamp(6px, 2vw, 16px);
  height: clamp(18px, 5vw, 28px);
  padding: clamp(2px, 0.5vw, 6px) 0;
  position: relative;
  z-index: 1;
  align-items: center
}

.bulb {
  width: clamp(6px, 1.8vw, 10px);
  height: clamp(6px, 1.8vw, 10px);
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 4px 1px rgba(247, 183, 49, 0.5);
  animation: bulbG 1.5s ease infinite alternate;
  flex-shrink: 0
}

.bulb:nth-child(2n) {
  background: var(--rose);
  box-shadow: 0 0 4px 1px rgba(255, 78, 138, 0.5);
  animation-delay: .3s
}

.bulb:nth-child(3n) {
  background: var(--teal);
  box-shadow: 0 0 4px 1px rgba(0, 131, 143, 0.5);
  animation-delay: .6s
}

.bulb:nth-child(4n) {
  background: var(--saffron);
  box-shadow: 0 0 4px 1px rgba(255, 107, 0, 0.5);
  animation-delay: .9s
}

@keyframes bulbG {
  from {
    filter: brightness(1)
  }

  to {
    filter: brightness(1.4)
  }
}

/* ─── LANTERNS ─── */
.lanterns {
  display: flex;
  justify-content: space-evenly;
  overflow: hidden;
  height: clamp(36px, 10vw, 56px);
  pointer-events: none;
  position: relative;
  z-index: 1;
  align-items: center;
  padding: 0 clamp(8px, 3vw, 20px)
}

.lantern {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  transform-origin: top center;
  animation: lSway 4s ease-in-out infinite;
  filter: drop-shadow(0 3px 8px rgba(255, 107, 0, 0.3));
  flex-shrink: 0
}

.lantern:nth-child(2) {
  animation-delay: .8s
}

.lantern:nth-child(3) {
  animation-delay: 1.6s
}

.lantern:nth-child(4) {
  animation-delay: 2.4s
}

.lantern:nth-child(5) {
  animation-delay: .4s
}

.lantern:nth-child(6) {
  animation-delay: 1.2s
}

@keyframes lSway {

  0%,
  100% {
    transform: rotate(-5deg)
  }

  50% {
    transform: rotate(5deg)
  }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(0.65rem, 2.5vw, 0.85rem);
  padding: clamp(8px, 2vw, 12px) clamp(10px, 3vw, 20px);
  background: rgba(26, 10, 0, 0.04);
  border-bottom: 1px solid rgba(139, 94, 60, 0.15);
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap
}

.breadcrumb a {
  color: var(--deep-brown);
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center
}

.breadcrumb a:hover {
  opacity: 1
}

.breadcrumb .sep {
  margin: 0 2px;
  opacity: .4
}

.breadcrumb .current {
  color: var(--saffron);
  font-weight: 700
}

/* ─── PAGE CONTENT ─── */
.page-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(10px, 3vw, 24px) clamp(24px, 6vw, 60px);
  position: relative;
  z-index: 1
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  text-align: center;
  margin-bottom: clamp(12px, 3vw, 24px);
  color: var(--deep-brown);
  position: relative;
  padding-bottom: clamp(8px, 2vw, 14px)
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--saffron);
  border-radius: 2px;
  margin: clamp(4px, 1vw, 8px) auto 0
}

/* ─── SEARCH ─── */
.search-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto clamp(16px, 4vw, 28px);
  position: relative;
  display: block
}

.search-input {
  width: 100%;
  padding: clamp(10px, 3vw, 14px) clamp(14px, 4vw, 20px) clamp(10px, 3vw, 14px) clamp(36px, 8vw, 44px);
  border: 2px solid rgba(139, 94, 60, 0.25);
  border-radius: 30px;
  background: var(--white);
  font-family: 'Baloo 2', cursive;
  font-size: clamp(0.85rem, 3vw, 1rem);
  color: var(--deep-brown);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 44px
}

.search-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08)
}

.search-icon {
  position: absolute;
  left: clamp(10px, 3vw, 16px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(14px, 3.5vw, 18px);
  opacity: .5
}

/* ─── FILTER PILLS (kept for potential use) ─── */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 2vw, 10px);
  justify-content: center;
  padding: 0 clamp(10px, 3vw, 16px) clamp(14px, 3.5vw, 28px)
}

.pill {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(0.65rem, 2.5vw, 0.85rem);
  font-weight: 600;
  padding: clamp(5px, 1.5vw, 8px) clamp(10px, 3vw, 16px);
  border-radius: 22px;
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--deep-brown);
  cursor: pointer;
  transition: all .25s ease;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap
}

.pill:hover {
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px)
}

.pill.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3)
}

/* ═══ CARD GRID ═══ */
.card-grid {
  display: grid;
  gap: clamp(10px, 2.5vw, 20px);
  padding: 0;
  width: 100%
}

.card-grid.hero-grid {
  grid-template-columns: 1fr;
  max-width: 300px;
  margin: 0 auto;
  gap: clamp(16px, 4vw, 32px)
}

.card-grid.category-grid {
  grid-template-columns: repeat(2, 1fr)
}

.card-grid.detail-grid {
  grid-template-columns: repeat(2, 1fr)
}

.empty-state {
  text-align: center;
  padding: clamp(30px, 8vw, 60px) 16px;
  opacity: .8;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(0.85rem, 3vw, 1.1rem);
  animation: fadeInUp .4s ease-out;
  grid-column: 1/-1
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  display: block;
  animation: bounce 2s ease infinite
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@media(min-width:481px) {
  .card-grid.hero-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    gap: clamp(16px, 3vw, 24px)
  }
}

@media(min-width:768px) {
  .card-grid.hero-grid {
    max-width: 800px;
    gap: 24px
  }

  .card-grid.category-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:1024px) {
  .card-grid.category-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* ═══ CART CARD ═══ */
.cart-card {
  width: 100%;
  cursor: pointer;
  position: relative;
  transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.13));
  overflow: visible
}

.cart-card:hover {
  transform: translateY(-8px) rotate(-1.2deg);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2))
}

.cart-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(1.2deg)
}

.cart-card:active {
  transform: scale(0.97) translateY(-2px);
  transition: transform .1s ease-in
}

/* Zone 0: Signboard */
.cart-signboard {
  background: linear-gradient(135deg, #1A0A00 0%, #2D1200 50%, #1A0A00 100%);
  border: 2px solid var(--gold);
  border-radius: clamp(6px, 1.5vw, 10px) clamp(6px, 1.5vw, 10px) 3px 3px;
  padding: clamp(4px, 1.5vw, 10px) clamp(6px, 2vw, 16px);
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0 -2px;
  box-shadow: 0 0 6px rgba(247, 183, 49, 0.35), inset 0 0 10px rgba(247, 183, 49, 0.08);
  min-height: clamp(32px, 8vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.sign-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(0.6rem, 2.5vw, 0.95rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(247, 183, 49, 0.5)
}

.sign-rivet {
  color: var(--gold);
  font-size: clamp(5px, 1.5vw, 8px);
  vertical-align: middle;
  margin: 0 clamp(2px, 0.8vw, 6px);
  opacity: .7
}

.sign-category {
  font-family: 'Kalam', cursive;
  font-size: clamp(0.5rem, 1.8vw, 0.7rem);
  color: rgba(255, 248, 231, 0.7);
  margin-top: 1px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cart-card:hover .cart-signboard {
  animation: shimmer .6s ease-in-out
}

.cart-card:hover .sign-name {
  text-shadow: 0 0 16px rgba(247, 183, 49, 0.9)
}

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

/* Zone 1: Awning */
.cart-awning {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18)
}

.cart-awning-stripes {
  height: clamp(16px, 5vw, 28px)
}

.cart-awning-scallop {
  height: clamp(8px, 2.5vw, 14px);
  overflow: hidden
}

.cart-awning-scallop svg {
  display: block;
  width: 100%;
  height: 100%
}

/* Zone 2: Fairy Lights */
.cart-fairy-lights {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: center;
  justify-content: space-evenly;
  padding: clamp(2px, 0.8vw, 5px) clamp(4px, 1.5vw, 10px);
  height: clamp(14px, 4vw, 22px)
}

.fairy-wire {
  flex: 1;
  height: 0;
  border-top: 1.5px dashed rgba(80, 40, 0, 0.2);
  min-width: 2px;
  max-width: clamp(4px, 1.5vw, 14px)
}

.fairy-bulb {
  width: clamp(6px, 1.8vw, 10px);
  height: clamp(6px, 1.8vw, 10px);
  border-radius: 50%;
  flex-shrink: 0;
  animation: fairyP 1.4s ease-in-out infinite alternate
}

.fairy-bulb:nth-child(10n+1) {
  background: radial-gradient(circle at 35% 35%, #fff 0%, #F7B731 40%, #c99200 100%);
  box-shadow: 0 0 4px 1px rgba(247, 183, 49, 0.4)
}

.fairy-bulb:nth-child(10n+3) {
  background: radial-gradient(circle at 35% 35%, #fff 0%, #FF4E8A 40%, #c0004e 100%);
  box-shadow: 0 0 4px 1px rgba(255, 78, 138, 0.4);
  animation-delay: .15s
}

.fairy-bulb:nth-child(10n+5) {
  background: radial-gradient(circle at 35% 35%, #fff 0%, #00838F 40%, #005a61 100%);
  box-shadow: 0 0 4px 1px rgba(0, 131, 143, 0.4);
  animation-delay: .3s
}

.fairy-bulb:nth-child(10n+7) {
  background: radial-gradient(circle at 35% 35%, #fff 0%, #FF6B00 40%, #c05000 100%);
  box-shadow: 0 0 4px 1px rgba(255, 107, 0, 0.4);
  animation-delay: .45s
}

.fairy-bulb:nth-child(10n+9) {
  background: radial-gradient(circle at 35% 35%, #fff 0%, #7C3AED 40%, #5520b0 100%);
  box-shadow: 0 0 4px 1px rgba(124, 58, 237, 0.4);
  animation-delay: .6s
}

@keyframes fairyP {
  from {
    transform: scale(1);
    filter: brightness(1)
  }

  to {
    transform: scale(1.12);
    filter: brightness(1.4)
  }
}

/* Zone 3: Cart Body */
.cart-body {
  background: linear-gradient(180deg, #FFFDF5 0%, #FFF8E7 60%, #FFF0D0 100%);
  padding: clamp(12px, 3.5vw, 20px) clamp(6px, 2vw, 14px) clamp(8px, 2.5vw, 14px);
  text-align: center;
  position: relative;
  border-left: clamp(2px, 0.6vw, 4px) solid var(--saffron);
  border-right: clamp(2px, 0.6vw, 4px) solid var(--saffron);
  min-height: clamp(90px, 25vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 3px 0 6px rgba(0, 0, 0, 0.04), inset -3px 0 6px rgba(0, 0, 0, 0.04);
  overflow: visible
}

.stall-icon-wrap {
  width: clamp(40px, 12vw, 64px);
  height: clamp(40px, 12vw, 64px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(2px, 1vw, 6px)
}

.stall-icon {
  font-size: clamp(1.8rem, 6vw, 3rem) !important;
  animation: iFloat 3s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12))
}

.stall-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(0.7rem, 2.8vw, 1rem);
  color: var(--deep-brown);
  margin-bottom: 2px;
  letter-spacing: .3px;
  line-height: 1.3
}

.stall-count {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(0.55rem, 2vw, 0.8rem);
  opacity: .6;
  margin-top: 1px
}

@keyframes iFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-5px)
  }
}

/* ══ STALL BADGE — PILL SHAPE ══ */
.stall-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  line-height: 1
}

/* Small (detail screens) */
.card-small .stall-badge {
  top: -14px;
  right: -8px;
  height: 28px;
  min-width: 52px;
  padding: 0 10px;
  font-size: clamp(0.75rem, 2.5vw, 0.8rem);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), 0 0 0 2px white
}

/* Medium (category screens) */
.card-medium .stall-badge {
  top: -16px;
  right: -10px;
  height: 32px;
  min-width: 60px;
  padding: 0 12px;
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), 0 0 0 2px white
}

/* Large (home hero) */
.card-large .stall-badge {
  top: -20px;
  right: -12px;
  height: 40px;
  min-width: 72px;
  padding: 0 14px;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  letter-spacing: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 0 3px white
}

.cart-card:hover .stall-badge {
  animation: badgePulse .4s ease
}

@keyframes badgePulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }

  100% {
    transform: scale(1)
  }
}

/* Tags */
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2px, 0.6vw, 4px);
  justify-content: center;
  margin-top: clamp(3px, 1vw, 6px)
}

.tag-pill {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: clamp(0.5rem, 1.8vw, 0.7rem);
  padding: clamp(1px, 0.3vw, 2px) clamp(4px, 1.2vw, 8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 0, 0.2);
  background: rgba(255, 107, 0, 0.06);
  color: var(--deep-brown);
  white-space: nowrap
}

/* Zone 4: Counter */
.cart-counter {
  height: clamp(10px, 3vw, 18px);
  background: repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(0, 0, 0, 0.05) 8px, rgba(0, 0, 0, 0.05) 9px), linear-gradient(180deg, #A0724A 0%, #8B5E3C 50%, #7A4F2E 100%);
  border-top: 1px solid rgba(255, 220, 150, 0.4);
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2)
}

/* Zone 5: Chassis */
.cart-chassis {
  height: clamp(12px, 3.5vw, 20px);
  border-radius: 0 0 3px 3px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 8px 8px
}

/* Zone 6: Wheels */
.cart-wheels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 clamp(4px, 1.5vw, 10px);
  position: relative;
  margin-top: calc(clamp(24px, 7vw, 52px) * -0.35);
  pointer-events: none;
  z-index: 2
}

.spoke-wheel {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
  transition: transform .6s ease-in-out
}

.spoke-wheel svg {
  width: clamp(24px, 7vw, 52px);
  height: clamp(24px, 7vw, 52px)
}

.cart-card:hover .spoke-wheel {
  animation: wSpin .6s ease-in-out
}

@keyframes wSpin {
  0% {
    transform: rotate(0)
  }

  50% {
    transform: rotate(20deg)
  }

  100% {
    transform: rotate(0)
  }
}

/* ─── Card Size Overrides ─── */
.card-large .cart-signboard {
  padding: clamp(6px, 2vw, 14px) clamp(10px, 3vw, 20px)
}

.card-large .sign-name {
  font-size: clamp(0.8rem, 3.5vw, 1.25rem)
}

.card-large .sign-category {
  font-size: clamp(0.55rem, 2vw, 0.75rem)
}

.card-large .cart-awning-stripes {
  height: clamp(20px, 6vw, 36px)
}

.card-large .cart-body {
  min-height: clamp(120px, 30vw, 180px);
  padding: clamp(14px, 4vw, 24px) clamp(10px, 3vw, 18px)
}

.card-large .stall-icon {
  font-size: clamp(2.2rem, 7vw, 3.5rem) !important
}

.card-large .stall-icon-wrap {
  width: clamp(52px, 14vw, 80px);
  height: clamp(52px, 14vw, 80px)
}

.card-large .stall-name {
  font-size: clamp(0.9rem, 3.5vw, 1.3rem)
}

.card-large .stall-count {
  font-size: clamp(0.65rem, 2.5vw, 0.95rem)
}

.card-large .cart-chassis {
  height: clamp(14px, 4vw, 24px)
}

.card-large .cart-counter {
  height: clamp(12px, 3.5vw, 20px)
}

.card-small .sign-name {
  font-size: clamp(0.55rem, 2.2vw, 0.85rem)
}

.card-small .sign-category {
  font-size: clamp(0.45rem, 1.5vw, 0.6rem)
}

.card-small .cart-body {
  min-height: clamp(70px, 20vw, 110px);
  padding: clamp(8px, 2.5vw, 14px) clamp(4px, 1.5vw, 8px)
}

.card-small .stall-icon {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem) !important
}

.card-small .stall-icon-wrap {
  width: clamp(32px, 9vw, 48px);
  height: clamp(32px, 9vw, 48px)
}

.card-small .cart-chassis {
  height: clamp(10px, 3vw, 16px)
}

.card-small .cart-counter {
  height: clamp(8px, 2.5vw, 14px)
}

/* ─── RANGOLI CORNERS ─── */
.rangoli-corner {
  position: absolute;
  width: clamp(32px, 8vw, 48px);
  height: clamp(32px, 8vw, 48px);
  opacity: .2;
  pointer-events: none;
  z-index: 0
}

.rangoli-corner::before,
.rangoli-corner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid
}

.rangoli-corner::before {
  width: 100%;
  height: 100%;
  border-color: var(--saffron)
}

.rangoli-corner::after {
  width: 66%;
  height: 66%;
  top: 17%;
  left: 17%;
  border-color: var(--rose)
}

.rangoli-corner .inner {
  position: absolute;
  width: 33%;
  height: 33%;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  top: 33%;
  left: 33%
}

.rangoli-tl {
  top: 4px;
  left: 4px
}

.rangoli-tr {
  top: 4px;
  right: 4px
}

.rangoli-bl {
  bottom: 4px;
  left: 4px
}

.rangoli-br {
  bottom: 4px;
  right: 4px
}

/* ─── FOOTER ─── */
.site-footer {
  text-align: center;
  padding: clamp(20px, 5vw, 32px) clamp(10px, 3vw, 16px) clamp(16px, 4vw, 24px);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1A0A00, #2D1200);
  border-top: 3px solid var(--gold);
  color: var(--gold)
}

.footer-dots {
  display: flex;
  justify-content: center;
  gap: clamp(4px, 1.5vw, 8px);
  margin-bottom: clamp(6px, 2vw, 12px)
}

.footer-dots span {
  width: clamp(4px, 1.2vw, 6px);
  height: clamp(4px, 1.2vw, 6px);
  border-radius: 50%
}

.footer-dots span:nth-child(1) {
  background: var(--saffron)
}

.footer-dots span:nth-child(2) {
  background: var(--rose)
}

.footer-dots span:nth-child(3) {
  background: var(--teal)
}

.footer-dots span:nth-child(4) {
  background: var(--purple)
}

.footer-dots span:nth-child(5) {
  background: var(--marigold)
}

.footer-dots span:nth-child(6) {
  background: var(--saffron)
}

.footer-dots span:nth-child(7) {
  background: var(--rose)
}

.footer-title {
  font-family: 'Kalam', cursive;
  font-size: clamp(0.8rem, 3vw, 1rem);
  color: var(--gold);
  margin-bottom: 2px
}

.footer-sub {
  font-family: 'Kalam', cursive;
  font-size: clamp(0.6rem, 2.2vw, 0.75rem);
  color: rgba(255, 248, 231, 0.5)
}

/* ═══ RESPONSIVE LAYOUT FIXES ═══ */

/* 1. Prevent horizontal scroll caused by badge / wheel overflow */
.screen {
  overflow-x: clip
}

.page-content {
  overflow-x: clip
}

/* 2. Ensure cart cards respect grid-cell boundaries */
.cart-card {
  max-width: 100%;
  min-width: 0
}

/* 3. Signboard & cart-body overflow guard */
.cart-signboard {
  overflow: hidden
}

.cart-body {
  overflow: visible
}

/* 4. Tag pills never push wider than card */
.tag-pills {
  max-width: 100%
}

/* 5. Footer overflow guard */
.site-footer {
  overflow: hidden
}

/* ── Very narrow phones (≤ 400 px) — single-column detail grid ── */
@media(max-width:400px) {
  .card-grid.detail-grid {
    grid-template-columns: 1fr;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto
  }

  .card-grid.hero-grid {
    max-width: 240px
  }

  .page-content {
    padding-left: 6px;
    padding-right: 6px
  }

  .breadcrumb {
    padding-left: 8px;
    padding-right: 8px
  }

  .header-content {
    padding-left: 8px;
    padding-right: 8px
  }

  .card-small .stall-badge,
  .card-medium .stall-badge {
    right: 0;
    top: -10px
  }

  .card-large .stall-badge {
    right: -4px;
    top: -14px
  }

  .spoke-wheel svg {
    width: clamp(20px, 6vw, 36px);
    height: clamp(20px, 6vw, 36px)
  }

  .cart-wheels {
    margin-top: calc(clamp(20px, 6vw, 36px) * -0.35)
  }
}

/* ── Small phones (≤ 480 px) — tighten badge position ── */
@media(max-width:480px) {
  .card-small .stall-badge {
    right: 0;
    top: -10px
  }

  .card-medium .stall-badge {
    right: 0;
    top: -12px
  }

  .card-large .stall-badge {
    right: -4px;
    top: -16px
  }

  .search-wrap {
    max-width: 100%
  }

  .section-title {
    word-break: break-word;
    overflow-wrap: break-word
  }
}

/* ── Phablets / small tablets (≥ 600 px) — 3-column detail grid ── */
@media(min-width:600px) {
  .card-grid.detail-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* ── Tablets (≥ 768 px) — already has hero-grid & 3-col rules ── */

/* ── Small desktops (≥ 900 px) — 4-column detail grid ── */
@media(min-width:900px) {
  .card-grid.detail-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* ── Desktops (≥ 1100 px) — 5-column detail grid ── */
@media(min-width:1100px) {
  .card-grid.detail-grid {
    grid-template-columns: repeat(5, 1fr)
  }
}

/* ── Wide hero grid fix (481–767 px) ── */
@media(min-width:481px) and (max-width:767px) {
  .card-grid.hero-grid {
    max-width: 560px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }
}

/* =========================================
   NEW SECTIONS & FONTS - AMJCIAN BAZAAR 2K26
   ========================================= */

/* New Global Typography Overrides */
.section-heading,
.main-title,
.achievement-title,
.about-subtitle,
.contact-title,
.stall-name,
.sign-name,
.hero-card-title,
h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
}

.section-subtitle,
.achievement-text,
.about-text,
.contact-text,
.stall-items,
.tag-pill,
.search-input,
.event-subtitle,
.sign-category,
.footer-title,
.footer-sub,
p,
span {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
}

body {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
}

/* Header Logo */
.header-logo-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1.5rem !important;
  padding: 1.5rem 1rem 1rem !important;
  width: 100% !important;
}

.header-logo {
  max-width: clamp(250px, 70vw, 550px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) !important;
  animation: float 4s ease-in-out infinite !important;
}

@media (max-width: 480px) {
  .header-logo-container {
    gap: 1.2rem !important;
  }

  .header-logo {
    max-width: clamp(200px, 85vw, 320px) !important;
  }
}

/* Main Heading Section */
.main-heading-section {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 107, 0, 0.08) 0%, transparent 100%);
}

.main-title {
  color: #FF6B00;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  letter-spacing: 2px;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.main-subtitle {
  color: #7C3AED;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
}

/* Achievement Section */
.achievement-section {
  max-width: 900px;
  margin: 2rem 1rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(255, 107, 0, 0.06) 100%);
  border-radius: 16px;
  border: 2px solid rgba(255, 107, 0, 0.2);
}

@media (min-width: 940px) {
  .achievement-section {
    margin: 2rem auto;
  }
}

.achievement-title {
  color: #1A0A00;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

.achievement-text {
  color: #4A4A4A;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.7;
  margin: 0;
}

.achievement-text strong {
  color: #FF6B00;
  font-weight: 800 !important;
}

/* About Section */
.about-section {
  background: linear-gradient(180deg, #FFF8E7 0%, #FFFDF5 100%);
  padding: 4rem 1rem;
  margin-top: 3rem;
  border-top: 3px solid #FF6B00;
  border-bottom: 3px solid #FF6B00;
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-heading {
  color: #FF6B00;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  margin: 0 0 2rem 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-subtitle {
  color: #7C3AED;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.about-text {
  color: #2A2A2A;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  margin: 0 0 1.2rem 0;
  text-align: justify;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  background: #FFFFFF;
  padding: 4rem 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-button-container {
  text-align: center;
}

.view-more-button {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem;
  color: white;
  background: linear-gradient(135deg, #FF6B00 0%, #F7B731 100%);
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-more-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.view-more-button:active {
  transform: translateY(-1px);
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #7C3AED 0%, #FF6B00 100%);
  padding: 4rem 1rem;
  color: white;
}

.contact-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-title {
  color: #FF6B00;
  font-size: clamp(1.4rem, 4vw, 2rem);
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.contact-text {
  color: #2A2A2A;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  text-align: center;
  margin: 0 0 1rem 0;
}

.contact-text strong {
  color: #FF6B00;
  font-weight: 800 !important;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 107, 0, 0.05);
  border-radius: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-label {
  color: #7C3AED;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.3rem 0;
}

.contact-link {
  color: #FF6B00;
  font-size: clamp(0.9rem, 4vw, 1.05rem);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
  word-wrap: break-word;
  word-break: break-all;
}

.contact-link:hover {
  border-bottom-color: #FF6B00;
}

.contact-value {
  color: #2A2A2A;
  font-size: 0.95rem;
  margin: 0;
}

.contact-cta {
  color: #7C3AED;
  font-size: clamp(1rem, 3vw, 1.2rem);
  text-align: center;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 8px;
  border-left: 4px solid #7C3AED;
  padding: 1rem;
  margin: 1.5rem 0 0 0;
}

/* Badge specific overrides from PRD */
.stall-badge {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem) !important;
  letter-spacing: 2px !important;
}

/* Card Name and Item Tag explicit overrides */
.sign-name {
  font-size: clamp(0.8rem, 3vw, 1.1rem) !important;
  letter-spacing: 0.5px !important;
  line-height: 1.3 !important;
}

.tag-pill {
  font-size: clamp(0.65rem, 2vw, 0.8rem) !important;
}