/* ==========================================================================
   Jaanu Collections — Mobile-First Design System
   Palette: Deep Plum (#2a0f3a), Rani Pink (#b3124f), Zari Gold (#c8962e)
   Typography: Cormorant Garamond (display) + Jost (body)
   Signature element: Woven zari border strip; quiet surfaces everywhere else.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=Jost:wght@400;500;600;700&display=swap');

:root {
  --plum: #2a0f3a;
  --plum-deep: #1c0928;
  --rani: #b3124f;
  --rani-hover: #8f0d3e;
  --zari: #c8962e;
  --zari-soft: #f7eed9;
  --bg: #fcfaf7;
  --surface: #ffffff;
  --surface-quiet: #f4efe8;
  --ink: #1e1624;
  --muted: #594b61;
  --border: rgba(42, 15, 58, 0.12);
  --green: #146c38;
  --green-soft: #e3f5ea;
  --whatsapp: #15803d;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(42, 15, 58, 0.05);
  --shadow-md: 0 10px 28px rgba(42, 15, 58, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  padding-bottom: 72px; /* room for mobile bottom bar */
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* Visible accessible focus ring */
:focus-visible {
  outline: 3px solid var(--zari);
  outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--plum);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
}

.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Signature Woven Zari Border Strip */
.zari-strip {
  height: 10px;
  width: 100%;
  background-color: var(--plum);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 5 L6 1 L12 5 L6 9 Z M12 5 L18 1 L24 5 L18 9 Z' fill='%23c8962e' fill-opacity='0.92'/%3E%3Cline x1='0' y1='0.75' x2='24' y2='0.75' stroke='%23c8962e' stroke-width='1' stroke-opacity='0.7'/%3E%3Cline x1='0' y1='9.25' x2='24' y2='9.25' stroke='%23c8962e' stroke-width='1' stroke-opacity='0.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--plum);
  color: #fdf8ee;
  text-align: center;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

/* Header (Mobile-first 360px safe) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--plum);
  color: var(--zari-soft);
  border: 1px solid var(--zari);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text .brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-wrap {
  order: 3;
  flex: 1 0 100%;
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hide-mobile {
  display: none;
}

/* Buttons (accessible >=40px tap targets) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--rani);
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--rani-hover);
}

.btn-plum {
  background: var(--plum);
  color: #fdf8ee;
}

.btn-gold {
  background: var(--zari);
  color: #1c0928;
  font-weight: 700;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}
.btn-whatsapp:hover:not(:disabled) {
  background: #166534;
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--plum);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-quiet);
}

.btn-danger {
  background: #fee4e2;
  color: var(--danger);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 11px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.badge-count {
  background: var(--zari);
  color: #1c0928;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Quiet Editorial Hero */
.hero {
  padding: 14px 0 10px;
}

.hero-card {
  background: var(--plum);
  color: #fdf8ee;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 150, 46, 0.35);
  box-shadow: var(--shadow-sm);
}

.hero-inner {
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zari-soft);
  margin-bottom: 6px;
}

.hero h1, .hero h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.12;
  margin: 0 0 10px;
  font-weight: 700;
  color: #ffffff;
}

.hero p {
  margin: 0 0 16px;
  color: rgba(253, 248, 238, 0.88);
  font-size: 14.5px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-mini-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 150, 46, 0.3);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  min-width: 0;
  text-align: left;
  color: #fdf8ee;
}

.hero-mini-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 6px;
}

.hero-mini-card .mini-title {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mini-card .mini-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--zari-soft);
}

/* Quiet Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 18px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--zari-soft);
  color: var(--plum);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* Section Headers */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 12px;
}

.section-head h2, .section-head h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.15;
}

.section-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Collections Row (horizontal scroll at 360px) */
.collections-grid {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.collection-card {
  min-width: 210px;
  max-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.collection-card.active {
  border-color: var(--rani);
  box-shadow: 0 0 0 2px var(--rani);
}

.collection-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-quiet);
}

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

.collection-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--plum);
  color: var(--zari-soft);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.collection-body {
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.collection-body h3, .collection-body h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.collection-body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--plum);
}

/* Filter Toolbar */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.chips-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips-scroll::-webkit-scrollbar { display: none; }

