/* ===================================================
   Sophy - Luxury Aesthetic Jewelry & Lifestyle Store
   =================================================== */

:root {
  --primary-burgundy: #721224;
  --primary-pink: #721224; /* Mapped so all existing components adopt rich Burgundy */
  --soft-pink: #3b3534;
  --blush-pink: #4a4240;
  --pastel-accent: #9c1f35;
  --dark-rose: #590d1c;
  --deep-plum: #380711;
  --cream: #2d2928;
  --card-bg: #3b3534;
  --card-border: #6a4a50;
  --text-main: #f7e9dd;
  --text-muted: #d2bdb4;
  --gold: #d4af37;
  --gold-accent: #d4af37;
  --gold-light: #fef8e7;
  --whatsapp-green: #25d366;
  --shadow-soft: 0 10px 30px rgba(114, 18, 36, 0.09);
  --shadow-hover: 0 16px 36px rgba(114, 18, 36, 0.20);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: #3a0610;
  background-image: linear-gradient(160deg, #4a0916 0%, #360710 35%, #2a0510 70%, #1e030b 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 85px; /* Space for bottom nav */
}

/* Deep burgundy texture overlay for premium depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(180, 20, 50, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(114, 18, 36, 0.2) 0%, transparent 55%);
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----------------------------------------------------
   1. AESTHETIC EYES TITLE BAR (Sophy)
   "Eyes k niche-Those eyes never lie"
   ---------------------------------------------------- */
.eyes-titlebar {
  position: relative;
  width: 100%;
  min-height: 160px;
  background-image: url('/assets/sophy-eyes.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
  padding: 20px 10px;
}

.eyes-titlebar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(58, 6, 16, 0.4) 0%, 
    rgba(34, 4, 10, 0.7) 60%, 
    rgba(114, 18, 36, 0.94) 100%
  );
}

.titlebar-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInDown 0.8s ease-out;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.6);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.84rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff0f5;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0.95;
}

.eyes-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #fae8b2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-top: 6px;
  display: inline-block;
  position: relative;
  font-weight: 600;
}

.eyes-tagline::before, .eyes-tagline::after {
  content: '✦';
  font-size: 0.8rem;
  color: var(--gold-accent);
  margin: 0 8px;
}

/* ----------------------------------------------------
   2. TOP SEARCH BAR & ACTIONS HEADER
   "Account ki jagh search bar add krna hai"
   ---------------------------------------------------- */
