/* Add custom CSS styles below */ 
/* Container adjustments to elevate the card's look */
.s-product-card-horizontal {
  display: flex !important;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.s-product-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* 1. Make the product image container larger and centered */
.s-product-card-horizontal .s-product-card-image {
  flex: 0 0 160px; /* Increased width from typical smaller defaults */
  width: 160px;
  height: 160px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9; /* Soft backdrop for the product */
  border-radius: 8px;
  overflow: hidden;
  margin-inline-end: 20px; /* Smooth spacing between image and content */
}

/* 2. Optimize the image behavior inside its container */
.s-product-card-horizontal .s-product-card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps the full image visible without weird cropping */
  mix-blend-mode: multiply; /* Blends seamless white backgrounds if needed */
  transition: scale 0.5s ease;
}

.s-product-card-horizontal:hover .s-product-card-image-cover {
  scale: 1.05; /* Subtle zoom on hover */
}

/* 3. Content layout tweaks for better balance */
.s-product-card-horizontal .s-product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.s-product-card-content-title a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a2a2a;
  text-decoration: none;
}

/* 4. Cleaner Price Presentation */
.s-product-card-sale-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.s-product-card-sale-price h4 {
  color: #e53e3e; /* Standout sale price color */
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.s-product-card-sale-price span {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 0.95rem;
}

/* 5. Footer Buttons alignment */
.s-product-card-content-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
}
/* ==========================================================================
   Centered & Enlarged Horizontal Product Card Design
   ========================================================================== */

/* 1. Main Card Adjustment */
.s-product-card-horizontal {
  display: flex !important;
  flex-direction: column !important; /* Forces items to stack vertically to allow true centering */
  align-items: center !important;    /* Centers the image and content horizontally */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;                     /* Generous padding for a premium feel */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;                  /* Keeps the card proportional */
  margin: 0 auto;                    /* Centers the card itself in its wrapper */
}

.s-product-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* 2. Image Container (Enlarged & Centered) */
.s-product-card-horizontal .s-product-card-image {
  width: 100% !important;            /* Spans full width of the inner card */
  max-width: 260px !important;       /* Made significantly larger */
  height: 260px !important;          /* Perfect square ratio */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;/* Absolute horizontal and vertical centering */
  margin: 0 auto 20px auto !important; /* Forces centering and adds bottom spacing */
  background-color: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}

.s-product-card-horizontal .s-product-card-image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}

/* 3. The Product Image Core Elements */
.s-product-card-horizontal .s-product-card-image-cover {
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;          /* Slightly padded inside the box for a clean border look */
  max-height: 90% !important;
  object-fit: contain !important;     /* Ensures no weird cropping happens to the product */
  transition: transform 0.4s ease;
}

.s-product-card-horizontal:hover .s-product-card-image-cover {
  transform: scale(1.05);             /* Premium micro-zoom effect on hover */
}

