/* =========================================
   MEESHO CLONE — DESIGN SYSTEM
   Vanilla CSS — Mobile-First Responsive
   ========================================= */

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

/* ── Design Tokens ── */
:root {
  --radius: 0.625rem;
  --background: #ffffff;
  --foreground: oklch(0.2 0.02 280);
  --card: #ffffff;
  --card-foreground: oklch(0.2 0.02 280);
  --primary: #9f2089;
  --primary-foreground: #ffffff;
  --secondary: #fdf2f9;
  --secondary-foreground: #9f2089;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --accent: #fdf2f9;
  --accent-foreground: #9f2089;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #cbd5e1;
  --ring: #9f2089;
  --success: oklch(0.6 0.16 150);
  --offer-gold: #e7b74d;
  --offer-card-bg: #fff5f7;
  --offer-card-border: #ffb347;
  --offer-label: #8b1454;
  --green: oklch(0.5 0.14 150);
  --price-color: oklch(0.45 0.02 280);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

.app-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: #ffffff;
  min-height: 100dvh;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  border: none;
  outline: none;
}

#search-input:focus,
#search-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

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

ul,
ol {
  list-style: none;
}

/* ── Typography ── */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-through {
  text-decoration: line-through;
}

.text-center {
  text-align: center;
}

/* ── Colors ── */
.text-primary {
  color: var(--primary);
}

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

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

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

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

.text-white {
  color: #fff;
}

/* ── Layout ── */
.min-h-screen {
  min-height: 100dvh;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.shrink-0 {
  flex-shrink: 0;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.min-w-0 {
  min-width: 0;
}

.grid {
  display: grid;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* ── Spacing ── */
.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

/* ── Backgrounds ── */
.bg-background {
  background-color: var(--background);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-card {
  background-color: var(--card);
}

.bg-gray {
  background-color: #f4f4f4;
}

.bg-white {
  background-color: #ffffff !important;
}

/* ── Borders ── */
.border {
  border: 1px solid var(--border);
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.border-primary {
  border: 1px solid var(--primary);
}

.rounded {
  border-radius: 0.375rem;
}

.rounded-md {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* ── Shadows ── */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  gap: 0.375rem;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: #9f2089 !important;
  color: #ffffff !important;
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #80186d !important;
  opacity: 1;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}

.btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8rem;
  height: 2.25rem;
}

.btn-lg {
  height: 3rem;
  font-size: 1rem;
  font-weight: 700;
}

/* ── Input ── */
.input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 20%, transparent);
}

.input-dark {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 500;
}

.input-dark::placeholder {
  color: #94a3b8;
}

.input-dark:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(159, 32, 137, 0.12);
}

.field-error {
  font-size: 0.6875rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff !important;
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: lowercase;
  letter-spacing: -0.03em;
}

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

.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  color: var(--foreground);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 2px;
  border-radius: 9999px;
  background: var(--destructive);
  color: var(--destructive-foreground);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Search Bar ── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  margin: 0 1rem 0.75rem;
  max-width: 80rem;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--foreground);
}

.search-bar input::placeholder {
  color: var(--muted-foreground);
}

/* ── Bottom Nav ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--background);
  border-top: 1px solid var(--border);
  z-index: 50;
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 480px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.625rem 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── Announcement Bar ── */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: oklch(0.97 0.02 250);
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.75rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

/* ── Product Card ── */
.product-card {
  background: #ffffff;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

/* Wishlist heart button */
.product-card-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  color: var(--muted-foreground);
}

.product-card-wish-btn:hover {
  background: #fff;
  color: var(--primary);
}

.product-card-body {
  padding: 0.625rem 0.625rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  background: #ffffff;
}

.product-card-title {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: #334155;
  min-height: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.125rem;
}

.product-card-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}

.product-card-mrp {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card-discount {
  font-size: 0.75rem;
  color: #038c63;
  font-weight: 700;
}

.product-card-offer {
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.3;
  font-weight: 500;
}

.product-card-delivery {
  font-size: 0.6875rem;
  color: #475569;
  font-weight: 500;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.product-card-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.product-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: #038c63;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.product-card-reviews {
  font-size: 0.6875rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2px;
  /* padding: 0 10px; */
}

/* ── Deal Timer Badge ── */
.deal-timer-badge {
  display: inline-block;
  max-width: calc(100% - 0.5rem);
  padding: 3px 6px;
  border-radius: 4px;
  background: #ffe7fb;
  color: #9f2089;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* ── Checkout Progress ── */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  gap: 0;
  background: var(--background);
}

.checkout-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  max-width: 5rem;
}