.chip {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.chip.active {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}

.filter-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.select-control {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
}

/* Product Grid — 2 columns cleanly at 360px */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-quiet);
  overflow: hidden;
  cursor: pointer;
}

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

.discount-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--rani);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}

.stock-tag {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.stock-tag.out {
  background: #fee4e2;
  color: var(--danger);
}

.share-fab {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--whatsapp);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.product-info {
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.product-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.price-mrp {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-off {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.meesho-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pill-green {
  background: var(--green-soft);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.pill-soft {
  background: var(--surface-quiet);
  color: var(--plum);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.product-actions {
  margin-top: auto;
  padding-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.product-actions .btn {
  padding: 6px 8px;
  min-height: 36px;
  font-size: 12px;
}

/* Modals & Drawers */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 9, 40, 0.6);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.backdrop.open {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.modal-sm {
  max-width: 520px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
}

.modal-header h2, .modal-header h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  color: var(--plum);
}

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.modal-body {
  padding: 16px;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 9, 40, 0.56);
  z-index: 65;
  display: none;
  justify-content: flex-end;
}
.drawer-backdrop.open {
  display: flex;
}

.drawer {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
}

.drawer-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Detail View */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.detail-main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface-quiet);
}

.thumb-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
}

.thumb-btn {
  width: 60px;
  height: 72px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--surface-quiet);
  flex-shrink: 0;
}

.thumb-btn.active {
  border-color: var(--rani);
}

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

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  padding: 10px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.spec-item span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.spec-item strong {
  font-size: 13px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.input, .textarea, .select {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid rgba(42, 15, 58, 0.24);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
}

/* Cart Items */
.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 66px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-quiet);
  flex-shrink: 0;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
}

.qty-box button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.qty-box span {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}

/* Order Progress Stepper */
.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 14px 0;
}

.step-node {
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  background: var(--surface-quiet);
  border: 1px solid var(--border);
  font-size: 11px;
}

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

.step-node.done {
  color: var(--green);
}

/* Mobile Bottom Nav */
.whatsapp-float {
  display: none;
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #ffffff;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 5px 2px;
}

.mobile-nav-btn {
  background: transparent;
  border: none;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.mobile-nav-btn.active {
  color: var(--plum);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: var(--plum);
  color: #f4ece1;
}

.footer-inner {
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.footer-inner h4 {
  margin: 0 0 8px;
  color: var(--zari-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(244, 236, 225, 0.88);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plum-deep);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 90;
  max-width: 92vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

/* Admin Studio Styles */
.admin-shell {
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 24px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px;
}

.stat-card span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.stat-card strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
  color: var(--plum);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.upload-dropzone {
  border: 2px dashed rgba(42, 15, 58, 0.28);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
}

.upload-dropzone.dragover {
  border-color: var(--rani);
  background: var(--zari-soft);
}

.uploaded-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.uploaded-thumb {
  position: relative;
  width: 76px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.uploaded-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  cursor: pointer;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table th {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.status-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.status-Pending { background: #fef3c7; color: #78350f; }
.status-Confirmed { background: #dbeafe; color: #1e3a8a; }
.status-Packed { background: #ede9fe; color: #4c1d95; }
.status-Shipped { background: #e0f2fe; color: #075985; }
.status-Delivered { background: #e3f5ea; color: #146c38; }
.status-Cancelled { background: #fee4e2; color: #b42318; }

/* Tablet & Desktop Enhancements (Mobile-First) */
@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }
  .container {
    padding: 0 18px;
  }
  .search-wrap {
    order: 0;
    flex: 1;
    max-width: 420px;
  }
  .hide-mobile {
    display: inline-flex;
  }
  .mobile-bottom-nav {
    display: none;
  }
  .whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp);
    color: #fff;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
  }
  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .filter-selects {
    display: flex;
    width: auto;
  }
  .select-control {
    width: auto;
  }
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .trust-strip, .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-group.full {
    grid-column: 1 / -1;
  }
  .detail-grid {
    grid-template-columns: 1fr 1.05fr;
  }
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    padding: 32px;
    grid-template-columns: 1.35fr 0.95fr;
    align-items: center;
    gap: 28px;
  }
  .collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    overflow: visible;
  }
  .collection-card {
    min-width: 0;
    max-width: none;
  }
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
