@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

/* =========================================================
   MIYA KIDS & TOYS — MODERN DESIGN SYSTEM & THEME
   ========================================================= */
:root {
  /* Brand Primary & Accents */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-grad: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);

  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --accent-orange-light: #fff7ed;
  --accent-orange-grad: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);

  --accent-mint: #10b981;
  --accent-mint-light: #ecfdf5;
  --accent-pink: #ec4899;
  --accent-pink-light: #fdf2f8;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Surfaces & Backgrounds */
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --white: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-glass-dark: rgba(15, 23, 42, 0.85);

  /* Typography Colors */
  --text: #0f172a;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --muted: #64748b;

  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #818cf8;

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 16px 36px -4px rgba(79, 70, 229, 0.16), 0 6px 14px -2px rgba(15, 23, 42, 0.06);
  --shadow-bottom-nav: 0 -4px 20px rgba(15, 23, 42, 0.08);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   BASE & RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Extra clearance on mobile to prevent bottom nav collision */
@media (max-width: 991px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   PAGE LOADER
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loader-rocket {
  font-size: 3.2rem;
  color: var(--accent-orange);
  animation: rocketBounce 1.1s infinite ease-in-out;
  filter: drop-shadow(0 10px 20px rgba(249, 115, 22, 0.35));
}

@keyframes rocketBounce {
  0%, 100% {
    transform: translateY(0) rotate(-15deg);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-14px) rotate(-15deg);
    opacity: 1;
  }
}

/* =========================================================
   MAIN TOP NAVBAR
   ========================================================= */
.miya-navbar {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.miya-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.miya-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.miya-logo:hover {
  transform: scale(1.04);
}

.miya-logo img {
  width: 82px;
  height: auto;
}

/* Shop Toggle Switch (Toys vs Dresses) */
.miya-shop-toggle {
  display: inline-flex;
  align-items: center;
  background: #eef2ff;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid #e0e7ff;
  position: relative;
}

.miya-toggle-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6366f1;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.miya-toggle-pill.active {
  background: var(--primary-grad);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.miya-toggle-pill:not(.active):hover {
  color: var(--primary-hover);
}

/* Desktop Search Bar */
.miya-search-wrap {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  flex: 1;
  max-width: 440px;
  transition: var(--transition-fast);
}

.miya-search-wrap:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.miya-search-icon {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-right: 10px;
}

.miya-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text);
  outline: none;
}

.miya-search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

/* Nav Action Buttons */
.miya-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.miya-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition-fast);
}

.miya-icon-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
  transform: translateY(-1px);
}

.miya-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.4);
  border: 2px solid #ffffff;
}

.cart-bounce {
  animation: cartPop 0.35s ease;
}