.checkout-progress-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  border: 2px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
}

.checkout-progress-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.checkout-progress-dot.done {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.checkout-progress-label {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.checkout-progress-label.active {
  color: var(--primary);
}

.checkout-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 3rem;
  margin-bottom: 1rem;
}

.checkout-progress-line.done {
  background: var(--green);
}

/* ── Cart Drawer ── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 28rem);
  z-index: 50;
  background: var(--background);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.cart-drawer-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-item:last-child {
  border-bottom: none;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  height: 1.75rem;
}

.qty-ctrl button {
  width: 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: background 0.12s;
  font-size: 0.75rem;
}

.qty-ctrl button:hover {
  background: #e2e8f0;
}

.qty-ctrl span {
  width: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
}

/* ── Modal Dialog ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 24rem;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.2s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

/* ── Payment Overlay ── */
.verify-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.verify-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.verify-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
}

.site-footer a {
  color: #ddd;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* ── Sticky Footer Bar ── */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  z-index: 30;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.sticky-footer-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

/* ── Price summary ── */
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.price-row+.price-row {
  margin-top: 0.5rem;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

/* ── Radio Button ── */
.radio-circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radio-circle.checked {
  border-color: var(--primary);
}

.radio-circle.checked::after {
  content: '';
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: var(--primary);
}

.radio-circle.disabled {
  border-color: var(--border);
  background: var(--muted);
}

/* ── Accordion ── */
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
}

.accordion-btn svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion-btn.open svg {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
}

.accordion-body.open {
  display: block;
}

/* ── Section Cards ── */
.section-card {
  background: var(--background);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.section-card+.section-card {
  margin-top: 0.75rem;
}

/* ── Hero Section ── */
.home-hero {
  width: 100%;
  background: #f6f3f8;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-hero-top img {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.home-hero-banner {
  padding: 0;
  margin: 0;
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.home-hero-banner-inner {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.home-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* ── Trust Benefits ── */
.trust-benefits {
  position: relative;
  background: #faf7f2;
  padding: 12px 12px 18px;
}

.trust-benefits img {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  height: auto;
}

.trust-benefits-tnc {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 9px;
  color: #9e9e9e;
}

/* ── Daily Deals Header ── */
.meesho-daily-deals {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.meesho-daily-deals-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  max-width: 28rem;
  margin: 0 auto;
}

.meesho-daily-deals-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #616161;
}

.meesho-daily-deals-timer {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px 5px 8px;
  border-radius: 6px;
  background: #fff3e8;
  border: 1px solid #f0b88a;
}

.meesho-daily-deals-timer-text {
  font-size: 13px;
  font-weight: 600;
  color: #c2185b;
  font-variant-numeric: tabular-nums;
}

/* ── Offer Zone ── */
.offer-zone-panel {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.offer-zone-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  background: linear-gradient(180deg, #f8e287 0%, #f0d264 45%, #e8c04a 100%);
}

.offer-zone-body {
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, #e8a4c9 0%, #d81b60 55%, #ad1457 100%);
}

.offer-zone-title-badge {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid var(--offer-gold);
  background: linear-gradient(180deg, #8d6e63 0%, #5d4037 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.offer-zone-countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 3px;
  border-radius: 4px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

/* ── Loader Dots ── */
.meesho-loader {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meesho-loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--primary);
  animation: meesho-loader-bounce 0.9s ease-in-out infinite;
}

.meesho-loader-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.meesho-loader-dot:nth-child(3) {
  animation-delay: 0.3s;
}

/* ── UPI Payment App ── */
.payment-app-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.12s;
}

.payment-app-option:hover {
  background: color-mix(in srgb, var(--muted) 60%, transparent);
}

.payment-app-option.selected {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  outline: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── SVG Icons ── */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* ── Product Detail ── */
.product-img-main {
  aspect-ratio: 1;
  background: var(--muted);
  max-height: min(100vw, 28rem);
  overflow: hidden;
}

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

.size-btn {
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--background);
  color: var(--foreground);
}

.size-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.size-btn.selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  font-weight: 600;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--muted);
  border-radius: 9999px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 9999px;
}

/* ── Animations ── */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cart-badge-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.45);
  }

  100% {
    transform: scale(1);
  }
}