.top-nav-bar {
  background: rgba(30, 3, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand-compact {
  display: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fae8b2;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Search bar replacing account */
.search-container {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #fce8ed;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.search-input::placeholder {
  color: rgba(255, 220, 230, 0.5);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  color: #fff;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 200, 215, 0.7);
  pointer-events: none;
  font-size: 1rem;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 1rem;
  display: none;
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fce8ed;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.nav-icon-btn:hover {
  background: rgba(114, 18, 36, 0.5);
  color: #fae8b2;
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-pink);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(114, 18, 36, 0.35);
}

.user-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #721224 0%, #590d1c 100%);
  color: #fae8b2;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(114, 18, 36, 0.28);
  transition: var(--transition);
}

.user-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(114, 18, 36, 0.42);
  background: linear-gradient(135deg, #590d1c 0%, #380711 100%);
  color: #fff;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.user-login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 92%;
  max-width: 460px;
  max-height: min(92vh, 720px);
  background: #302b2b;
  border-radius: var(--radius-xl);
  z-index: 100010 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
}

.user-login-modal.active {
  display: flex;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Google OAuth Button & Divider */
.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  color: #1e293b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-google-auth:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn-google-auth:active {
  transform: translateY(0);
}

.btn-google-auth svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
  padding: 0 12px;
}

/* ----------------------------------------------------
   3. HERO BANNER / MARQUEE ANNOUNCEMENT
   ---------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #590d1c, #721224, #911b32, #721224, #590d1c);
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
  color: #fffafb;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(114, 18, 36, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.product-photos-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(20, 3, 7, 0.85);
  backdrop-filter: blur(6px);
  color: #ffd700;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.showcase-product-meta {
  text-align: center;
  margin-top: 14px;
}

.showcase-product-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary-burgundy);
  margin-bottom: 4px;
}

.showcase-product-meta p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ===================================================
   HARRY POTTER SPECIAL SECTION & COMBO DISCOUNT
   "Or ek open krte hi niche section aana chaiye agl harry poter ka"
   "+ 3 ya 4 product add krte off mile"
   =================================================== */
.hp-showcase-section {
  background: linear-gradient(145deg, #2b0811 0%, #150206 100%);
  border: 2px solid #d4af37;
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 28px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(43, 8, 17, 0.45);
  position: relative;
  overflow: hidden;
}

.hp-showcase-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hp-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fae8b2;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hp-crest-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #fae8b2;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Dynamic Magical Combo Offer Bar */
.hp-combo-bar {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1.5px dashed #d4af37;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.hp-combo-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-combo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d4af37;
  color: #2b0811;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.hp-combo-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fae8b2;
  margin-bottom: 2px;
}

.hp-combo-text p {
  font-size: 0.82rem;
  color: #e5cfd5;
}

.hp-combo-badge-pill {
  background: #d4af37;
  color: #2b0811;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.hp-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .hp-items-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
}

/* Category Filter Pills */
.category-filter-strip {
  padding: 14px 0 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.category-filter-strip::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  white-space: nowrap;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 220, 230, 0.3);
  border-radius: 24px;
  color: #fce8ed;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cat-pill:hover,
.cat-pill.active {
  background: linear-gradient(135deg, #721224 0%, #911b32 100%);
  color: #fff;
  border-color: #d4af37;
  box-shadow: 0 4px 14px rgba(114, 18, 36, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* ----------------------------------------------------
   4. UNI SEOUL LINKTREE STYLE COLLECTION CARDS
   "Ad same open krte collection ho items k.
    Just like this eg: pendant , tumblers , earing ese show ho"
   ---------------------------------------------------- */
.collections-wrapper {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.collection-card {
  background: linear-gradient(145deg, #403938 0%, #302b2b 100%);
  border: 2px solid rgba(212, 175, 55, 0.34);
  border-radius: var(--radius-xl);
  padding: 22px 18px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.collection-card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.collection-header {
  text-align: center;
  margin-bottom: 18px;
  position: relative;
}

.collection-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fae8b2;
  letter-spacing: 0.5px;
}

.collection-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.collection-icon {
  margin-right: 6px;
}

.sec-badge-tag {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #fae8b2;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.collection-promo-bar {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1.5px dashed rgba(212, 175, 55, 0.75);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-bar-icon {
  color: #d4af37;
  font-size: 1.15rem;
}

.promo-bar-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fae8b2;
}

.promo-bar-desc {
  font-size: 0.8rem;
  color: #e5cfd5;
  margin-top: 1px;
}

.promo-bar-badge {
  background: #d4af37;
  color: #2b0811;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Horizontal scrollable items row inside collection (matching Uni Seoul) */
.collection-items-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .collection-items-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .product-item {
    min-width: 175px;
    max-width: 185px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* ----------------------------------------------------
   5. PRODUCT ITEM COMPONENT
   ---------------------------------------------------- */
.product-item {
  background: #2c2929;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(114, 18, 36, 0.15);
  border-color: var(--primary-burgundy);
}

.product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #211e1e;
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-item:hover .product-img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #721224 0%, #991b1b 100%);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(114, 18, 36, 0.35);
  letter-spacing: 0.3px;
  z-index: 2;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(114, 18, 36, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-burgundy, #721224);
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(114, 18, 36, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(114, 18, 36, 0.25);
}

.wishlist-btn.active {
  background: var(--primary-burgundy, #721224);
  color: #ffffff;
  border-color: var(--primary-burgundy, #721224);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(114, 18, 36, 0.35);
}

.out-of-stock-pill {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 26, 36, 0.85);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  white-space: nowrap;
}

.product-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
  cursor: pointer;
}

.product-title:hover {
  color: #fae8b2;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
}

.current-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5d38a;
}

.original-price {
  font-size: 0.8rem;
  color: #b8a4a0;
  text-decoration: line-through;
}

.discount-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.product-actions {
  display: flex;
  gap: 6px;
}

.btn-add-cart {
  flex: 1;
  background: rgba(114, 18, 36, 0.58);
  color: #fff4ed;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-add-cart:hover:not(:disabled) {
  background: var(--primary-burgundy);
  color: white;
  border-color: var(--primary-burgundy);
  box-shadow: 0 4px 12px rgba(114, 18, 36, 0.28);
}

.btn-add-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #eee;
  border-color: #ddd;
  color: #999;
}

.btn-quick-wa {
  background: #25d366;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-quick-wa:hover {
  background: #20bd5a;
  transform: scale(1.08);
}

/* Shop Entire Store Button */
.btn-shop-entire {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  background: rgba(114, 18, 36, 0.26);
  border: 1.5px dashed rgba(212, 175, 55, 0.5);
  color: #fae8b2;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-shop-entire:hover {
  background: linear-gradient(135deg, #721224 0%, #590d1c 100%);
  color: #fae8b2;
  border-style: solid;
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 15px rgba(114, 18, 36, 0.4);
}

/* ----------------------------------------------------
   6. BOTTOM NAVIGATION (JEWELSMARS STYLE WITH SEARCH)
   "Account ki jagh seach bar add krna hai"
   Home | Search | Collections | Wishlist | Cart
   ---------------------------------------------------- */
.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100% !important;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 2, 6, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.65);
  margin: 0 !important;
  padding: 0 0 env(safe-area-inset-bottom, 0px) 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 200, 215, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  height: 100%;
  padding-bottom: 4px;
  position: relative;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item i,
.bottom-nav-item svg {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: #fae8b2;
}

.bottom-nav-item.active i {
  transform: translateY(-2px);
}

.bottom-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 16px);
  background: var(--primary-pink);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   7. FLOATING WHATSAPP BUTTON (AS IN JEWELSMARS)
   ---------------------------------------------------- */
.floating-wa-btn {
  position: fixed !important;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  right: 16px !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9998;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ----------------------------------------------------
   8. MODALS & SLIDE-OVER DRAWERS
   ---------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: #302b2b;
  z-index: 100005 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  visibility: hidden;
}

.cart-drawer.active {
  right: 0;
  visibility: visible;
}

/* Wishlist drawer inherits .cart-drawer but gets a dark burgundy skin */
#wishlistDrawer {
  background: linear-gradient(160deg, #1a0407 0%, #220610 50%, #1a0407 100%);
}

#wishlistDrawer .drawer-body {
  background: transparent;
}

#wishlistDrawer .drawer-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(10, 1, 5, 0.6);
}

#wishlistDrawer .cart-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--soft-pink);
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-rose);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close:hover {
  color: var(--primary-pink);
  transform: rotate(90deg);
}

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 16px 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2e2e8;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid #ffe3ec;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-rose);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #fafafa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--soft-pink);
  color: var(--primary-pink);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ff4d4f;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: auto;
}

.drawer-footer {
  flex-shrink: 0;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1.5px solid var(--card-border);
  background: #fff9fb;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.order-options-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-order-wa {
  width: 100%;
  padding: 13px;
  background: var(--whatsapp-green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-order-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-order-form {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #721224 0%, #590d1c 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(114, 18, 36, 0.3);
  transition: var(--transition);
}

.btn-order-form:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Product Detail Modal */
.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 90%;
  max-width: 680px;
  max-height: 90vh;
  background: #302b2b;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.28);
  z-index: 100010 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.product-modal.active {
  display: flex !important;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow-y: auto;
  max-height: calc(90vh - 60px);
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) #252021;
}

.product-modal-grid::-webkit-scrollbar {
  width: 6px;
}

.product-modal-grid::-webkit-scrollbar-track {
  background: #252021;
  border-radius: 0;
}

.product-modal-grid::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

.product-modal-grid::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Luxury Modal Close Icon Button - Zero White */
.modal-close-icon-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 24, 25, 0.88);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  color: #fae8b2;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-icon-btn:hover {
  background: #721224;
  border-color: #d4af37;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(114, 18, 36, 0.6);
}

@media (max-width: 640px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
}

.modal-img-col {
  background: #252021;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid rgba(212, 175, 55, 0.22);
}

/* Multiple Photos Gallery in Product Modal - Zero White Borders */
.product-gallery-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-main-viewport {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: #18050b;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0 !important;
  margin: 0 !important;
}

#modalGalleryMainImg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 11px;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.gallery-main-viewport:hover #modalGalleryMainImg {
  transform: scale(1.03);
}