@keyframes cartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Dropdown Menu */
.miya-dropdown {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  background: var(--white);
  min-width: 220px;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.miya-dropdown .dropdown-item {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.miya-dropdown .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* =========================================================
   DESKTOP NAVBAR FILTERS TOOLBAR
   ========================================================= */
.miya-desktop-nav-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.desktop-gender-pills {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid #e2e8f0;
}

.desktop-gender-pill {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
}

.desktop-gender-pill:hover {
  color: var(--text-dark);
}

.desktop-gender-pill.active {
  background: #ffffff;
  color: #f97316;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.desktop-filter-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 4px;
}

.desktop-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.3;
  user-select: none;
}

.desktop-filter-btn .arrow-icon {
  font-size: 0.72rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.desktop-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.desktop-filter-btn.active {
  background: #fff7ed;
  border-color: #f97316;
  color: #c2410c;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.12);
}

.desktop-filter-btn.active .arrow-icon {
  color: #ea580c;
}

.desktop-filter-btn--more {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
  color: #c2410c;
  font-weight: 800;
}

.desktop-filter-btn--more:hover {
  background: #f97316;
  color: #ffffff;
  border-color: #ea580c;
}

.desktop-filter-btn--more:hover .desktop-filter-badge {
  background: #ffffff;
  color: #f97316;
}

.desktop-filter-badge {
  background: #ea580c;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

.desktop-filter-dropdown-menu {
  max-height: 380px;
  overflow-y: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  padding: 6px;
  min-width: 210px;
  border: 1px solid #e2e8f0;
}

.desktop-filter-dropdown-menu .dropdown-item {
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  transition: all 0.15s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.desktop-filter-dropdown-menu .dropdown-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

.desktop-filter-dropdown-menu .dropdown-item.active {
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
}

.desktop-filter-thumb {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

/* Filter Row (Desktop) */
.miya-filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-top: 1px solid #f1f5f9;
  max-width: 1400px;
  margin: 0 auto;
}

.miya-filter-pill {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.miya-filter-pill:hover,
.miya-filter-pill.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Mobile Search Collapse */
.miya-mobile-search {
  padding: 8px 16px 12px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Active Filters Bar in Header */
.active-filters-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 16px;
  width: 100%;
}

.active-filters-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.active-filters-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.active-filters-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-chip,
.filter-chip {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 8px 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.active-filter-chip:hover,
.filter-chip:hover {
  border-color: #cbd5e1;
  background: #fafafa;
}

.active-filter-chip .chip-icon,
.filter-chip .chip-icon {
  font-size: 0.75rem;
  color: #ec4899;
}

.active-filter-chip .filter-chip-remove,
.active-filter-chip button,
.filter-chip .filter-chip-remove,
.filter-chip button {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 0.72rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  padding: 0;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.active-filter-chip .filter-chip-remove:hover,
.active-filter-chip button:hover,
.filter-chip .filter-chip-remove:hover,
.filter-chip button:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.1);
}

.active-filters-clear {
  background: #fee2e2;
  border: none;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}

.active-filters-clear:hover {
  background: #fecaca;
  color: #b91c1c;
  transform: translateY(-1px);
}

/* Visual Filters Section (Chips / Cards) */
.visual-filters-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.visual-filters-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1400px;
  margin: 0 auto;
}

.visual-filters-scroll::-webkit-scrollbar {
  display: none;
}

.visual-filters-track {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.visual-filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  width: 76px;
  text-align: center;
}

.v-filter-img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.v-filter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.visual-filter-item:hover .v-filter-img,
.visual-filter-item.active .v-filter-img {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.visual-filter-item.active .v-filter-label {
  color: var(--primary);
}

/* =========================================================
   MOBILE BOTTOM NAVIGATION BAR (FIXED DOCK)
   ========================================================= */
.miya-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  display: none;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 5000 !important;
}

@media (max-width: 991px) {
  .miya-bottom-nav {
    display: flex;
  }
}

.bottom-nav-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  color: #64748b;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  position: relative;
  transition: var(--transition-fast);
  border-radius: var(--radius-md);
  flex: 1;
  max-width: 72px;
  min-width: 0;
}

.bottom-nav-icon {
  font-size: 1.12rem;
  line-height: 1;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.bottom-nav-btn .miya-badge {
  position: absolute;
  top: 1px;
  right: calc(50% - 18px);
  font-size: 0.6rem;
  padding: 1px 4px;
  min-width: 15px;
  height: 15px;
}

.bottom-nav-btn.active {
  color: var(--primary);
}

.bottom-nav-btn.active .bottom-nav-icon {
  transform: translateY(-2px) scale(1.08);
  color: var(--primary);
}

.bottom-nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 3px;
  background: var(--primary-grad);
  border-radius: var(--radius-pill);
}

.bottom-nav-btn:active {
  transform: scale(0.94);
}

/* =========================================================
   MOBILE FULL SCREEN CATEGORY & FILTERS DRAWER
   ========================================================= */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 64px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  background: #ffffff !important;
  z-index: 3600 !important;
  box-shadow: none;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  display: flex !important;
  animation: mobileMenuFadeIn 0.22s ease;
}

@keyframes mobileMenuFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-header {
  background: var(--primary-grad);
  color: #ffffff;
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu-content {
  padding: 1.25rem;
  flex: 1;
}

.mobile-nav-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  transition: var(--transition-fast);
}

.mobile-nav-btn:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: var(--primary);
}

.mobile-nav-btn-clear {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  text-align: center;
  justify-content: center;
  font-weight: 800;
  margin-top: 0.5rem;
}

/* =========================================================
   HERO OFFERS CAROUSEL
   ========================================================= */
.offers-carousel-section {
  padding: 16px 16px 8px;
  max-width: 1400px;
  margin: 0 auto;
}

.offers-carousel-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.offers-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.offers-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform;
}

.offer-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

@media (min-width: 768px) {
  .offer-slide {
    min-height: 320px;
  }
}

.offer-slide-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #ffffff;
  max-width: 600px;
}

.offer-slide-badge {
  display: inline-block;
  background: var(--accent-orange-grad);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.offer-slide-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .offer-slide-title {
    font-size: 2.4rem;
  }
}

