/* Minimalist Premium Header Styling for GYM CORNER */
:root {
  /* Minimalist Color Palette */
  --gym-dark: #0a0a0a; /* Deep Black */
  --gym-dark-rgb: 10, 10, 10;
  --gym-gray: #1a1a1a;
  --gym-border: rgba(255, 255, 255, 0.1);
  --gym-text: #ffffff; /* Crisp White */
  --gym-text-muted: #a0a0a0; /* Subtle Grey */
  --gym-accent: #ffffff; /* Use white for subtle accents */
}


/* Base Header - Aggressively remove all default backgrounds */
:root {
  --header-bg: transparent !important;
  --main-header-bg: transparent !important;
}

header,
salla-header,
.site-header,
.store-header,
.store-header::before, 
.store-header::after,
#mainnav::before, 
#mainnav::after {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none; /* Let clicks pass through empty space */
}

/* Ensure no pseudo-element backgrounds exist */
.store-header::before, 
.store-header::after,
#mainnav::before, 
#mainnav::after,
salla-header::before,
salla-header::after {
  content: none !important;
  display: none !important;
}

/* Keep Top Navbar Design intact and add smooth hide transitions */
.store-header .top-navbar {
  background-color: var(--gym-dark) !important;
  border-bottom: 1px solid var(--gym-border);
  pointer-events: auto; /* Re-enable clicks */
  transition: opacity 0.4s ease, border-color 0.4s ease, background-color 0.4s ease !important;
  opacity: 1;
}

/* Gently fade out top navbar on scroll without moving elements up */
.store-header.header-scrolled .top-navbar {
  opacity: 0 !important;
  border-bottom-color: transparent !important;
  background-color: transparent !important;
  pointer-events: none !important;
}

/* Main Nav container (Transparent wrapper) */
.store-header #mainnav {
  background-color: transparent !important; 
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 15px 20px; /* Padding to keep it off the screen edges */
  transition: padding 0.3s ease;
  pointer-events: none;
}

/* The New Floating Pill Navbar Design */
.store-header #mainnav .inner {
  background-color: rgba(var(--gym-dark-rgb), 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px !important; /* Pill shape */
  padding: 8px 30px !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important; /* Subtle border */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important; /* Floating shadow */
  pointer-events: auto; /* Re-enable clicks inside the pill */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Shrink header on scroll */
.store-header.header-scrolled #mainnav {
  padding: 10px 20px;
}

.store-header.header-scrolled #mainnav .inner {
  border-color: rgba(255, 215, 0, 0.2) !important; /* Subtle gold border when scrolling */
}

/* Brand Logo */
.store-header .navbar-brand {
  position: relative;
  transition: opacity 0.3s ease;
}

.store-header .navbar-brand:hover {
  opacity: 0.8;
}

/* Menu Items - Clean & Minimal */
.store-header custom-main-menu a {
  color: var(--gym-text-muted) !important;
  font-weight: 500 !important;
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap !important; /* Prevent text wrapping */
  flex-shrink: 0 !important; /* Prevent squishing */
}

.store-header custom-main-menu a:hover {
  color: #FFD700 !important; /* Golden text on hover */
  font-weight: 600 !important; /* Little bolder */
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

/* Minimal Hover line */
.store-header custom-main-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700; /* Golden line */
  transition: width 0.3s ease;
}

.store-header custom-main-menu a:hover::after {
  width: 100%;
}

