/* 
 * Libas eCommerce - Premium Style Sheet
 * Brand Theme: Luxury, Minimalist, Elegant, Conversion-Focused
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css');

/* --- Root variables --- */
:root {
  --primary-color: #121619;     /* Deep Charcoal / Onyx */
  --primary-dark: #090b0c;      /* Absolute Deep Black */
  --accent-color: #D4AF37;      /* Metallic Gold */
  --accent-light: #E5A524;      /* Vibrant Gold */
  --accent-hover: #B5942B;      /* Rich Gold Hover */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FCFBFA;      /* Alabaster Warm Ivory */
  --bg-neutral-light: #F4F5F7;  /* Cool Light Gray */
  --bg-neutral-dark: #1E2226;   /* Muted Dark Gray */
  --text-dark: #121619;
  --text-body: #121619;
  --text-light: #FFFFFF;
  --text-muted: #333333;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 15px 45px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 50px rgba(212, 175, 55, 0.12);
}

/* --- Global Resets & Document Setup --- */
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 68px; /* Exact height for fixed navbar without white gap */
  width: 100%;
  max-width: 100vw;
}
@media (max-width: 991.98px) {
  body {
    padding-top: 60px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}
p {
  font-family: var(--font-body);
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: var(--text-body);
}
.bg-charcoal p {
  color: rgba(255, 255, 255, 0.85) !important;
}
.bg-charcoal .section-title {
  color: var(--text-light) !important;
}

.footer span,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px;
}
.footer p{
  color: #fff !important;
}
.footer a:hover {
  color: var(--accent-color) !important;
}
.footer .text-gold {
  color: var(--accent-color) !important;
}
.section-title {
  font-family: var(--font-title);
  font-size: 30px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark) !important;
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .section-title {
    font-size: 24px !important;
  }
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--accent-color);
}

/* --- Section Spacing Guidelines --- */
.section-padding {
  padding: 50px 0;
}
@media (max-width: 991.98px) {
  .section-padding {
    padding: 40px 0;
  }
}
@media (max-width: 575.98px) {
  .section-padding {
    padding: 30px 0;
  }
}

/* --- Utility Classes --- */
.text-gold {
  color: var(--accent-color) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.bg-gold {
  background-color: var(--accent-color) !important;
}
.bg-charcoal {
  background-color: var(--primary-color) !important;
}
.bg-brand-light {
  background-color: var(--bg-secondary) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='1.2' stroke-opacity='0.10'%3E%3Cpath d='M14 0 H66 L80 14 V66 L66 80 H14 L0 66 V14 Z' /%3E%3Cpath d='M0 40 H80 M40 0 V80' /%3E%3Ccircle cx='40' cy='40' r='20' /%3E%3Ccircle cx='40' cy='40' r='30' /%3E%3Cpath d='M0 0 L80 80 M0 80 L80 0' /%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 50px 50px !important;
}
.letter-spacing-wide {
  letter-spacing: 0.1em;
}
.letter-spacing-widest {
  letter-spacing: 0.2em;
}

/* --- Premium Buttons --- */
.btn-premium-dark {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
  padding: 12px 30px;
  font-family: var(--font-title);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-premium-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
  z-index: -1;
}
.btn-premium-dark:hover {
  color: var(--primary-color);
  border-color: var(--accent-color);
}
.btn-premium-dark:hover::before {
  width: 100%;
}

.btn-premium-gold {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  padding: 12px 30px;
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-premium-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
  z-index: -1;
}
.btn-premium-gold:hover {
  color: var(--text-light);
  border-color:  var(--accent-color);
}
.btn-premium-gold:hover::before {
  width: 100%;
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  padding: 12px 30px;
  font-family: var(--font-title);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-premium-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
  z-index: -1;
}
.btn-premium-outline:hover {
  color: var(--text-light);
  border-color: var(--primary-color);
}
.btn-premium-outline:hover::before {
  width: 100%;
}

/* Button Ripple effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Header & Sticky Navbar --- */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}
.navbar {
  padding: 8px 0;
  transition: var(--transition-smooth);
}
.navbar-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}
@media (max-width: 991.98px) {
  .navbar-logo {
    height: 44px;
  }
}
.header-wrapper.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-wrapper.scrolled .navbar {
  padding: 8px 0;
}
.header-wrapper.scrolled .navbar-logo {
  height: 44px;
}