.offer-slide-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.2rem;
}

.offer-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}

.offer-slide-btn:hover {
  transform: scale(1.05);
  background: #f8fafc;
}

.offers-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  width: 24px;
  background: #ffffff;
}

/* =========================================================
   CART AVAILABLE COUPONS & OFFERS
   ========================================================= */
.cart-coupon-container {
  margin-bottom: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem;
}

.cart-coupons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cart-coupons-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-coupons-title i {
  color: #e11d48;
}

.available-coupons-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.available-coupon-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.available-coupon-card:hover {
  border-color: #d97706;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.available-coupon-card.is-applied {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #16a34a;
}

.available-coupon-card.is-used {
  background: #f1f5f9;
  border: 1.5px dashed #cbd5e1;
  opacity: 0.75;
}

.coupon-card-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.coupon-card-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.coupon-card-code {
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  font-family: monospace, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.available-coupon-card.is-applied .coupon-card-code {
  background: #16a34a;
}

.available-coupon-card.is-used .coupon-card-code {
  background: #94a3b8;
}

.coupon-tag-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(245, 158, 11, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.coupon-card-desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.3;
  margin-top: 2px;
}

.available-coupon-card.is-applied .coupon-card-desc {
  color: #166534;
}

.available-coupon-card.is-used .coupon-card-desc {
  color: #64748b;
}

.coupon-card-savings {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
}

.coupon-card-action-btn {
  background: #78350f;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.coupon-card-action-btn:hover:not(:disabled) {
  background: #451a03;
  transform: scale(1.02);
}

.coupon-card-action-btn.applied {
  background: #16a34a;
  color: #ffffff;
  cursor: pointer;
}

.coupon-card-action-btn:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.coupon-input-wrap {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.coupon-input-field {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  background: #ffffff;
  color: #1e293b;
  transition: border-color 0.2s;
}

.coupon-input-field:focus {
  border-color: #ec4899;
}

.coupon-apply-btn {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.coupon-apply-btn:hover {
  opacity: 0.92;
}

.coupon-msg-box {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.coupon-applied-box {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.coupon-applied-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-applied-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
}

.coupon-applied-amount {
  font-size: 0.88rem;
  font-weight: 800;
  color: #15803d;
}

.coupon-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 4px;
}

.coupon-remove-btn:hover {
  text-decoration: underline;
}

/* =========================================================
   FAVOURITES & QUICK CATEGORIES STRIP
   ========================================================= */
.favourites-section {
  padding: 16px 0 8px;
}

@media (max-width: 576px) {
  .favourites-section {
    padding: 10px 0 4px;
  }
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.favourite-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.favourite-thumb {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.favourite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.favourite-item:hover .favourite-thumb {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.favourite-item:hover .favourite-thumb img {
  transform: scale(1.08);
}

.favourite-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
}

@media (max-width: 768px) {
  .favourite-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }
  .favourite-label {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .favourite-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }
  .favourite-label {
    font-size: 0.72rem;
  }
}

/* =========================================================
   SECTION HEADINGS & CATEGORY CHIPS
   ========================================================= */
.section-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 16px;
}

.section-heading-icon {
  font-size: 1.3rem;
}

.section-heading-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  white-space: nowrap;
}

.section-heading-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

.cat-chips-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 12px;
}

.cat-chips-scroll::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.cat-chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-chip:hover,
.cat-chip.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.18);
}/* =========================================================
   3-COLUMN SHOWCASE PRODUCT GRID & NEAT CARDS
   ========================================================= */
.all-products-section {
  padding: 4px 10px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}

@media (min-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

/* Neat Product Card */
.toy-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none;
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.toy-card:hover {
  transform: translateY(-3px);
}

.toy-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f8fafc !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.toy-card:hover .toy-card-img-wrap {
  box-shadow: none;
}

/* Remove all dark rotating tints */
.toy-card:nth-child(n) .toy-card-img-wrap {
  background: #f8fafc !important;
}

.toy-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  background: transparent;
  display: block;
  filter: none;
  transition: transform var(--transition-smooth);
}

.toy-card:hover .toy-card-img {
  transform: scale(1.05);
}

/* Floating Wishlist Heart */
.toy-card-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
}

.toy-quick-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.toy-quick-btn:hover {
  transform: scale(1.15);
  background: rgba(0, 0, 0, 0.7);
}