/* Search Box - Sleek & Subtle */
.store-header .header-search {
  max-width: 300px; /* Make it slightly smaller and elegant */
  margin: 0 20px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.store-header salla-search {
  width: 100%;
  border: none !important;
}

.store-header salla-search .s-search-input,
.store-header salla-search::part(input) {
  background-color: rgba(255, 255, 255, 0.03) !important; /* Very subtle background */
  color: var(--gym-text) !important;
  border-radius: 8px !important; /* Elegant rounded corners, not full pills */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  /* padding: 0 15px; */
  font-weight: 400;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.store-header salla-search .s-search-input:focus,
.store-header salla-search::part(input):focus {
  outline: none !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.store-header salla-search .s-search-icon,
.store-header salla-search .s-search-icon-wrap {
  color: var(--gym-text-muted) !important;
}

/* Cart & User Icons - Minimalist */
.store-header salla-user-menu, 
.store-header salla-cart-summary {
  color: var(--gym-text-muted) !important;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 8px;
}

.store-header salla-user-menu i,
.store-header salla-cart-summary i {
  font-size: 22px;
}

.store-header salla-user-menu:hover, 
.store-header salla-cart-summary:hover {
  color: var(--gym-text) !important;
  transform: translateY(-2px);
}

/* SVG Path Coloring - Pure White / Grey */
.store-header salla-user-menu svg path,
#s-cart-icon svg path,
.s-cart-summary-icon svg path,
.store-header salla-cart-summary svg path {
  fill: var(--gym-text-muted) !important;
  transition: fill 0.3s ease;
}

.store-header salla-user-menu:hover svg path,
.store-header salla-cart-summary:hover svg path {
  fill: var(--gym-text) !important;
}

.s-search-icon svg path,
.store-header salla-search svg path {
  fill: var(--gym-text-muted) !important;
}

/* Mobile Toggle */
.store-header .mburger {
  color: var(--gym-text-muted) !important;
  transition: transform 0.3s ease, color 0.3s ease;
}

.store-header .mburger i {
  color: var(--gym-text-muted) !important;
}

.store-header .mburger:hover {
  color: var(--gym-text) !important;
}

.store-header .mburger:hover i {
  color: var(--gym-text) !important;
}

/* Center Search Input Text */
.s-search-inline .s-search-input-wrapper input[type=search] {
  /* text-align: center; */
}

/* --- User Requested Enhancements --- */

/* Brand Logo Sizing - Cleaned up selectors for better performance */
.store-header .navbar-brand img {
  height: 228px !important;
  max-height: 91px !important;
  object-fit: contain;
}

/* Icons & Cart Text - Bound to the minimalist color variables */
#s-cart-icon .sicon-shopping-bag,
.store-header .s-user-menu-login-btn svg,
.store-header .s-cart-summary-wrapper b {
  color: var(--gym-text-muted) !important;
  transition: color 0.3s ease;
}

/* Hover effects for the newly targeted elements to make them premium */
#s-cart-icon:hover .sicon-shopping-bag,
.store-header .s-user-menu-login-btn:hover svg,
.store-header salla-cart-summary:hover .s-cart-summary-wrapper b {
  color: var(--gym-text) !important;
}

/* Cart Margin Fix */
.store-header salla-cart-summary .s-cart-summary-wrapper p {
  margin-right: 13px !important;
}



/* Premium Brands Section Design for GYM CORNER */

/* Override section background to be a clean, premium light grey */
[data-testid="store-home-brands"] {
    background-color: #f9f9f9 !important;
    position: relative;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    margin-top: 0px !important;
}

/* Center and style the title */
[data-testid="store-home-brands"] .s-block__title {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

[data-testid="store-home-brands"] .s-block__title .right-side {
    width: auto !important;
    text-align: center !important;
}

[data-testid="store-home-brands"] .s-block__title h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important; /* Dark premium text */
    text-align: center !important;
    position: relative;
    display: inline-block;
    margin: 0 !important;
}

/* Subtle, elegant underline below title */
[data-testid="store-home-brands"] .s-block__title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #1a1a1a; /* Matches text color */
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Brand Item Cards - Modern Glass/Card Look */
[data-testid="store-home-brands"] .brand-item {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 130px !important; /* Fixed height to make all logos look uniform */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}

/* Premium Hover Effect for Cards */
[data-testid="store-home-brands"] .brand-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Brand Images (Logos) - Grayscale Effect */
[data-testid="store-home-brands"] .brand-item img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: grayscale(100%) opacity(0.5) !important; /* Elegant grayscale by default */
    transition: all 0.4s ease !important;
}

/* Colorize and pop logos on hover */
[data-testid="store-home-brands"] .brand-item:hover img {
    filter: grayscale(0%) opacity(1) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    [data-testid="store-home-brands"] {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    [data-testid="store-home-brands"] .s-block__title h2 {
        font-size: 24px !important;
    }

    [data-testid="store-home-brands"] .brand-item {
        height: 90px !important;
        padding: 15px !important;
        border-radius: 12px !important;
    }
}


/* Premium Featured Products Design for GYM CORNER */

/* Section Spacing */
[data-testid="store-home-featured-products"] {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    background-color: #ffffff !important;
}

/* Title Styling - Elegant RTL alignment */
[data-testid="store-home-featured-products"] .s-block__title {
    margin-bottom: 40px !important;
}

[data-testid="store-home-featured-products"] .s-block__title h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    position: relative;
    display: inline-block;
    margin: 0 !important;
}

[data-testid="store-home-featured-products"] .s-block__title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #1a1a1a;
    bottom: -15px;
    right: 0; /* Aligned to the right for RTL languages */
    border-radius: 2px;
}

/* Product Cards - Premium Clean Look */
[data-testid="store-home-featured-products"] custom-salla-product-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Hover Effect for Cards */
[data-testid="store-home-featured-products"] custom-salla-product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Product Image Box */
[data-testid="store-home-featured-products"] .s-product-card-image {
    position: relative;
    overflow: hidden !important;
    background-color: #f9f9f9 !important; /* Soft background to frame the product */
    border-bottom: 1px solid rgba(0,0,0,0.02) !important;
}

[data-testid="store-home-featured-products"] .s-product-card-image img {
    transition: transform 0.6s ease !important;
    object-fit: contain !important;
}

/* Cinematic zoom on hover */
[data-testid="store-home-featured-products"] custom-salla-product-card:hover .s-product-card-image img {
    transform: scale(1.08) !important;
}

/* Wishlist Button - Glassmorphism */
[data-testid="store-home-featured-products"] .s-product-card-wishlist-btn {
    background-color: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(5px) !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    color: #a0a0a0 !important;
    transition: all 0.3s ease !important;
}

[data-testid="store-home-featured-products"] .s-product-card-wishlist-btn:hover {
    color: #ff4500 !important; /* Red heart */
    transform: scale(1.1) !important;
}

/* Product Content */
[data-testid="store-home-featured-products"] .s-product-card-content {
    padding: 24px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Title Typography */
[data-testid="store-home-featured-products"] .s-product-card-content-title a {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    line-height: 1.5 !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

[data-testid="store-home-featured-products"] .s-product-card-content-title a:hover {
    color: #000000 !important;
}

/* Prices */
[data-testid="store-home-featured-products"] .s-product-card-sale-price,
[data-testid="store-home-featured-products"] .s-product-card-price {
    display: flex !important;
    align-items: center !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
}

[data-testid="store-home-featured-products"] .s-product-card-sale-price h4,
[data-testid="store-home-featured-products"] .s-product-card-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    margin: 0 !important;
}

[data-testid="store-home-featured-products"] .s-product-card-sale-price span {
    color: #a0a0a0 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
    margin-right: 12px !important; /* RTL spacing */
}

/* Add to Cart Button - Minimalist & Sleek */
[data-testid="store-home-featured-products"] .s-button-btn {
    border-radius: 8px !important;
    background-color: transparent !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    padding: 12px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

[data-testid="store-home-featured-products"] .s-button-btn:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

/* --- NEW LAYOUT: Balanced Special Card & Horizontal List --- */
/* Restore the split layout, but make the special card smaller (35% width) and the list (65%) */
@media (min-width: 1024px) {
    [data-testid="store-home-featured-products"] .grid.lg\:grid-cols-2 {
        display: grid !important;
        grid-template-columns: 35% 1fr !important;
        gap: 30px !important;
    }
}

/* Restore the "Special" large card styling so it looks premium */
[data-testid="store-home-featured-products"] .s-product-card-special {
    background-color: #fafafa !important; 
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

[data-testid="store-home-featured-products"] .s-product-card-special .s-product-card-content-title a {
    font-size: 20px !important; 
}

[data-testid="store-home-featured-products"] .s-product-card-special .s-product-card-sale-price h4 {
    font-size: 24px !important;
}

/* Transform the remaining small cards into HORIZONTAL list items */
[data-testid="store-home-featured-products"] .tabs__item {
    display: flex !important;
    flex-direction: column !important; /* Stack them on top of each other */
    gap: 15px !important;
}

[data-testid="store-home-featured-products"] .s-product-card-fit-height {
    flex-direction: row !important; /* Image and text side-by-side */
    align-items: center !important;
    height: auto !important;
    padding: 0 !important;
}

/* Image on the side */
[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-image {
    width: 140px !important; 
    min-width: 140px !important;
    height: 140px !important;
    border-bottom: none !important;
    border-left: 1px solid rgba(0,0,0,0.03) !important; /* Divider for RTL */
}

/* Content on the other side */
[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-content {
    flex-direction: column !important;
    justify-content: center !important;
    padding: 15px 20px !important;
    width: 100% !important;
}

/* Adjust text sizing for horizontal cards */
[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-content-title a {
    font-size: 14px !important;
}

[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-sale-price,
[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-price {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-button-btn {
    padding: 8px 15px !important;
    font-size: 13px !important;
}

/* --- User Requested Enhancements --- */
/* Featured Sale Price Color - Deep Red (ONLY for products on sale) */
[data-testid="store-home-featured-products"] .s-product-card-special .s-product-card-sale-price h4,
[data-testid="store-home-featured-products"] .tabs__item .s-product-card-sale-price h4 {
    color: #ce0707 !important;
}

/* Button & Content Width Adjustments (Enhanced for Responsiveness) */
[data-testid="store-home-featured-products"] .tabs__item .s-button-btn {
    width: 100% !important;
    max-width: 306px !important;
}

[data-testid="store-home-featured-products"] .s-product-card-fit-height .s-product-card-content {
    width: 100% !important;
    min-width: 133px !important;
    flex: 1 !important;
}


/* Premium Edge-to-Edge Banner Design for GYM CORNER */

/* Breakout hack to force the section to take up the full screen width (edge-to-edge) */
[data-testid="store-home-fixed-banner"] {
    padding: 0 !important;
    margin: 60px 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden !important;
}

/* Force inner container to fill the new 100vw width */
[data-testid="store-home-fixed-banner"] .container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

/* The banner wrapper - Set to a premium cinematic height */
[data-testid="store-home-fixed-banner"] .banner--fixed {
    display: block !important;
    width: 100% !important;
    height: 70vh !important; /* Takes up 70% of the customer's screen height */
    min-height: 500px !important;
    position: relative !important;
    overflow: hidden !important; /* Keeps the zoom effect contained */
}

/* Force image and picture tag to fill the wrapper */
[data-testid="store-home-fixed-banner"] .banner--fixed picture,
[data-testid="store-home-fixed-banner"] .banner--fixed img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Image styling - Cover the entire area perfectly */
[data-testid="store-home-fixed-banner"] .banner--fixed img {
    object-fit: cover !important; /* Crops the image elegantly to fill the space without stretching */
    object-position: center center !important;
    max-width: none !important;
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; /* Ultra-smooth, slow cinematic zoom */
}

/* Beautiful dark gradient overlay over the image */
[data-testid="store-home-fixed-banner"] .banner--fixed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none; /* Allows the link to still be clickable */
    z-index: 2;
}

/* Cinematic zoom hover effect */
[data-testid="store-home-fixed-banner"] .banner--fixed:hover img {
    transform: scale(1.05) !important;
}

/* Mobile Phone Adjustments */
@media (max-width: 768px) {
    [data-testid="store-home-fixed-banner"] {
        margin: 40px 0 !important;
    }
    
    [data-testid="store-home-fixed-banner"] .banner--fixed {
        height: 50vh !important; /* Slightly smaller on phones */
        min-height: 350px !important;
    }
}
#main-content .wide-placeholder{
 margin-top:3px !important;
}

/* User menu trigger */
#trigger-slot .s-user-menu-trigger{
 border-top-left-radius:35px;
 border-top-right-radius:35px;
 border-bottom-left-radius:35px;
 border-bottom-right-radius:35px;
 height:59px;
}

/* Premium Top Navbar Styling for GYM CORNER */
.top-navbar {
  background-color: #000000 !important; /* Pure black to contrast the dark grey header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  color: #888888 !important;
  display: block !important; /* Ensures it displays since you removed display: none */
}

/* Top Navbar Links (About Us, Shipping, etc.) */
.top-navbar .s-menu-topnav-item {
  color: #888888 !important;
  text-decoration: none !important;
  margin-left: 20px !important; /* RTL Spacing */
  transition: color 0.3s ease !important;
  font-weight: 500 !important;
}

.top-navbar .s-menu-topnav-item:hover {
  color: #ffffff !important;
}

/* Localization Button (Language/Currency) - Styled for Main Header */
.store-header .header-buttons {
  display: flex !important;
  align-items: center !important;
  margin-right: 15px !important; /* Space between language and cart price (RTL) */
}

.s-localization-modal-trigger-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  color: #a0a0a0 !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.s-localization-modal-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.s-localization-modal-trigger-separator {
  opacity: 0.3 !important;
}

/* --- User Requested Enhancements for Header Layout --- */
/* Applied on desktop screens to avoid breaking mobile layouts */
/* --- Header Flex Space Fix (Forces all menu items to show) --- */
@media (min-width: 1024px) {
    /* Trick Salla's JS into thinking there is always massive space for the menu */
    .store-header #mainnav .items-stretch .items-center {
        flex: 1 !important; 
        min-width: 600px !important; /* This strictly prevents Salla from collapsing your links */
        margin-right: 15px !important;
    }

    /* Header Right Container Adjustments (Cart, Search, Login) */
    .store-header #mainnav .items-stretch .justify-end {
        width: 100% !important;
        max-width: 300px !important; /* Reduced to 300px to give the menu more breathing room */
        flex: unset !important;
    }
    
    /* --- Force Main Menu into a Perfect Single Row --- */
    .store-header custom-main-menu ul,
    .store-header custom-main-menu .main-menu {
        display: flex !important;
        flex-wrap: nowrap !important; /* Absolutely prevents items from stacking or wrapping */
        align-items: center !important;
        justify-content: flex-start !important; 
        gap: 2px !important; /* Tighter gap to save space */
        border: none !important;
    }

    .store-header custom-main-menu li.root-level {
        flex-shrink: 0 !important; /* Crucial: Prevents the list items from squishing */
        margin: 0 !important;
        padding: 0 !important;
        border: none !important; 
    }
}

/* --- Premium Icon Hover Effects (Cart, User, Language) --- */
.store-header .header-buttons button,
.store-header .header-buttons a,
.store-header salla-cart-summary {
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

.store-header .header-buttons button:hover,
.store-header .header-buttons a:hover,
.store-header salla-cart-summary:hover {
    transform: translateY(-2px); /* Slight lift */
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.25)); /* Soft gold shadow */
}

/* --- Enhanced Mobile Menu Width (User Requested) --- */
@media (max-width: 1023px) {
    /* Safely apply the 575px width without breaking smaller phones */
    #mobile-menu, 
    #mobile-menu ul {
        width: 100% !important;
        max-width: 575px !important;
    }
    
    /* Ensure the slide-out drawer itself expands */
    .mm-ocd__content {
        max-width: 575px !important;
    }
}

/* --- Completely Remove Ugly Partial Scroll Lines --- */
.store-header #mainnav,
.store-header #mainnav .inner,
.store-header #mainnav .items-stretch,
.store-header #mainnav .items-center,
.store-header custom-main-menu,
.store-header custom-main-menu ul,
.store-header .main-menu {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* --- Premium Scrolled Header State --- */
.store-header.header-scrolled {
    background-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important; 
    transform: none !important; /* Prevent Salla from pushing the header off-screen */
    top: 0 !important;
}

/* Compensate for the top-navbar disappearing so the pill NEVER moves vertically */
.store-header.header-scrolled #mainnav {
    padding-top: 50px !important; /* 35px (top navbar height) + 15px (original padding) = 50px gap */
    padding-bottom: 15px !important;
}

/* Force remove the ugly partial line that Salla adds on scroll and clear inner backgrounds */
.store-header.header-scrolled #mainnav,
.store-header.header-scrolled .items-stretch,
.store-header.header-scrolled custom-main-menu,
.store-header.header-scrolled .main-menu,
.store-header.header-scrolled #mobile-menu,
.store-header.header-scrolled #mobile-menu ul {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background: transparent !important;
}

/* Keep the inner pill margin and alignment stable on scroll, apply blur effect */
body .store-header.header-scrolled #mainnav .inner {
    margin-top: 15px !important; /* Prevents jumping up when min-h-full is lost */
    height: 93px !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important; /* Gold border on scroll */
    background-color: rgba(10, 10, 10, 0.75) !important; /* Black, slightly transparent */
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
}

