/* Root Variables */
:root {
  --logo: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/LjaJ/u2WkbI3ziUKT1Sma89uhtQaHrGHc8vi9xA8uh55A.png);
  --bg: #fff;
  --color-primary: #000000;
  --transition-base: all 0.3s ease;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

/* Global Reset */
body {
  overflow-x: hidden;
  background-color: var(--bg) !important;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: -80px; /* Adjust based on header height */
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition-base);
  font-weight: bold;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #333;
}

/* Navigation */
#mainnav {
  position: relative;
  z-index: 1000;
  background: transparent !important;
}

.inner {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .s-block--features {
    padding: 2rem 0;
  }

  .s-block--features__item {
    padding: 1rem;
  }
}

/* Loading Animation */
.index:before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--bg) var(--logo);
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-size: 250px !important;
  background-repeat: no-repeat;
  background-position: center !important;
  animation: fadeOut 2s ease-out forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { 
    opacity: 0;
    visibility: hidden;
  }
}

/* Additional Mobile-Specific Styles */
@media (max-width: 480px) {
  .navbar-brand img {
    max-height: 40px;
  }

  .header-btn__icon {
    font-size: 1.25rem;
  }

  .s-block--banners .grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Brands Slider */

@media (max-width: 480px) {
  .s-block--logos-slider .container .grid {
    margin-inline: auto;
    position: relative;
    height: 100px;
    width: 1000px;
  }
  
  .s-block--logos-slider .container {
    overflow: hidden;
  }

  .brand-item:nth-child(1) {
    animation-delay: calc(10s / 5 * (5 - 1) * -1);
  }

  .brand-item:nth-child(2) {
    animation-delay: calc(10s / 5 * (5 - 2) * -1);
  }
  .brand-item:nth-child(3) {
    animation-delay: calc(10s / 5 * (5 - 3) * -1);
  }
  .brand-item:nth-child(4) {
    animation-delay: calc(10s / 5 * (5 - 4) * -1);
  }

  .brand-item:nth-child(5) {
    animation-delay: calc(10s / 5 * (5 - 5) * -1);
  }

  .brand-item {
    width: 200px;
    height: 100px;
    border-radius: 6px;
    position: absolute;
    right: 100%;
    animation-name: scrollLeft;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  @keyframes scrollLeft {
    0% {
      right: 100%;
    }
    100% {
      right: -200px;
    }
  }
}
}

/* RTL Support */
[dir="rtl"] .hero-content {
  direction: rtl;
}

/* Menu Color Variables */
:root {
  --menu-text-primary: #fff;
  --menu-text-secondary: #FF8B3D;  /* Orange */
  --menu-text-hover: #FFA664;      /* Lighter Orange */
  --menu-text-active: #FF8B3D;
  --menu-transition: all 0.3s ease;
}

/* Main Navigation Styles */
#mainnav {
  position: relative;
  z-index: 1000;
}

/* Main Menu Items */
#mainnav .main-menu > li > a {
  color: var(--menu-text-primary) !important;
  font-weight: 500;
  transition: var(--menu-transition);
  position: relative;
}

/* Hover Effect for Main Menu */
#mainnav .main-menu > li > a:hover {
  color: var(--menu-text-secondary) !important;
  transform: translateY(-1px);
}

/* Active Menu Item */
#mainnav .main-menu > li.active > a {
  color: var(--menu-text-secondary) !important;
}

/* Submenu Styling */
#mainnav .sub-menu {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.5rem;
}

/* Submenu Items */
#mainnav .sub-menu a {
  color: var(--menu-text-primary) !important;
  transition: var(--menu-transition);
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

/* Submenu Hover */
#mainnav .sub-menu a:hover {
  color: var(--menu-text-secondary) !important;
  background: rgba(255, 139, 61, 0.1);
}

/* Menu Icons */
#mainnav i:before {
  color: var(--menu-text-secondary) !important;
  transition: var(--menu-transition);
}