/* Product Badges (Positioned Below Product Name) */
.toy-card-badge {
  display: inline-block;
  width: fit-content;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin: 0 0 3px 0;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.toy-card-badge--bestseller {
  background: #382512;
  color: #f97316;
  border: 1px solid #5c3817;
}

.toy-card-badge--discount {
  background: #132d22;
  color: #10b981;
  border: 1px solid #1e4d3a;
}

/* Card Body */
.toy-card-body {
  padding: 6px 2px 2px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.toy-card-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.3;
  margin: 0 0 4px 0;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.1em;
}

.toy-card-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
}

.toy-card-price {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: var(--accent-orange, #f5c518) !important;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}

.toy-buy-btn {
  background: var(--text, #ffffff);
  color: var(--bg, #1a1a1a);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.toy-buy-btn:hover {
  background: #e5e5e5;
  transform: scale(1.05);
}

.toy-buy-btn:active {
  transform: scale(0.95);
}

.toy-buy-btn--disabled {
  background: #444444 !important;
  color: #888888 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Skeletons */
.skeleton-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonWave 1.4s infinite;
  border-radius: 6px;
}

@keyframes skeletonWave {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.skeleton-title {
  height: 16px;
  width: 85%;
}

.skeleton-text {
  height: 12px;
  width: 60%;
}

.skeleton-price {
  height: 20px;
  width: 40%;
}

.skeleton-btn {
  height: 36px;
  width: 100%;
  border-radius: 8px;
}

/* =========================================================
   CART DRAWER (SIDEBAR)
   ========================================================= */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .cart-drawer-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 3600 !important;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.cart-drawer-panel.active {
  transform: translateX(0) !important;
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  flex-shrink: 0;
}

.cart-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.cart-drawer-close:hover {
  background: #fee2e2;
  color: var(--accent-red);
}

.cart-drawer-body {
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  flex: 1 1 0%;
  min-height: 0;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}

/* Empty Cart State */
.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  animation: fadeIn 0.3s ease;
}

.empty-cart-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

.empty-cart-icon {
  font-size: 2.75rem;
  color: var(--primary, #6366f1);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-cart-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark, #1e293b);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.empty-cart-subtitle {
  font-size: 0.92rem;
  color: var(--muted, #64748b);
  margin: 0 0 1.75rem 0;
  max-width: 250px;
  line-height: 1.5;
}

.empty-cart-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.empty-cart-shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.empty-cart-shop-btn:active {
  transform: translateY(0);
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  position: relative;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 6px;
  gap: 8px;
}

.qty-btn {
  background: none;
  border: none;
  font-weight: 800;
  color: var(--text-dark);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 6px;
  transition: var(--transition-fast);
}

.remove-item-btn:hover {
  color: var(--accent-red);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.cart-total-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cart-total-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
}

/* =========================================================
   MODALS & OVERLAYS (FULL SCREEN ON MOBILE)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 540px;
  position: relative;
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); opacity: 0.8; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 991px) {
  .modal-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 64px;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    z-index: 3500;
  }

  .modal-content {
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 3600;
    animation: modalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal-content--wide,
  .modal-content--profile,
  .modal-content--toy-detail,
  .modal-content--feedback {
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    border-radius: 0 !important;
  }

  .modal-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 20;
    padding: 1.25rem 1.25rem 0.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .modal-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
  }

  .modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    z-index: 30;
  }
}

.modal-content--wide {
  max-width: 760px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #fee2e2;
  color: var(--accent-red);
}

.modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Profile List & Info */
.profile-view {
  padding: 1.5rem;
}

.profile-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-info-list li {
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.92rem;
  border: 1px solid #e2e8f0;
}

.profile-info-list li strong {
  color: var(--text-mid);
  margin-right: 8px;
}

/* =========================================================
   ORDERS VIEW & KIDS ORDER TRACKING CARDS
   ========================================================= */
.orders-view {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
}

.orders-empty-msg {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.order-track-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.order-track-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.cancelled-stamp {
  position: absolute;
  top: 14px;
  right: -30px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 34px;
  transform: rotate(35deg);
  letter-spacing: 1px;
  z-index: 10;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.order-card-id {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.order-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.order-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.order-mode-pill {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #ede9fe;
  color: #6366f1;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.order-card-total {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
}

.order-items-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.order-item-thumb {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: block;
}

.order-item-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.order-item-text strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
}

.order-item-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.status-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 18px 0 14px;
  padding: 0 12px;
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 28px;
  right: 28px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.status-step-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.status-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-step.active .status-step-marker {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-step.active .status-label {
  color: #059669;
}

.status-step.rejected .status-step-marker {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.order-rejected-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  margin: 10px 0;
}

.order-delivery-estimate {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-latest-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.order-latest-text strong {
  color: var(--text-mid);
}

.order-feedback-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
  transition: transform var(--transition-fast);
}

.order-feedback-btn:hover {
  transform: translateY(-1px);
}

.order-feedback-done {
  color: #10b981;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =========================================================
   FULL SCREEN RESPONSIVE PRODUCT DETAILS VIEW
   ========================================================= */
.modal-content--toy-detail {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  overflow: hidden !important;
  z-index: 4200 !important;
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

/* Top Sticky Details Bar — Neat & Clean */
.toy-details-top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .toy-details-top-bar {
    padding: 12px 24px;
  }
}

.toy-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill, 9999px);
  cursor: pointer;
  transition: var(--transition-fast);
}

.toy-detail-back-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateX(-2px);
}

.toy-details-bar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 45%;
}

.toy-details-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toy-detail-bar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toy-detail-bar-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: scale(1.05);
}

/* Scroll Container */
.toy-details-scroll-container {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 60px;
}

@media (max-width: 768px) {
  .toy-details-scroll-container {
    padding: 14px 12px 40px;
  }
}

/* 2-Column Responsive Layout Grid */
.toy-details-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 991px) {
  .toy-details-layout {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 20px;
  }
}

/* Left Visuals Column — Full Bleed & Neat */
.toy-details-visuals {
  position: relative;
  width: 100%;
}

.toy-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 540px;
  overflow: hidden;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .toy-slider-container {
    aspect-ratio: 4 / 5;
    max-height: 480px;
  }
}

.toy-slider {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toy-slider img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 20px;
  flex-shrink: 0;
  background: #f8fafc;
  transition: transform var(--transition-smooth);
}

.toy-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.toy-thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 12px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toy-thumb.active,
.toy-thumb:hover {
  border-color: var(--accent-orange, #f97316);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.35);
  transform: scale(1.04);
}

/* Right Info Column */
.toy-details-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #0f172a;
}

.detail-category-link a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-orange, #f97316);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.6px;
  transition: opacity 0.15s;
}

.detail-category-link a:hover {
  opacity: 0.85;
}

.detail-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .detail-title {
    font-size: 1.5rem;
  }
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rating-pill {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-stock {
  font-size: 0.82rem;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.detail-stock--low {
  color: #f97316;
}

.detail-stock--out {
  color: #ef4444;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.detail-price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-orange, #f97316);
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .detail-price-main {
    font-size: 1.75rem;
  }
}

.detail-old-price {
  font-size: 1.15rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.detail-discount-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.detail-discount-tag.is-hidden {
  display: none;
}

/* Color Selection in Product Details */
.detail-color-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md, 14px);
}

.detail-color-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-color-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.detail-color-label i {
  color: #ec4899;
  font-size: 0.88rem;
}

.detail-selected-color-name {
  color: #0f172a;
  font-weight: 800;
  text-transform: none;
  font-size: 0.9rem;
}

.detail-color-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill, 9999px);
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.detail-color-btn:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.detail-color-btn.active {
  border-color: #ec4899;
  background: #fdf2f8;
  color: #db2777;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.2);
}

.color-swatch-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
  display: inline-block;
  flex-shrink: 0;
}

/* Age / Size Selector & Display in Product Details */
.detail-age-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md, 14px);
}