/* Hover Dropdown styling for Shop */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: #d4af37 !important;
  --bs-dropdown-link-hover-bg: #d4af37 !important;
  --bs-dropdown-link-active-color: #ffffff !important;
  --bs-dropdown-link-hover-color: #ffffff !important;
  background-color: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--border-radius-md);
  padding: 10px 0;
}
.dropdown-item {
  font-family: var(--font-title);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  color: var(--text-dark);
  transition: var(--transition-fast);
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active,
a.dropdown-item:hover,
a.dropdown-item:focus,
a.dropdown-item:active,
a.dropdown-item.active {
  background-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #FFFFFF !important;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  transition: var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: var(--accent-color) !important;
}
.nav-link:hover::after {
  width: calc(100% - 32px);
}
.nav-item.dropdown .nav-link::after {
  display: none !important;
}

.nav-icon {
  font-size: 1.15rem;
  color: var(--text-dark) !important;
  position: relative;
  transition: var(--transition-fast);
  cursor: pointer;
}
.nav-icon:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}
.nav-icon-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--accent-color);
  color: #121619;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.6);
  border: 1.5px solid #121619;
  z-index: 10;
}

/* Custom Hamburger Menu Toggle */
.navbar-toggler {
  border: none;
  padding: 0;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.toggler-icon {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  display: block;
  transition: var(--transition-fast);
  position: relative;
}
.header-wrapper.scrolled .toggler-icon {
  background-color: var(--text-dark);
}
.toggler-icon::before, .toggler-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  display: block;
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}
.toggler-icon::before {
  top: -7px;
}
.toggler-icon::after {
  top: 7px;
  bottom: auto;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon,
.navbar-toggler:not(.collapsed) .toggler-icon {
  background-color: transparent !important;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon::before,
.navbar-toggler:not(.collapsed) .toggler-icon::before {
  transform: rotate(45deg);
  top: 0 !important;
  background-color: var(--text-dark) !important;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon::after,
.navbar-toggler:not(.collapsed) .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0 !important;
  bottom: auto !important;
  background-color: var(--text-dark) !important;
}

/* --- Hero Slider (Full-Width, Image Only) --- */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  height: 580px;
}
@media (max-width: 991.98px) {
  .hero-slider-section {
    height: 420px;
  }
}
@media (max-width: 575.98px) {
  .hero-slider-section {
    height: 280px;
  }
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Controls */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.hero-control:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.05);
}
.hero-control-prev {
  left: 30px;
}
.hero-control-next {
  right: 30px;
}
@media (max-width: 575.98px) {
  .hero-control {
    width: 36px;
    height: 36px;
  }
  .hero-control-prev {
    left: 15px;
  }
  .hero-control-next {
    right: 15px;
  }
}

/* Hero Dots Pagination */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--text-light);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.hero-dot.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  width: 30px;
  border-radius: 10px;
}