/* --- "More" (المزيد) Dropdown Menu Styling --- */
.store-header .s-menu-sub {
    background-color: #121212 !important; /* Premium dark background */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    padding: 10px 0 !important;
    margin-top: 15px !important;
}

.store-header .s-menu-sub a {
    color: #a0a0a0 !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s ease !important;
}

    .store-header .s-menu-sub a:hover {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
        padding-right: 25px !important;
    }
} /* End Desktop Only */

/* --- Mobile Specific Fixes --- */
@media (max-width: 1023px) {
    /* Center the mobile menu links vertically so they don't stick to the top */
    .mm-ocd__content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Centers everything vertically */
    }
    #mobile-menu {
        margin: auto 0 !important;
    }
}

/* --- Center the Top Navbar --- */
.top-navbar .container {
    justify-content: center !important;
    gap: 20px !important;
}
.top-navbar .container > .flex-1 {
    flex: unset !important; /* Stops it from pushing to the left */
    justify-content: center !important;
}
    .store-header #mainnav .items-stretch .items-center {
        flex: 1 !important; /* Gives the menu container maximum space so Salla doesn't hide links */
    }
}
.store-header custom-main-menu a[aria-label="المزيد"],
.store-header custom-main-menu a[aria-label="المزيد"] + ul,
.store-header custom-main-menu a[aria-label="المزيد"] ~ div {
    display: none !important;
}

