@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Premium Colors matching the reference design */
  --estore-bg: #f5f6fa;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --primary-color: #6366f1; /* Violet / Indigo */
  --primary-hover: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  
  --border-color: #e2e8f0;
  --input-focus: rgba(99, 102, 241, 0.15);
  
  /* Corners */
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  
  /* Shadows matching clean look */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(30, 41, 59, 0.03);
  --shadow-hover: 0 20px 40px rgba(99, 102, 241, 0.08);
  --shadow-sidebar: 0 4px 20px -2px rgba(17, 24, 39, 0.02);
  
  --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1280px;

  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--estore-bg);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Container */
.estore-container {
  padding: 30px 24px;
  width: 100%;
  margin: 0 auto;
}

/* Premium Dark Header Navigation */
.navbar {
  background: rgba(17, 24, 39, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 999px;
  transition: var(--transition-smooth);
}
.nav-link:hover, .nav-item.active .nav-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}
.navbar .btn-success {
  background: var(--primary-gradient);
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: var(--transition-spring);
}
.navbar .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Dark Navbar Dropdown Customization */
.navbar .dropdown-menu {
  background: rgba(17, 24, 39, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  margin-top: 8px;
}
.navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  padding: 8px 20px;
  transition: all 0.2s ease;
}
.navbar .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.navbar .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.navbar .dropdown-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px;
}

/* Horizontal Category Pills Bar */
.category-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.category-pill-btn {
  background: #ffffff;
  border: none;
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}
.category-pill-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}
.category-pill-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

/* Sidebar Filters Cards */
.filter-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sidebar);
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.filter-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.filter-reset-btn {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.filter-reset-btn:hover {
  color: var(--primary-color);
}

/* Price range visual elements */
.price-chart-viz {
  height: 60px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,30 Q20,30 30,22 T50,5 T70,25 T100,30" fill="none" stroke="%23818cf8" stroke-width="2"/><path d="M0,30 Q20,30 30,22 T50,5 T70,25 T100,30 L100,30 L0,30 Z" fill="rgba(129, 140, 248, 0.15)"/></svg>');
  background-size: 100% 100%;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  position: relative;
}
.price-slider-track-wrap {
  position: relative;
  margin-bottom: 24px;
}
.price-badges-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.price-badge-input {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Checkboxes custom styling */
.brand-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}
.brand-item input[type="checkbox"], .brand-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

/* Delivery options styled toggles */
.delivery-options-wrap {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 20px;
}
.delivery-toggle-btn {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.delivery-toggle-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}
.delivery-toggle-btn:not(.active) {
  background: transparent;
  color: var(--text-muted);
}

/* Modern grid alignment */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Product Card Rebuild matching screenshot */
.wishlist-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: relative;
  padding-bottom: 20px;
}
.wishlist-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Gray Image block with internal padding */
.wishlist-thumb {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  margin: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition-smooth);
}
.wishlist-thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.wishlist-card:hover .wishlist-thumb img {
  transform: scale(1.06);
}

/* Floating round wishlist heart btn */
.heart-float-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-spring);
}
.heart-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.15);
}

/* Yellow "Top item" badge float */
.badge-top-item {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffcc00;
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: capitalize;
  box-shadow: 0 2px 6px rgba(255, 204, 0, 0.2);
  z-index: 5;
  letter-spacing: 0.2px;
}

/* Card details styling */
.wishlist-body {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.wishlist-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.wishlist-desc {
  display: none; /* Keep layout compact as in reference design */
}

/* Centered/aligned pricing button card footer */
.wishlist-meta {
  margin-top: auto;
  border-top: none;
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.wishlist-meta .mrp {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}
.price-btn-pill {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: var(--primary-color);
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  cursor: pointer;
  outline: none;
}
.price-btn-pill:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Custom full-bleed highlight card block (Item 5 in reference layout) */
.wishlist-card-highlight {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.8) 100%), var(--card-bg);
  color: #ffffff;
}
.wishlist-card-highlight .wishlist-title {
  color: #ffffff;
}
.wishlist-card-highlight .price-btn-pill {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.wishlist-card-highlight .price-btn-pill:hover {
  background: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

/* Detail page specs tabs custom styles */
.specs .nav-pills .nav-link {
  background: #ffffff;
  color: var(--text-muted);
  border: 1.5px solid #e2e8f0;
  transition: var(--transition-smooth);
}
.specs .nav-pills .nav-link.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color);
}