#mainnav a:hover i:before {
  color: var(--menu-text-hover) !important;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .mm-ocd__content {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mm-ocd__content .main-menu > li > a {
    color: var(--menu-text-primary) !important;
    border-bottom: 1px solid rgba(255, 139, 61, 0.1);
    padding: 1rem;
  }

  .mm-ocd__content .main-menu > li > a:active {
    background: rgba(255, 139, 61, 0.1);
  }

  /* Mobile Submenu */
  .mm-ocd__content .sub-menu {
    background: rgba(0, 0, 0, 0.3) !important;
    margin: 0;
  }

  .mm-ocd__content .sub-menu a {
    padding-left: 2rem;
  }
}

/* Special Effects */
#mainnav .main-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--menu-text-secondary);
  transition: width 0.3s ease;
}

#mainnav .main-menu > li > a:hover::after {
  width: 100%;
}

/* Active Menu Indicator */
#mainnav .main-menu > li.active > a::after {
  width: 100%;
  background: var(--menu-text-secondary);
}

/* Cart and User Icons */
.header-btn__icon {
  color: var(--menu-text-primary) !important;
  transition: var(--menu-transition);
}

.header-btn:hover .header-btn__icon {
  color: var(--menu-text-secondary) !important;
}

/* Cart Summary Styling */
.s-cart-summary-wrapper {
  color: #fff !important;
  transition: all 0.3s ease;
}

/* Price Styling */
.s-cart-summary-wrapper .s-cart-summary-price {
  color: #fff !important;
  font-weight: 600;
}
/* Cart Total Override */
.s-cart-summary-total,
.s-cart-summary-wrapper .s-cart-summary-total {
  font-weight: 600;
  color: #fff !important;
  --tw-text-opacity: 1;
}

/* Price Amount */
.s-cart-summary-total span {
  color: #FF8B3D !important;
}

/* Currency */
.s-cart-summary-total .currency {
  color: #fff !important;
}

/* Ensure specificity override */
#mainnav .s-cart-summary-total,
.main-nav-container .s-cart-summary-total,
header .s-cart-summary-total {
  color: #fff !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .s-cart-summary-total {
    font-size: 0.9rem;
  }
}
/* User Menu Container */
.s-user-menu-wrapper {
  position: relative;
}

/* User Menu Trigger */
.s-user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hide the hello text and keep only the name */
.s-user-menu-trigger-hello {
  display: none;
}

/* Username Styling */
.s-user-menu-trigger-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Avatar Styling */
.s-user-menu-trigger .s-user-menu-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FF8B3D;
}

.s-user-menu-trigger-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dropdown Arrow */
.s-user-menu-trigger-icon {
  color: #FF8B3D;
  transition: transform 0.3s ease;
}

.s-user-menu-trigger-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Dropdown Menu */
.s-user-menu-dropdown {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 139, 61, 0.1);
}

/* Dropdown Header */
.s-user-menu-dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 139, 61, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-user-menu-dropdown-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FF8B3D;
}

.s-user-menu-dropdown-header-content {
  flex: 1;
}

.s-user-menu-dropdown-header-content span {
  font-size: 0.8rem;
  color: #FF8B3D;
  display: block;
  margin-bottom: 4px;
}

.s-user-menu-dropdown-header-content p {
  color: #fff;
  margin: 0;
  font-weight: 500;
}

/* Menu Items */
.s-user-menu-dropdown-item {
  transition: background 0.3s ease;
}

.s-user-menu-dropdown-item a {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: all 0.3s ease;
}

.s-user-menu-dropdown-item i {
  color: #FF8B3D;
}

.s-user-menu-dropdown-item i svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.s-user-menu-dropdown-item:hover {
  background: rgba(255, 139, 61, 0.1);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .s-user-menu-trigger-content {
    display: none;
  }
  
  .s-user-menu-trigger .s-user-menu-avatar-wrap {
    width: 28px;
    height: 28px;
  }
}
/* Remove background from user menu trigger */
.s-user-menu-trigger {
  background-color: transparent !important;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Ensure trigger container is also transparent */
.s-user-menu-trigger-slot {
  background-color: transparent !important;
}

/* Remove any potential white backgrounds from wrapper */
.s-user-menu-wrapper {
  background-color: transparent !important;
}

/* Maintain other styles while ensuring transparency */
.s-user-menu-trigger:hover,
.s-user-menu-trigger:focus,
.s-user-menu-trigger:active {
  background-color: transparent !important;
}

/* Keep dropdown menu background */
.s-user-menu-dropdown {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
} 


/* Brand Slider Container */
.s-block--logos-slider .container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 5%, rgba(255,255,255,0) 95%, rgba(255,255,255,0.9) 100%);
}