/* 4. Content Area Layout (Text Alignment) */
.s-product-card-horizontal .s-product-card-content {
  width: 100% !important;
  text-align: center !important;      /* Centers the title and price text */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title adjustments */
.s-product-card-content-title {
  margin: 0 0 10px 0 !important;
}

.s-product-card-content-title a {
  font-size: 1.4rem !important;      /* Larger title text to match the larger image */
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

/* Price Alignment */
.s-product-card-sale-price {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important; /* Centers prices side-by-side */
  gap: 12px;
  margin-bottom: 20px;
}

.s-product-card-sale-price h4 {
  font-size: 1.4rem !important;
  font-weight: 800;
  color: #dc2626;                     /* Vibrant modern price color */
  margin: 0;
}

.s-product-card-sale-price span {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* 5. Footer Layout / Buttons Alignment */
.s-product-card-content-footer {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.s-product-card-content-footer salla-add-product-button {
  flex: 1 !important;                 /* Allows "Add to Cart" button to take remaining width balance */
}
/* ==========================================================================
   Dark Luxury Custom Product Card - Deep Red Theme
   ========================================================================== */

/* 1. Main Card Adjustment (Dark Red Gradient Background) */
.s-product-card-horizontal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  /* Replaced white with a premium gradient using your two colors */
  background: linear-gradient(145deg, #460607, #630613) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Subtle light border */
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  max-width: 380px;                  
  margin: 0 auto;                    
}

.s-product-card-horizontal:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* 2. Image Container (Enlarged, Centered, & Dark Backdrop) */
.s-product-card-horizontal .s-product-card-image {
  width: 100% !important;            
  max-width: 240px !important;       
  height: 240px !important;          
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px auto !important; 
  /* Darkened translucent background for the image to sit on */
  background: rgba(0, 0, 0, 0.15) !important; 
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.s-product-card-horizontal .s-product-card-image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}

/* 3. Image Micro-Interactions */
.s-product-card-horizontal .s-product-card-image-cover {
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;         
  max-height: 90% !important;
  object-fit: contain !important;     
  transition: transform 0.4s ease;
}

.s-product-card-horizontal:hover .s-product-card-image-cover {
  transform: scale(1.06);
}

/* 4. Content Area & Text Layout */
.s-product-card-horizontal .s-product-card-content {
  width: 100% !important;
  text-align: center !important;     
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title Styling (Now White for contrast) */
.s-product-card-content-title {
  margin: 0 0 8px 0 !important;
}

.s-product-card-content-title a {
  font-size: 1.35rem !important;      
  font-weight: 700;
  color: #ffffff !important;         /* Adjusted for dark background */
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.s-product-card-horizontal:hover .s-product-card-content-title a {
  opacity: 0.8;                      /* Soft fade effect on hover */
}

/* 5. Pricing Section Styling */
.s-product-card-sale-price {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important; 
  gap: 12px;
  margin-bottom: 20px;
}

.s-product-card-sale-price h4 {
  font-size: 1.4rem !important;
  font-weight: 800;
  color: #ffffff !important;         /* Crisp white for the sale price */
  margin: 0;
}

.s-product-card-sale-price span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6) !important; /* Soft transparent white for old price */
  text-decoration: line-through;
}

/* 6. Action Footer Buttons */
.s-product-card-content-footer {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.s-product-card-content-footer salla-add-product-button {
  flex: 1 !important;                 
}

/* Add to Cart Button (White Outline -> Solid White on hover) */
.s-product-card-horizontal .s-button-element.s-button-primary-outline {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  background: transparent !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.s-product-card-horizontal .s-button-element.s-button-primary-outline:hover {
  background: #ffffff !important;
  color: #460607 !important;         /* Text turns deep red to pop against the white button */
  border-color: #ffffff !important;
}

/* Wishlist Button styling */
.s-product-card-horizontal .s-product-card-wishlist-btn .s-button-element {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.s-product-card-horizontal .s-product-card-wishlist-btn .s-button-element:hover {
  border-color: #ffffff !important;
  color: #460607 !important;
  background-color: #ffffff !important;
}
/* Update the Image Container to have a pure white background */
.s-product-card-horizontal .s-product-card-image {
  background: #ffffff !important; /* Changed from the dark translucent background */
  width: 100% !important;            
  max-width: 240px !important;       
  height: 240px !important;          
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px auto !important; 
  border: 1px solid rgba(255, 255, 255, 0.1); /* Keeps the subtle edge border */
  border-radius: 12px;
  overflow: hidden;
}

/* Optional: If your image itself is a transparent PNG and you want the white applied directly to the image element instead of the whole box, use this: */
.s-product-card-horizontal .s-product-card-image-cover {
  background-color: #ffffff !important;
  border-radius: 8px; /* Optional rounding inside the box */
}
/* ==========================================================================
   Seamless Stacked Banners
   ========================================================================== */

/* 1. Remove margins and paddings from the banner's outer section */
section.s-block.s-block--fixed-banner {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 2. Remove default spacing from the container inside the banner blocks */
section.s-block.s-block--fixed-banner .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* Optional: uncomment the lines below if you also want to remove horizontal gaps on the left/right edges */
    /* padding-left: 0 !important; */
    /* padding-right: 0 !important; */
    /* max-width: 100% !important; */
}

/* 3. Turn the banner link into a block element to eliminate text-baseline gaps */
section.s-block.s-block--fixed-banner .banner--fixed {
    display: block !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important; /* Removes any default rounded corners causing gaps */
    background: transparent !important;
}

/* 4. Force the image to fill the space completely and remove the bottom descender gap */
section.s-block.s-block--fixed-banner img {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    /* Overrides the inline style "object-fit: contain" to ensure no white edges on the sides */
    object-fit: cover !important; 
}
/* ==========================================================================
   Seamless Full-Width Landing Page Banners
   ========================================================================== */

/* 1. Strip default margins, paddings, and backgrounds from the banner sections */
section.s-block.s-block--fixed-banner {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 2. Break the container out of the center box to span the full width of the screen */
section.s-block.s-block--fixed-banner .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important; /* Removes the left/right gaps */
}

/* 3. Turn links into blocks to remove invisible text-baseline gaps under images */
section.s-block.s-block--fixed-banner .banner--fixed {
    display: block !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important; /* Removes any default rounding that creates corners */
}

/* 4. Force images to stretch edge-to-edge and override inline "contain" styling */
section.s-block.s-block--fixed-banner img {
    display: block !important;
    width: 100vw !important; /* Forces width to be exactly the viewport width */
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    /* Crucial: 'cover' prevents the white bars that 'contain' causes when screen sizes change */
    object-fit: cover !important; 
}
.top-navbar {
    display: none !important;
}
.s-product-card-wishlist-btn {
    display: none !important;
}
.s-block__title h2 {
    display: none !important;
}
/* ==========================================================================
   Premium Glassmorphism Mirror Effect
   ========================================================================== */

.container:has(.navbar-brand) {
    /* 1. Set a semi-transparent dark or light base (Adjust rgba for dark/light themes) */
    background: rgba(255, 255, 255, 0.06) !important; 
    
    /* 2. The core frosted glass blur effect */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important; /* Safari compatibility */
    
    /* 3. Sleek, thin border mimicking a polished glass edge reflection */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    
    /* 4. Rounded edges and depth shadows */
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
    
    /* 5. Layout optimizations */
    padding: 10px 24px !important;
    transition: all 0.3s ease-in-out;
    
    /* 6. Optional: Sticky behavior so it stays floating on scroll to show off the reflection */
    position: sticky !important;
    top: 15px;
    z-index: 50;
}

/* Enhancing internal elements to fit the premium look */
.navbar-brand img {
    max-height: 40px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Subtle gloss highlight on hover */
.container:has(.navbar-brand):hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3) !important;
}
/* Target the main navigation bar container */
header .container {
    /* Set a semi-transparent background (the '0.1' at the end controls opacity) */
    background: rgba(255, 255, 255, 0.1) !important;
    
    /* Create the blur effect for content behind the bar */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    
    /* Smooth rounded corners for a modern feel */
    border-radius: 0 0 20px 20px !important;
    
    /* Remove default solid background colors if they exist */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

/* Ensure the wrapper doesn't have a conflicting background */
header {
    background: transparent !important;
}
/* Target the main navigation bar container */
header .container {
    /* Set a semi-transparent background (the '0.1' at the end controls opacity) */
    background: rgba(255, 255, 255, 0.1) !important;
    
    /* Create the blur effect for content behind the bar */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    
    /* Smooth rounded corners for a modern feel */
    border-radius: 0 0 20px 20px !important;
    
    /* Remove default solid background colors if they exist */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

/* Ensure the wrapper doesn't have a conflicting background */
header {
    background: transparent !important;
}
/* 1. Apply the gradient background to all blocks */
.s-block {
    background: linear-gradient(135deg, #430103 0%, #690A15 100%) !important;
    border: none !important;
    padding: 20px 0 !important;
}

/* 2. Style the product list area */
.s-products-list-horizontal-cards {
    background: transparent !important;
}

/* 3. Ensure text and elements are visible against the dark background */
.s-block__title h2 {
    color: #ffffff !important;
}

.s-product-card-content-title a, 
.s-product-card-sale-price h4, 
.s-product-card-sale-price span {
    color: #ffffff !important;
}

/* 4. Remove borders/shadows from the banner links to make them seamless */
.banner--fixed {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 5. Clean up buttons to look good on the new background */
.s-button-outline {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.s-button-outline:hover {
    background: #ffffff !important;
    color: #430103 !important;
}
/* Apply the colors as a gradient background */
.container.container--product-details {
    background: linear-gradient(135deg, #430103, #690A15);
    padding: 20px; /* Optional: adds space around the content */
    border-radius: 8px; /* Optional: rounds the corners of the background */
}

/* Ensure text inside the area remains readable against dark background */
.container.container--product-details h1, 
.container.container--product-details .product__description,
.container.container--product-details .form-label {
    color: #ffffff; /* Sets text to white for high contrast */
}

/* Update price text to be visible (Optional adjustment) */
.total-price {
    color: #ffbaba !important; /* Lighter red for readability on dark background */
}
.container.container--breadcrumbs {
    background: linear-gradient(135deg, #430103, #690A15);
    padding: 0 15px; /* Adds breathing room for the breadcrumbs */
}

/* Ensures the text links remain visible against the new dark background */
.container.container--breadcrumbs .s-breadcrumb-item a, 
.container.container--breadcrumbs .s-breadcrumb-item {
    color: #ffffff !important;
}

/* Ensures the SVG arrow icon remains visible */
.container.container--breadcrumbs svg path {
    fill: #ffffff !important;
}
/* Apply the border color to the top of the sections */
.s-block {
    border-top: 4px solid #430103 !important;
}

/* If you prefer the gradient border effect, use this instead */
.s-block {
    border-top: 4px solid;
    border-image: linear-gradient(to right, #430103, #690A15) 1;
}
/* Apply the vertical gradient background to the footer sections */
.store-footer__inner,
.store-footer__inner ~ div {
    background: linear-gradient(180deg, #430103, #690A15) !important;
}

/* Ensure all headings, text, and links remain legible against the dark background */
.store-footer__inner h3,
.store-footer__inner a,
.store-footer__inner span,
.store-footer__inner .s-contacts-item,
.copyright-text p,
.copyright-text a {
    color: #ffffff !important;
}

/* Force icons (like WhatsApp and iPhone SVGs) to display in white */
.store-footer__inner svg path {
    fill: #ffffff !important;
}
/* Remove borders from footer sections to eliminate the separator line */
.store-footer__inner,
.store-footer .container,
.store-footer .md\:flex {
    border: none !important;
    box-shadow: none !important;
}

/* Specifically target any top borders that might be creating the line */
.store-footer .md\:flex.items-center.justify-between.py-4.container.text-center {
}
.wave-divider {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Flips wave to act as a top-cap */
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px; /* Adjust height for a deeper or shallower wave */
}

.wave-divider .shape-fill {
    fill: #FFFFFF; /* Matches the white request */
}

/* Ensure the footer background color matches the wave bottom */
.store-footer__inner {
    background-color: #FFFFFF; 
}
/* Container for the wave to ensure proper spacing */
.footer-wave {
    width: 100%;
    line-height: 0;
    margin-bottom: -1px; /* Removes any tiny white-space gaps */
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px; /* Adjust height (e.g., 60px to 120px) to suit your design */
}

/* Ensure the area below the wave is also white for a seamless transition */
.store-footer__inner {
    background-color: #ffffff;
    padding-top: 40px; /* Optional: adds breathing room for the wave effect */
}
/* 1. Transparent Glass Container */
.store-footer__inner {
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
    backdrop-filter: blur(15px);     /* Glass blur effect */
    border-top: 4px solid #ff3131;    /* The "Red Corner" accent */
    border-bottom: 2px solid #333;
    padding: 60px 0;
    color: #fff;
    position: relative;
}

/* 2. Aggressive Typography */
.store-footer__inner h3 {
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.4rem;
    border-left: 4px solid #ff3131;
    padding-left: 12px;
    margin-bottom: 25px;
}

/* 3. Icon Hover - The "Punch" Effect */
.s-contacts-item {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
}

.s-contacts-item:hover {
    background: rgba(255, 49, 49, 0.2);
    transform: translateX(10px);
}

/* 4. Ring Canvas Texture */
.store-footer__inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px; /* Subtle grid for that 'Ring Mat' look */
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above the texture */
.store-footer__inner .container {
    position: relative;
    z-index: 1;
}
/* Container for the video to hold the frame */
.ql-video-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px; /* Space between frame and video */
    background: #000; /* Inner frame background */
    border: 5px solid #ff3131; /* Bright red boxing rope border */
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 49, 49, 0.5), inset 0 0 10px rgba(0,0,0,0.5);
    margin: 20px 0;
    transition: transform 0.3s ease;
}

/* Hover effect: The frame "punches" forward */
.ql-video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 49, 49, 0.8);
}

/* Ensure the iframe fits within the styled frame */
.ql-video {
    display: block;
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 16 / 9;
}
/* تنسيق إطار وصف المنتج */
.product__description {
    background: #0d0d0d; /* خلفية داكنة جداً */
    color: #e0e0e0;      /* نص فاتح للقراءة المريحة */
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px !important;
    position: relative;
    overflow: hidden;
    /* تأثير نمط النقط (يشبه بساط الحلبة) */
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 20px 20px;
}

/* تأثير التوهج الخفيف (Ambient Light) */
.product__description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff3131, #8b0000); /* لون أحمر الملاكمة */
    box-shadow: 0 0 15px #ff3131;
}

/* تحسين شكل النصوص داخل المقال */
.article--main p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* جعل العناوين تبرز بلون التمييز */
.article--main p:first-of-type {
    font-weight: bold;
    color: #ff3131;
    font-size: 1.2rem;
}
/* إطار أحمر متوهج حول وصف المنتج */
.product__description {
    position: relative;
    padding: 30px !important;
    background: #000; /* خلفية سوداء لتعزيز اللون الأحمر */
    border-radius: 20px;
    
    /* الحافة الحمراء المتوهجة */
    box-shadow: 
        0 0 0 2px #ff3131,           /* خط أحمر رفيع ومحدد */
        0 0 10px rgba(255, 49, 49, 0.4), /* توهج خارجي خفيف */
        inset 0 0 15px rgba(255, 49, 49, 0.1); /* توهج داخلي طفيف */
    
    color: #fff;
    transition: all 0.4s ease;
}

/* تأثير عند المرور بالفأرة (جعل التوهج أكثر حدة) */
.product__description:hover {
    box-shadow: 
        0 0 0 3px #ff3131, 
        0 0 25px rgba(255, 49, 49, 0.6);
}

/* تحسين شكل النصوص داخل المقال */
.article--main {
    color: #f0f0f0;
}
/* Update the article styles */
.article--main {
    max-height: none !important; /* Forces the article to show full content */
    overflow: visible !important;
    transition: none !important; /* Removes the animation constraint */
    padding-bottom: 20px;
}
/* تخصيص خلفية قسم الوصف */
.product__description {
    background-color: #470406 !important;
    background-image: 
        linear-gradient(135deg, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.3) 100%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 0, transparent 50%);
    background-size: 100% 100%, 20px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    padding: 30px !important;
}

/* إضافة لمعة احترافية خفيفة في الأعلى */
.product__description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* إبراز المحتوى ليتناسب مع الخلفية العميقة */
.article--main {
    color: #ffffff !important;
}

/* تنسيق جذاب للفقرات */
.article--main p {
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
/* Hides the comments/reviews section */
.s-comments.s-comments-product {
    display: none !important;
}

/* Hides the "You may also like" products slider container */
.container.mb-5.sm:mb-8:has(salla-products-slider) {
    display: none !important;
}
/* Hides the "Read More" button */
#btn-show-more {
    display: none !important;
}

/* Hides the "Share" button */
.s-social-share-btn {
    display: none !important;
}
/* تخصيص خلفية شريط المنتج الثابت */
.sticky-product-bar {
    background-color: #470406 !important;
    background-image: 
        /* تأثير تدرج يوحي بالعمق والمعدن */
        linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(0,0,0,0.2) 100%),
        /* تأثير النقوش الدقيقة (Texture) */
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* إضافة حافة إضاءة خفيفة في الأعلى لزيادة التباين */
.sticky-product-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* تنسيق النصوص لتظهر بوضوح فوق الخلفية العميقة */
.sticky-product-bar label.form-label {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* تخصيص زر إضافة للسلة */
.s-button-primary.s-button-solid {
    background-color: #ff3131 !important; /* اللون الأحمر الصريح */
    color: #ffffff !important;           /* النص باللون الأبيض */
    border: none !important;
    font-weight: bold !important;
    transition: all 0.3s ease;           /* تأثير نعومة عند المرور بالفأرة */
}

/* تأثير التوهج عند المرور بالفأرة */
.s-button-primary.s-button-solid:hover {
    background-color: #d62a2a !important; /* درجة أغمق قليلاً عند التفاعل */
    box-shadow: 0 4px 15px rgba(255, 49, 49, 0.4);
    transform: translateY(-2px);         /* حركة طفيفة للزر */
}
/* Remove the "Products You May Like" section container */
.container.mb-5.sm\:mb-8:has(.s-products-slider-wrapper) {
    display: none !important;
}
/* Premium Glassmorphism Mirror Effect for Header */
header .container:has(.navbar-brand) {
    /* Background with deep transparency */
    background: rgba(255, 255, 255, 0.08) !important; 
    
    /* The frosted glass blur effect */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    
    /* Thin, high-end border to mimic a glass edge */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    
    /* Smoothing and Depth */
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    
    /* Layout Spacing */
    padding: 10px 24px !important;
    margin-top: 0 !important;
    
    /* Ensure it floats properly */
    position: relative !important;
    z-index: 100 !important;
    transition: all 0.4s ease-in-out !important;
}
/* ==========================================================================
   Ultra-Reflective Premium Mirror Header
   ========================================================================== */

header .container:has(.navbar-brand) {
    /* 1. Base Glass Properties */
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(35px) saturate(200%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) brightness(1.1) !important;
    
    /* 2. Layered Borders for "Polished Edge" Effect */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    
    /* 3. Deep 3D Depth & Reflection Simulation */
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 40px 20px -20px rgba(255, 255, 255, 0.2) !important;
    
    border-radius: 0 0 25px 25px !important;
    padding: 15px 30px !important;
    margin-top: 0 !important;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* 4. High-Gloss Specular Highlight (The 'Mirror' Shine) */
header .container:has(.navbar-brand)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

/* 5. Hover State - 'Active' Reflective Shift */
header .container:has(.navbar-brand):hover {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(40px) saturate(250%) !important;
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

/* 6. Ensure Header Transparency */
header {
    background: transparent !important;
} Highlight Effect */
header .container:has(.navbar-brand)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}
/* ==========================================================================
   Ultra-Reflective Premium Mirror Header
   ========================================================================== */

header .container:has(.navbar-brand) {
    /* 1. Base Glass Properties */
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(35px) saturate(200%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) brightness(1.1) !important;
    
    /* 2. Layered Borders for "Polished Edge" Effect */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    
    /* 3. Deep 3D Depth & Reflection Simulation */
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 40px 20px -20px rgba(255, 255, 255, 0.2) !important;
    
    border-radius: 0 0 25px 25px !important;
    padding: 15px 30px !important;
    margin-top: 0 !important;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* 4. High-Gloss Specular Highlight (The 'Mirror' Shine) */
header .container:has(.navbar-brand)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

/* 5. Hover State - 'Active' Reflective Shift */
header .container:has(.navbar-brand):hover {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(40px) saturate(250%) !important;
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

/* 6. Ensure Header Transparency */
header {
    background: transparent !important;
}
/* ==========================================================================
   Clean Header Cleanup: Hiding Unnecessary Backgrounds & Distractions
   ========================================================================== */

/* 1. Force the internal wrappers to be transparent */
.inner.bg-inherit, 
header .container {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. Hide any lingering default Salla theme background colors */
header {
    background: transparent !important;
}

/* 3. Ensure the Cart and User Menu buttons remain clean without white boxes */
.s-cart-summary-wrapper,
.s-user-menu-login-btn {
    background: transparent !important;
    border: none !important;
}

/* 4. Remove any subtle white borders or lines that Salla might inject */
.flex.items-stretch.justify-between {
    background: transparent !important;
    border: none !important;
}

/* 5. Optional: If you want to keep the "Mirror Effect" from before, 
   but ensure the background container is 100% clean: */
header .container:has(.navbar-brand) {
    /* Keeping the glass effect you requested previously, 
       but stripping all other default theme backgrounds */
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important; 
    box-shadow: none !important; /* Remove if you want a cleaner look */
}
/* Slightly reduce the header size and vertical footprint */
header .container:has(.navbar-brand) {
    max-width: 1200px !important; /* Adjust this value if you want it even narrower */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin: 0 auto !important; /* Centers the reduced-size element */
}

/* Ensure the logo within the resized container stays proportional */
header .navbar-brand img {
    max-height: 50px !important; /* Adjust this height to control the logo size */
    width: auto !important;
}
/* Center and Style the Price Display */
.s-product-card-sale-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 10px 0 !important;
}

/* Primary Price: Glowing Red Effect */
.s-product-card-sale-price h4 {
    color: #FF0000 !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.3) !important;
    margin: 0 !important;
}

/* Old Price: Subtle and Clean */
.s-product-card-sale-price span {
    color: #888 !important;
    text-decoration: line-through !important;
    font-size: 0.9rem !important;
    margin-top: 4px !important;
    opacity: 0.7 !important;
}
/* توسيط السعر في بطاقة المنتج */
.s-product-card-sale-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* تنسيق السعر الحالي ليكون واضحاً في المنتصف */
.s-product-card-sale-price h4 {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* تغيير لون زر الشراء السريع إلى الأحمر */
.s-fast-checkout-button {
    border-color: #FF0000 !important; /* لون الإطار */
    color: #FF0000 !important;         /* لون النص */
}

/* تغيير لون أيقونة الشراء داخل الزر إلى الأحمر */
.s-fast-checkout-button svg path {
    fill: #FF0000 !important;
}

/* إضافة تأثير عند تمرير الفأرة (اختياري) */
.s-fast-checkout-button:hover {
    background-color: #FF0000 !important;
    color: #FFFFFF !important;
}

.s-fast-checkout-button:hover svg path {
    fill: #FFFFFF !important;
}
/* تصميم البطاقة الفاخر */
.s-product-card-horizontal {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 15px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* إضافة إطار متوهج خفيف عند تمرير الفأرة */
.s-product-card-horizontal:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* تنسيق الصورة بإطار دائري وأنيق */
.s-product-card-image {
    border-radius: 15px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* تنسيق العنوان */
.s-product-card-content-title a {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: #fff !important;
}

/* تحسين أزرار الإضافة والمفضلة */
.s-product-card-content-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.s-button-outline {
    border-radius: 10px !important;
    transition: 0.3s !important;
}

/* لمسة زخرفية خفيفة في زاوية البطاقة */
.s-product-card-horizontal::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
/* ==========================================================================
   Removing Default White Bars & Aligning Color Palette
   ========================================================================== */

/* 1. Apply store palette to the main body background */
body, 
#main, 
.s-page-wrapper {
    background: linear-gradient(180deg, #470406 0%, #2a0203 100%) !important;
}

/* 2. Remove default white space from main containers */
section.s-block, 
.container {
    background: transparent !important;
    border: none !important;
}

/* 3. Ensure the page-specific container adopts the dark theme */
.s-main-wrapper {
    background: #470406 !important;
}

/* 4. Fix top and bottom white bar gaps caused by padding/margin */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden; /* Prevents horizontal scrollbars */
}

/* 5. Force the header and footer to blend into the new background */
header, 
footer {
    background: transparent !important;
}

/* 6. If specific sections still show white edges, force a dark overlay */
.s-block-wrapper, 
.s-section {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 1. Ensure the promotion banner is visible on all screen sizes */
.s-product-card-promotion-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* 2. Styling the Banner for high impact */
    background: linear-gradient(90deg, #ff3131, #8b0000); /* Boxing-red gradient */
    color: #ffffff;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    
    /* 3. Subtle Shadow for depth */
    box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* 4. Animation to catch the user's eye */
    animation: pulse-border 2s infinite;
}

/* 5. Add a subtle 'glow' animation for visual appeal */
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 49, 49, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 49, 49, 0); }
}

/* 6. Mobile Optimization: Ensure it fits perfectly */
@media (max-width: 767px) {
    .s-product-card-promotion-title {
        font-size: 0.95rem;
        padding: 10px 15px;
        margin: 5px 10px; /* Small margins on sides for mobile */
    }
}/* ==========================================================================
   Professional Compact Promotion Badge
   ========================================================================== */

.s-product-card-promotion-title {
    /* Layout & Positioning */
    display: inline-block !important;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    
    /* Compact sizing */
    padding: 6px 12px;
    font-size: 0.75rem; /* Reduced size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* Visual styling */
    background: #ff3131;
    color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    
    /* Ensure visibility */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none; /* Prevents interference with clicks */
    white-space: nowrap;
}
.s-product-card-promotion-title {
    display: none !important;
}