/* Jeeva's Pooja Essentials — storefront + admin shared styles */

:root {
  --maroon-900: #4a1220;
  --maroon-700: #6d1c30;
  --maroon-500: #8c2740;
  --saffron-500: #e2811d;
  --saffron-400: #ef9a3a;
  --gold-600: #b1841f;
  --gold-500: #c99a2e;
  --gold-100: #f8ecd4;
  --ivory: #fdf8f0;
  --ink: #2b1810;
  --ink-soft: #6b5648;
  --line: #ecdfc9;
  --success: #2f7d4f;
  --success-bg: #eaf6ee;
  --danger: #b3261e;
  --shadow-sm: 0 1px 2px rgba(74, 18, 32, 0.06), 0 1px 1px rgba(74, 18, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 18, 32, 0.12);
  --shadow-lg: 0 20px 48px rgba(74, 18, 32, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Traditional decorative banner strip along the very top of the page. */
.deco-strip {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--maroon-700),
    var(--saffron-500) 25%,
    var(--gold-500) 50%,
    var(--saffron-500) 75%,
    var(--maroon-700)
  );
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon-900);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-400), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.main-nav a:hover {
  color: var(--maroon-700);
}

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

.nav-toggle {
  display: none;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--maroon-700);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
}

.whatsapp-icon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron-500), var(--maroon-700));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

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

.btn-outline:hover {
  background: var(--maroon-700);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon-700) 45%, var(--saffron-500) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
}

/* Temple-arch scalloped edge where the hero meets the page below. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background-image: radial-gradient(circle at 14px 0, transparent 14px, var(--ivory) 15px);
  background-size: 28px 22px;
  background-repeat: repeat-x;
}

.hero .container {
  position: relative;
  padding: 96px 20px 80px;
  text-align: center;
  max-width: 760px;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---------- Section shell ---------- */

section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head::before {
  content: "🪷";
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* Ornamental divider used between major page sections. */
.ornamental-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-600);
  max-width: 240px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.ornamental-rule::before,
.ornamental-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.ornamental-rule::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-head .eyebrow-line {
  color: var(--saffron-500);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--maroon-900);
}

.section-head p {
  color: var(--ink-soft);
}

/* ---------- Category tabs ---------- */

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-tab {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.category-tab:hover {
  border-color: var(--saffron-500);
  color: var(--maroon-700);
}

.category-tab.active {
  background: var(--maroon-800, var(--maroon-700));
  border-color: var(--maroon-700);
  color: #fff;
}

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(193, 154, 46, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(193, 154, 46, 0.3);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gold-100);
  border-bottom: 3px solid var(--saffron-500);
  cursor: pointer;
  flex-shrink: 0;
}

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

.product-media .product-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 2.6rem;
  margin-bottom: 0;
  background: radial-gradient(circle, var(--gold-100), #f2dfae);
}

.product-info {
  padding: 16px 18px 0;
  cursor: pointer;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.08rem;
  color: var(--maroon-900);
}

.product-card .desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 4px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 18px;
}

.price {
  font-weight: 700;
  color: var(--maroon-700);
  font-size: 1.05rem;
}

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

.price-compare {
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Offer banner ---------- */

.offer-banner {
  background: linear-gradient(90deg, var(--maroon-700), var(--maroon-900));
  color: #fff;
}

.offer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 44px 10px 20px;
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

#offer-banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

#offer-banner-close:hover {
  color: #fff;
}

/* ---------- Product detail modal ---------- */

.product-detail-card .modal-head {
  margin-bottom: 10px;
}

.product-detail-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gold-100);
  border: 3px solid var(--saffron-500);
  margin-bottom: 14px;
}

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

.product-detail-media .product-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 4rem;
  margin-bottom: 0;
  background: radial-gradient(circle, var(--gold-100), #f2dfae);
}

#detail-category {
  margin-bottom: 8px;
}

.product-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  border: none;
  background: var(--gold-100);
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--maroon-700);
}

.qty-stepper span {
  width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
}

/* ---------- About ---------- */

.about {
  background: var(--gold-100);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}

.about h2 {
  color: var(--maroon-900);
}

.about p {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 1em;
}

/* ---------- Enquiry ---------- */

.enquire {
  background: #fff;
}

.enquire-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--gold-100);
  border-radius: var(--radius);
  padding: 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--maroon-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-col p, .footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 36px;
}

/* ---------- Floating cart button ---------- */

.cart-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  background: var(--maroon-700);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.cart-fab .badge {
  background: var(--saffron-500);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  padding: 0 6px;
}

