@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ==========================================================================
   GiftLand Theme - Custom CSS & Design Tokens
   ========================================================================== */

:root {
  --gl-primary: #e11d48;
  --gl-primary-dark: #be123c;
  --gl-primary-light: #ffe4e6;
  --gl-primary-rgb: 225, 29, 72;
  
  --gl-secondary: #4f46e5;
  --gl-secondary-dark: #4338ca;
  --gl-secondary-light: #e0e7ff;
  
  --gl-accent: #f59e0b;
  --gl-accent-light: #fef3c7;
  
  --gl-dark: #0f172a;
  --gl-slate: #334155;
  --gl-muted: #64748b;
  --gl-light: #f8fafc;
  --gl-white: #ffffff;
  
  --gl-card-border: rgba(15, 23, 42, 0.08);
  --gl-card-hover-border: rgba(225, 29, 72, 0.25);
  
  --gl-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --gl-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --gl-shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --gl-shadow-primary: 0 10px 25px -5px rgba(225, 29, 72, 0.35);

  --gl-radius-sm: 8px;
  --gl-radius-md: 14px;
  --gl-radius-lg: 20px;
  --gl-radius-pill: 9999px;
  
  --gl-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --gl-font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gl-font-serif: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   Global Reset & Base Typography
   ========================================================================== */

body {
  font-family: var(--gl-font-main);
  color: var(--gl-slate);
  background-color: var(--gl-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .gl-heading {
  color: var(--gl-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gl-serif {
  font-family: var(--gl-font-serif);
}

a {
  color: var(--gl-primary);
  text-decoration: none;
  transition: var(--gl-transition);
}

a:hover {
  color: var(--gl-primary-dark);
}

/* ==========================================================================
   Custom Utility Classes
   ========================================================================== */

.text-primary-custom { color: var(--gl-primary) !important; }
.bg-primary-custom { background-color: var(--gl-primary) !important; color: #fff; }
.bg-primary-subtle-custom { background-color: var(--gl-primary-light) !important; color: var(--gl-primary-dark); }
.text-accent-custom { color: var(--gl-accent) !important; }
.bg-accent-custom { background-color: var(--gl-accent) !important; }

.rounded-gl-sm { border-radius: var(--gl-radius-sm) !important; }
.rounded-gl-md { border-radius: var(--gl-radius-md) !important; }
.rounded-gl-lg { border-radius: var(--gl-radius-lg) !important; }

.shadow-gl-sm { box-shadow: var(--gl-shadow-sm) !important; }
.shadow-gl-md { box-shadow: var(--gl-shadow-md) !important; }
.shadow-gl-lg { box-shadow: var(--gl-shadow-lg) !important; }

.badge-pill-soft {
  padding: 0.35rem 0.85rem;
  border-radius: var(--gl-radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-gl-primary {
  background-color: var(--gl-primary);
  border-color: var(--gl-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.68rem 1.6rem;
  border-radius: var(--gl-radius-pill);
  transition: var(--gl-transition);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.btn-gl-primary:hover, .btn-gl-primary:focus {
  background-color: var(--gl-primary-dark);
  border-color: var(--gl-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--gl-shadow-primary);
}

.btn-gl-secondary {
  background-color: var(--gl-secondary);
  border-color: var(--gl-secondary);
  color: #fff;
  font-weight: 600;
  padding: 0.68rem 1.6rem;
  border-radius: var(--gl-radius-pill);
  transition: var(--gl-transition);
}

.btn-gl-secondary:hover {
  background-color: var(--gl-secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.35);
}

.btn-gl-outline {
  border: 2px solid var(--gl-primary);
  color: var(--gl-primary);
  background: transparent;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--gl-radius-pill);
  transition: var(--gl-transition);
}

.btn-gl-outline:hover {
  background-color: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--gl-shadow-primary);
}

/* Product Filter Tabs & Pill Buttons */
#productTabs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem 0.65rem !important; /* row-gap: 0.65rem, col-gap: 0.5rem */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#productTabs .nav-item {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal !important;
}

#productTabs .btn,
.btn-outline-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--gl-radius-pill, 9999px) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  padding: 0.38rem 0.95rem !important;
  border: 1.5px solid var(--gl-dark, #0f172a) !important;
  background-color: transparent !important;
  color: var(--gl-dark, #0f172a) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: var(--gl-transition, all 0.2s ease) !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

#productTabs .btn:visited,
.btn-outline-dark:visited {
  color: var(--gl-dark, #0f172a) !important; /* Prevents purple visited color */
}

#productTabs .btn:hover,
#productTabs .btn:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: var(--gl-dark, #0f172a) !important;
  color: #ffffff !important;
  border-color: var(--gl-dark, #0f172a) !important;
  transform: translateY(-1px);
}

#productTabs .btn.active,
#productTabs .btn:active,
.btn-outline-dark.active,
.btn-outline-dark:active {
  background-color: var(--gl-dark, #0f172a) !important;
  color: #ffffff !important;
  border-color: var(--gl-dark, #0f172a) !important;
}

.btn-icon-round {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gl-card-border);
  background-color: #fff;
  color: var(--gl-slate);
  transition: var(--gl-transition);
}

.btn-icon-round:hover {
  background-color: var(--gl-primary);
  color: #fff;
  border-color: var(--gl-primary);
  transform: scale(1.08);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background-color: #0b1120;
  color: #94a3b8;
  font-size: 0.815rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.top-bar a {
  color: #cbd5e1;
}

.top-bar a:hover {
  color: #fff;
}

.navbar-gl {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gl-card-border);
  padding: 0.85rem 0;
  transition: var(--gl-transition);
  z-index: 1030;
}

.navbar-gl.scrolled {
  padding: 0.55rem 0;
  box-shadow: var(--gl-shadow-md);
}

/* Custom Site Logo Sizing */
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img,
img.custom-logo {
  max-height: 105px;
  width: auto;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: all 0.25s ease;
}

.navbar-gl.scrolled .site-logo img,
.navbar-gl.scrolled .site-logo .custom-logo,
.navbar-gl.scrolled .custom-logo-link img {
  max-height: 80px;
}

.footer-gl .site-logo img,
.footer-gl .site-logo .custom-logo {
  max-height: 85px;
  max-width: 280px;
}

.navbar-brand-gl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--gl-dark);
}

.navbar-brand-gl .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gl-primary), #fb7185);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.navbar-brand-gl span.brand-accent {
  color: var(--gl-primary);
}

.nav-link-gl {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--gl-slate) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: var(--gl-transition);
}

.nav-link-gl:hover, .nav-link-gl.active {
  color: var(--gl-primary) !important;
  background-color: rgba(225, 29, 72, 0.05);
}

.header-search {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-search .search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--gl-muted, #94a3b8);
  font-size: 0.88rem;
  pointer-events: none;
  transition: color 0.25s ease;
  z-index: 2;
  display: inline-block !important;
}

.header-search:focus-within .search-icon {
  color: var(--gl-primary, #e11d48);
}

.header-search input {
  height: 40px;
  border-radius: var(--gl-radius-pill, 9999px) !important;
  padding-left: 2.35rem !important;
  padding-right: 1.15rem !important;
  font-size: 0.84rem !important;
  border: 1px solid var(--gl-card-border, #e2e8f0);
  background: var(--gl-light, #f8fafc);
  transition: var(--gl-transition, all 0.25s ease);
}

.header-search input::placeholder,
.header-search-mobile input::placeholder {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  letter-spacing: -0.01em;
  opacity: 1;
}

.header-search input:focus {
  background: #ffffff;
  border-color: var(--gl-primary, #e11d48);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.badge-counter {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--gl-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
}

.badge-counter:empty,
.badge-counter.d-none,
.badge-counter[data-count="0"] {
  display: none !important;
}

.btn-icon-beige {
  width: 44px;
  height: 44px;
  background-color: #fcf6ee;
  border: 1px solid #f3e6d6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a3828;
  transition: all 0.25s ease;
}

.btn-icon-beige:hover {
  background-color: #f7ebdc;
  color: var(--gl-primary);
  border-color: #e8d3bc;
  transform: translateY(-2px);
}

.header-search-wide {
  max-width: 580px;
}

.header-search-group {
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.header-search-group:focus-within {
  background: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.header-search-group input {
  background: transparent;
  border: none;
  font-size: 0.92rem;
  box-shadow: none !important;
}

.category-subnav-bar {
  background: #ffffff;
}

.category-nav-list {
  gap: 1.5rem;
}

.category-nav-link {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-nav-link:hover {
  color: #e11d48;
}

.category-nav-link.corporate-link {
  color: #e11d48;
  font-weight: 700;
}

/* Panoramic Dashain Banner */
.banner-dashain-panoramic {
  position: relative;
  width: 100%;
  min-height: 340px;
  height: 38vw;
  max-height: 640px;
  background-image: url('../images/dashain-banner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .banner-dashain-panoramic {
    min-height: 260px;
    height: 52vw;
  }
}

.banner-gradient-protection {
  display: none;
}

.corporate-red-bar {
  width: 145px;
  height: 4px;
  background-color: #e11d48;
  border-radius: 2px;
  margin-top: 4px;
}

.banner-teams-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.02em;
}

@media (max-width: 991px) {
  .banner-teams-title {
    font-size: 2.3rem;
  }
}

.banner-dashain-script {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.8rem;
  font-weight: 900;
  color: #7f1d1d;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9), 0 4px 20px rgba(127, 29, 29, 0.4);
}

@media (max-width: 991px) {
  .banner-dashain-script {
    font-size: 3rem;
  }
}

.btn-dashain-cta {
  background: #7f1d1d;
  color: #ffffff !important;
  border: 2px solid #fbbf24;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.85rem 2.2rem;
  box-shadow: 0 8px 24px rgba(127, 29, 29, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-dashain-cta:hover {
  background: #5c1111;
  color: #ffffff !important;
  border-color: #fef08a;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(127, 29, 29, 0.6);
}

/* ==========================================================================
   Homepage Hero Section & Interactive Gift Slideshow
   ========================================================================== */

.hero-section {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #fffafb 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(225, 29, 72, 0.08);
  color: var(--gl-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.hero-title {
  font-family: var(--gl-font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gl-dark);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--gl-primary);
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Unimart Reference Hero Slider (Curved Card & Centered Editorial Typography)
   ========================================================================== */

.hero-unimart-section {
  position: relative;
  background: transparent;
}

.hero-unimart-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 45px -10px rgba(15, 23, 42, 0.15);
  background: #1e293b;
  width: 100%;
}

.hero-unimart-carousel {
  position: relative;
  width: 100%;
  height: clamp(440px, 46vw, 560px);
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-unimart-carousel .carousel-inner {
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

.hero-unimart-carousel .carousel-item {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #1e293b;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-unimart-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-unimart-carousel:hover .carousel-item.active .hero-unimart-img {
  transform: scale(1.03);
}

/* Atmospheric contrast scrim to guarantee crystal clear white text */
.hero-unimart-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.45) 50%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Centered Editorial Text Overlay */
.hero-unimart-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-unimart-content > div {
  pointer-events: auto;
  max-width: 760px;
  animation: unimartHeroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes unimartHeroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-unimart-tagline {
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.hero-unimart-title {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.hero-unimart-offer {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-unimart-offer .offer-prefix {
  color: rgba(255, 255, 255, 0.88);
}

.hero-unimart-offer .offer-price {
  color: #3b82f6;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 800;
  margin: 0 0.25rem;
  text-shadow: none;
}

.hero-unimart-offer .offer-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
}

/* Centered Blue Pill CTA Button matching screenshot */
.btn-unimart-cta {
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2.6rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  transition: all 0.28s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-unimart-cta:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.6);
}

/* Bottom Inverted Pill Tab (Curved white dock at bottom center) */
.unimart-indicator-pill-tab {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 0.65rem 1.85rem 0.65rem;
  border-radius: 20px 20px 0 0;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.unimart-indicators {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.unimart-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  opacity: 1;
  transition: all 0.25s ease;
  padding: 0;
  margin: 0;
}

.unimart-indicators button.active {
  width: 10px;
  height: 10px;
  background-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

/* Hover Nav Controls */
.unimart-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #1e293b;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-unimart-carousel:hover .unimart-nav-btn {
  opacity: 0.85;
}

.unimart-nav-btn:hover {
  background: #ffffff;
  color: #2563eb;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08);
}

.carousel-control-prev.unimart-nav-btn {
  left: 1.5rem;
}

.carousel-control-next.unimart-nav-btn {
  right: 1.5rem;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .hero-unimart-card,
  .hero-unimart-carousel,
  .hero-unimart-carousel .carousel-inner {
    border-radius: 18px;
  }

  .hero-unimart-carousel {
    height: 400px;
    min-height: 380px;
  }

  .hero-unimart-title {
    font-size: 1.95rem;
  }

  .unimart-nav-btn {
    display: none;
  }

  .btn-unimart-cta {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
}

.floating-gift-badge .avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   Hero Slider & Banner Carousel (Giftmandu Reference Style)
   ========================================================================== */

.hero-slider-section {
  background: #fbfbfd;
  width: 100%;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  border-radius: 0;
  width: 100%;
}

.hero-carousel .carousel-inner {
  border-radius: 0 !important;
}

.hero-banner-slide {
  position: relative;
  min-height: 340px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  width: 100%;
}

.hero-banner-link {
  display: block;
  cursor: pointer;
}

.banner-luxury,
.banner-special {
  padding: 2.5rem 1rem;
}

@media (min-width: 992px) {
  .hero-banner-slide {
    height: 38vw;
    min-height: 480px;
    max-height: 640px;
    padding: 0;
  }

  .banner-luxury,
  .banner-special {
    padding: 2rem 2.5rem;
  }
}

/* Slide 1 Theme: Warm Festive Cream / Ivory */
.banner-festive {
  background: radial-gradient(circle at 65% 50%, #fff7ed 0%, #fef3e2 50%, #fbeddb 100%);
  border: 1px solid rgba(139, 24, 40, 0.12);
}

/* Slide 2 Theme: Soft Rosy Pearl */
.banner-luxury {
  background: radial-gradient(circle at 65% 50%, #fff1f2 0%, #ffe4e6 50%, #fce7f3 100%);
  border: 1px solid rgba(225, 29, 72, 0.12);
}

/* Slide 3 Theme: Warm Golden Champagne */
.banner-special {
  background: radial-gradient(circle at 65% 50%, #fefce8 0%, #fef9c3 50%, #fef08a 100%);
  border: 1px solid rgba(202, 138, 4, 0.15);
}

.banner-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8b1828;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.tagline-bar {
  width: 44px;
  height: 3px;
  background-color: #8b1828;
  border-radius: 2px;
  margin-top: 4px;
}

.banner-display-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #2b1810;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 991px) {
  .banner-display-title {
    font-size: 2.1rem;
  }
}

.banner-center-img-wrapper {
  position: relative;
  display: inline-block;
}

.banner-center-img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(43, 24, 16, 0.18));
  transition: transform 0.5s ease;
}

.banner-center-img:hover {
  transform: scale(1.03);
}

.banner-festive-script {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.6rem;
  font-weight: 900;
  color: #8b1828;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(139, 24, 40, 0.15);
}

@media (max-width: 991px) {
  .banner-festive-script {
    font-size: 2.6rem;
  }
}

.btn-banner-festive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8b1828;
  color: #ffffff !important;
  border: 2px solid #eab308;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 6px 20px rgba(139, 24, 40, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-banner-festive:hover {
  background: #6b0f1c;
  color: #ffffff !important;
  border-color: #fef08a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 24, 40, 0.4);
}

.banner-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  border: none;
  color: #8b1828;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.92;
  transition: all 0.25s ease;
  z-index: 5;
}

.banner-nav-btn:hover {
  background: #ffffff;
  color: #e11d48;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.carousel-control-prev.banner-nav-btn {
  left: 18px;
}

.carousel-control-next.banner-nav-btn {
  right: 18px;
}

/* Delivery Notice Bar */
.delivery-notice-bar {
  background: #fdf6ec;
  border: 1px solid #f6deb5;
  font-size: 0.88rem;
  color: #4b3621;
}

.delivery-notice-label {
  font-weight: 800;
  color: #9a3412;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.delivery-pill {
  background: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 30px;
  border: 1px solid #fed7aa;
  color: #334155;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.category-card {
  background: #fff;
  border-radius: var(--gl-radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--gl-card-border);
  transition: var(--gl-transition);
  display: block;
  color: var(--gl-dark);
  text-decoration: none;
  box-shadow: var(--gl-shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--gl-primary);
  box-shadow: var(--gl-shadow-md);
  color: var(--gl-primary);
}

.category-thumb-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
}

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

.category-card:hover .category-thumb-wrapper img {
  transform: scale(1.15);
}

/* ==========================================================================
   Product Card
   ========================================================================== */

.product-card {
  background: #fff;
  border-radius: var(--gl-radius-md);
  border: 1px solid var(--gl-card-border);
  overflow: hidden;
  transition: var(--gl-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gl-card-hover-border);
  box-shadow: var(--gl-shadow-md);
}

.product-thumb {
  position: relative;
  background-color: #f1f5f9;
  height: 250px;
  overflow: hidden;
}

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

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

.product-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--gl-radius-pill);
  text-transform: uppercase;
}

.product-badge-sale {
  background: var(--gl-primary);
  color: #fff;
}

.product-badge-trending {
  background: var(--gl-accent);
  color: #fff;
}

.product-badge-new {
  background: #10b981;
  color: #fff;
}

.product-actions-bar {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--gl-transition);
  z-index: 3;
}

.product-card:hover .product-actions-bar {
  opacity: 1;
  transform: translateY(0);
}

.product-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--gl-slate);
  border: 1px solid var(--gl-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gl-transition);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.product-action-btn:hover {
  background: var(--gl-primary);
  color: #fff;
  border-color: var(--gl-primary);
  transform: scale(1.1);
}

.product-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gl-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gl-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  line-height: 1.4;
}

.product-title a {
  color: inherit;
}

.product-title a:hover {
  color: var(--gl-primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--gl-accent);
  margin-bottom: 0.75rem;
}

.product-rating span.rating-count {
  color: var(--gl-muted);
  font-size: 0.78rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product-price .current-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gl-primary);
}

.product-price .old-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--gl-muted);
}

.btn-add-cart-mini {
  background: rgba(225, 29, 72, 0.1);
  color: var(--gl-primary);
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--gl-radius-pill);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--gl-transition);
}

.btn-add-cart-mini:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

/* ==========================================================================
   Deal of the Day Banner
   ========================================================================== */

.deal-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #31102e 100%);
  border-radius: var(--gl-radius-lg);
  padding: 3.5rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gl-shadow-lg);
}

.deal-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(225,29,72,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.countdown-box {
  display: flex;
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gl-radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 68px;
}

.countdown-item .count-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.countdown-item .count-label {
  font-size: 0.7rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Feature / Perks Section
   ========================================================================== */

.perk-box {
  background: #fff;
  border-radius: var(--gl-radius-md, 14px);
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--gl-card-border, rgba(15, 23, 42, 0.08));
  box-shadow: var(--gl-shadow-sm, 0 2px 8px rgba(15, 23, 42, 0.04));
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--gl-transition, all 0.28s ease);
  height: 100%;
}

.perk-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--gl-shadow-md, 0 10px 25px -5px rgba(15, 23, 42, 0.08));
  border-color: rgba(225, 29, 72, 0.25);
}

.perk-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gl-primary-light, #ffe4e6);
  color: var(--gl-primary, #e11d48);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.perk-box:hover .perk-icon {
  transform: scale(1.08);
}

.perk-title {
  font-size: 0.95rem;
  line-height: 1.3;
}

.perk-desc {
  font-size: 0.8rem;
  line-height: 1.35;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */

.testimonial-card {
  background: #fff;
  border-radius: var(--gl-radius-md);
  padding: 2rem;
  border: 1px solid var(--gl-card-border);
  box-shadow: var(--gl-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2.2rem;
  color: var(--gl-primary-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-card .review-text {
  font-style: italic;
  color: var(--gl-slate);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gl-primary-light);
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter-box {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe4e6 50%, #fdf2f8 100%);
  border-radius: var(--gl-radius-lg);
  padding: 3.5rem 2rem;
  border: 1px solid rgba(225, 29, 72, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box p {
  color: #334155;
  font-size: 1.05rem;
}

.newsletter-box .small.text-muted {
  color: #475569 !important;
  font-weight: 500;
}

.newsletter-box .input-group-custom {
  max-width: 500px;
  margin: 1.5rem auto 0;
  display: flex;
  border-radius: var(--gl-radius-pill);
  overflow: hidden;
  box-shadow: var(--gl-shadow-md);
  background: #fff;
  padding: 4px;
}

.newsletter-box .input-group-custom input {
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  outline: none;
  flex-grow: 1;
}

.newsletter-box .input-group-custom button {
  border-radius: var(--gl-radius-pill);
  padding: 0.75rem 1.8rem;
}

/* ==========================================================================
   Footer (Pure White & Clean Typography, No Pink Visited State)
   ========================================================================== */

.footer-gl {
  background-color: #0c1322;
  color: #ffffff;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-gl h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.footer-gl .navbar-brand-gl,
.footer-gl .navbar-brand-gl span,
.footer-gl .navbar-brand-gl .brand-accent {
  color: #ffffff !important;
}

.footer-bio {
  color: #ffffff;
  opacity: 0.92;
  font-size: 0.96rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active {
  color: #ffffff !important;
  font-size: 0.94rem;
  font-weight: 400;
  opacity: 0.9;
  transition: var(--gl-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff !important;
  opacity: 1;
  text-decoration: underline;
  transform: translateX(4px);
}

.footer-contact-text,
.footer-gl .small {
  color: #ffffff !important;
  opacity: 0.95;
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-contact-link,
.footer-contact-link:link,
.footer-contact-link:visited,
.footer-contact-link:active {
  color: #ffffff !important;
  text-decoration: none;
  transition: var(--gl-transition);
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-gl i.text-primary-custom {
  color: #ffffff !important;
}

.footer-status-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #ffffff !important;
}

.footer-bottom {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  font-size: 0.9rem;
}

.footer-copyright {
  color: #ffffff !important;
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer-gl .text-muted {
  color: #ffffff !important;
  opacity: 0.85;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--gl-transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--gl-primary);
}

.social-btn.whatsapp-btn:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Inner Page Specifics (Shop, Product Details, Cart)
   ========================================================================== */

.page-header-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 2.5rem;
  position: relative;
}

.breadcrumb-gl .breadcrumb-item a {
  color: #94a3b8;
}

.breadcrumb-gl .breadcrumb-item.active {
  color: #e2e8f0;
}

.filter-widget {
  background: #fff;
  border-radius: var(--gl-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--gl-card-border);
  margin-bottom: 1.5rem;
  box-shadow: var(--gl-shadow-sm);
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gl-light);
}

/* Product Details Page Gallery */
.gallery-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--gl-radius-md);
  border: 1px solid var(--gl-card-border);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--gl-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--gl-transition);
}

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

.gallery-thumb-item.active {
  border-color: var(--gl-primary);
}

/* Quantity stepper */
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gl-card-border);
  border-radius: var(--gl-radius-pill);
  background: #fff;
  padding: 0.2rem;
}

.quantity-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gl-light);
  color: var(--gl-slate);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gl-transition);
}

.quantity-stepper button:hover {
  background: var(--gl-primary);
  color: #fff;
}

.quantity-stepper input {
  width: 48px;
  text-align: center;
  border: none;
  font-weight: 700;
  outline: none;
}

/* Cart Table */
.cart-table th {
  background: var(--gl-light);
  color: var(--gl-dark);
  font-weight: 700;
  padding: 1rem;
  border: none;
}

.cart-table td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
}

/* Floating Toast Notification */
.toast-container-gl {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1090;
}

/* ==========================================================================
   Instant Gift Finder Component (Personalize Page)
   ========================================================================== */
.instant-gift-finder-section {
  background: transparent;
  margin-top: -10px;
}

.gift-finder-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.05);
  padding: 24px 28px;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.gift-finder-card:hover {
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.08);
}