/* --- Featured Categories --- */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  height: 320px;
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .category-card {
    height: 250px;
  }
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 22, 25, 0.9) 0%, rgba(18, 22, 25, 0.3) 50%, rgba(18, 22, 25, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition-smooth);
}
.category-card-content {
  transform: translateY(20px);
  transition: var(--transition-smooth);
}
.category-card-content h3 {
  color: var(--text-light) !important;
  font-size: 1.35rem;
  font-weight: 500;
  white-space: nowrap;
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(18, 22, 25, 0.95) 0%, rgba(18, 22, 25, 0.4) 60%, rgba(18, 22, 25, 0.1) 100%);
}
.category-card:hover .category-card-content {
  transform: translateY(0);
}
.category-card .btn-premium-gold {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

/* --- Category Filter Tab Nav --- */
.category-filter-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 5px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.filter-tab-btn {
  background: transparent;
  color: var(--text-dark);
  border: none;
  padding: 8px 22px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
}
.filter-tab-btn:hover {
  color: var(--accent-color);
}
.filter-tab-btn.active {
  background-color: var(--accent-color);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* --- New Arrivals / Product Card --- */
.product-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(212, 175, 55, 0.15);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--bg-neutral-light);
}
.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.product-img-secondary {
  opacity: 0;
}
.product-card:hover .product-img-primary {
  opacity: 0;
}
.product-card:hover .product-img-secondary {
  opacity: 1;
  transform: scale(1.04);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Wishlist Trigger */
.btn-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-dark);
}
.btn-wishlist:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
  transform: scale(1.08);
}
.btn-wishlist.active {
  color: #DC3545 !important;
}

/* Action Overlay on Product Card */
.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(18, 22, 25, 0.8) 0%, rgba(18, 22, 25, 0) 100%);
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: 6;
}
.product-card:hover .product-actions-overlay {
  transform: translateY(0);
}
.btn-action-trigger {
  flex: 1;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-sm);
  border: none;
  transition: var(--transition-fast);
}
.btn-action-cart {
  background-color: var(--accent-color);
  color: var(--primary-color);
}
.btn-action-cart:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}
.btn-action-quickview {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  color: var(--text-light);
}
.btn-action-quickview:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Product Info */
.product-info {
  padding: 20px;
  text-align: center;
}
.product-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  font-family: var(--font-title);
}
.product-title {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-title a {
  color: var(--text-dark);
}
.product-title a:hover {
  color: var(--accent-color);
}
.product-color-badge {
  font-size: 11px;
  font-weight: 600;
  background-color: var(--bg-neutral-light);
  color: var(--primary-color);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.06);
}
.product-sizes-list {
  display: flex;
  gap: 3px;
}
.size-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1px 5px;
  border-radius: 3px;
}
.product-rating {
  font-size: 12px;
  color: var(--accent-color);
  margin-bottom: 8px;
}
.product-price-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.product-price {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}
.product-price-old {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* --- Why Choose Libas --- */
.feature-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.02);
  box-shadow: var(--shadow-subtle);
  height: 100%;
}
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--accent-color);
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(212, 175, 55, 0.25);
}
.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: rotateY(180deg);
}
.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Featured Collection Banner --- */
.promo-banner {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}
.promo-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .promo-content {
    padding: 40px;
  }
}
.promo-img-wrapper {
  position: relative;
  height: 550px;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .promo-img-wrapper {
    height: 400px;
  }
}
.promo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-banner:hover .promo-img-wrapper img {
  transform: scale(1.05);
}

/* --- Testimonials Luxury Redesign --- */
.luxury-testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 45px 40px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}
.luxury-testimonial-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}
.testimonial-avatar-wrapper {
  position: relative;
  display: inline-block;
}
.luxury-testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.verified-check-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--accent-color);
  color: var(--primary-dark);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--primary-dark);
}
.luxury-testimonial-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}
.luxury-testimonial-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.quote-watermark {
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.2;
  margin-bottom: -15px;
  display: block;
}
.luxury-testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .border-start-md {
    border-left: 2px solid rgba(212, 175, 55, 0.3) !important;
  }
}

/* Custom Luxury Testimonial Buttons */
.btn-testi-nav-luxury {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}
.btn-testi-nav-luxury:hover {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  border-color: var(--accent-color);
  transform: scale(1.08);
}

/* --- Instagram Gallery & Continuous Marquee --- */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  width: 220px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 1;
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 22, 25, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}
.instagram-icon {
  color: var(--text-light);
  font-size: 1.8rem;
  transform: scale(0.7);
  transition: var(--transition-smooth);
}
.instagram-item:hover img {
  transform: scale(1.08);
}
.instagram-item:hover .instagram-overlay {
  opacity: 1;
}
.instagram-item:hover .instagram-icon {
  transform: scale(1);
}