.detail-age-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-age-label i {
  color: var(--accent-orange, #f97316);
  font-size: 0.85rem;
}

.detail-age-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill, 9999px);
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
}

.detail-age-pill:hover:not(.is-out-of-stock) {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.detail-age-pill.is-selected {
  border-color: #3b82f6 !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.22);
}

.detail-age-pill .check-icon {
  display: none;
}

.detail-age-pill.is-selected .check-icon {
  display: inline-block;
  color: #2563eb;
  font-size: 0.78rem;
}

.detail-age-pill.is-out-of-stock {
  opacity: 0.6;
  cursor: not-allowed !important;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  text-decoration: line-through;
}

.age-stock-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: #fff7ed;
  color: #ea580c;
  text-decoration: none !important;
  margin-left: 2px;
}

.age-stock-badge.out {
  background: #fee2e2;
  color: #ef4444;
}

.cart-variant-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.cart-variant-tag.color {
  background: #fdf2f8;
  color: #db2777;
}

.cart-variant-tag.age {
  background: #eff6ff;
  color: #2563eb;
}

.detail-desc {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 4px;
}

.detail-add-btn-primary {
  width: 100%;
  padding: 15px 24px;
  background: #0f172a !important;
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-md, 16px);
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.25);
  margin-top: 6px;
}