.gallery-counter-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 3, 7, 0.85);
  backdrop-filter: blur(6px);
  color: #fae8b2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.gallery-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(32, 26, 27, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fae8b2;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.18s ease;
  z-index: 4;
}

.gallery-arrow-btn.prev {
  left: 8px;
}

.gallery-arrow-btn.next {
  right: 8px;
}

.gallery-arrow-btn:hover {
  background: #721224;
  border-color: #d4af37;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-thumbnails-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.gallery-thumb-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.25);
  background: #18050b;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  overflow: hidden;
}

.gallery-thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.gallery-thumb-btn:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
}

.gallery-thumb-btn.active {
  border-color: #d4af37 !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  transform: scale(1.06);
}

.thumb-index-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(20, 3, 7, 0.85);
  color: #fae8b2;
  font-size: 0.62rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.modal-info-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Order Form Modal */
.order-form-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 90%;
  max-width: 480px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  z-index: 100010 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
}

.order-form-modal.active {
  display: flex !important;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--card-border);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-burgundy);
  box-shadow: 0 0 0 3px rgba(114, 18, 36, 0.15);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(44, 26, 36, 0.95);
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 100030 !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.toast-notice.show {
  display: flex !important;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Search Results Modal / Overlay */
.search-results-overlay {
  display: none;
  background: rgba(28, 4, 12, 0.96);
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  z-index: 1002;
  padding: 10px;
  backdrop-filter: blur(16px);
}

.search-results-overlay.active {
  display: block;
}

.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-res-item:hover {
  background: rgba(114, 18, 36, 0.35);
}

.search-res-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.search-res-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fce8ed;
}