/* Table cart items container styling */
.table-shopping-cart {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
}
.table-shopping-cart th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
}

/* Toast alert alert */
#estore-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
}
.estore-toast-card {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar Input Forms styling */
.filter-card .form-control {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-main);
  background-color: #f8fafc;
  transition: var(--transition-smooth);
}
.filter-card .form-control:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--input-focus);
}
.filter-card .input-group-text {
  border: 1px solid var(--border-color);
  background-color: #f8fafc;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-muted);
}
.filter-card .form-control.border-left-0 {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Custom Primary Buttons */
.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
  transition: var(--transition-spring) !important;
}
.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
  color: #ffffff !important;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-ghost {
  background: rgba(99, 102, 241, 0.06) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  transition: var(--transition-smooth) !important;
}
.btn-primary-ghost:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

/* Estore Hero Section Horizontal Scroll Banners */
.estore-banners-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.estore-banners-scroll-container::-webkit-scrollbar {
  height: 6px;
}
.estore-banners-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.estore-banners-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.estore-banners-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.estore-banner-scroll-item {
  flex: 0 0 calc(50% - 8px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: #ffffff;
  transition: var(--transition-spring);
}
.estore-banner-scroll-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.estore-banner-scroll-item.fallback-item {
  flex: 0 0 100%;
  max-width: 860px;
  margin: 0 auto;
}

.hero-slide-image-full {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .estore-banner-scroll-item:not(.fallback-item) {
    flex: 0 0 85%;
  }
}

/* Premium Badges for Product Cards */
.badge-discount-percent {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  z-index: 5;
}

.badge-offer-promo {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  z-index: 5;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  .category-pills-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .category-pill-btn {
    flex-shrink: 0;
  }
  .carousel-caption-glass {
    max-width: 80%;
    padding: 10px 14px;
  }
  .carousel-caption-glass h3 {
    font-size: 1rem;
  }
}

/* -------------------------------------
   BeliBeli EXACT MATCH DESIGN STYLES 
-------------------------------------- */

.estore-belibeli {
  background-color: #ffffff;
}

/* 1. Hero Section */
.belibeli-hero-carousel {
  background-color: #f8fafc;
}
.belibeli-hero-row {
  min-height: 400px;
}
.belibeli-hero-text {
  padding-top: 40px;
  padding-bottom: 60px;
}
.hero-tagline {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.hero-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-main-title em {
  font-style: italic;
  color: #111827;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  font-weight: 400;
}
.belibeli-hero-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.belibeli-indicators {
  justify-content: flex-start;
  margin-left: 3rem !important;
  margin-bottom: 2rem !important;
}
.belibeli-indicators li {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #cbd5e1 !important;
  border: none !important;
  margin-right: 8px !important;
  transition: background-color 0.3s;
}
.belibeli-indicators li.active {
  background-color: #1f2937 !important;
}

/* 2. Circular Categories */
.belibeli-categories-row {
  max-width: 1000px;
  margin: 0 auto;
}
.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  color: #1f2937;
  transition: transform 0.2s;
  width: 90px;
}
.category-circle-item:hover {
  transform: translateY(-5px);
}
.category-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #334155;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.category-circle-item:hover .category-circle {
  background-color: #e2e8f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.category-circle.category-all {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}
.category-circle-item:hover .category-circle.category-all {
  background-color: #f8fafc;
}
.category-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
}

/* 3. Flash Sale Section */
.flash-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.timer-badge {
  background-color: #ff3366;
  color: #ffffff;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.btn-nav-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.flash-sale-row::-webkit-scrollbar {
  display: none;
}
.flash-sale-row {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 4. Todays For You & Filters */
.todays-filters {
  display: flex;
}
.btn-filter-tab {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-filter-tab:hover {
  background-color: #f1f5f9;
}
.btn-filter-tab.active {
  background-color: #1f2937;
  color: #ffffff;
  border-color: #1f2937;
}

/* 5. Product Cards */
.belibeli-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.belibeli-heart:hover {
  transform: scale(1.1);
  color: #ef4444;
}