.detail-add-btn-primary:hover:not(:disabled) {
  background: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.detail-add-btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.detail-add-btn-primary:disabled {
  background: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Trust Badges */
.toy-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md, 14px);
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}

.trust-badge-item i {
  color: var(--accent-orange, #f97316);
  font-size: 1rem;
}

.trust-badge-item span {
  color: #1e293b;
}

/* Details Accordion */
.details-toggle-container {
  margin-top: 4px;
}

.hide-details-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm, 12px);
  padding: 12px 16px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hide-details-btn:hover {
  background: #f1f5f9;
}

.hidden-details-block {
  padding: 14px 4px 8px;
}

.hidden-details-block.is-hidden {
  display: none;
}

.detail-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
}

.detail-desc strong {
  color: #0f172a;
}

/* Reviews in Detail Modal */
.detail-reviews-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
}

.detail-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-reviews-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.detail-reviews-count {
  font-size: 0.8rem;
  color: #64748b;
}

.detail-reviews-empty {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.detail-view-all-btn {
  background: none;
  border: none;
  color: var(--accent-orange, #f97316);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 6px;
}

/* Related Products Strip */
.toy-related-strip-wrapper {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #edf2f7;
}

.toy-related-strip-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.toy-related-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}

.toy-related-scroll .toy-card {
  width: 180px;
  flex-shrink: 0;
}

/* Mode Options & Purchase Selectors */
.purchase-mode {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.mode-option {
  flex: 1;
  padding: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-mid);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.mode-option.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.cart-section-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.address-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.address-details input,
.address-details textarea,
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

.address-details input:focus,
.address-details textarea:focus,
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.address-details .full-width {
  grid-column: 1 / -1;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
}

/* Feedback Modal Styles */
.feedback-modal-header {
  text-align: center;
  padding: 1.5rem 1.5rem 0.5rem;
}

.feedback-modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feedback-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent-orange-grad);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

/* =========================================================
   12:5 ASPECT RATIO BANNER (100% WIDTH)
   ========================================================= */
.banner-12-5-section {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.banner-12-5-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.banner-12-5-viewport {
  width: 100%;
  aspect-ratio: 12 / 5;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.banner-12-5-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform;
}

.banner-12-5-track .offer-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* =========================================================
   GENDER SELECTION CARDS (BOY & GIRL)
   ========================================================= */
.gender-section {
  padding: 0.5rem 0 1.25rem;
}

.gender-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .gender-cards-grid {
    gap: 18px;
  }
}

.gender-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
}

.gender-card--boy {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-color: #bae6fd;
}

.gender-card--girl {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
  border-color: #fbcfe8;
}

@media (min-width: 640px) {
  .gender-card {
    flex-direction: row;
    text-align: left;
    padding: 14px 18px;
    gap: 16px;
    border-radius: 20px;
  }
}

@media (min-width: 992px) {
  .gender-card {
    padding: 18px 24px;
    gap: 20px;
  }
}

.gender-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.gender-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  background: #f1f5f9;
  position: relative;
  margin-bottom: 6px;
}

@media (min-width: 640px) {
  .gender-card-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .gender-card-avatar {
    width: 74px;
    height: 74px;
  }
}

.gender-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gender-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .gender-card-info {
    align-items: flex-start;
  }
}

.gender-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 3px;
}

.gender-card--boy .gender-card-badge {
  background: #e0f2fe;
  color: #0369a1;
}

.gender-card--girl .gender-card-badge {
  background: #fce7f3;
  color: #be185d;
}

.gender-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .gender-card-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  .gender-card-title {
    font-size: 1.35rem;
  }
}

.gender-card-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin: 3px 0 0;
  display: none;
}