/* --- Newsletter Section --- */
.newsletter-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 80px 40px;
}
.newsletter-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.newsletter-title {
  color: var(--text-light);
}
.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
}
.newsletter-form .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}
.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
  box-shadow: none;
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-size: 14px;
  position: relative;
  z-index: 5;
  clear: both;
}
.footer-title {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}
.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
@media (max-width: 767.98px) {
  .footer-logo {
    height: 44px;
  }
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #FFFFFF;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}
.footer-social-icons {
  display: flex;
  gap: 12px;
}
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-smooth);
}
.social-icon-btn:hover {
  background-color: var(--primary-dark) !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  padding-left: 0 !important;
  transform: translateY(-3px);
}
.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  font-size: 13px;
}
.payment-icons img {
  height: 24px;
  opacity: 0.7;
  transition: var(--transition-fast);
  margin-left: 10px;
}
.payment-icons img:hover {
  opacity: 1;
}

/* --- Floating Actions --- */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-whatsapp-float {
  background-color: #25D366;
}
.btn-whatsapp-float:hover {
  background-color: #128C7E;
  transform: translateY(-5px) scale(1.05);
}
.btn-back-to-top {
  background-color: var(--primary-color);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent-color);
  opacity: 0;
  visibility: hidden;
}
.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.btn-back-to-top:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* --- Off-canvas Cart Drawer Custom Styling --- */
.offcanvas {
  background-color: var(--bg-primary);
  border-left: 1px solid rgba(0,0,0,0.05);
}
.offcanvas-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 24px;
}
.offcanvas-title {
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-close-custom {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-close-custom:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}
.cart-drawer-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cart-drawer-img {
  width: 80px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-neutral-light);
}
.cart-drawer-info {
  flex: 1;
}
.cart-drawer-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}
.cart-drawer-price {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}
.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cart-qty-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}
.cart-qty-val {
  font-size: 13px;
  font-weight: 500;
}
.btn-cart-remove {
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-cart-remove:hover {
  color: #DC3545;
}

/* --- Scroll triggered animation support --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.fade-left {
  opacity: 0;
  transform: translateX(-40px);
}
.animate-on-scroll.fade-left.fade-in {
  opacity: 1;
  transform: translateX(0);
}
.animate-on-scroll.fade-right {
  opacity: 0;
  transform: translateX(40px);
}
.animate-on-scroll.fade-right.fade-in {
  opacity: 1;
  transform: translateX(0);
}
.animate-on-scroll.zoom-in {
  opacity: 0;
  transform: scale(0.95);
}
.animate-on-scroll.zoom-in.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* --- Search overlay search styling --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 22, 25, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-overlay-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.search-overlay-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}
.search-input-wrapper {
  width: 60%;
  max-width: 700px;
  position: relative;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .search-input-wrapper {
    width: 85%;
  }
}
.search-overlay-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: var(--font-title);
  font-size: 2.2rem;
  padding: 15px 0;
  text-align: center;
  transition: var(--transition-smooth);
}
.search-overlay-input:focus {
  outline: none;
  border-color: var(--accent-color);
}
.search-suggestions {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.search-suggestions-title {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.search-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-light);
}
.search-tag:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Why Choose Libas Premium Cards */
.why-choose-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(18, 22, 25, 0.05);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
}
.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}
.why-choose-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.35rem;
  margin-bottom: 12px;
  transition: all 0.4s ease;
}
.why-choose-card:hover .why-choose-icon {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: rotateY(180deg);
}

