/* ============================================================
   Rajendra Showroom — Luxury Crockery Store Stylesheet
   ============================================================ */

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

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --bg:          #FAFAF7;
  --bg-warm:     #F5F2EC;
  --bg-dark:     #1C1C1A;
  --text:        #1C1C1A;
  --text-light:  #706F68;
  --text-muted:  #A8A79F;
  --gold:        #BFA06A;
  --gold-light:  #D9C49A;
  --gold-dark:   #8C6F3E;
  --border:      #E8E4DC;
  --border-dark: #D0CAC0;
  --white:       #FFFFFF;
  --red:         #C0392B;
  --green:       #2ECC71;
  --shadow-sm:   0 2px 8px rgba(28,28,26,0.06);
  --shadow-md:   0 4px 20px rgba(28,28,26,0.10);
  --shadow-lg:   0 8px 40px rgba(28,28,26,0.14);
  --radius:      8px;
  --radius-lg:   14px;
  --transition:  all 0.3s ease;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Announcement Bar ───────────────────────────────────── */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--gold-light);
  text-align: center;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.announcement-bar::-webkit-scrollbar {
  display: none;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-wrap img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
}
.logo-text .brand-tagline {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 400;
}

/* Search */
.search-wrap {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 10px 46px 10px 18px;
  border: 1.5px solid var(--border-dark);
  border-radius: 50px;
  font-size: 13.5px;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--gold);
  background: var(--white);
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 15px;
  transition: var(--transition);
}
.search-btn:hover { color: var(--gold); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.header-actions a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-light);
  transition: var(--transition);
}
.header-actions a:hover { color: var(--gold); }
.cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.cart-trigger:hover { background: var(--gold-dark); }
.cart-trigger .cart-icon { font-size: 16px; }
.cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Nav Bar ────────────────────────────────────────────── */
.site-nav {
  display: block;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  padding: 11px 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.active { color: var(--text); border-bottom-color: var(--gold); }
.nav-divider { flex: 1; }
.whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #25D366;
  letter-spacing: 0.5px;
  padding: 11px 0;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-warm);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 6s ease;
}
.hero:hover .hero-img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,28,26,0.65) 0%, rgba(28,28,26,0.15) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 80px;
}
.hero-content { max-width: 500px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1.5px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ─── Features Strip ─────────────────────────────────────── */
.features-strip {
  background: var(--bg-dark);
  padding: 18px 24px;
}
.features-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
}
.feature-icon { font-size: 18px; }
.feature-text { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; }

/* ─── Main Layout ────────────────────────────────────────── */
.main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sidebar-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.category-list { padding: 10px 0; }
.cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.cat-item:hover { background: var(--bg-warm); color: var(--text); }
.cat-item.active {
  background: var(--bg-warm);
  color: var(--text);
  border-left-color: var(--gold);
  font-weight: 500;
}
.cat-icon { font-size: 16px; width: 22px; text-align: center; }
.cat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-warm);
  padding: 2px 7px;
  border-radius: 50px;
}

/* Price Filter */
.sidebar-section {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}
.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.price-range-wrap { display: flex; flex-direction: column; gap: 10px; }
.price-range-inputs { display: flex; gap: 10px; }
.price-input {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 13px;
  text-align: center;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}
.price-input:focus { border-color: var(--gold); }
.price-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 70%, var(--border-dark) 70%, var(--border-dark) 100%);
  outline: none;
  cursor: pointer;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.btn-apply-filter {
  width: 100%;
  padding: 9px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-apply-filter:hover { background: var(--gold-dark); }

/* ─── Products Section ───────────────────────────────────── */
.products-section {}
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.products-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}
.products-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}
.products-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--gold); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card { flex-direction: row; height: 160px; }
.products-grid.list-view .product-img-wrap { width: 160px; flex-shrink: 0; }