@media (min-width: 640px) {
  .gender-card-sub {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.gender-card-action {
  display: none;
}

@media (min-width: 768px) {
  .gender-card-action {
    display: flex;
    align-items: center;
  }
  .gender-card-btn {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
  }
  .gender-card--boy .gender-card-btn {
    background: #0284c7;
    color: #ffffff;
  }
  .gender-card--girl .gender-card-btn {
    background: #db2777;
    color: #ffffff;
  }
}

.gender-card.active {
  border-width: 2px;
  transform: translateY(-2px);
}

.gender-card--boy.active {
  border-color: #0284c7;
  background: #e0f2fe;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.28);
}

.gender-card--girl.active {
  border-color: #db2777;
  background: #fce7f3;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.28);
}

/* =========================================================
   NEAT CATEGORIES GRID
   ========================================================= */
.categories-section-neat {
  padding: 0.5rem 0 1.25rem;
}

.categories-grid-neat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .categories-grid-neat {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .categories-grid-neat {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .categories-grid-neat {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
  }
}

.category-card-neat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 4px 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  position: relative;
  user-select: none;
}

@media (min-width: 640px) {
  .category-card-neat {
    border-radius: 16px;
    padding: 10px 8px;
  }
}

.category-card-neat:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.category-card-neat.active {
  border-color: #f97316;
  background: #fff7ed;
  box-shadow: 0 0 0 2.5px rgba(249, 115, 22, 0.25);
}

.category-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .category-card-thumb {
    width: 64px;
    height: 64px;
  }
}

@media (min-width: 768px) {
  .category-card-thumb {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }
}

.category-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card-neat:hover .category-card-thumb img {
  transform: scale(1.08);
}

.category-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

@media (min-width: 640px) {
  .category-card-title {
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) {
  .category-card-title {
    font-size: 0.9rem;
  }
}

.category-card-neat.active .category-card-title {
  color: #c2410c;
  font-weight: 800;
}

/* =========================================================
   SEARCH MODAL OVERLAY (TOP RIGHT)
   ========================================================= */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2500 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-box {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.search-modal-overlay.active .search-modal-box {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border-bottom: 1.5px solid #f1f5f9;
}

.search-modal-icon {
  font-size: 1.2rem;
  color: #f97316;
}

.search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
}

.search-modal-close {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.search-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.search-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  max-height: calc(85vh - 70px);
}

.search-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.search-help-tip {
  margin-top: 14px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.4;
}

/* Live Search Results */
.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
  color: #64748b;
}

.search-view-all-btn {
  background: none;
  border: none;
  color: #ec4899;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.search-view-all-btn:hover {
  background: #fdf2f8;
  color: #be185d;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-item-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

.search-item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.search-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item-gender {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.search-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-name mark {
  background: #fef08a;
  color: #854d0e;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 800;
}

.search-item-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #15803d;
}

.search-item-mrp {
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.search-item-action-btn {
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 4px;
}

.search-item-card:hover .search-item-action-btn {
  color: #ec4899;
}

.search-more-results-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.search-more-results-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.search-empty-state {
  text-align: center;
  padding: 24px 12px;
}

.search-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.search-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.search-empty-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0 0 12px;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.search-quick-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.search-quick-tag:hover {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff;
}

/* =========================================================
   WELCOME PAGE STYLING & ANIMATIONS (index.html)
   ========================================================= */
.welcome-page-body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #090e17 0%, #0f172a 50%, #1e1b4b 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 20px;
}

.welcome-ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0) 70%);
  filter: blur(60px);
  animation: pulseGlow 8s infinite alternate ease-in-out;
  pointer-events: none;
}

.welcome-ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(70px);
  animation: pulseGlow 10s infinite alternate-reverse ease-in-out;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(30px, 20px); opacity: 0.9; }
}

.welcome-floating-element {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-size: 2.2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: floatRandom 6s infinite ease-in-out;
}

@keyframes floatRandom {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.welcome-card {
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 10;
  animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.welcome-logo-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
  border-radius: 24px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceLogo 3s infinite ease-in-out;
}

@keyframes bounceLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.welcome-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd166;
  margin-bottom: 1rem;
}

.welcome-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #fbcfe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .welcome-title {
    font-size: 2.8rem;
  }
}

.welcome-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.welcome-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
  .welcome-actions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.welcome-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.welcome-btn-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
  font-size: 1.05rem;
  border: none;
}

.welcome-btn-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.55);
  color: #ffffff;
}

.welcome-btn-boy {
  background: rgba(2, 132, 199, 0.2);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
}

.welcome-btn-boy:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
}

.welcome-btn-girl {
  background: rgba(219, 39, 119, 0.2);
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  color: #fce7f3;
}

.welcome-btn-girl:hover {
  background: #db2777;
  color: #ffffff;
  transform: translateY(-2px);
}