/* Centralized structural classes to prevent inline styles */
.about-us-img {
  object-fit: cover;
  height: 450px;
}
.payment-icons i {
  cursor: pointer;
}
.gallery-modal-img {
  max-height: 85vh;
  object-fit: contain;
  box-shadow: none !important;
}
.modal-close-btn {
  top: 12px;
  right: 110px;
  left: auto;
  z-index: 1055;
  background-color: rgba(0, 0, 0, 0.6);
  color: #D4AF37 !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  line-height: 1;
}
.modal-close-btn:hover {
  background-color: #D4AF37 !important;
  color: #000000 !important;
  border-color: #D4AF37 !important;
  transform: scale(1.1);
}
#galleryModal .modal-content {
  box-shadow: none !important;
}
#galleryModal ~ .modal-backdrop,
.modal-backdrop.gallery-modal-backdrop {
  opacity: 0 !important;
  background-color: transparent !important;
}
.cta-section-padding {
  padding: 30px 0;
}

/* ==========================================================================
   Responsive Breakpoints & Enhancements (Mobile, Tablet & Desktop)
   ========================================================================== */

/* Extra Small & Mobile Devices (Up to 575px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 40px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .category-filter-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: start;
  }
  .filter-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .hero-slide {
    height: 70vh;
    min-height: 440px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .marquee-item {
    width: 160px;
  }
  .about-us-img {
    height: 280px;
  }
  .promo-content {
    padding: 30px 20px;
  }
}

/* Mobile & Tablet Devices (Up to 767px) */
@media (max-width: 767.98px) {
  .floating-actions-container {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .footer {
    text-align: center;
  }
  .footer-title {
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

/* Tablet Devices (576px to 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-slide {
    height: 75vh;
    min-height: 500px;
  }
  .about-us-img {
    height: 360px;
  }
}

/* ==========================================================================
   Toastify Custom Luxury Styling (Right-Side Toast)
   ========================================================================== */
.toastify {
  padding: 14px 22px !important;
  color: #ffffff !important;
  display: inline-block !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
  background: #121619 !important;
  position: fixed !important;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 10px !important;
  border-left: 4px solid #D4AF37 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13.5px !important;
  z-index: 999999 !important;
}

.toastify.on {
  opacity: 1 !important;
}

.toastify-right {
  right: 25px !important;
}

.toastify-top {
  top: 85px !important;
}

.toast-close {
  opacity: 0.7;
  padding: 0 5px;
  margin-left: 12px;
  font-size: 16px;
  color: #fff;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* Quick View Luxury Modal Styling */
.qv-size-label {
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
  min-width: 44px;
  text-align: center;
}
.qv-size-label:hover {
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  background-color: rgba(212, 175, 55, 0.12) !important;
}
.btn-check:checked + .qv-size-label {
  background-color: var(--accent-color) !important;
  color: #121619 !important;
  border-color: var(--accent-color) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-gold {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.dropdown-item.active, .dropdown-item:active {
    
    background-color: #d4af37;
}

/* =============================================================
   MARQUEE INFINITE GALLERY (Instagram / Shop The Look section)
   ============================================================= */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;   /* KEY: prevents horizontal scroll */
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  flex: 0 0 auto;
  width: 240px;
}
@media (max-width: 575.98px) {
  .marquee-item {
    width: 160px;
  }
}

/* =============================================================
   CATEGORY FILTER NAV (New Arrivals tabs)
   ============================================================= */
.category-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
@media (max-width: 767.98px) {
  .category-filter-nav {
    justify-content: flex-start;
  }
}
.filter-tab-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filter-tab-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}
.filter-tab-btn.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
}

/* =============================================================
   GLOBAL OVERFLOW FIX — prevent horizontal scroll on mobile
   ============================================================= */
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Navbar mobile: prevent collapse from overflowing */
@media (max-width: 991.98px) {
  .navbar-collapse {
    max-width: 100%;
    overflow-x: hidden;
  }
  .navbar > .container,
  .navbar > .container-fluid {
    flex-wrap: wrap;
  }
}

/* Ensure images never overflow their containers */
img {
  max-width: 100%;
  height: auto;
}