/* Product Card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-dark);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--bg-warm);
  overflow: hidden;
}
.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F2EC 0%, #EDE8DE 100%);
  color: var(--border-dark);
  gap: 8px;
}
.placeholder-icon { font-size: 40px; opacity: 0.35; }
.placeholder-text { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.4; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-sale { background: var(--bg-dark); color: var(--gold-light); }
.badge-new  { background: var(--gold); color: var(--white); }

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { color: #e74c3c; transform: scale(1.1); }

.product-info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.rating-val { font-size: 12px; font-weight: 500; color: var(--text); }
.rating-count { font-size: 11px; color: var(--text-muted); }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 0;
}
.price-current {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}
.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-discount {
  font-size: 11px;
  font-weight: 600;
  color: #2ECC71;
  background: rgba(46,204,113,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-actions {
  display: flex;
  gap: 8px;
}
.btn-cart {
  flex: 1;
  padding: 9px 12px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}
.btn-cart:hover { background: var(--gold-dark); }
.btn-wa {
  padding: 9px 12px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}
.btn-wa:hover { background: #20BA5A; }

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.no-products .no-icon { font-size: 60px; margin-bottom: 16px; opacity: 0.3; }
.no-products h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; color: var(--text-light); }

/* ─── Cart Drawer ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32,0,0.67,0);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}
.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-light);
  transition: var(--transition);
}
.cart-close-btn:hover { background: var(--border); color: var(--text); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty .empty-icon { font-size: 50px; margin-bottom: 12px; opacity: 0.3; }
.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--bg-warm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--gold-dark); font-weight: 500; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  font-size: 14px;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.qty-val { font-size: 14px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; color: var(--text-muted); font-size: 18px; transition: var(--transition); }
.cart-item-remove:hover { color: var(--red); }

.cart-foot {
  padding: 20px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cart-totals { margin-bottom: 16px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.cart-total-row.grand {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
  margin-bottom: 0;
}
.btn-whatsapp-checkout {
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  margin-bottom: 10px;
}
.btn-whatsapp-checkout:hover { background: #20BA5A; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-continue-shopping {
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--border-dark);
  color: var(--text-light);
  border-radius: var(--radius);
  font-size: 13px;
  transition: var(--transition);
}
.btn-continue-shopping:hover { border-color: var(--text); color: var(--text); }

/* ─── Product Modal ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  transform: translateY(100%);
  z-index: 1060;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.product-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.modal-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 100vh;
  background: var(--white);
}
.modal-img-side {
  background: var(--bg-warm);
  height: 100vh;
  position: sticky;
  top: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.modal-img-side img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Product Gallery in Modal ─── */
.modal-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
}
.modal-main-img-wrap {
  width: 100%;
  flex: 1;
  height: 0;
  min-height: 0;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.15s ease;
}
.modal-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
}
.modal-thumb {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-thumb:hover {
  border-color: var(--border-dark);
}
.modal-thumb.active {
  border-color: var(--gold);
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Bulk Order Notice ─── */
.bulk-order-notice {
  margin-top: 4px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bulk-order-notice a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition);
}
.bulk-order-notice a:hover {
  color: var(--gold-dark);
}
.modal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--border-dark);
}
.modal-placeholder .mp-icon { font-size: 70px; opacity: 0.3; }

/* Modal Info Layout */
.modal-info { 
  padding: 60px 40px 40px; 
  display: flex; 
  flex-direction: column; 
  background: #fff;
  position: relative;
}
.modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  transition: var(--transition);
  z-index: 1100;
  cursor: pointer;
}
.modal-close:hover {
  background: var(--bg-warm);
  transform: rotate(90deg);
}
.modal-cat { 
  font-size: 11px; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  color: var(--text-muted); 
  margin-bottom: 8px; 
}
.modal-name { 
  font-family: var(--font-serif); 
  font-size: 28px; 
  font-weight: 500; 
  line-height: 1.25; 
  margin-bottom: 12px; 
  color: var(--text);
}
.modal-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.modal-desc { 
  font-size: 14px; 
  line-height: 1.7; 
  color: var(--text-light); 
  margin-bottom: 20px; 
}
.modal-price { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 4px; 
}
.modal-price .price-original { 
  text-decoration: line-through; 
  color: #888; 
  font-size: 16px; 
  font-weight: 400; 
}
.modal-price .price-current { 
  font-family: var(--font-serif);
  font-size: 24px; 
  font-weight: 600;
  color: var(--text);
}
.modal-price .price-discount-badge {
  background: #fff;
  border: 1.5px solid var(--border-dark);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-left: 4px;
}
.modal-tax-notice {
  font-size: 12px;
  color: #888;
  margin-bottom: 24px;
}

/* Quantity Selector Styles */
.modal-qty-container {
  margin-bottom: 20px;
}
.modal-qty-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.modal-qty-selector {
  display: inline-flex;
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.qty-adjust-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.qty-adjust-btn:hover {
  background: var(--bg-warm);
  color: var(--text);
}
.modal-qty-input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: none;
  pointer-events: none;
}