/* Slider Track */
.brand-slider-track {
  display: flex;
  gap: 2rem;
  width: fit-content;
  animation: scrollBrands 40s linear infinite;
}

/* Brand Items */
.brand-item {
  flex: 0 0 200px;
  height: 120px;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transform: translateZ(0);
}

.brand-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Infinite Scroll Animation */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 5 - 10rem)); /* Adjust based on item width and gap */
  }
}

/* RTL Support */
[dir="rtl"] .brand-slider-track {
  animation-direction: reverse;
}

/* Pause on Hover */
.brand-slider-track:hover {
  animation-play-state: paused;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .brand-item {
    flex: 0 0 150px;
    height: 90px;
    padding: 1rem;
  }

  @keyframes scrollBrands {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 5 - 10rem));
    }
  }
}
/* Base menu styling */
.s-user-menu-wrapper {
  position: relative;
}

/* Menu trigger styling */
.s-user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Avatar styling */
.s-user-menu-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FF8B3D;
}

.s-user-menu-trigger-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dropdown menu */
.s-user-menu-dropdown {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Show menu when toggler is opened */
.s-user-menu-toggler.opened .s-user-menu-dropdown {
  right: 0;
}

/* Backdrop */
.s-user-menu-toggler::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
  backdrop-filter: blur(4px);
}

.s-user-menu-toggler.opened::before {
  opacity: 1;
  visibility: visible;
}

/* Header styling */
.s-user-menu-dropdown-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f8f8;
}

.s-user-menu-dropdown-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FF8B3D;
}

.s-user-menu-dropdown-header-content {
  flex: 1;
}

.s-user-menu-dropdown-header-content span {
  color: #FF8B3D;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}

.s-user-menu-dropdown-header-content p {
  margin: 0;
  font-weight: 500;
  color: #333;
}

/* Close button */
.s-user-menu-dropdown-header-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.s-user-menu-dropdown-header-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Menu items */
.s-user-menu-dropdown-list {
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.s-user-menu-dropdown-item a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  gap: 12px;
}

.s-user-menu-dropdown-item a:hover {
  background: rgba(255, 139, 61, 0.1);
}

.s-user-menu-dropdown-item i {
  color: #FF8B3D;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-user-menu-dropdown-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Logout item */
.s-user-menu-dropdown-item-logout a {
  color: #ff3b30;
}

/* RTL Support */
[dir="rtl"] .s-user-menu-dropdown {
  right: auto;
  left: -100%;
}

[dir="rtl"] .s-user-menu-toggler.opened .s-user-menu-dropdown {
  left: 0;
  right: auto;
}








/*Fetures as one row Ayisha Asked*/
/* Override container */
.s-block.s-block--features.container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2rem 1rem !important;
}

/* Force single row, four column layout */
.s-block--features .grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
}

/* Clear existing grid classes */
.grid.grid-cols-\[repeat\(2\,minmax\(0\,1fr\)\)\],
.md\:grid-cols-\[repeat\(3\,minmax\(0\,1fr\)\)\] {
  display: flex !important;
}

/* Individual feature items */
.s-block--features__item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 25% !important;
  min-width: 25% !important;
}

/* Icon styling */
.feature-icon {
  width: 64px !important;
  height: 64px !important;
  background: #000 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
}

.feature-icon i {
  color: #fff !important;
  font-size: 1.5rem !important;
}

/* Text styling */
.s-block--features__item h2 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  color: #000 !important;
}

.s-block--features__item p {
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  color: #666 !important;
  max-width: 200px !important;
  margin: 0 auto !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .s-block--features .grid {
    gap: 0.5rem !important;
  }

  .feature-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 0.75rem !important;
  }

  .feature-icon i {
    font-size: 1.25rem !important;
  }

  .s-block--features__item h2 {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }

  .s-block--features__item p {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
  }
}

/*   Logo New */
/* Hide original image */
.navbar-brand img {
  display: none !important;
}