.search-res-info span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fae8b2;
}

/* Empty State */
.empty-box {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 220, 230, 0.7);
}
.empty-box i {
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.5);
  margin-bottom: 10px;
}

/* Footer Info */
.site-footer {
  margin-top: 40px;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(15, 1, 5, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px 20px 0 0;
}
.site-footer p {
  font-size: 0.82rem;
  color: rgba(255, 200, 215, 0.65);
  margin-bottom: 6px;
}

/* Warm dark-slate surfaces, including the product modal and cart drawer. */
.product-modal,
.order-form-modal,
.user-login-modal,
.cart-drawer {
  background: #302b2b;
  color: var(--text-main);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.modal-img-col {
  background: #252021;
  border-color: rgba(212, 175, 55, 0.22);
}

.drawer-header,
.drawer-footer {
  background: #3b3434;
}

.drawer-title,
.cart-item-price,
.modal-info-col [style*="primary-burgundy"] {
  color: #fae8b2 !important;
}

.cart-item,
.drawer-footer {
  border-color: rgba(212, 175, 55, 0.2);
}

.qty-btn {
  background: #4a4140;
  border-color: #75615c;
  color: #fff4ed;
}

.qty-btn:hover {
  background: #721224;
  color: #fff;
}

.wishlist-modal-btn {
  border: 1.5px solid rgba(212, 175, 55, 0.42);
  background: #403737;
  color: #fae8b2;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.wishlist-modal-btn:hover {
  background: #721224;
  color: #fff;
}

@media (max-width: 640px) {
  .product-modal,
  .order-form-modal,
  .user-login-modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .product-modal-grid {
    max-height: calc(100dvh - 20px);
  }

  .modal-info-col,
  .modal-img-col {
    padding: 16px;
  }

  .cart-drawer {
    max-width: 100%;
  }
}

@media (min-width: 1500px) {
  .container { max-width: 1360px; }
  .collection-items-row { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

/* ===================================================
   RESPONSIVE DEVICE DIMENSIONS BREAKPOINTS
   =================================================== */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100dvh;
}

body {
  padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Mobile Phones (Portrait & Landscape) */
@media (max-width: 480px) {
  .brand-title { font-size: 1.95rem; letter-spacing: 2.5px; }
  .eyes-titlebar { min-height: 115px; padding: 14px 10px; }
  .container { padding: 0 12px; }
  .top-nav-inner { gap: 8px; }
  .search-container { flex: 1; }
  .search-input { font-size: 0.8rem; padding: 7px 10px 7px 32px; }
  
  .collection-items-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .collection-card {
    padding: 16px 12px 18px;
    border-radius: 16px;
  }
  .product-image-box { aspect-ratio: 1 / 1; }
  .product-content { padding: 10px; }
  .product-title { font-size: 0.85rem; height: 2.4em; }
  .current-price { font-size: 0.95rem; }
  .btn-add-cart { padding: 7px 8px; font-size: 0.78rem; }
  .btn-quick-wa { width: 34px; height: 34px; font-size: 0.95rem; }
}

/* Tablets (Portrait & Landscape) */
@media (min-width: 481px) and (max-width: 1024px) {
  .collection-items-row {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }
}

/* ===================================================
   LUXURY SEARCH MODAL (NO SCROLL REQUIRED)
   =================================================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 2, 7, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100015 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  padding-top: max(20px, env(safe-area-inset-top, 20px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.search-modal-container {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(155deg, #383030 0%, #262121 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 720px);
  overflow: hidden;
  transform: translateY(-20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.active .search-modal-container {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(43, 35, 36, 0.9);
}

.search-modal-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal-icon {
  position: absolute;
  left: 14px;
  color: #fae8b2;
  font-size: 1rem;
  pointer-events: none;
}

.search-modal-input {
  width: 100%;
  padding: 12px 38px 12px 42px;
  background: rgba(20, 15, 16, 0.7);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-modal-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-modal-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(250, 232, 178, 0.6);
  cursor: pointer;
  font-size: 0.95rem;
  display: none;
  padding: 4px;
}

.search-modal-clear:hover {
  color: #fff;
}

.search-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fae8b2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.search-modal-close:hover {
  background: #721224;
  color: #fff;
  border-color: #d4af37;
  transform: rotate(90deg);
}

/* Trending Chips */
.search-trending-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(25, 20, 21, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  white-space: nowrap;
}

.search-trending-row::-webkit-scrollbar {
  display: none;
}

.trending-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trending-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: #fae8b2;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trending-chip:hover {
  background: rgba(114, 18, 36, 0.6);
  border-color: #d4af37;
  color: #fff;
  transform: translateY(-1px);
}

/* Modal Results Container */
.search-modal-body {
  padding: 14px 16px 20px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.search-empty-prompt {
  text-align: center;
  padding: 36px 16px;
  color: #e5cfd5;
}

.search-prompt-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fae8b2;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.search-empty-prompt h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fae8b2;
  margin-bottom: 6px;
}

.search-empty-prompt p {
  font-size: 0.85rem;
  color: #bfa9b0;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Search Results Grid */
.search-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

@media (max-width: 480px) {
  .search-grid-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.search-card-item {
  background: rgba(40, 34, 35, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.search-card-item:hover {
  background: rgba(55, 46, 48, 0.95);
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.search-card-img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.search-card-meta {
  flex: 1;
  min-width: 0;
}

.search-card-cat {
  font-size: 0.68rem;
  color: #d4af37;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.search-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.search-card-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
}

.search-card-price {
  font-weight: 800;
  color: #fae8b2;
}

.search-card-orig {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: #947e85;
}

.search-card-add-btn {
  background: linear-gradient(135deg, #721224, #991b1b);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fae8b2;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.search-card-add-btn:hover {
  background: #fae8b2;
  color: #721224;
  transform: scale(1.08);
}

/* Real-time Badge Pulse Animation */
@keyframes badgeBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.badge-bounce {
  animation: badgeBounce 0.4s ease-out;
}

/* Button Added State */
.btn-add-cart.btn-added {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #34d399 !important;
  transform: scale(0.98);
}