/* Color Selector Swatches */
.modal-color-selector {
  margin-bottom: 24px;
}
.color-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.color-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text);
  outline: none;
}
.color-swatch-btn:hover {
  background: var(--bg-warm);
  border-color: var(--text-light);
}
.color-swatch-btn.active {
  border: 1.5px solid #d81b60 !important;
  background: #fff5f7 !important;
  color: #d81b60 !important;
  box-shadow: 0 2px 8px rgba(216, 27, 96, 0.15);
}
.color-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Express Shipping Notice */
.express-shipping-notice {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.express-shipping-notice a {
  color: #27AE60;
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition);
}
.express-shipping-notice a:hover {
  color: #219653;
}

/* Modal Action Buttons (Shopify-style) */
.modal-actions { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  margin-top: 10px; 
}
.btn-add-cart-lg {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #1c1c1a;
  border: 1.5px solid #1c1c1a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-add-cart-lg:hover { 
  background: var(--bg-warm); 
}
.btn-wa-lg {
  width: 100%;
  padding: 14px;
  background: #1c1c1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-wa-lg:hover { 
  background: #333; 
}

/* ─── Toast ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-dark);
  color: var(--white);
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  max-width: 340px;
}
.toast.toast-success { border-left: 3px solid #2ECC71; }
.toast.toast-info    { border-left: 3px solid var(--gold); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(30px); }
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 30px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {}
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(0.9);
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  max-width: 250px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); }

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: flex-start; gap: 10px; }
.contact-icon { font-size: 15px; color: var(--gold); margin-top: 1px; }
.contact-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.contact-text a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.contact-text a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── Floating WhatsApp ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 800;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
.whatsapp-float .wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-wrapper { grid-template-columns: 200px 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 44px; }
  .hero-overlay { padding: 0 40px; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .search-wrap { order: 3; flex: 100%; max-width: 100%; }
  .main-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: auto; }
  .hero { height: 380px; }
  .hero-title { font-size: 34px; }
  .modal-inner { grid-template-columns: 1fr; min-height: auto; }
  .modal-img-side { height: auto; min-height: 380px; position: relative; border-right: none; border-radius: 0; }
  .modal-main-img-wrap { height: 380px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-drawer { width: 100%; }
}
@media (max-width: 480px) {
  .features-inner { gap: 24px; }
  .hero-overlay { padding: 0 24px; }
  .hero-title { font-size: 28px; }
  .hero-cta { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   LUXURY FULL-PAGE DETAILS MODAL LAYOUT & COMPONENTS
   ============================================================ */

/* Top Navigation Header inside Fullscreen modal */
.modal-header-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1090;
}
.mhn-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mhn-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.mhn-back-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.mhn-back-btn:hover {
  color: var(--text);
}

/* Adjust float close placement to fit header on desktop */
.modal-close {
  top: 13px;
  right: 40px;
}

/* Sticky image column height adjustment */
.modal-img-side {
  height: calc(100vh - 70px);
  top: 70px;
}

/* Payment trust badges */
.payment-trust-container {
  margin-top: 35px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  text-align: center;
}
.payment-trust-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-light);
}
.payment-badges-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.payment-badge-card {
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 38px;
  box-shadow: var(--shadow-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.payment-badge-card.visa { color: #0E4595; }
.payment-badge-card.paytm { color: #00B9F5; text-transform: none; }
.payment-badge-card.mastercard {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
}
.payment-badge-card.mastercard::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #EB001B;
  box-shadow: 8px 0 0 rgba(247,158,27,0.85);
  margin-right: 4px;
}
.payment-badge-card.upi { color: #0F8F56; font-style: italic; }
.payment-badge-card.gpay {
  color: #1A73E8;
  font-weight: 500;
}
.payment-badge-card.gpay span {
  font-weight: 700;
}
.payment-badge-card.phonepe { color: #5F259F; text-transform: none; }

/* Feature Circles */
.feature-circles-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 30px;
  text-align: center;
}
.feature-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-circle-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid #8D7B68;
  background: #F9F7F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8D7B68;
  margin-bottom: 12px;
  transition: var(--transition);
}
.feature-circle-icon svg {
  width: 28px;
  height: 28px;
}
.feature-circle-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #8D7B68;
  line-height: 1.3;
}
.feature-circle-item:hover .feature-circle-icon {
  background: #8D7B68;
  color: var(--white);
  transform: translateY(-3px);
}

/* Cross-Sell listing */
.cross-sell-section {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 24px;
  margin-bottom: 30px;
}
.cross-sell-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.cross-sell-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cross-sell-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.cross-sell-item:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
  background: var(--bg-warm);
}
.cross-sell-img {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}
.cross-sell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cross-sell-info {
  flex: 1;
}
.cross-sell-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cross-sell-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
}