/* --- Premium Dark Styling for the Mobile Side Menu --- */
/* Targets all possible panels and backgrounds to eliminate white strips */
.mm-ocd__content,
.mm-ocd__content *,
.mm-spn,
.mm-spn.mm-spn--light,
.mm-panel,
.mm-spn--navbar {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

/* Mobile menu links */
.mm-spn a, 
.mm-spn span {
    color: #a0a0a0 !important;
    transition: color 0.3s ease;
    background-color: transparent !important; /* Removes any weird red active backgrounds */
}

.mm-spn a:hover, 
.mm-spn span:hover {
    color: #ffffff !important;
}

/* Mobile menu borders and arrows */
.mm-spn li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
}

.mm-spn li::before {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Top Title Bar of Side Menu */
.mm-spn--navbar {
    border-bottom: none !important; /* User requested removal */
}

.mm-spn--navbar::after, 
.mm-spn--navbar::before {
    border-color: #ffffff !important;
}

/* --- Premium Default Header Aesthetics --- */
/* This makes the header look incredibly high-end before you even scroll or hover */
.store-header {
    background: linear-gradient(180deg, #111111 0%, #060606 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1) !important; /* Very faint gold separator */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important; /* Deep drop shadow */
}

/* --- User Requested Mobile Menu Adjustments --- */
@media (max-width: 475px) {
    /* List */
    #mobile-menu ul {
        padding-right: 0px !important; /* Enhanced with !important to guarantee it overrides Salla */
    }
    
    /* Ocd backdrop */
    .mm-ocd--right .mm-ocd__backdrop {
        transform: translateX(0px) translateY(0px) !important;
        border-top-left-radius: 29px !important;
        border-top-right-radius: 22px !important;
    }
    
    /* Link styling for open state */
    .mm-spn--open .font-bold a {
        min-height: 50px !important;
        height: 50px !important;
        display: flex !important; /* Added flex to perfectly center text if it was off-center */
        align-items: center !important;
    }
}

/* ========================================================
   PREMIUM STATISTICS SECTION 
   ======================================================== */

/* Seamless White Background for the entire section */
.s-block--bundle-statistics, .s-block-statistics, :host {
    background: transparent !important;
    --stats-bg-color: transparent !important; /* Overrides Salla's dark blue inline variable */
    padding: 20px 0 60px 0 !important;
    border: none !important;
}

/* Wrapper for the stats grid */
.s-block-statistics__wrapper {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

/* Individual Stat Cards - Perfectly matches the "Store Features" Cards */
.s-block-statistics__stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 15px !important; /* Reduced padding */
    border-radius: 16px !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    min-width: 200px !important; /* Reduced width */
    max-width: 280px !important;
    flex: 1 !important; /* Helps them balance beautifully */
}

/* 3D Hover Effect for Stats (Consistent with features) */
.s-block-statistics__stat:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #FFD700 !important; /* Border glows gold on hover */
}