.cart-fab[hidden] {
  display: none !important;
}

/* ---------- Drawer / modal ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 24, 16, 0.5);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
}

.overlay[hidden] {
  display: none !important;
}

.overlay.center {
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.drawer {
  background: var(--ivory);
  width: min(420px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}

.modal-card {
  background: var(--ivory);
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(193, 154, 46, 0.25);
}

.drawer-head, .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.icon-btn {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink-soft);
  line-height: 1;
  padding: 4px;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line .cart-line-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cart-line-info {
  flex: 1;
  min-width: 0;
}

.cart-line-info .name {
  font-weight: 600;
  font-size: 0.92rem;
}

.cart-line-info .unit-price {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.cart-remove {
  border: none;
  background: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 0;
  color: var(--maroon-900);
}

/* ---------- Forms ---------- */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--saffron-500);
}

.radio-row {
  display: flex;
  gap: 16px;
}

.radio-option {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.radio-option.selected {
  border-color: var(--saffron-500);
  background: var(--gold-100);
}

.form-error {
  background: #fdeceb;
  color: var(--danger);
  border: 1px solid #f3c8c4;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-error[hidden] {
  display: none !important;
}

.form-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #cdeada;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-success[hidden] {
  display: none !important;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row .field {
  margin-bottom: 16px;
}

.field-hint {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin: 4px 0 0;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.checkbox-option input {
  width: auto;
}

.toggles {
  align-items: center;
  margin-bottom: 16px;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- Confirmation ---------- */

.confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.order-id-pill {
  display: inline-block;
  background: var(--gold-100);
  color: var(--maroon-800, var(--maroon-700));
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 10px 0 18px;
}

/* ---------- Admin ---------- */

.admin-body {
  background: var(--gold-100);
  min-height: 100vh;
}

.admin-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-wrap[hidden] {
  display: none !important;
}

.admin-login-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  width: min(380px, 100%);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--maroon-900);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.order-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.order-id {
  font-weight: 700;
  color: var(--maroon-900);
  font-size: 1.05rem;
}

.order-meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-new { background: #fff2e0; color: #a15c00; }
.status-confirmed { background: #e3f0ff; color: #1a5cad; }
.status-fulfilled { background: var(--success-bg); color: var(--success); }
.status-cancelled { background: #fdeceb; color: var(--danger); }

.order-items-list {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 10px 0;
}

.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.status-select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-size: 0.85rem;
}

/* ---------- Admin tabs ---------- */

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  border: none;
  background: none;
  padding: 10px 4px;
  margin-right: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.admin-tab.active {
  color: var(--maroon-700);
  border-bottom-color: var(--saffron-500);
}

/* ---------- Emoji picker ---------- */

.emoji-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.emoji-choice {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  line-height: 1;
  padding: 7px 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.emoji-choice:hover {
  border-color: var(--saffron-500);
}

.emoji-choice.selected {
  border-color: var(--saffron-500);
  background: var(--gold-100);
  box-shadow: inset 0 0 0 1.5px var(--saffron-500);
}

/* ---------- Admin settings ---------- */

.settings-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}

/* ---------- Admin products ---------- */

.products-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.product-row {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

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

.product-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-thumb-icon {
  background: var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.4rem;
}

.product-row-info {
  flex: 1;
  min-width: 0;
}

.product-row-name {
  font-weight: 600;
  color: var(--maroon-900);
}

.product-row-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.image-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-image-preview {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav:not([hidden]) {
    display: flex;
  }
  .mobile-nav {
    flex-direction: column;
    gap: 2px;
    padding: 6px 20px 16px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav a {
    padding: 12px 4px;
    text-decoration: none;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .whatsapp-label { display: none; }
  .whatsapp-icon { display: inline; }
  #header-whatsapp { padding: 10px; width: 40px; height: 40px; }

  .hero .container { padding: 56px 16px 48px; }
  section { padding: 48px 0; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
  }
  .product-info { padding: 12px 14px 0; }
  .product-footer { padding: 8px 14px 14px; flex-wrap: wrap; }

  .enquire-form-wrap { padding: 20px; }

  .modal-card { padding: 24px 20px; }

  .qty-stepper button {
    width: 34px;
    height: 34px;
  }
  .qty-stepper span { width: 34px; }

  .admin-shell { padding: 20px 14px 48px; }
  .admin-tab { margin-right: 14px; font-size: 0.88rem; }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
  }
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.7rem; }
}