/* Description Specifications & About The Product details */
.modal-desc-para {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}
.product-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-spec-list li {
  font-size: 13.5px;
  color: var(--text-light);
  display: flex;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.product-spec-list li strong {
  color: var(--text);
  min-width: 130px;
  font-weight: 600;
}
.about-product-section {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 24px;
}
.about-product-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.about-product-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-product-highlights li {
  font-size: 13.5px;
  color: var(--text-light);
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}
.about-product-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-size: 16px;
}

/* Related Products ("You may also like") bottom section */
.related-products-section {
  background: #F9F7F5;
  border-top: 1px solid var(--border);
  padding: 60px 40px;
}
.related-products-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  margin-bottom: 36px;
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.related-card-img {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: var(--bg-warm);
  overflow: hidden;
}
.related-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover .related-card-img img {
  transform: scale(1.06);
}
.related-card-info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 6px;
}
.related-card-price {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: auto;
}
.related-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Responsive modal tweaks */
@media (max-width: 768px) {
  .modal-header-nav {
    padding: 0 16px;
    height: 60px;
  }
  .modal-close {
    top: 8px;
    right: 16px;
  }
  .modal-img-side {
    height: auto;
    min-height: 350px;
    top: 0;
  }
  .modal-info {
    padding: 30px 20px;
  }
  .feature-circles-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .related-products-section {
    padding: 40px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   UPI Payment Gateway Modal
   ═══════════════════════════════════════════════════════════ */

.upi-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.upi-modal.open {
  pointer-events: all;
  opacity: 1;
}
.upi-modal-inner {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 420px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.22), 0 4px 20px rgba(0,0,0,0.10);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.upi-modal.open .upi-modal-inner {
  transform: scale(1) translateY(0);
}

/* Header */
.upi-header {
  background: linear-gradient(135deg, #5f259f 0%, #7b2fbe 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.upi-header-left { display: flex; align-items: center; gap: 12px; }
.upi-lock-icon { font-size: 22px; }
.upi-brand { font-size: 15px; font-weight: 700; }
.upi-secure-text { font-size: 11px; opacity: 0.75; margin-top: 1px; }
.upi-amount { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }

/* Screen wrapper */
.upi-screen { padding: 24px; }
.upi-instruction {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

/* App grid */
.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.upi-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px;
  border: 1.5px solid #e8e4dc;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s ease;
  font-family: 'Jost', sans-serif;
}
.upi-app-btn:hover {
  border-color: #5f259f;
  background: #f9f4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(95, 37, 159, 0.15);
}
.upi-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.gpay-icon    { background: linear-gradient(135deg, #4285F4, #34A853); }
.phonepe-icon { background: linear-gradient(135deg, #5f259f, #7b2fbe); }
.paytm-icon   { background: linear-gradient(135deg, #00BAF2, #0055AA); }
.bhim-icon    { background: linear-gradient(135deg, #FF6B00, #FF9500); }

/* Divider */
.upi-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aaa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.upi-divider::before, .upi-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e4dc;
}

/* UPI ID input */
.upi-id-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.upi-id-input-wrap { position: relative; flex: 1; }
.upi-id-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d0cac0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.upi-id-input:focus { border-color: #5f259f; box-shadow: 0 0 0 3px rgba(95,37,159,0.1); }
.upi-verify-btn {
  padding: 11px 18px;
  background: linear-gradient(135deg, #5f259f, #7b2fbe);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.upi-verify-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* SSL row */
.upi-ssl-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10.5px;
  color: #999;
}

/* Processing state */
.upi-processing {
  padding: 32px 24px;
  text-align: center;
}
.upi-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid #f0e8ff;
  border-top-color: #5f259f;
  border-radius: 50%;
  animation: upiSpin 0.8s linear infinite;
  margin: 0 auto 18px;
}
@keyframes upiSpin { to { transform: rotate(360deg); } }
.upi-processing-text {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1a;
  margin-bottom: 6px;
}
.upi-processing-sub {
  font-size: 12.5px;
  color: #888;
  margin-bottom: 24px;
  line-height: 1.5;
}
.upi-confirm-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #27AE60, #2ECC71);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
  font-family: 'Jost', sans-serif;
}
.upi-confirm-btn:hover { opacity: 0.9; }
.upi-fail-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: rgba(192, 57, 43, 0.08);
  color: #C0392B;
  border: 1.5px solid rgba(192, 57, 43, 0.2);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Jost', sans-serif;
}
.upi-fail-btn:hover { background: #C0392B; color: #fff; }

/* Error screen */
.upi-error-screen {
  padding: 32px 24px;
  text-align: center;
}
.upi-error-icon { font-size: 48px; margin-bottom: 14px; }
.upi-error-screen h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #C0392B; }
.upi-error-screen p { font-size: 13px; color: #888; margin-bottom: 22px; line-height: 1.5; }
.upi-retry-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #5f259f, #7b2fbe);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: 'Jost', sans-serif;
}
.upi-cancel-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--bg-warm);
  color: var(--text-muted);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

/* Close button */
.upi-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.upi-close-btn:hover { background: rgba(255,255,255,0.35); }

/* UTR Verification Box */
.upi-utr-box {
  background: #f9f4ff;
  border: 1.5px solid #d9b8ff;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0 16px;
  text-align: left;
}
.upi-utr-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5f259f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.upi-utr-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c9a8f0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1c1c1a;
  letter-spacing: 1px;
  outline: none;
  transition: var(--transition);
  background: #fff;
  font-family: 'Jost', monospace;
}
.upi-utr-input:focus {
  border-color: #5f259f;
  box-shadow: 0 0 0 3px rgba(95,37,159,0.12);
}
.upi-utr-hint {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  line-height: 1.5;
}
.upi-utr-error {
  font-size: 12px;
  color: #C0392B;
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  font-weight: 600;
}

/* Step labels */
.utr-step-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5f259f;
  margin-bottom: 12px;
}

/* QR code display */
.upi-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.upi-qr-img {
  width: 160px;
  height: 160px;
  border: 3px solid #e8e4dc;
  border-radius: 14px;
  padding: 6px;
  background: #fff;
}
.upi-qr-caption {
  font-size: 11px;
  color: #999;
}

/* Manual pay row */
.upi-manual-pay-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f9f4ff;
  border: 1.5px dashed #c9a8f0;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 6px;
}
.upi-vpa-text {
  font-size: 15px;
  font-weight: 700;
  color: #5f259f;
  letter-spacing: 0.5px;
}
.upi-copy-btn {
  padding: 5px 12px;
  background: #5f259f;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Jost', sans-serif;
}
.upi-copy-btn:hover { background: #7b2fbe; }
.upi-copy-btn.copied { background: #27AE60; }

/* Amount reminder */
.upi-amount-reminder {
  text-align: center;
  font-size: 12.5px;
  color: #888;
  margin-bottom: 0;
}

/* Timer */
.upi-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #888;
  margin: 14px 0 12px;
}
.upi-spinner-sm {
  width: 18px;
  height: 18px;
  border: 2.5px solid #f0e8ff;
  border-top-color: #5f259f;
  border-radius: 50%;
  animation: upiSpin 0.8s linear infinite;
  flex-shrink: 0;
}



/* ═══════════════════════════════════════════════════════════
   Product Reviews Section
   ═══════════════════════════════════════════════════════════ */
.reviews-section {
  padding: 36px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.reviews-section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
}
.reviews-section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.reviews-avg-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 22px;
  background: var(--bg-warm);
  border-radius: 14px;
}
.reviews-avg-score {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.reviews-avg-stars { font-size: 20px; letter-spacing: 2px; color: #f5a623; }
.reviews-avg-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.reviews-list { display: flex; flex-direction: column; gap: 18px; }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--text); }
.review-date { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.review-stars { font-size: 13px; color: #f5a623; letter-spacing: 1px; }
.review-body { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: #27AE60;
  font-weight: 600;
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   Database Connection Status Badge
   ═══════════════════════════════════════════════════════════ */
.db-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 10px;
  vertical-align: middle;
}
.db-status-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.db-status-badge.online {
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.db-status-badge.online::before {
  background: #27AE60;
  box-shadow: 0 0 8px #27AE60;
  animation: pulse-green 2s infinite;
}
.db-status-badge.offline {
  background: rgba(243, 156, 18, 0.1);
  color: #D35400;
  border: 1px solid rgba(243, 156, 18, 0.2);
}
.db-status-badge.offline::before {
  background: #E67E22;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(39, 174, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

/* ============================================================
   MOBILE RESPONSIVENESS AND TOUCH TARGET OPTIMIZATIONS
   ============================================================ */

/* Scrollable Table Wrapper */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Checkout Modal Card (Overrides fullscreen class) */
.checkout-modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 1060;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.checkout-modal-card.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
  /* Hide Site Category Navigation in favor of mobile drawer */
  .site-nav {
    display: none !important;
  }
  .sidebar {
    display: none;
  }
  .nav-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 16px;
  }
  .nav-item {
    padding: 12px 14px;
    font-size: 13px;
  }
  .whatsapp-nav {
    padding: 12px 8px;
    margin-left: auto;
  }

  /* Related Products Grid (2 columns on mobile instead of 4) */
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Checkout Modal mobile viewport tweaks */
  .checkout-modal-card {
    max-height: 85vh;
    border-radius: 12px;
  }

  /* Sizing up touch targets for mobile accessibility */
  .qty-adjust-btn, .qty-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .color-swatch-btn {
    padding: 10px 16px;
    min-height: 44px;
  }
  .product-wishlist {
    width: 44px;
    height: 44px;
    font-size: 18px;
    opacity: 1; /* Make wishlist icon persistent on mobile (no hover state) */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* 2-Column Storefront Grid instead of 1 large card */
  .products-grid:not(.list-view) {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: var(--radius);
  }
  .product-info {
    padding: 10px 12px;
  }
  .product-name {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .price-current {
    font-size: 16px;
  }
  .product-rating {
    display: none; /* Hide rating line on tiny phone grids to keep clean spacing */
  }

  /* 2x2 Feature Circles on small screens */
  .feature-circles-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }
  .feature-circle-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }
  .feature-circle-icon svg {
    width: 20px;
    height: 20px;
  }
  .feature-circle-label {
    font-size: 8.5px;
  }
}

/* ============================================================
   MOBILE MENU DRAWER & TRIGGER STYLING
   ============================================================ */

.mobile-menu-trigger {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-trigger {
    display: block;
    font-size: 26px;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    order: 1;
    z-index: 10;
    padding: 6px;
    line-height: 1;
    margin-right: auto;
    transition: var(--transition);
  }
  .mobile-menu-trigger:active {
    transform: scale(0.9);
    color: var(--gold);
  }
  
  .logo-wrap {
    order: 2;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 10;
  }
  .logo-wrap img {
    height: 42px;
  }
  
  .header-actions {
    order: 3;
    margin-left: auto;
    gap: 12px;
  }
  .header-actions .action-text {
    display: none;
  }
  
  .search-wrap {
    order: 4;
    flex: 100%;
    max-width: 100%;
    margin-top: 10px;
  }
  
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }
  
  .announcement-bar {
    text-align: left;
  }
}

/* Mobile Drawer Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* Mobile Drawer Container */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.mobile-menu-drawer.open {
  transform: translateX(320px);
}

.mm-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-warm);
}
.mm-head h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.5px;
}
.mm-close-btn {
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.mm-close-btn:hover {
  color: var(--text);
}

.mm-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mm-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}
.mm-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mm-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mm-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.mm-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.mm-cat-item:hover, .mm-cat-item.active {
  background: var(--bg-warm);
  color: var(--text);
  font-weight: 500;
}
.mm-cat-item.active {
  border-left: 3px solid var(--gold);
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.mm-links li {
  list-style: none;
}
.mm-links a {
  font-size: 14.5px;
  color: var(--text-light);
  transition: var(--transition);
  display: block;
  padding: 2px 0;
}
.mm-links a:hover {
  color: var(--gold-dark);
  padding-left: 4px;
}

/* ─── Store Testimonials/Reviews Section ────────────────── */
.store-reviews-section {
  background: var(--white);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.store-reviews-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.reviews-header-center {
  text-align: center;
  margin-bottom: 50px;
}
.reviews-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 12px;
}
.reviews-main-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.reviews-subtitle {
  font-size: 14.5px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 20px;
}
.reviews-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-warm);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13.5px;
}
.reviews-score-badge .stars {
  color: #f5a623;
  letter-spacing: 1px;
}
.reviews-score-badge .score-text {
  color: var(--text-light);
}

.store-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.store-review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.store-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.sr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-bottom: 14px;
}
.sr-info {
  margin-bottom: 10px;
}
.sr-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.sr-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}
.sr-stars {
  color: #f5a623;
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.sr-text {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .store-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .store-reviews-section {
    padding: 60px 20px;
  }
  .reviews-main-title {
    font-size: 28px;
  }
}