/* Stat Icons */
.s-block-statistics__icon {
    font-size: 28px !important; /* Greatly reduced from 45px */
    color: #FFD700 !important; /* Gym Corner Gold */
    margin-bottom: 8px !important;
    transition: transform 0.4s ease !important;
}

.s-block-statistics__stat:hover .s-block-statistics__icon {
    transform: scale(1.15) rotate(5deg) !important;
}

/* The Big Numbers */
.s-block-statistics__value {
    font-size: 28px !important; /* Greatly reduced from 42px */
    font-weight: 800 !important;
    color: #1a1a1a !important; /* Dark text to match light theme */
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.5px !important;
    transition: color 0.4s ease !important;
}

.s-block-statistics__stat:hover .s-block-statistics__value {
    color: #FFD700 !important; /* Numbers turn Gold on hover */
}

/* The Label text below the numbers */
.s-block-statistics__label {
    font-size: 14px !important; /* Reduced from 16px */
    font-weight: 600 !important;
    color: #666666 !important; /* Muted Grey */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .s-block-statistics__wrapper {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .s-block-statistics__stat {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================================
   USER REQUESTED NAVBAR TWEAKS (Responsive Enhanced)
   ======================================================== */

/* General Navbar Tweaks */
#mainnav .inner {
    height: 93px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Mobile menu height adjustment */
#mobile-menu {
    height: 78px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Brand Logo Image Tweaks */
.store-header #mainnav .inner .container .items-stretch .items-center a img,
.items-stretch a img {
    height: 65px !important;
    border-radius: 45px !important; /* Fully rounded edges */
    margin-left: 17px !important;
}

/* Base state for inner wrapper (Solid when not scrolled) */
.min-h-full .store-header #mainnav .inner {
    margin-top: 15px !important;
    padding-left: 0px !important;
    background-color: #0a0a0a !important; /* Solid black when at the top */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 
  Responsive Desktop Adjustments 
  (We wrap the hardcoded widths/margins in a media query so they don't break mobile)
*/
@media (min-width: 1024px) {
    /* Container Width and Alignment */
    .min-h-full .store-header #mainnav .inner .container {
        width: 83% !important;
    }
    
    #mainnav .container {
        margin-left: 99.0156px !important; 
    }
    
    /* Navbar Center Items */
    .min-h-full .store-header #mainnav .inner .container .items-stretch .items-center {
        min-width: 0px !important;
        width: 0px !important; 
    }

    #mainnav .items-stretch .items-center {
        margin-left: 0px !important;
    }

    /* Cart and Localization Spacing */
    .rtl\:ml-\[unset\] .s-cart-summary-wrapper p {
        width: 43px !important;
    }

    .header-buttons .hydrated .s-localization-modal-trigger-btn {
        margin-right: 50px !important;
    }

    .items-stretch .justify-end .rtl\:ml-\[unset\] {
        margin-right: 31px !important;
    }

    .min-h-full .store-header #mainnav .inner .container .items-stretch .justify-end .header-buttons .hydrated {
        width: 86% !important; 
    }
}