.cart-badge-pop {
  animation: cart-badge-pop 0.55s ease-out;
}

@keyframes meesho-loader-bounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.45;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes hero-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-ticker-track {
  animation: hero-ticker 22s linear infinite;
}

@keyframes slideIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in {
  animation: slideIn 0.3s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.25s ease both;
}

/* ── Cart item in cart page ── */
.cart-item {
  background: var(--background);
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.cart-item-img {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--muted);
  border-radius: 0.5rem;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: var(--muted);
  font-size: 0.75rem;
  color: var(--foreground);
}

/* ── Review product card ── */
.review-card {
  background: var(--background);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.review-card-body {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ── Order confirmation ── */
.confirm-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.order-section {
  background: var(--card);
  padding: 1rem;
  margin: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .order-section {
    margin: 0.75rem 0;
  }
}

/* ── Trusted Badge ── */
.trusted-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--primary) 4%, white);
  border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
  border-radius: 0.5rem;
}

/* ── Empty state ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  text-align: center;
}

.empty-state-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

/* ── Responsive helpers ── */
@media (min-width: 768px) {
  .hide-mobile {
    display: block !important;
  }

  .product-img-main {
    max-height: none;
  }

  .search-bar {
    margin: 0 auto 0.75rem;
  }
}

/* ── Utility Classes ── */
.pt-2 {
  padding-top: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.h-auto {
  height: auto;
}

.block {
  display: block;
}

.object-cover {
  object-fit: cover;
}

.items-baseline {
  align-items: baseline;
}

.lowercase {
  text-transform: lowercase;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.border-border {
  border-color: var(--border);
}

.border-none {
  border-style: none;
}

.bg-transparent {
  background-color: transparent;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.cursor-pointer {
  cursor: pointer;
}

.p-0 {
  padding: 0;
}

.font-inherit {
  font: inherit;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[10px\] {
  font-size: 10px;
}

.-top-1\.5 {
  top: -0.375rem;
}

.-right-1\.5 {
  right: -0.375rem;
}

/* ── QR Code ── */
#qr-canvas-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

#qr-canvas-wrap canvas {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

/* ── Photo image fallback ── */
.img-fallback {
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.6875rem;
  color: oklch(0.45 0.08 25);
  padding: 0.5rem 0.75rem;
  line-height: 1.6;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 9999px;
}

/* ── Marquee Top Banner ── */
.top-marquee-bar {
  background-color: #970e71 !important;
  color: #ffffff !important;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: flex;
  user-select: none;
  width: 100%;
}

.marquee__inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
  flex-shrink: 0;
}

.marquee__inner span {
  padding: 0 6px;
  color: #ffffff !important;
}

.top-marquee-bar:hover .marquee__inner {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ── User Carousel Structure & Responsiveness ── */
._3lqN6b,
.WhKF32,
.IF3BzC,
._1fhgRH {
  width: 100%;
  margin: 0;
  padding: 0;
}

.container-fluid {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
}

.col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  touch-action: pan-y;
  background: #ffffff;
  transition: height 0.35s ease-in-out;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: visible !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item,
.carousel-item:not(.active) {
  position: relative !important;
  display: block !important;
  min-width: 100% !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  opacity: 1 !important;
  margin: 0 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
}

.d-block {
  display: block !important;
}

.w-100 {
  width: 100% !important;
}

.carousel-item img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  max-height: none !important;
}

/* Hide Carousel Indicators (Dots) */
.carousel-indicators {
  display: none !important;
}

/* Mobile Responsiveness Rules */
@media (max-width: 768px) {
  .top-marquee-bar {
    font-size: 11px;
    padding: 6px 0;
  }
}

@media (max-width: 480px) {
  .top-marquee-bar {
    font-size: 10.5px;
    letter-spacing: 0.2px;
    padding: 5px 0;
  }
}