.gift-finder-icon-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #ffe4e6;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.gift-finder-title {
  font-family: var(--gl-font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.gift-finder-subtitle {
  font-size: 0.88rem;
  color: #64748b;
}

.finder-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.finder-select {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 9px 36px 9px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1e293b;
  box-shadow: none;
  transition: all 0.2s ease;
  height: 44px;
}

.finder-select:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
  outline: none;
}

.btn-finder-submit {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: 50px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  transition: all 0.25s ease;
}

.btn-finder-submit:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.btn-finder-submit:active {
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .gift-finder-card {
    padding: 20px;
  }
  .btn-finder-submit {
    width: 100%;
    margin-top: 4px;
  }
}

/* ==========================================================================
   Wishlist Page Styles
   ========================================================================== */
.wishlist-table th {
  background: #f8fafc;
  color: var(--gl-dark, #0f172a);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wishlist-table td {
  padding: 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.wishlist-thumb-img {
  width: 76px;
  height: 76px;
  min-width: 76px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
}

.wishlist-thumb-img:hover {
  transform: scale(1.05);
}

.wishlist-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gl-dark, #0f172a);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.wishlist-item-title a {
  color: inherit;
  text-decoration: none;
}

.wishlist-item-title a:hover {
  color: var(--gl-primary, #e11d48);
}

.stock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stock-status-pill.in-stock {
  background-color: #ecfdf5;
  color: #059669;
}

.stock-status-pill.out-of-stock {
  background-color: #fef2f2;
  color: #dc2626;
}

.stock-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

.btn-wishlist-remove {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-wishlist-remove:hover {
  background: #fee2e2;
  color: #e11d48;
  border-color: #fecaca;
  transform: rotate(6deg);
}

.empty-wishlist-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe4e6 0%, #fee2e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.12);
  animation: floatHeart 3s ease-in-out infinite;
}

@keyframes floatHeart {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wishlist-card-mobile {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-card-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.wishlist-row-fadeout {
  opacity: 0;
  transform: scale(0.96) translateX(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */

/* 1. Touch & Tablet Devices (< 992px) */
@media (hover: none), (max-width: 991.98px) {
  /* Keep product action buttons (Quick View, Wishlist) accessible without hover */
  .product-actions-bar {
    opacity: 1 !important;
    transform: translateY(0) !important;
    bottom: 8px !important;
  }
  
  .product-action-btn {
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 991.98px) {
  /* Navbar & Mobile Navigation */
  .navbar-gl {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .site-logo img,
  .site-logo .custom-logo,
  .custom-logo-link img,
  .custom-logo {
    max-height: 75px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
  }

  .navbar-brand-gl {
    font-size: 1.35rem;
  }

  .navbar-collapse {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem;
    margin-top: 0.75rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    position: relative;
    z-index: 1035;
  }

  /* Mobile Navigation Backdrop & Dismiss */
  .navbar-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
  }

  body.mobile-menu-open .navbar-mobile-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link-gl {
    padding: 0.7rem 1rem !important;
    margin-bottom: 2px;
    font-size: 1rem;
    border-bottom: 1px solid #f8fafc;
  }

  .nav-link-gl:last-child {
    border-bottom: none;
  }

  .header-search-mobile {
    width: 100%;
  }

  .header-search-mobile .input-group {
    border-radius: 50px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .header-search-mobile .input-group:focus-within {
    border-color: var(--gl-primary, #e11d48);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
  }

  .header-search-mobile input {
    height: 42px;
    border: none !important;
    background: transparent !important;
    font-size: 0.84rem !important;
    padding: 0.4rem 0.95rem !important;
    color: var(--gl-dark, #0f172a);
    box-shadow: none !important;
  }

  .header-search-mobile .search-submit-btn {
    height: 42px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.15rem !important;
    background-color: var(--gl-primary, #e11d48) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 50px 50px 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
  }

  .header-search-mobile .search-submit-btn i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
  }

  .header-search-mobile .search-submit-btn:hover i {
    transform: scale(1.1);
  }

  /* Single Product Tabs Scrollable Swipe */
  .nav-tabs-mobile-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    justify-content: flex-start !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .nav-tabs-mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  .nav-tabs-mobile-scroll .nav-item {
    flex-shrink: 0;
  }

  .nav-tabs-mobile-scroll .nav-link {
    white-space: nowrap;
    padding: 0.6rem 1.1rem !important;
    font-size: 0.9rem;
  }

  /* Product Details Image on Tablet */
  .gallery-main-img {
    height: 380px;
  }

  /* Quick View Modal on Mobile/Tablet */
  .modal-dialog {
    margin: 0.75rem;
  }
}

/* 2. Mobile Phones (< 768px) */
@media (max-width: 767.98px) {
  /* Top Announcement Bar */
  .top-bar {
    font-size: 0.78rem;
    padding: 6px 0;
  }

  .top-bar .container {
    justify-content: center !important;
    text-align: center;
  }

  /* Page Headers */
  .page-header-banner {
    padding: 2.5rem 1rem !important;
  }

  .page-header-banner h1 {
    font-size: 1.65rem !important;
  }

  /* Hero Section */
  .hero-unimart-section {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .hero-unimart-carousel {
    height: 360px !important;
    min-height: 340px !important;
  }

  .hero-unimart-title {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-unimart-tagline {
    font-size: 0.8rem !important;
  }

  .btn-unimart-cta {
    padding: 0.65rem 1.6rem !important;
    font-size: 0.88rem !important;
  }

  /* Banner headings */
  .banner-teams-title {
    font-size: 1.65rem !important;
  }

  .banner-dashain-script {
    font-size: 2.2rem !important;
  }

  /* Product Card Grid */
  .product-thumb img {
    height: 200px;
    object-fit: cover;
  }

  .product-content {
    padding: 0.85rem;
  }

  .product-title {
    font-size: 0.9rem !important;
    line-height: 1.35;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .product-price .current-price {
    font-size: 1.05rem !important;
  }

  .product-price .old-price {
    font-size: 0.82rem;
  }

  /* Product Single Details Page */
  .gallery-main-img {
    height: 300px;
  }

  .gallery-thumb-item {
    width: 65px;
    height: 65px;
  }

  /* Cart Page Table & Summary */
  .cart-table th {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.8rem;
  }

  .cart-table td {
    padding: 0.85rem 0.5rem !important;
  }

  .cart-table img {
    width: 55px !important;
    height: 55px !important;
  }

  .quantity-stepper {
    padding: 0.15rem;
  }

  .quantity-stepper button {
    width: 28px;
    height: 28px;
  }

  .quantity-stepper input {
    width: 30px;
    font-size: 0.85rem;
  }

  /* Footer */
  .footer-gl {
    padding-top: 3rem !important;
    padding-bottom: 1.5rem !important;
  }

  .footer-gl h5 {
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-contact-text {
    font-size: 0.88rem;
  }
}

/* 3. Small Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
  .site-logo img,
  .site-logo .custom-logo,
  .custom-logo-link img,
  .custom-logo {
    max-height: 60px;
    max-width: 190px;
  }

  .navbar-brand-gl {
    font-size: 1.2rem;
  }

  .brand-icon {
    font-size: 1.15rem;
  }

  .btn-icon-round {
    width: 38px;
    height: 38px;
  }

  .btn-icon-round i {
    font-size: 1.1rem !important;
  }

  /* Filter Tabs on Mobile */
  #productTabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 0.55rem !important;
    margin-top: 0.85rem !important;
    width: 100% !important;
  }

  #productTabs .nav-item {
    margin: 0 !important;
  }

  #productTabs .btn {
    font-size: 0.82rem !important;
    padding: 0.32rem 0.8rem !important;
    line-height: 1.35 !important;
  }

  /* Mobile Search Responsive Fine-tuning */
  .header-search-mobile input {
    height: 38px !important;
    font-size: 0.8rem !important;
    padding-left: 0.85rem !important;
  }

  .header-search-mobile input::placeholder {
    font-size: 0.76rem !important;
  }

  .header-search-mobile .search-submit-btn {
    height: 38px !important;
    min-width: 42px !important;
    padding: 0 0.9rem !important;
  }

  .header-search-mobile .search-submit-btn i {
    font-size: 0.84rem !important;
  }

  /* Perks Section on Mobile */
  .perk-box {
    padding: 1.1rem 1rem !important;
    gap: 0.85rem !important;
  }

  .perk-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
    border-radius: 12px !important;
  }

  .perk-title {
    font-size: 0.9rem !important;
  }

  .perk-desc {
    font-size: 0.76rem !important;
  }

  /* Product Cards 2-col layout on small phones & tablets */
  .row-cols-2 .product-card,
  .row-cols-sm-2 .product-card,
  .product-card {
    border-radius: 14px;
    height: 100%;
  }

  .row-cols-2 .product-thumb,
  .row-cols-sm-2 .product-thumb,
  .product-thumb {
    height: 165px !important;
    min-height: 165px;
  }

  .row-cols-2 .product-thumb img,
  .row-cols-sm-2 .product-thumb img,
  .product-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }

  .product-content {
    padding: 0.75rem 0.65rem !important;
  }

  .product-cat {
    font-size: 0.68rem !important;
    margin-bottom: 0.2rem !important;
  }

  .product-title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    min-height: 2.3em;
    margin-bottom: 0.3rem !important;
  }

  .product-rating {
    font-size: 0.7rem !important;
    margin-bottom: 0.35rem !important;
    gap: 0.15rem !important;
  }

  .product-rating .rating-count {
    font-size: 0.68rem !important;
  }

  .product-footer {
    gap: 0.3rem !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .product-price .current-price {
    font-size: 0.95rem !important;
  }

  .product-price .old-price {
    font-size: 0.72rem !important;
  }

  .btn-add-cart-mini,
  .btn-add-to-cart {
    font-size: 0.74rem !important;
    padding: 0.28rem 0.6rem !important;
    white-space: nowrap;
  }

  .product-badge-group {
    top: 8px !important;
    left: 8px !important;
    gap: 0.2rem !important;
  }

  .product-badge {
    font-size: 0.62rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  .product-actions-bar {
    gap: 0.35rem;
    bottom: 8px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .product-action-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }

  /* Fallback: Ensure product rows arrange 2 cards per row on mobile even if row-cols-1 was used */
  .row-cols-1:has(.product-card) > .col {
    flex: 0 0 auto !important;
    width: 50% !important;
  }

  /* Wishlist Toolbar */
  #wishlistToolbar {
    flex-direction: column;
    align-items: stretch !important;
  }

  #wishlistToolbar .d-flex {
    width: 100%;
    justify-content: flex-start;
  }

  #btnShareWishlist,
  #btnMoveAllToCart,
  #btnClearWishlist {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    font-size: 0.8rem;
  }

  /* Checkout Form Modal */
  #checkoutModal .modal-body {
    padding: 1.25rem !important;
  }

  #checkoutModal .p-3.bg-light {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  #checkoutModal #btnSubmitOrder {
    width: 100%;
  }
}