.welcome-redirect-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.welcome-progress-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.welcome-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ec4899, #f97316);
  border-radius: 10px;
  transition: width 0.1s linear;
}

.welcome-skip-btn {
  background: none;
  border: none;
  color: #fbcfe8;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
}

/* =========================================================
   MORE DASHBOARD MODAL
   ========================================================= */
.more-dashboard-modal {
  max-width: 600px;
  width: 95%;
  border-radius: 24px;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .more-dashboard-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    border-radius: 0 !important;
    padding: 1.25rem 1rem 2rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 3600 !important;
  }
}

.more-modal-head {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.more-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.more-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
}

.more-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.more-brand-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 0;
}

.more-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1.25rem;
}

.more-shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 6px 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.more-shortcut-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.more-shortcut-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.more-shortcut-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.1;
}

.more-links-section {
  margin-bottom: 1.25rem;
}

.more-section-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  padding-left: 4px;
}

.more-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.more-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.more-link-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
}

.more-link-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.more-link-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.more-link-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.more-link-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-link-arrow {
  font-size: 0.75rem;
  color: #cbd5e1;
  transition: transform 0.2s ease;
}

.more-link-item:hover .more-link-arrow {
  color: #f97316;
  transform: translateX(2px);
}

.more-store-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.more-store-icon {
  color: #d97706;
  font-size: 1.2rem;
}

.more-store-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #78350f;
}

.more-store-addr {
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.3;
}

.more-store-timing {
  font-size: 0.74rem;
  color: #b45309;
  font-weight: 600;
}

.more-store-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: #15803d;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.more-store-wa-btn:hover {
  background: #166534;
  color: #ffffff;
}

.more-modal-footer {
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.more-modal-footer p {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 0;
}

/* =========================================================
   MORE PROFILE CARD
   ========================================================= */
.more-profile-card {
  margin-bottom: 1.25rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
}

.more-profile-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.more-profile-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.more-profile-info {
  flex: 1;
  min-width: 0;
}

.more-profile-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.more-profile-email {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-profile-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.more-points-badge {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
}

.more-phone-badge {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.more-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.more-profile-btn {
  padding: 8px 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.more-profile-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.more-profile-btn--logout {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.more-profile-btn--logout:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Guest State */
.more-profile-guest {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.more-guest-icon {
  font-size: 2rem;
  color: #ec4899;
}

.more-guest-text {
  flex: 1;
}

.more-guest-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.more-guest-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin: 2px 0 0;
}

.more-guest-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.more-btn-signin {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
}

.more-btn-signup {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

/* =========================================================
   FILTER DASHBOARD MODAL
   ========================================================= */
.filter-dashboard-modal {
  max-width: 580px;
  width: 95%;
  height: 85vh;
  max-height: 88vh;
  border-radius: 24px;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

@media (max-width: 991px) {
  .filter-dashboard-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    flex-direction: column;
    overflow: hidden !important;
    z-index: 3600 !important;
  }
}

.filter-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1.5px solid #f1f5f9;
  background: #ffffff;
  flex-shrink: 0;
}

.filter-head-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fdf2f8;
  color: #ec4899;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.filter-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.filter-modal-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin: 2px 0 0;
}

.filter-reset-header-btn {
  background: none;
  border: none;
  color: #ec4899;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 28px;
}

.filter-modal-body {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  padding: 2.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.filter-group-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin: 0;
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .filter-pills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.filter-pill-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.filter-pill-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-color: #db2777;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.filter-pill-thumb {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.filter-pill-btn.active .filter-pill-thumb {
  border-color: #ffffff;
}

.filter-modal-footer {
  display: flex;
  gap: 10px;
  padding: 12px 1.25rem;
  border-top: 1.5px solid #f1f5f9;
  background: #ffffff !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  flex-shrink: 0 !important;
  position: relative;
  z-index: 100;
}

.filter-modal-reset-btn {
  flex: 1;
  padding: 12px;
  background: #f1f5f9;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-modal-reset-btn:hover {
  background: #e2e8f0;
}

.filter-modal-apply-btn {
  flex: 2;
  padding: 12px;
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
  transition: transform 0.15s ease;
}

.filter-modal-apply-btn:hover {
  transform: translateY(-1px);
}

/* Hide standard page footer on mobile (More Dashboard and Bottom Nav provide all links) */
@media (max-width: 991px) {
  .global-footer,
  footer {
    display: none !important;
  }
}