/* ========================================================
   USER SPECIFIC TWEAKS (Typography & Search Enhancements)
   ======================================================== */

/* Premium Search Input */
.s-search-inline .s-search-input-wrapper input[type=search] {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.s-search-inline .s-search-input-wrapper input[type=search]:focus {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 215, 0, 0.3) !important; /* Subtle gold border on focus */
    outline: none !important;
}

/* Menu Link Typography & Hover */
.mm-spn--open .lg\:\!inline-block a {
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.mm-spn--open .lg\:\!inline-block a:hover {
    color: var(--gym-gold) !important;
}

/* Header Buttons Span Typography */
.header-buttons .hydrated span {
    font-weight: 700 !important;
}

/* ========================================================
   PREMIUM LIGHT-THEMED HORIZONTAL CARDS
   ======================================================== */

.s-products-list-horizontal-cards custom-salla-product-card {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal split */
    align-items: center !important;
    background-color: #ffffff !important; /* Clean white background */
    border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Subtle, elegant border */
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important; /* Soft shadow */
    transition: all 0.4s ease !important;
    min-height: 200px !important;
    gap: 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Hover Interaction: Border glows gold, card lifts */
.s-products-list-horizontal-cards custom-salla-product-card:hover {
    border-color: var(--gym-gold, #ffcc00) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px) !important;
}

/* Image styling */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-image {
    flex: 0 0 160px !important; /* Fixed width for the image block */
    height: 160px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.4s ease !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: transparent !important;
}

/* Playful image tilt & zoom on hover */
.s-products-list-horizontal-cards custom-salla-product-card:hover .s-product-card-image img {
    transform: scale(1.15) rotate(-5deg) !important;
}

/* Content block on the other side */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Normal horizontal title */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-main {
    position: static !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    background: transparent !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    text-align: right !important; /* Standard RTL alignment */
}

.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-title a {
    color: #111 !important; /* Dark text for perfect readability on white */
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    white-space: normal !important; /* Allow natural wrapping */
    line-height: 1.4 !important;
}

/* Price & Buttons */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-sub,
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-footer {
    position: static !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Fix Price visibility on light background */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-sub h4,
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-sub .s-product-card-price {
    color: #000 !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
}

.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-sub span {
    color: #888 !important; /* Strikethrough old price */
    font-size: 1rem !important;
}

/* Button styling */
.s-products-list-horizontal-cards custom-salla-product-card .s-product-card-content-footer salla-add-product-button salla-button button {
    background: var(--gym-dark, #111) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

/* Creative Hover: Button changes color */
.s-products-list-horizontal-cards custom-salla-product-card:hover .s-product-card-content-footer salla-add-product-button salla-button button {
    background: var(--gym-gold, #ffcc00) !important;
    color: #000 !important;
}

/* ========================================================
   PREMIUM GLASSMORPHISM CUSTOMER REVIEWS
   ======================================================== */

.s-reviews-container {
    padding: 3rem 0 !important;
}

/* Glassmorphism Card styling */
.s-reviews-testimonial {
    background: rgba(20, 20, 20, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 250px !important;
}

.s-reviews-testimonial:hover {
    border-color: rgba(255, 204, 0, 0.5) !important;
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.1) !important;
    transform: translateY(-5px) !important;
}

/* Avatar styling */
.s-reviews-testimonial__avatar {
    margin-bottom: 1.5rem !important;
}

.s-reviews-testimonial__avatar img {
    border-radius: 50% !important;
    border: 3px solid var(--gym-gold, #ffcc00) !important;
    padding: 2px !important;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2) !important;
    width: 70px !important;
    height: 70px !important;
}

/* Typography */
.s-reviews-testimonial__text p {
    color: #e0e0e0 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    font-style: italic !important;
}

.s-reviews-testimonial__name_wrapper {
    margin-top: 1.5rem !important;
}

.s-reviews-testimonial__info h2 {
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

/* Star Ratings */
.s-rating-stars-selected svg {
    fill: var(--gym-gold, #ffcc00) !important;
}

/* Quote Icon Watermark */
.s-reviews-testimonial__icon {
    position: absolute !important;
    top: 10px !important;
    left: 20px !important; /* RTL left side */
    opacity: 0.05 !important;
    transform: scale(4) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.s-reviews-testimonial__icon svg {
    fill: var(--gym-gold, #ffcc00) !important;
}

/* Ensure inner text is above watermark */
.s-reviews-testimonial__inner {
    position: relative !important;
    z-index: 10 !important;
}

/* ========================================================
   REORDER SECTION: PREMIUM VERTICAL CARDS (LIGHT THEME)
   ======================================================== */

#reorder-section custom-salla-product-card {
    background: #ffffff !important; /* Changed to Light Background */
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
}

#reorder-section custom-salla-product-card:hover {
    border-color: var(--gym-gold, #ffcc00) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px) !important;
}

/* Image container */
#reorder-section custom-salla-product-card .s-product-card-image {
    background: transparent !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    transition: transform 0.4s ease !important;
    border: none !important;
}

#reorder-section custom-salla-product-card:hover .s-product-card-image {
    transform: scale(1.05) !important;
}

#reorder-section custom-salla-product-card .s-product-card-image img {
    background: transparent !important;
    mix-blend-mode: normal !important;
}

/* Text & Colors */
#reorder-section custom-salla-product-card .s-product-card-content-title a {
    color: #111 !important; /* Dark text for readability on white */
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

#reorder-section custom-salla-product-card .s-product-card-content-sub {
    margin: 1rem 0 !important;
}

#reorder-section custom-salla-product-card .s-product-card-content-sub h4,
#reorder-section custom-salla-product-card .s-product-card-content-sub .s-product-card-price {
    color: #000 !important; /* Dark price */
    font-size: 1.3rem !important;
    font-weight: 900 !important;
}

/* Reorder Button */
#reorder-section custom-salla-product-card .s-product-card-content-footer salla-add-product-button salla-button button {
    background: var(--gym-dark, #111) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

#reorder-section custom-salla-product-card:hover .s-product-card-content-footer salla-add-product-button salla-button button {
    background: var(--gym-gold, #ffcc00) !important;
    color: #000 !important;
}

/* ========================================================
   PREMIUM DARK FOOTER
   ======================================================== */

.store-footer {
    background: #0a0a0a !important; /* Deep premium dark */
    color: #e0e0e0 !important;
    border-top: 2px solid var(--gym-gold, #ffcc00) !important;
    padding-top: 4rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Footer Inner Grid */
.store-footer__inner {
    background-color: transparent !important;
    background: transparent !important;
    padding-bottom: 3rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Headings */
.store-footer h3,
.store-footer .s-contacts-title {
    color: var(--gym-gold, #ffcc00) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.5px !important;
}

/* Store Title overrides */
.store-footer a h3 {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    margin-bottom: 1rem !important;
}

/* Links */
.store-footer .s-menu-footer-item {
    color: #b0b0b0 !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
    font-size: 1rem !important;
}

.store-footer .s-menu-footer-item:hover {
    color: #fff !important;
    transform: translateX(-5px) !important; /* RTL hover effect: slightly move left */
}

/* Contacts */
.store-footer .s-contacts-item {
    color: #b0b0b0 !important;
    transition: color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.store-footer .s-contacts-item:hover {
    color: var(--gym-gold, #ffcc00) !important;
}

.store-footer .s-contacts-icon {
    margin-left: 0.75rem !important; /* RTL spacing */
}

.store-footer .s-contacts-icon svg {
    fill: var(--gym-gold, #ffcc00) !important;
}

/* Social Icons */
.store-footer .s-social-list li a {
    color: #b0b0b0 !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
}

.store-footer .s-social-list li a:hover {
    color: var(--gym-gold, #ffcc00) !important;
    transform: translateY(-3px) !important;
}

/* Copyright Bar */
.store-footer .copyright-text p {
    color: #888 !important;
}

.store-footer .copyright-text a {
    color: var(--gym-gold, #ffcc00) !important;
    font-weight: bold !important;
    transition: color 0.3s ease !important;
}

.store-footer .copyright-text a:hover {
    color: #fff !important;
}

/* ========================================================
   NEAT-INSPIRED LIGHT ANIMATED BACKGROUND
   ======================================================== */

body {
    background-color: #f0f2f5 !important; /* Slightly darker light base for contrast */
    position: relative !important;
    z-index: 0 !important;
    overflow-x: hidden !important;
}

/* Add drop shadow and clean white backgrounds to main section containers so they pop */
.s-block .container {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem !important;
}

/* Glowing Orbs */
body::before, body::after {
    content: "" !important;
    position: fixed !important;
    width: 60vw !important;
    height: 60vw !important;
    border-radius: 50% !important;
    filter: blur(100px) !important;
    z-index: -2 !important;
    opacity: 0.5 !important;
    animation: orbFloat 25s infinite alternate ease-in-out !important;
    pointer-events: none !important;
}

/* Gold Orb */
body::before {
    background: radial-gradient(circle, rgba(255, 204, 0, 0.25) 0%, rgba(255, 204, 0, 0) 70%) !important;
    top: -10% !important;
    left: -10% !important;
}

/* Subtle Icy Silver Orb for depth */
body::after {
    background: radial-gradient(circle, rgba(200, 210, 225, 0.4) 0%, rgba(200, 210, 225, 0) 70%) !important;
    bottom: -10% !important;
    right: -10% !important;
    animation-delay: -12.5s !important;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15vw, 15vh) scale(1.1); }
    100% { transform: translate(-10vw, -10vh) scale(0.9); }
}

/* High-Quality Parallax SVGs */
.parallax-svg-icon {
    position: fixed !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out, transform 2.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none !important;
    width: 150px !important;
    height: 150px !important;
}

.parallax-svg-icon svg {
    width: 100% !important;
    height: 100% !important;
    fill: none !important;
    stroke: rgba(0, 0, 0, 0.15) !important; /* Faint dark stroke so it is visible on white */
    stroke-width: 2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.parallax-svg-icon.active {
    opacity: 1 !important;
}

/* Specific Positions */
.parallax-svg-icon.pos-left {
    left: 5% !important;
    top: 40% !important;
    transform: translateY(80px) rotate(-15deg) !important;
}
.parallax-svg-icon.pos-left.active {
    transform: translateY(-20px) rotate(5deg) !important;
}

.parallax-svg-icon.pos-right {
    right: 5% !important;
    top: 60% !important;
    transform: translateY(80px) rotate(15deg) !important;
}
.parallax-svg-icon.pos-right.active {
    transform: translateY(-20px) rotate(-5deg) !important;
}

.parallax-svg-icon.pos-center {
    left: 15% !important;
    top: 20% !important;
    transform: translateY(80px) scale(0.8) !important;
}
.parallax-svg-icon.pos-center.active {
    transform: translateY(-20px) scale(1.2) !important;
}

/* Fix Brands Section Background */
[data-testid="store-home-brands"],
.s-block--logos-slider.s-block--full-bg {
    background-color: transparent !important;
    background: transparent !important;
}

/* ========================================================
   FIX: USER DROPDOWN MENU POSITIONING
   ======================================================== */
.s-user-menu-wrapper {
    position: relative !important;
}

.s-user-menu-toggler {
    position: absolute !important;
    top: 100% !important; 
    left: 50% !important; /* Default for desktop */
    margin-top: 15px !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    transform: translate(-50%, -10px) !important; 
}

/* Show only when opened */
.s-user-menu-toggler.opened {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important; 
}

/* Make dropdown items and icons black */
.s-user-menu-dropdown-item-link i svg,
.s-user-menu-dropdown-item-prefix svg {
    fill: #111 !important;
}

.s-user-menu-dropdown-item-title,
.s-user-menu-dropdown-item-link {
    color: #111 !important;
    font-weight: 500 !important;
}

/* Mobile Fixes for the User Menu */
@media (max-width: 768px) {
    .s-user-menu-toggler {
        left: auto !important;
        right: -10px !important; /* Align to right edge on small screens */
        transform: translateY(-10px) !important;
        min-width: 177px !important; /* Match requested width */
    }
    .s-user-menu-toggler.opened {
        transform: translateY(0) !important;
    }
    .s-user-menu-toggler.opened .s-user-menu-dropdown {
        margin-top: 7px !important;
        width: 177px !important;
        max-width: 90vw !important; /* Keep it on-screen */
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important; /* Enhanced premium shadow */
    }
    #mobile-menu {
        height: 646px !important;
    }
}

/* Remove dark overlay backdrop on mobile user menu */
.s-user-menu-toggler:before {
    background-color: transparent !important;
    display: none !important;
}

/* Fix the dropdown body so it doesn't move weirdly */
.s-user-menu-dropdown {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    background-color: #fff !important;
}

/* ========================================================
   HEADER ICON HOVER & CLOSE BUTTON STYLES
   ======================================================== */
.store-header salla-user-menu:hover svg path, 
.store-header salla-cart-summary:hover svg path {
    fill: #aaa !important;
}

.s-user-menu-dropdown-header-close svg path {
    fill: #ff6b6b !important; /* Light red */
    transition: fill 0.3s ease !important;
}

.s-user-menu-dropdown-header-close:hover svg path {
    fill: #ff4d4f !important; /* Slightly darker on hover */
}

/* ========================================================
   PRODUCTS PAGE & TESTIMONIALS ENHANCEMENTS
   ======================================================== */

/* Product Cards Styling */
.s-product-card-entry {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    overflow: hidden !important;
}

.s-product-card-entry:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--gym-gold, #ffcc00) !important;
}

.s-product-card-image {
    background-color: #fcfcfc !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* Wishlist Button */
.s-product-card-wishlist-btn {
    background: #ffffff !important;
    border: 1px solid #eee !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}
.s-product-card-wishlist-btn:hover {
    transform: scale(1.1) !important;
    border-color: #ff6b6b !important;
}
.s-product-card-wishlist-btn i {
    color: #ff6b6b !important;
}

/* Add to Cart Button on Card */
.s-product-card-entry .s-button-primary-outline {
    border-color: #111 !important;
    color: #111 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}
.s-product-card-entry:hover .s-button-primary-outline {
    background-color: #111 !important;
    color: #fff !important;
}
.s-product-card-entry .s-button-primary-outline:hover {
    background-color: var(--gym-gold, #ffcc00) !important;
    border-color: var(--gym-gold, #ffcc00) !important;
    color: #000 !important;
}

/* Hide the "End of Content" text */
.s-infinite-scroll-last {
    display: none !important;
}

/* Sort Dropdown (ترتيب) */
select#product-filter {
    background-color: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}
select#product-filter:focus {
    border-color: var(--gym-gold, #ffcc00) !important;
    outline: none !important;
}