/* Hide original image */
.navbar-brand img {
  display: none !important;
}

/* Logo container */
.navbar-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.75rem !important;
  gap: 1px !important;
  text-decoration: none !important;
  height: auto !important;
}

/* English text */
.navbar-brand::before {
  content: 'AfterZero' !important;
  color: #FF8B3D !important;
  font-size: 1.0rem !important; /* Reduced from 1.4rem */
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 1.0px !important;
}

/* Arabic text */
.navbar-brand::after {
  content: 'افتر زيرو' !important;
  color: #FF8B3D !important;
  font-size: 0.9rem !important; /* Reduced from 1.1rem */
  font-weight: 500 !important;
  line-height: 1 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .navbar-brand::before {
    font-size: 1rem !important;
  }
  
  .navbar-brand::after {
    font-size: 0.8rem !important;
  }
}

/* Fixed header state */
.main-nav-container.fixed-pinned .navbar-brand::before {
  font-size: 1rem !important;
  transition: font-size 0.2s ease !important;
}

.main-nav-container.fixed-pinned .navbar-brand::after {
  font-size: 0.8rem !important;
  transition: font-size 0.2s ease !important;
}





/* Menu Mobile color*/
/* Mobile Menu Styling */
.mm-ocd__content .main-menu > li > a {
  color: #FF8B3D !important; /* Brand orange color */
  border-bottom: 1px solid rgba(255, 139, 61, 0.1);
  padding: 1rem;
  font-weight: 500 !important;
  transition: background-color 0.3s ease !important;
}

/* Active/Hover state */
.mm-ocd__content .main-menu > li > a:hover,
.mm-ocd__content .main-menu > li.active > a {
  background-color: rgba(255, 139, 61, 0.1) !important;
  color: #000 !important;
}

/* Menu container background */
.mm-ocd__content {
  background: #fff !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1) !important;
}

/* Sub-menu items if any */
.mm-ocd__content .main-menu > li .sub-menu a {
  color: #666 !important;
  padding: 0.75rem 1rem 0.75rem 2rem !important;
}




/*Search result should be in Front of AfterZero Logo*/


/* Search Container */
.s-search-container {
  position: relative !important;
  z-index: 9999 !important; /* Ensure it's above other elements */
}

/* Search Results Dropdown */
.s-search-results {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  max-height: 80vh !important; /* Limit height */
  overflow-y: auto !important;
  z-index: 99999 !important; /* Higher than container */
  margin-top: 8px !important;
}

/* Ensure proper scrolling */
.s-search-results::-webkit-scrollbar {
  width: 6px !important;
}

.s-search-results::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
}

.s-search-results::-webkit-scrollbar-thumb {
  background: #888 !important;
  border-radius: 3px !important;
}

/* Product Items */
.s-search-product {
  position: relative !important;
  z-index: 99999 !important;
  padding: 8px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Ensure input stays above results */
.s-search-input-wrapper {
  position: relative !important;
  z-index: 100000 !important;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .s-search-results {
    max-height: 60vh !important; /* Smaller on mobile */
    margin-bottom: 60px !important; /* Space for footer menu */
  }
}






/*Banner in mobile view as one row */



/* Banner container */
.s-block--banners.container {
  width: 100% !important;
  padding: 1rem !important;
  margin: 0 auto !important;
}

/* Force 3 column grid */
.s-block--banners .grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

/* Banner entry styling */
.banner-entry {
  position: relative !important;
  min-height: 200px !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Text overlay */
.banner-entry__text {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 1rem !important;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent) !important;
}

/* Title styling */
.banner__title {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .s-block--banners .grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.25rem !important;
  }

  .banner-entry {
    min-height: 120px !important;
    border-radius: 4px !important;
  }

  .banner-entry__text {
    padding: 0.5rem !important;
  }

  .banner__title {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }

  /* Optimize image loading */
  .banner-entry.lazy {
    background-size: cover !important;
  }
}


/*
.s-product-card-vertical {
    flex-direction: row;
}

.s-products-slider-card {
    max-width: 100%;
}

.s-product-card-image {
    width: 50%;
}

.s-product-card-image-contain {
    background: #fff;
}
*/