﻿/* --- General Body Styling --- */
/* 
   PERFORMANCE OPTIMIZATION: 
   Fonts are now loaded via HTML for better performance (preconnect + display=swap)
   See index.html for font loading optimization
*/

body {
    font-size: 17px;
    line-height: 30px;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    font-family: "DM Sans", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

body,
div {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a:hover {
    text-decoration: none !important;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* --- Top Header Styling --- */
.top-header {
    background-color: #e11b22;
    color: #fff;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1030;
    position: relative;
    overflow: hidden;
    /* Prevent overflow */
}

.top-header .container {
    max-width: 100%;
    overflow: hidden;
    /* Prevent overflow */
}

.top-header a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover {
    color: #ffffff !important;
}

/* Social Icons in Top Header */
.top-header .social-icon {
    font-size: 1rem;
    padding: 0 5px;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    /* Ensure it doesn't exceed container */
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 0;
    /* Removed: will-change: transform - now only applied via GPU class on animating elements */
}

.marquee-item {
    display: inline-block;
    color: #e0e0e0;
    margin-right: 3rem;
    /* Space between items */
    white-space: nowrap;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-header {
        padding: 0;
        /* Remove extra padding on mobile */
    }

    .top-header .container {
        padding-left: 0;
        padding-right: 0;
    }

    .top-header-left {
        margin-right: 0 !important;
        width: 100%;
    }

    .top-header-right {
        display: none !important;
        /* Hide social icons on mobile for more space */
    }

    .marquee-content {
        animation: marquee 20s linear infinite;
        /* Faster on mobile */
    }

    .marquee-item {
        margin-right: 2rem;
        /* Reduce spacing on mobile */
        font-size: 0.8rem;
        /* Slightly smaller text on mobile */
    }
}

/* --- Main Navbar Styling --- */
.navbar {
    border-bottom: 1px solid #e9ecef;
    /* Light gray border at the bottom */
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    /* Subtle shadow for depth */
    z-index: 1040;
    /* Ensure navbar is on top */
    position: relative;
    /* Needed for z-index to work */
}

/* Logo Image */
.navbar-brand .logo-image {
    max-height: 100px;
    /* Adjust logo size */
    width: auto;
}

/* Search Bar Styling */
.search-bar-form {
    max-width: 500px;
    /* Limit search bar width */
    flex-grow: 1;
    /* Allow it to grow in flex container */
    margin: 0 auto;
    /* Center it when not taking full width */
}

.navbar .form-control.rounded-pill {
    border-radius: 50rem !important;
    /* Fully rounded search bar */
    border: 1px solid #ced4da;
    /* Standard border color */
    padding-left: 1.25rem;
    padding-right: 3rem;
    /* Space for the icon */
    font-size: 0.95rem;
    height: 40px;
    /* Consistent height */
    transition: all 0.2s ease-in-out;
}

.navbar .form-control.rounded-pill:focus {
    border-color: #80bdff;
    /* Bootstrap primary focus color */
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.navbar .input-group-text.search-icon-btn {
    color: #6c757d;
    /* Icon color */
    pointer-events: none;
    /* Make sure the icon is not clickable itself */
    font-size: 1.1rem;
    right: 0.75rem !important;
    /* Position icon slightly in */
}

/* Navbar Icons Styling (User, Wishlist, Cart) */
.navbar-icons .icon-link {
    color: #495057;
    /* Darker gray for icons */
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.navbar-icons .icon-link:hover {
    color: #007bff !important;
    /* Bootstrap primary color on hover */
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

.navbar-icons .icon-link i {
    font-size: 1.4rem;
    /* Slightly larger icon size */
}

.cart-badge {
    font-size: 0.75em;
    /* Badge font size */
    padding: 0.3em 0.6em;
    top: -8px;
    /* Adjust position vertically */
    left: calc(100% - 5px);
    /* Position it nicely over the top right of the icon */
    background-color: #dc3545 !important;
    /* Red background for attention */
    border: 1px solid #fff;
    /* White border for better contrast */
    box-shadow: 0 0 0 1px #dc3545;
    /* Small shadow for definition */
}

/* --- Responsive Adjustments for Header --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }

    .search-bar-form {
        width: 90%;
        /* Take more width on smaller screens */
        margin-bottom: 15px;
        /* Add some space below */
    }

    .navbar-icons {
        width: 100%;
        justify-content: center;
        /* Center icons on small screens */
        margin-top: 10px;
    }

    .navbar-icons .icon-link {
        margin: 0 15px !important;
        /* More spacing between icons */
    }

    .navbar-toggler {
        margin-right: 15px;
        /* Add some space next to toggler */
    }
}

@media (max-width: 575.98px) {
    .top-header .container {
        padding-left: 0;
        padding-right: 0;
    }

    .top-header-left {
        width: 100%;
        margin: 0 !important;
    }

    .marquee-item {
        margin-right: 1.5rem;
        /* Even less spacing on very small screens */
        font-size: 0.75rem;
    }
}


/* Sidebar */
#sidebar.menu7 {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background: #fff;
    color: white;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: width 0.3s ease;
}

#sidebar.expanded {
    width: 270px;
}

/* Toggle Button inside sidebar */
#menu7Toggle {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 20px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

#menu7Toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Logo */
.menu7-logo {
    text-align: center;
    margin: 15px 0;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 0;
    opacity: 0;
}

#sidebar.expanded .menu7-logo {
    height: auto;
    opacity: 1;
}

.menu7-logo img {
    width: 100px;
    /* border-radius: 50%; */
    /* border: 3px solid #fff; */
    /* background-color: #fff; */
    /* padding: 4px; */
}

/* Navigation */
.menu7-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu7-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu7-nav ul li a {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: #e11b22;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu7-nav ul li a i {
    font-size: 1.25rem;
    margin-right: 12px;
    min-width: 24px;
    text-align: center;
}

#sidebar:not(.expanded) .menu7-nav ul li a span {
    display: none;
}

#sidebar:not(.expanded) .menu7-nav ul li a {
    justify-content: center;
    padding: 14px 0;
}

.menu7-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
    border-left: 4px solid #e11b22;
}

.menu7-nav ul li a span {
    position: relative;
}

.menu7-nav ul li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #e11b22;
    transition: width 0.3s ease;
}

.menu7-nav ul li a:hover span::after {
    width: 100%;
}

@media (max-width: 768px) {
    #sidebar {
        background-color: rgba(34, 40, 49, 0.98);
        backdrop-filter: blur(4px);
    }
}

/* Sidebar Header Container */
.menu7-header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

/* Toggle Button */
#menu7Toggle {
    background: none;
    border: none;
    color: #e11b22;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* All Categories Title */
.menu7-title {
    color: #e11b22;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* When expanded: show title and hide toggle */
#sidebar.expanded #menu7Toggle {
    display: none;
}

#sidebar.expanded .menu7-title {
    display: block;
    opacity: 1;
    text-align: left;
    margin-left: 15px;
}


/* --- START: Full Page Slider --- */
.main-slider--container {
    position: relative;
    padding: 0;
    height: calc(100vh - 108px);
    /* Adjust as needed for header/footer */
    overflow: hidden;
    margin-top: -1px;
}

.sports-slider {
    background-color: #1a1a1a;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-slider--container .main-slider--item {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.main-slider--item .main-slider--image {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all 2.5s ease;
    -moz-transition: all 2.5s ease;
    transition: all 2.5s ease;
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
    z-index: 0;
}

.main-slider--container .swiper-slide-active .main-slider--image {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.main-slider--item .main-slider--inner {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: none;
    display: flex;
    flex-direction: column;
    /* Changed to column to stack logo and text */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%);
    /* Slightly stronger gradient */
    z-index: 1;
}

.main-slider--logo {
    position: absolute;
    /* Position the logo */
    top: 50%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    transform: translate(-50%, -100%);
    /* Adjust to move above the text, fine-tune as needed */
    z-index: 3;
    /* Ensure it's above other content */
    opacity: 0;
    /* Hidden by default */
    transition: opacity 1.5s ease 0.8s, transform 1.5s ease 0.8s;
}

.main-slider--logo img {
    max-width: 150px;
    /* Adjust logo size */
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    /* Subtle shadow for logo */
}

.main-slider--container .swiper-slide-active .main-slider--logo {
    opacity: 1;
    transform: translate(-50%, -120%);
    /* Final position, adjusted for animation */
}

.main-slider--inner .main-heading {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    /* Use flexbox for inner centering of title/subtitle */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    /* Adjust if logo pushes it down */
}

.main-item--inner .main-item--title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 4vw;
    line-height: 1.1em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0;
    transform-origin: center;
    transform: translateY(50px);
    -webkit-transition: all 1.5s ease 0.3s;
    -moz-transition: all 1.5s ease 0.3s;
    transition: all 1.5s ease 0.3s;
    letter-spacing: -0.03em;
    margin-top: 10px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
    /* Stronger shadow */
}

.main-item--inner .main-item--title:before,
.main-item--inner .main-item--title:after {
    display: none;
}

.main-item--inner .main-item--subtitle {
    font-family: "DM Sans", sans-serif;
    color: #ffffff;
    /* Changed to white for better contrast */
    font-size: 2.2vw;
    font-weight: 600;
    line-height: 1.2em;
    display: inline-block;
    text-transform: uppercase;
    opacity: 0;
    transform-origin: center;
    transform: translateY(50px);
    -webkit-transition: all 1.5s ease 0.5s;
    -moz-transition: all 1.5s ease 0.5s;
    transition: all 1.5s ease 0.5s;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.7);
    /* Stronger shadow */
}

.main-item--inner .main-item--subtitle:before,
.main-item--inner .main-item--subtitle:after {
    display: none;
}

.main-slider--container .swiper-slide-active .main-heading .main-item--title,
.main-slider--container .swiper-slide-active .main-heading .main-item--subtitle {
    opacity: 1;
    transform: translateY(0px);
}

.main-slider--container .main-bottom--pane {
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 0 50px;
}

.main-slider--container .main-swiper--dots {
    position: relative;
    left: auto;
    transform: none;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    justify-content: center;
}

.main-slider--container .main-swiper--dots:before,
.main-slider--container .main-swiper--dots:after {
    display: none;
}

.main-swiper--dots .swiper-pagination {
    display: flex;
    gap: 8px;
    position: relative;
    transform: none;
    top: 0;
    bottom: auto;
    margin-top: 0px;
}

.main-swiper--dots .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    opacity: 1;
    font-size: 0;
    font-weight: 600;
}

.main-swiper--dots .swiper-pagination .swiper-pagination-bullet-active {
    transform: scale(1.2);
    border-color: #e11b22;
    /* Keep blue for active dot */
    background-color: #e11b22;
}

.main-swiper--dots .swiper-pagination .swiper-pagination-bullet:before {
    content: none;
}

/* --- Swiper Navigation (Updated for Arrow Icons) --- */
.main-swiper--navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    transform: none;
    margin-left: auto;
}

.main-swiper--navigation .main-swiper--arrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    margin-top: 0px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-swiper--navigation .main-swiper--arrow:hover {
    background-color: #e11b22;
    border-color: #e11b22;
    color: #fff;
    transform: scale(1.1);
}

.main-swiper--navigation .main-swiper--arrow::after {
    display: none;
}

.main-swiper--navigation .swiper-button-prev::before {
    font-family: "Font Awesome 6 Free";
    content: "\f053";
    font-weight: 900;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-swiper--navigation .swiper-button-next::before {
    font-family: "Font Awesome 6 Free";
    content: "\f054";
    font-weight: 900;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-item--inner .main-item--title {
        font-size: 10vw;
        /* Adjust for smaller screens */
    }

    .main-item--inner .main-item--subtitle {
        font-size: 4vw;
        /* Adjust for smaller screens */
    }

    .main-slider--logo {
        max-width: 100px;
        transform: translate(-50%, -100%);
        /* Adjust for smaller screens */
    }

    .main-slider--container .swiper-slide-active .main-slider--logo {
        transform: translate(-50%, -120%);
    }
}

/* --- Category Slider Styling --- */
.category-slider-section {
    /* background-color: #1a1a1a; Removed for white background */
    /* padding-top: 5rem; */
    /* padding-bottom: 5rem; */
    background-color: #fff;
    /* Ensures it's transparent */
}

.category-swiper {
    padding: 20px 0;
    position: relative;
    /* Needed for absolute positioning of navigation arrows */
}

.category-slide {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    /* background-color: #ffffff; */
    /* Explicitly white background for each slide */
    /* border-radius: 12px; */
    /* Slightly more rounded corners */
    transition: transform 0.3s ease, border 0.3s ease;
    /* Transition for border */
    cursor: pointer;
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
    /* Very subtle initial border */
    overflow: hidden;
    /* Ensures content stays within border-radius */
}

.category-slide:hover {
    transform: translateY(-8px);
    /* More pronounced lift */
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.category-image-wrapper {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    /* Light background for image wrapper */
    transition: all 0.3s ease;
}

.category-slide:hover .category-image-wrapper {
    border: 3px solid #e4002b;
    /* Red border from logo */
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.2);
    /* Soft red glow */
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Changed to cover to prevent stretching */
    display: block;
    transition: transform 0.3s ease;
}

.category-slide:hover .category-img {
    transform: scale(1.05);
    /* Slight zoom on image hover */
}

.category-title {
    font-size: 0.9em;
    /* Slightly larger font */
    font-weight: 700;
    /* Bolder */
    margin-top: 15px;
    /* More space from image */
    color: #000;
    /* Dark blue from logo */
    text-shadow: none;
    /* Removed text shadow for cleaner look on white background */
    transition: color 0.3s ease;
}

.category-slide:hover .category-title {
    color: #e11b22;
    /* Bright blue*/
}


/* --- Offers Section Styling --- */
.offers-section {
    background-color: #fff;
    /* White default */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.offers-section h2 {
    color: #e11b22;
    /* Dark blue heading */
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.offers-banner {
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    /* Subtle blue shadow */
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    /* Light background fallback */
}

.offers-banner img {
    filter: brightness(0.7);
    /* Slightly dim the image */
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.offers-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgb(0 0 0 / 48%);
    /* Slightly transparent dark overlay */
    border-radius: 15px;
}

.offers-banner .banner-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.offers-banner .banner-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.countdown-timer .timer-box {
    background-color: #e11b22;
    /* Bright blue timer background */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 8px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.countdown-timer .timer-box span {
    font-size: 2.5rem;
    line-height: 1;
}

.countdown-timer .timer-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.offers-btn {
    background-color: #e11b22 !important;
    /* Red button */
    border-color: #e11b22 !important;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.offers-btn:hover {
    background-color: #c80023 !important;
    border-color: #c80023 !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.offers-section h3 {
    color: #e11b22;
    font-weight: 700;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Offer Items Slider */
.offers-items-swiper {
    padding-bottom: 70px;
}

.offers-items-swiper .swiper-slide {
    padding: 10px;
}

.offer-card {
    background-color: #ffffff !important;
    /* White card background */
    color: #212529;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.15) !important;
    /* Blue hover shadow */
}

.offer-item-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.offers-badge {
    background-color: #E4002B;
    /* Red badge */
    color: #fff;
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0 0 10px 0;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.offer-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    flex-grow: 1;
}

.offer-card .card-title {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
    /* Bright blue title */
    margin-bottom: 0.75rem;
}

.offer-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-content .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.offer-card .card-footer {
    background-color: transparent;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00274E;
    /* Dark blue price */
}

.offer-card .old-price {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.btn-outline-darkblue-custom {
    color: #00274E;
    /* Dark blue outline button */
    border-color: #00274E;
    transition: all 0.3s ease-in-out;
    font-size: 0.875rem;
}

.btn-outline-darkblue-custom:hover {
    background-color: #007bff;
    /* Bright blue hover */
    border-color: #007bff;
    color: #fff;
}

/* Custom Swiper Navigation (Arrows) for Offers Slider */
.offers-swiper-next,
.offers-swiper-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    /* Matched product-grid size */
    height: 45px;
    /* Matched product-grid size */
    background-color: rgba(255, 255, 255, 0.7);
    /* Slightly more opaque for visibility on white */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease-in-out;
    color: #d71a21;
    /* Dark blue arrows from logo */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.offers-swiper-next:hover,
.offers-swiper-prev:hover {
    background-color: #d71a21;
    /* Bright blue hover */
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.offers-swiper-prev {
    left: 10px;
}

.offers-swiper-next {
    right: 10px;
}

.offers-swiper-next::after,
.offers-swiper-prev::after {
    font-family: "Font Awesome 6 Free";
    /* Crucial: Ensure this matches your FA version */
    font-weight: 900;
    /* Important for solid icons */
    font-size: 1.2rem;
    color: inherit;
    /* Inherits color from the parent (.offers-swiper-next/prev) */
}

.offers-swiper-prev::after {
    content: "\f053";
    /* Unicode for chevron-left */
}

.offers-swiper-next::after {
    content: "\f054";
    /* Unicode for chevron-right */
}

/* Swiper Pagination */
.offers-swiper-pagination.swiper-pagination-bullets {
    bottom: 20px;
}

.offers-swiper-pagination .swiper-pagination-bullet {
    background: #ced4da;
    opacity: 1;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
}

.offers-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
    /* Bright blue active dot */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .offers-banner .banner-title {
        font-size: 2.5rem;
    }

    .offers-banner .banner-subtitle {
        font-size: 1.1rem;
    }

    .countdown-timer .timer-box span {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .offers-banner {
        height: 300px;
    }

    .offers-banner .banner-title {
        font-size: 2rem;
    }

    .offers-banner .banner-subtitle {
        font-size: 1rem;
    }

    .countdown-timer .timer-box span {
        font-size: 1.5rem;
    }

    .offers-swiper-next,
    .offers-swiper-prev {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .offers-banner {
        height: 250px;
    }

    .offers-banner .banner-title {
        font-size: 1.8rem;
    }

    .offers-banner .banner-subtitle {
        font-size: 0.9rem;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-timer .timer-box {
        margin: 5px;
        min-width: 70px;
    }

    .countdown-timer .timer-box span {
        font-size: 1.3rem;
    }

    .offer-item-img {
        height: 150px;
    }
}

/* Ensure disabled state is also styled if needed */
.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.4) !important;
    /* Slightly more visible disabled state */
    color: #00274E !important;
    /* Keep dark blue color for disabled */
    transform: translateY(-50%) scale(1) !important;
    /* Prevent scaling on disabled state */
}

/* --- Latest Products Section Styling --- */
.latest-products-section {
    background-color: #1a1a1a;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Swiper Container for Product Grid Slider */
.product-grid-swiper {
    padding-top: 20px;
    padding-bottom: 60px;
    position: relative;
}

.product-grid-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

/* --- ORIGINAL PRODUCT GRID CSS (Adapted for Dark Theme & Custom Cart Button) --- */

/* Base button style (for noselect) */
button.noselect {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Blinker", sans-serif;
}

button.noselect:focus {
    outline: none;
}

/* CUSTOM CART BUTTON STYLES */
.product-grid .cart,
.add-to-cart-section .cart {
    width: 100%;
    height: 45px;
    /* Adapted gradient to match theme's primary blue */
    background-color: #007bff;
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    padding: 0 15px;
    justify-content: flex-start;
    /* Align text to start initially */
    transition: all 0.5s ease;
    /* Smooth transition for background and text/svg */
}

.product-grid .cart svg,
.add-to-cart-section .cart svg {
    position: absolute;
    fill: transparent;
    transition: 500ms;
    margin-left: calc(100% - 30px);
    /* Position it just outside the right edge */
    width: 24px;
    height: 24px;
}

.product-grid .cart span,
.add-to-cart-section .cart span {
    transition: 500ms;
    white-space: nowrap;
}

.product-grid .cart:hover span,
.add-to-cart-section .cart:hover span {
    margin-right: 30px;
    /* Push text to the left */
    color: transparent;
    /* Text disappears */
}

.product-grid .cart:hover svg,
.add-to-cart-section .cart:hover svg {
    margin-left: calc(50% - 12px);
    /* Center the SVG on hover */
    fill: white;
}

/* END CUSTOM CART BUTTON STYLES */


/* Product Grid Container */
.product-grid {
    font-family: "Blinker", sans-serif;
    text-align: center;
    padding: 10px 10px;
    margin: 0 auto;
    border: 2px solid #dedade;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background-color: #2a2a2a;
    /* Dark background for the card */
    color: #fff;
    /* White text for dark background */
}

.product-grid:hover {
    border: 2px solid var(--primary-red);
}

/* Hover border color */

/* Product Image Area */
.product-grid .product-image {
    position: relative;
    overflow: hidden;
    /* Prevent overflow when image zooms */
}

.product-grid .product-image a.image {
    display: block;
}

.product-grid .product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    /* Smooth zoom transition */
}

.product-grid:hover .product-image img {
    transform: scale(1.15);
    /* Zoom in effect on hover */
}

/* Product Links (Wishlist, Compare, Quick View) */
.product-grid .product-links {
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    /* Initially hidden */
    border: 1px solid #aaa;
    position: absolute;
    top: 0;
    right: -40px;
    /* Start off-screen to the right */
    transition: all .3s ease 0.3s;
    /* Slide-in animation */
    z-index: 2;
    /* Ensure links are above image */
}

.product-grid:hover .product-links {
    opacity: 1;
    right: 0;
    /* Slide into view on product-grid hover */
}

.product-grid .product-links li {
    margin: 0;
    display: block;
}

.product-grid .product-links li a i {
    line-height: inherit;
}

.product-grid .product-links li a {
    color: #d71a21;
    /* Icon color */
    background-color: #fff;
    /* Background of the icon button */
    font-size: 16px;
    font-weight: 600;
    line-height: 37px;
    height: 40px;
    width: 40px;
    margin: 0;
    border-bottom: 1px solid #aaa;
    display: block;
    position: relative;
    transition: all 0.3s ease 0.1s;
}

.product-grid .product-links li a:before,
.product-grid .product-links li a:after {
    content: attr(data-tip);
    color: #fff;
    background: #d71a21;
    font-size: 12px;
    line-height: 20px;
    padding: 5px 14px;
    border-radius: 5px;
    white-space: nowrap;
    display: none;
    transform: translateY(-50%);
    position: absolute;
    right: 53px;
    top: 50%;
    z-index: 3;
    /* Ensure tooltips are above everything */
}

.product-grid .product-links li a:after {
    content: "";
    height: 15px;
    width: 15px;
    padding: 0;
    border-radius: 0;
    transform: translateY(-50%) rotate(45deg);
    right: 50px;
}

.product-grid .product-links li a:hover:before,
.product-grid .product-links li a:hover:after {
    display: block;
}

.product-grid .product-links li a:hover {
    color: #fff;
    background-color: #d71a21;
    /* Hover background color */
}

/* Product Content */
.product-grid .product-content {
    padding: 10px 0 0;
}

.product-grid .rating {
    color: #ffd200;
    /* Star color */
    font-size: 14px;
    padding: 0;
    margin: 0 0 5px;
    /* Adjusted margin */
    list-style: none;
    display: inline-block;
}

.product-grid .rating li:last-child {
    color: #ccc;
    /* Color for rating count */
    display: inline-block;
}

.product-grid .title {
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 5px;
}

.product-grid .title a {
    color: #fff;
    /* White text for title */
    transition: all 0.3s ease 0s;
}

.product-grid .title a:hover {
    color: #007bff;
}

/* Hover color for title */
.product-grid .price {
    color: #007bff;
    /* Price in primary color */
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 5px;
}


/* Custom Swiper Navigation (Arrows) for Product Grid Slider */
.product-grid-swiper-next,
.product-grid-swiper-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #fff;
}

.product-grid-swiper-next:hover,
.product-grid-swiper-prev:hover {
    background-color: #007bff;
    transform: translateY(-50%) scale(1.1);
}

.product-grid-swiper-prev {
    left: 10px;
}

.product-grid-swiper-next {
    right: 10px;
}

.product-grid-swiper-next::after,
.product-grid-swiper-prev::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    color: inherit;
}

.product-grid-swiper-prev::after {
    content: "\f053";
}

.product-grid-swiper-next::after {
    content: "\f054";
}


/* Custom Swiper Pagination (Dots) for Product Grid Slider */
.product-grid-swiper-pagination.swiper-pagination-bullets {
    bottom: 0px !important;
    width: 100% !important;
    left: 0 !important;
    position: absolute;
}

.product-grid-swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.product-grid-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
    width: 25px;
    border-radius: 5px;
}


/* Responsive adjustments for Product Grid Slider */
@media (max-width: 991.98px) {

    .product-grid-swiper-next,
    .product-grid-swiper-prev {
        display: none;
    }
}


/* Base Colors */
:root {
    --primary-red: #d71a21;
    --white: #ffffff;
    --text-dark: #333333;
}

/* Overall background for the product display area */
body {
    background-color: var(--white);
}

.main-content-with-banner {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Left Banner - Updated for dynamic content */
.left-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    height: calc(115vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    /* Added for transitions */
    transition: background-image 0.5s ease-in-out;
    width: 447px;
}

@media (min-width: 992px) {
    .left-banner {
        margin-bottom: 0;
    }
}

.banner-content {
    padding: 40px 20px;
    text-align: center;
    color: var(--primary-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.57);
    width: 100%;
    /* For fade-up effect on content */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.57);
}

.banner-content.active {
    opacity: 1;
    transform: translateY(0);
}

.banner-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--primary-red);
}

.banner-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--white);
    width: 80%;
    max-width: 400px;
}

.banner-btn {
    background-color: var(--primary-red);
    border: none;
    color: var(--white);
    padding: 12px 35px;
    font-size: 1em;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.banner-btn:hover {
    background-color: #b7131a;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    color: var(--primary-red);
}

.section-title {
    font-size: 1.8em;
    font-weight: bold;
}

/* More Products Button */
.more-products-btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.more-products-btn:hover {
    background-color: var(--white);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
}

/* Product Card */
.product-grid {
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    margin-bottom: 1.5rem;
}

.product-image {
    position: relative;
    overflow: visible;
    padding: 15px;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 2;
}

.product-image {
    position: relative;
    overflow: hidden;
    /* Prevent overflow when image zooms */
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    /* Smooth zoom transition */
}

.product-image:hover img {
    transform: scale(1.15);
    /* Zoom in effect on hover */
}

/* Product Content */
.product-content {
    padding: 15px;
}

.product-grid .title a {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.product-grid .title a:hover {
    color: var(--primary-red);
}

.product-grid .price {
    margin-bottom: 10px;
}

.product-grid .price .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 0.9em;
}

.product-grid .price .current-price {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2em;
}

/* Add to Cart Button */
.product-grid .cart {
    background-color: var(--primary-red);
    color: var(--white);
}


/* Swiper Overrides and Navigation */
.swiper-container {
    width: 100%;
    /* padding-bottom: 50px; */
    position: relative;
}

.supplements-swiper-next,
.supplements-swiper-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-red);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.supplements-swiper-next:hover,
.supplements-swiper-prev:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.supplements-swiper-prev {
    left: 10px;
}

.supplements-swiper-next {
    right: 10px;
}

.supplements-swiper-next::after,
.supplements-swiper-prev::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    content: "\f105";
}

.supplements-swiper-prev::after {
    content: "\f104";
}

/* Product category content - for fade in/out effect */
.product-category-content {
    margin-bottom: 4rem;
    opacity: 0;
    /* Initially hidden */
    transform: translateY(20px);
    /* Initially moved down */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Smooth transition */
    pointer-events: none;
    /* Disable interaction when hidden */
}

.product-category-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* Enable interaction when active */
}




.one .fas {
    color: #cfd8dc;
}

.two {
    background: linear-gradient(to right, #d71a21 0%, transparent 0%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.5s ease-in-out all;
}

.rating-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 6vh;
}

.rating-icons span {
    position: absolute;
    display: flex;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    top: 68%;
}

.reviews-section {
    background-color: #fff;
    color: #333;
}

.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    color: #d71a21;
    font-weight: bold;
    font-size: 2rem;
}

.section-borders {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.section-borders span {
    width: 40px;
    height: 3px;
    background-color: #d71a21;
}

.black-border {
    background-color: #d71a21 !important;
    width: 60px !important;
}

/* Testimonials */
.single-testimonial-item {
    background-color: #fefefe;
    border-left: 4px solid #d71a21;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    height: 100%;
}

.single-testimonial-item h3 {
    margin-top: 15px;
    font-weight: bold;
    color: #d71a21;
    font-size: 1.1rem;
}

.single-testimonial-item span {
    display: block;
    font-size: 0.9rem;
    color: #777;
}

/* Owl Carousel override */
.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

/* Rating Chart (Mobile first) */
.rating-chart-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    gap: 20px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rate-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-box .value {
    width: 30px;
    text-align: right;
    font-size: 1.2rem;
    color: #d71a21;
    font-weight: bold;
}

.progress-bar {
    position: relative;
    background-color: #f0f0f0;
    border-radius: 20px;
    height: 10px;
    flex-grow: 1;
    max-width: 200px;
}

.progress-bar .progress {
    background-color: #d71a21;
    height: 100%;
    border-radius: 20px;
    transition: width 0.3s ease-in-out;
}

.count {
    min-width: 30px;
    text-align: left;
    color: #555;
}

.global {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.global-value {
    font-size: 2.5rem;
    color: #d71a21;
    font-weight: bold;
}

.rating-icons .stars {
    display: flex;
    font-size: 1.5rem;
    color: #d71a21;
    margin: 10px 0;
}

.total-reviews {
    font-size: 1rem;
    color: #777;
}

.client-testimonial-carousel .owl-dots button {
    height: 5px;
    background: #d82027 !important;
    width: 20px;
    display: inline-block;
    margin: 5px;
    transition: .2s;
    border-radius: 2px;
}

.client-testimonial-carousel button.owl-dot.active {
    background: #000 !important;
    width: 30px;
}

.client-testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
}


/* Larger Screens (desktop/tablet) */
@media (min-width: 768px) {
    .rating-chart-container {
        flex-direction: row;
    }

    .chart {
        flex: 1 1 60%;
    }

    .global {
        flex: 1 1 35%;
        border-left: 1px solid #eee;
        border-top: none;
        padding-left: 20px;
        padding-top: 0;
        align-items: flex-start;
    }

    .global-value {
        font-size: 3rem;
    }

    /* Owl Carousel Dots Styling */
    .client-testimonial-carousel .owl-dots button {
        height: 5px;
        background: #d82027 !important;
        width: 20px;
        display: inline-block;
        margin: 5px;
        transition: .2s;
        border-radius: 2px;
    }

    .client-testimonial-carousel button.owl-dot.active {
        background: #000 !important;
        width: 30px;
    }

    .client-testimonial-carousel .owl-dots {
        text-align: center;
        margin-top: 25px;
    }

    /* Single Testimonial Item Styling */
    .single-testimonial-item {
        position: relative;
        /* box-shadow: 0 0 2px #dadfd3; */
        margin: 2px;
        padding: 20px;
        font-style: italic;
        padding-left: 85px;
        background-color: #fff;
        /* Added white background for clarity */
        border-radius: 8px;
        /* Added slight border-radius */
    }

    .single-testimonial-item:before {
        font-family: "Font Awesome 5 Free";
        content: "\f10e";
        /* Unicode for quote-right */
        font-weight: 900;
        position: absolute;
        left: 20px;
        top: 1%;
        font-size: 20px;
        color: #d71a21;
        line-height: 30px;
        margin-top: -15px;
    }

    .single-testimonial-item:after {
        /* background: #ddd; */
        content: "";
        height: 70%;
        left: 60px;
        position: absolute;
        top: 10%;
        width: 1px;
    }

    .single-testimonial-item h3 {
        font-size: 20px;
        font-style: normal;
        margin-bottom: 0;
    }

    .single-testimonial-item h3 span {
        display: block;
        font-size: 12px;
        font-weight: normal;
        margin-top: 5px;
    }


    .reviews-section {
        background-color: #fff;
        color: #333;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-title h2 {
        color: #d71a21;
        font-weight: bold;
    }

    .section-borders {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 10px;
    }

    .section-borders span {
        width: 40px;
        height: 3px;
        background-color: #d71a21;
    }

    .black-border {
        background-color: #d71a21 !important;
        width: 60px !important;
    }

    /* Testimonials */
    .single-testimonial-item {
        background-color: #fefefe;
        border-left: 4px solid #d71a21;
        border-radius: 8px;
        padding: 20px;
        margin: 15px;
        /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    }

    .single-testimonial-item h3 {
        margin-top: 15px;
        font-weight: bold;
        color: #d71a21;
    }

    .single-testimonial-item span {
        display: block;
        font-size: 0.9rem;
        color: #777;
    }

    /* Rating Chart */
    .rating-chart-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        background-color: #fff;
        border-radius: 15px;
        padding: 20px;
        gap: 20px;
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); */
        margin-top: -13%;
    }

    .chart {
        flex: 1 1 60%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .rate-box {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .rate-box .value {
        width: 30px;
        text-align: right;
        font-size: 1.4rem;
        color: #d71a21;
        font-weight: bold;
    }

    .progress-bar {
        position: relative;
        background-color: #f0f0f0;
        border-radius: 20px;
        height: 10px;
        flex-grow: 1;
        max-width: 250px;
    }

    .progress-bar .progress {
        background-color: #d71a21;
        height: 100%;
        border-radius: 20px;
        transition: width 0.3s ease-in-out;
    }

    .count {
        min-width: 30px;
        text-align: left;
        color: #555;
    }

    .global {
        flex: 1 1 35%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-left: 2px solid #eee;
        padding-left: 20px;
        height: 200px;
    }

    .global-value {
        font-size: 3rem;
        color: #d71a21;
        font-weight: bold;
    }

    .rating-icons .stars {
        display: flex;
        font-size: 1.5rem;
        color: #d71a21;
        margin: 10px 0;
    }

    .total-reviews {
        font-size: 1rem;
        margin-top: 25%;
        color: #777;
    }
}


/* --- Main Footer Section --- */
.main-footer {
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding-top: 60px;
    padding-bottom: 40px;
    font-size: 1.1rem;
    border-top: 5px solid #dc3545;
    /* Red accent line */
}

.main-footer .footer-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px !important;
    position: relative;
}

.main-footer .footer-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #dc3545;
    /* Red underline */
    margin-top: 10px;
    transition: width 0.3s ease;
}

.main-footer .col-lg-4:hover .footer-title::after,
.main-footer .col-lg-2:hover .footer-title::after {
    width: 80px;
}

.main-footer .footer-text {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1rem;
}

.main-footer .contact-details-item {
    margin-bottom: 15px;
}

.main-footer .contact-label {
    font-size: 0.9rem;
    color: #909090;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.main-footer .contact-link,
.main-footer .contact-info {
    color: #e0e0e0;
    display: block;
    transition: color 0.3s ease;
}

.main-footer .contact-link:hover {
    color: #dc3545;
    text-decoration: underline;
}

.main-footer .footer-links li {
    margin-bottom: 8px;
}

.main-footer .footer-links a {
    color: #b0b0b0;
    font-size: 1.05rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.main-footer .footer-links a:hover {
    color: #dc3545;
    transform: translateX(5px);
}

.main-footer .newsletter-form .form-control {
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #f8f9fa;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px 0 0 5px;
    transition: border-color 0.3s ease;
}

.main-footer .newsletter-form .form-control:focus {
    background-color: #3a3a3a;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.main-footer .newsletter-form .subscribe-btn {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.main-footer .newsletter-form .subscribe-btn:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
}

/* Social Icons */
.main-footer .social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-footer .social-icons .social-icon.facebook {
    background-color: #dc3545;
}

.main-footer .social-icons .social-icon.twitter {
    background-color: #c82333;
}

.main-footer .social-icons .social-icon.youtube {
    background-color: #bd2130;
}

.main-footer .social-icons .social-icon.instagram {
    background-color: #a71d2a;
}

.main-footer .social-icons .social-icon.rss {
    background-color: #e5533d;
}

.main-footer .social-icons .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.main-footer .social-icons .social-icon.facebook:hover {
    background-color: #b51f2e;
}

.main-footer .social-icons .social-icon.twitter:hover {
    background-color: #9e1b2b;
}

.main-footer .social-icons .social-icon.youtube:hover {
    background-color: #a61b28;
}

.main-footer .social-icons .social-icon.instagram:hover {
    background-color: #86121f;
}

.main-footer .social-icons .social-icon.rss:hover {
    background-color: #cc442f;
}

/* Bottom Footer */
.bottom-footer {
    background-color: #0a0a0a;
    color: #909090;
    font-size: 0.95rem;
}

.bottom-footer .copyright-text {
    font-size: 1rem;
    line-height: 1.5;
}

.bottom-footer .copyright-text .text-primary {
    color: #dc3545 !important;
    font-weight: 600;
}

.bottom-footer .payment-icons i {
    font-size: 1.8rem;
    margin-left: 15px;
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.bottom-footer .payment-icons i:hover {
    transform: scale(1.1);
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .main-footer {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .main-footer .footer-title {
        font-size: 1.4rem;
        margin-bottom: 20px !important;
    }

    .main-footer .footer-title::after {
        width: 40px;
    }

    .main-footer .col-lg-4:hover .footer-title::after,
    .main-footer .col-lg-2:hover .footer-title::after {
        width: 60px;
    }

    .main-footer .newsletter-form .form-control,
    .main-footer .newsletter-form .subscribe-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .main-footer .social-icons .social-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .main-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-footer .footer-title {
        font-size: 1.3rem;
    }

    .main-footer .footer-text,
    .main-footer .contact-link,
    .main-footer .contact-info,
    .main-footer .footer-links a,
    .bottom-footer .copyright-text {
        font-size: 0.9rem;
    }

    .bottom-footer .payment-icons i {
        font-size: 1.5rem;
        margin-left: 10px;
    }

    .bottom-footer {
        padding: 15px 20px;
        text-align: center;
        margin-bottom: 10%;
    }

    .bottom-footer .payment-icons {
        margin-top: 10px;
    }

    .left-banner-wrapper {
        display: none;
    }
}

.payment-icons .svg-inline--fa {
    height: 2.5em;
}

/***********************************************/
.contact-action {
    position: fixed;
    bottom: 10%;
    /* Adjust as needed, e.g., 20px */
    right: 1%;
    /* Adjust as needed, e.g., 20px */
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1050;
    /* Ensure it's above most content, including fixed navs if they have lower z-index */
    padding: 0 !important;
}

.contact-action .item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #865CDA;
    /* Adjust this color to match your brand primary/accent color */
    background: #FFF;
    border-radius: 50%;
    transition: 0.5s;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    /* Slightly softer shadow */
}

.contact-action.open .item:first-child {
    /* Target only the plus/toggle button */
    transform: rotate(45deg);
}

.contact-action span.item {
    /* Target spans with class item */
    position: absolute;
    visibility: hidden;
    z-index: -1;
    top: 0;
    left: 0;
    /* Make sure social icons also have proper styling */
    font-size: 1.5rem;
    /* Adjust icon size if needed */
    color: #FFF;
    /* White icons */
    /* Add specific background colors for social icons */
}

/* Specific background colors for social icons */
.contact-action span.item:nth-child(2) {
    background-color: #1877F2;
    /* Facebook Blue */
}

.contact-action span.item:nth-child(3) {
    background-color: #E1306C;
    /* Instagram Pink */
}

.contact-action span.item:nth-child(4) {
    background-color: #25D366;
    /* WhatsApp Green */
}

/* LinkedIn */


.open span.item {
    /* Target spans with class item */
    visibility: visible;
    animation: 1s entering forwards;
    /* Use forwards to keep the final state */
}

/* Position of elements */
.open span.item:nth-child(2) {
    /* GitHub */
    top: -145%;
}

.open span.item:nth-child(3) {
    /* Facebook */
    top: -90%;
    left: -130%;
}

.open span.item:nth-child(4) {
    /* LinkedIn */
    top: 40%;
    left: -150%;
}

@keyframes entering {
    0% {
        top: 0;
        left: 0;
        width: 65%;
        height: 65%;
        opacity: 0;
        /* Start hidden */
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 1;
        /* End fully visible */
    }
}

/* End NEW: Contact Action Button CSS */

/* Responsive adjustments if needed */
@media (max-width: 767.98px) {
    .contact-action {
        bottom: 5%;
        /* Adjust for smaller screens */
        right: 5%;
        width: 50px;
        /* Slightly smaller button */
        height: 50px;
    }

    .contact-action .item {
        font-size: 1.5rem;
        /* Smaller font for plus sign */
    }

    .contact-action span.item {
        font-size: 1.2rem;
        /* Smaller social icons */
    }

    /* Adjust positions for smaller buttons if needed */
    .open span.item:nth-child(2) {
        top: -120%;
    }

    .open span.item:nth-child(3) {
        top: -75%;
        left: -100%;
    }

    .open span.item:nth-child(4) {
        top: 30%;
        left: -120%;
    }
}

.main-content-with-banner {
    display: flex;
    position: relative;
    z-index: 0;
}

.left-banner-wrapper {
    position: relative;
    z-index: 10;
    /* Ensure it's above the slider */
    flex: 0 0 447px;
    max-width: 447px;
    margin-right: -150px;
    /* Overlap on slider */
}

.left-banner {
    z-index: 10;
    position: sticky;
    top: 100px;
    height: calc(115vh - 150px);
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-left: 63px;
    /* create space behind banner */
}

@media (max-width: 767.98px) {
    .top-header {
        position: static !important;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1040;
    }

    .mobile-search-bar {
        z-index: 1039;
        position: sticky;
        top: 10%;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: sticky;
        bottom: 0;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 8px 0;
        z-index: 1040;
    }

    .mobile-bottom-nav a {
        color: #555;
        font-size: 1.5rem;
        position: relative;
    }

    .mobile-bottom-nav .badge {
        font-size: 0.6rem;
        top: -4px;
        right: -6px;
    }

    .more-products-btn {
        background-color: var(--primary-red);
        color: var(--white);
        padding: 8px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 0.7em;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .section-title {
        font-size: 1.3em;
        font-weight: bold;
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding: 0;
        color: var(--primary-red);
    }

    .slider-wrapper {
        flex: 1;
        position: relative;
        z-index: 1;
        padding-left: 0;
    }

    .contact-action {
        position: fixed;
        bottom: 60px !important;
        right: 20px;
        z-index: 1000;
    }

    .offers-banner {
        height: 500px;
    }

    .rating-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        height: 20vh;
        margin-top: -23%;
    }

    .mobile-search-bar {
        top: 13%;
    }
}

/* Mobile Sidebar Default (Hidden) */
#sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

/* Show Sidebar When Active */
#sidebar.active {
    left: 0;
}

/* Sidebar Toggle Button (hamburger) */
#sidebarToggleMobile {
    display: inline-block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
}

/* Close Button Inside Sidebar */
#sidebar .close-sidebar {
    display: block;
    text-align: right;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Desktop View - Always Show Sidebar, Hide Toggle/Close Buttons */
@media (min-width: 992px) {
    #sidebar {
        position: static;
        left: 0 !important;
        height: auto;
        box-shadow: none;
    }

    #sidebarToggleMobile,
    #sidebar .close-sidebar {
        display: none !important;
    }
}

/* --- Top Header Styling --- */
.top-header {
    background-color: #e11b22;
    /* Darker background for contrast */
    color: #fff;
    font-size: 0.875rem;
    /* Slightly smaller font */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle bottom border */
    z-index: 1030;
    /* Ensure it's above other content but below navbar on scroll */
    position: relative;
    /* Needed for z-index to work */
}

.top-header a,
.top-header div {
    /* Added div here for 24/7 support text */
    color: #e0e0e0;
    /* Lighter white for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover,
.top-header div:hover {
    /* Added div here for hover effect */
    color: #ffffff !important;
    /* Pure white on hover */
}

/* Social Icons in Top Header */
.top-header .social-icon {
    font-size: 1rem;
    padding: 0 5px;
    /* Slight padding around icons */
}

/* --- Main Navbar Styling --- */
.navbar {
    border-bottom: 1px solid #e9ecef;
    /* Light gray border at the bottom */
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    /* Subtle shadow for depth */
    z-index: 1040;
    /* Ensure navbar is on top */
    position: relative;
    /* Needed for z-index to work */
    height: 21vh;
}

/* Logo Image */
.navbar-brand .logo-image {
    position: absolute;
    max-height: 110px;
    /* Adjust logo size */
    left: 10%;
    top: 6%;
    z-index: 10000;
    width: auto;
}

/* Search Bar Styling */
.search-bar-form {
    max-width: 500px;
    /* Limit search bar width */
    flex-grow: 1;
    /* Allow it to grow in flex container */
    margin: 0 auto;
    /* Center it when not taking full width */
    margin-left: 27%;
}

.navbar .form-control.rounded-pill {
    border-radius: 50rem !important;
    /* Fully rounded search bar */
    border: 1px solid #ced4da;
    /* Standard border color */
    padding-left: 1.25rem;
    padding-right: 3rem;
    /* Space for the icon */
    font-size: 0.95rem;
    height: 40px;
    /* Consistent height */
    transition: all 0.2s ease-in-out;
}

.navbar .form-control.rounded-pill:focus {
    border-color: #80bdff;
    /* Bootstrap primary focus color */
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.navbar .input-group-text.search-icon-btn {
    color: #6c757d;
    /* Icon color */
    pointer-events: none;
    /* Make sure the icon is not clickable itself */
    font-size: 1.1rem;
    right: 0.75rem !important;
    /* Position icon slightly in */
}

/* Navbar Icons Styling (User, Wishlist, Cart) */
.navbar-icons .icon-link {
    color: #495057;
    /* Darker gray for icons */
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.navbar-icons .icon-link:hover {
    color: #e11b22 !important;
    /* Bootstrap primary color on hover */
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

.navbar-icons .icon-link i {
    font-size: 1.4rem;
    /* Slightly larger icon size */
}

.cart-badge {
    font-size: 0.55em;
    /* Badge font size */
    padding: 0.3em 0.6em;
    top: -5px !important;
    /* Adjust position vertically */
    left: calc(100% - 5px);
    /* Position it nicely over the top right of the icon */
    background-color: #e11b22 !important;
    /* Red background for attention */
    border: 1px solid #fff;
    /* White border for better contrast */
    box-shadow: 0 0 0 1px #e11b22;
    /* Small shadow for definition */
}

/* Mobile Search Bar */
.mobile-search-bar {
    z-index: 1039;
    position: sticky;
    top: 0;
    /* Adjust this if you have a fixed top bar */
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
}

/* --- Sidebar Styling --- */
#sidebarMobile {
    position: fixed;
    top: 0;
    left: -250px;
    /* Hidden by default on mobile */
    width: 250px;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

#sidebarMobile.active {
    left: 0;
    /* Show when active */
}

#sidebarMobile .close-sidebar {
    display: block;
    text-align: right;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.sidebar-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h4 {
    margin: 0;
    color: #e11b22;
}

.sidebar-logo {
    text-align: center;
    padding: 20px 0;
}

.sidebar-logo img {
    max-width: 150px;
    height: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #e11b22;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.sidebar-nav ul li a i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.sidebar-nav ul li a:hover {
    background-color: #f0f0f0;
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
    display: none;
    /* Hidden by default, shown via media query */
    justify-content: space-around;
    align-items: center;
    position: fixed;
    /* Use fixed for bottom nav */
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    z-index: 1040;
}

.mobile-bottom-nav a {
    color: #555;
    font-size: 1.5rem;
    position: relative;
}

.mobile-bottom-nav .badge {
    font-size: 0.6rem;
    top: -4px;
    right: -6px;
}

/* --- Contact Action Button (example floating button) --- */
.contact-action {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.contact-action .item {
    background-color: #e11b22;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.contact-action .item:hover {
    transform: scale(1.1);
}

/* --- Footer Styling --- */
.bottom-footer {
    background-color: #222;
    /* Dark footer background */
    color: #bbb;
    font-size: 0.85rem;
    padding: 20px 0;
}

.payment-icons i {
    font-size: 1.8rem;
    margin-left: 10px;
    color: #888;
}

/* --- Media Queries --- */

/* Mobile specific styles (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .top-header {
        position: static !important;
        /* Ensure top header is not fixed on mobile */
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1040;
    }

    .mobile-search-bar.d-none {
        display: none !important;
        /* Override Bootstrap's d-none when we want it hidden */
    }

    .mobile-search-bar {
        display: block;
        /* Show when not hidden by JS */
    }

    .mobile-bottom-nav {
        display: flex;
        /* Show bottom nav on mobile */
    }

    /* Hide desktop navbar elements on mobile */
    .navbar-collapse,
    .navbar-icons {
        display: none !important;
    }

    /* Adjust mobile navbar logo centering */
    .navbar .navbar-brand.mx-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }

    /* Sidebar on mobile */
    #sidebarMobile {
        left: -250px;
        /* Ensure it starts off-screen */
    }

    #sidebar.active {
        left: 0;
    }

    /* Hide the desktop sidebar toggle button */
    #sidebarToggleMobile {
        display: none;
        /* This was causing an extra toggle button */
    }
}

/* Desktop specific styles (min-width: 992px) */
@media (min-width: 992px) {

    /* Desktop Navbar */
    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-none {
        display: none !important;
    }

    /* Sidebar on Desktop */
    #sidebarMobile {
        position: static;
        /* Make it static in the document flow */
        left: 0 !important;
        /* Ensure it's always visible */
        height: auto;
        /* Adjust height based on content */
        box-shadow: none;
        /* Remove shadow */
        width: 250px;
        /* Fixed width for desktop sidebar */
    }

    #sidebarMobile .close-sidebar {
        display: none !important;
        /* Hide close button on desktop */
    }

    /* Hide mobile toggle button on desktop */
    .navbar .btn.text-danger.p-0.fs-5 {
        display: none !important;
    }

    /* Hide mobile search toggle on desktop */
    #mobileSearchToggle {
        display: none !important;
    }

    /* Ensure desktop top header is positioned correctly */
    .top-header {
        position: relative;
        /* Or static, depending on layout */
    }
}

/* Hide desktop sidebar on mobile */
@media (max-width: 991.98px) {
    #sidebar {
        display: none !important;
    }
}

/* Hide mobile sidebar on desktop */
@media (min-width: 992px) {
    #sidebar {
        display: block !important;
    }

    #sidebarMobile {
        display: none !important;
    }
}

.item img {
    width: 70%;
    filter: brightness(0) invert(1);
    /* يحول اللون للأسود أو الأبيض */
}

.btn-track {
    width: 100%;
    height: 45px;
    background-color: #007bff;
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    position: relative;
    /* overflow: hidden; */
    padding: 0 15px !important;
    justify-content: flex-start;
    transition: all 0.5s ease;
    white-space: nowrap;
    margin-left: 20%;
}

.menu7-nav img {
    height: 30px;
    margin-right: 5%;
}

.menu7-nav svg {
    margin-right: 5%;
    font-size: 25px;
}

.sidebar-nav img {
    height: 21px;
    margin-right: 2%;
}

.sidebar-nav svg {
    margin-right: 2%;
}

.sidebar-nav .btn-track {
    width: 71%;
    height: 36px;
    background-color: #007bff;
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    position: relative;
    /* overflow: hidden; */
    padding: 0 18px !important;
    justify-content: flex-start;
    transition: all 0.5s ease;
    white-space: nowrap;
    margin-left: 5%;
}

.product-grid .product-image img {
    width: 100%;
    height: 300px;
    display: block;
}

.partners-section {
    margin: 10%;
}

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

.partners-section h2 {
    margin-bottom: 5%;
}


.menu7::-webkit-scrollbar {
    width: 8px;
    /* Adjust the width */
}

.menu7::-webkit-scrollbar-track {
    background: #fff;
    /* Light background */
}

/* Scrollbar Handle */
.menu7::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    /* Gradient effect */
    border-radius: 15px;
}

/* On hover */
.menu7::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

#sidebarMobile::-webkit-scrollbar {
    width: 8px;
    /* Adjust the width */
}

#sidebarMobile::-webkit-scrollbar-track {
    background: #fff;
    /* Light background */
}

/* Scrollbar Handle */
#sidebarMobile::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    /* Gradient effect */
    border-radius: 15px;
}

/* On hover */
#sidebarMobile::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

::-webkit-scrollbar {
    width: 8px;
    /* Adjust the width */
}

::-webkit-scrollbar-track {
    background: #fff;
    /* Light background */
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    /* Gradient effect */
    border-radius: 15px;
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

@media (max-width: 768px) {
    .partners-section {
        margin: 10% 0;
    }

    .navbar-brand .logo-image {
        left: 35%;
    }
}

.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown {
    display: none;
}

/* إظهار القائمة عند الـ hover */
.has-dropdown:hover .dropdown {
    display: block;
}

.category-banner-slider-prod .category-banner {
    position: relative;
}

.category-banner-slider-prod .category-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.category-banner-slider-prod .category-banner .banner-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 12px;
    max-width: 85%;
}

.category-banner-slider-prod .category-banner .btn-primary {
    background-color: #ff5722;
    border: none;
    transition: 0.3s ease;
}

.category-banner-slider-prod .category-banner .btn-primary:hover {
    background-color: #e64a19;
}

.custom-breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 20px 0;
    margin-left: 8%;
}

.custom-breadcrumb li {
    color: #666;
}

.custom-breadcrumb li+li::before {
    content: " >> ";
    margin: 0 8px;
    color: #aaa;
}

.custom-breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- MAIN LAYOUT ---------- */
.main-content-container {
    display: flex;
    /* max-width: 1200px; */
    margin: 20px 0% 20px 7%;
    /* background-color: #f0f0f0; */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
    border-radius: 8px;
    overflow: hidden;
}

/* ---------- SIDEBAR ---------- */
.filter-sidebar {
    background-color: #fff;
    color: var(--primary-red);
    padding: 15px;
    min-width: 250px;
    flex-shrink: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}

.filter-title {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 0.85em;
    text-decoration: underline;
}

/* ---------- FILTER GROUP ---------- */
.filter-group {
    margin-bottom: 15px;
    border-bottom: 1px solid #282828;
}

.group-title {
    font-size: 1em;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.filter-group.active .toggle-icon {
    transform: rotate(180deg);
}

.group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease-out;
    padding-bottom: 0;
}

.filter-group.active .group-content {
    max-height: 500px;
    padding-bottom: 10px;
}

/* ---------- CHECKBOX ---------- */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 0.9em;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #444;
    border-radius: 2px;
}

.checkbox-container input:checked~.checkmark {
    background-color: #ff3333;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

/* ---------- SIZES ---------- */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.size-btn {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.85em;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.size-btn:hover,
.size-btn.selected {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* ---------- PRICE SLIDER ---------- */

.price-slider-wrapper {
    position: relative;
    height: 30px;
    margin: 15px 0;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #444;
    border-radius: 5px;
}

.range-slider-progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #ff3333;
    border-radius: 5px;
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    margin: 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff3333;
    cursor: pointer;
    pointer-events: all;
    margin-top: 30px;
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff3333;
    cursor: pointer;
    border: none;
}

.price-display {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1em;
    color: #ff3333;
    font-weight: 600;
}

/* ---------- PRODUCTS GRID ---------- */
.products-grid-container {
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
}

#products-grid {
    display: grid;
    /* UPDATED: Change auto-fit to auto-fill. This prevents the last few items from stretching to fill the row when the row isn't full. */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-box {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    height: auto;
    /* This ensures boxes don't stretch vertically to the row's height */
    align-self: start;
}

.product-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 10px;
}

.product-category {
    font-size: 0.8em;
    color: #888;
    margin: 5px 0;
}

.product-name {
    font-size: 1.1em;
    font-weight: 600;
    margin: 5px 0 10px 0;
}

.product-price {
    font-size: 1.2em;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
}

#no-results-message {
    color: #555;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    padding: 50px 0;
    grid-column: 1 / -1;
}

.category-swiper-pages .category-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    /* Light background for image wrapper */
    transition: all 0.3s ease;
}

.banner-content-prod {
    text-align: center;
    color: #333;
    margin-top: 0;
    font-size: 20px;
}

.banner-h {
    text-align: center;
    color: var(--primary-red);
    font-size: 50px;
    margin-bottom: 5%;
}


@media (max-width: 770px) {
    .main-content-container {
        display: block;
        margin: 2%;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #333;
    --secondary-color: #555;
    --light-gray: #f5f5f5;
    --border-color: #eee;
    --accent-color: #007bff;
    /* Example accent color for buttons/links */
    --star-color: #FFD700;
    /* Gold color for stars */
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Page Layout */
.product-details-wrapper {
    display: flex;
    gap: 40px;
    background-color: #fff;
    padding: 30px 0;
}

/* نفس ستايلك السابق */
.product-image-section {
    flex: 1;
    max-width: 50%;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

/* تأثير التكبير عند تمرير الماوس */
.main-product-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.main-product-image:hover {
    transform: scale(1.08);
}

/* الأسهم */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--primary-color);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.left-arrow {
    left: 15px;
}

.right-arrow {
    right: 15px;
}

/* الصور المصغرة */
.thumbnail-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.thumbnail-image:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.thumbnail-image.active {
    border-color: var(--primary-color);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #bbb;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-content {
    max-width: 80%;
    max-height: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: grab;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #bbb;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10000;
}

.lightbox-arrow.left {
    left: 20px;
}

.lightbox-arrow.right {
    right: 20px;
}

.zoom-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.zoom-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-info-section {
    flex: 1;
    max-width: 50%;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.8em;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.product-title {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-price {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.delivery-info {
    background-color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

.order-timer {
    font-weight: 500;
    color: var(--primary-color);
}

.product-options .option-label {
    font-weight: 500;
    margin-bottom: 10px;
}

.size-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.size-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #000;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.size-btn.active {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-color);
}

.size-btn:not(.active):hover {
    border-color: var(--primary-red);
}

.size-btn.disabled {
    background-color: var(--light-gray);
    color: #333;
    cursor: not-allowed;
    border-color: #333;
}

.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-btn {
    flex-grow: 1;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #000;
}

.wishlist-btn {
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    color: var(--secondary-color);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.wishlist-btn:hover {
    border-color: transparent;
    color: var(--primary-red);
}

/* Collapsible Sections */
.product-description,
.product-shipping {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.description-header,
.shipping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--primary-red);
}

.description-content,
.shipping-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-bottom: 0;
}

.description-content.show,
.shipping-content.show {
    max-height: 200px;
    /* Adjust as needed for content height */
    padding-bottom: 15px;
}

.description-content p {
    font-size: 0.95em;
    color: var(--secondary-color);
    padding-top: 5px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.description-header.active .arrow-icon,
.shipping-header.active .arrow-icon {
    transform: rotate(180deg);
}

/* Shipping Details Grid */
.shipping-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 10px;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
}

.shipping-item .icon {
    font-size: 1.5em;
    color: var(--primary-red);
}

.shipping-item p:first-child {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.shipping-item p:last-child {
    color: var(--secondary-color);
}

/* Rating & Reviews Section */
.rating-reviews-section {
    padding-top: 20px;
    background-color: #fff;
}

.reviews-summary {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.reviews-summary h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.overall-rating {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.overall-rating span {
    font-size: 0.5em;
    color: var(--secondary-color);
    margin-left: 5px;
}

.star-breakdown .star-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.star-breakdown .star-row span {
    width: 20px;
    text-align: right;
    margin-right: 10px;
    font-weight: 500;
}

.star-breakdown .bar {
    flex-grow: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
}

.star-breakdown .bar div {
    height: 100%;
    background-color: var(--star-color);
    border-radius: 4px;
}

.customer-review {
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

.customer-review h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.review-stars {
    color: var(--star-color);
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.review-stars .star {
    margin-right: 2px;
}

.review-date {
    font-size: 0.8em;
    color: var(--secondary-color);
    margin-left: 15px;
}

.customer-review p {
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .product-details-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .product-image-section,
    .product-info-section {
        max-width: 100%;
    }

    .product-image-section {
        position: static;
        /* Remove sticky behavior on smaller screens */
        top: auto;
    }

    .product-title {
        font-size: 2em;
    }

    .product-price {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .main-slider--container {
        position: relative;
        padding: 0;
        height: calc(70vh - 108px);
        overflow: hidden;
        margin-top: -1px;
    }

    .shipping-content {
        grid-template-columns: 1fr;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .wishlist-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .product-title {
        font-size: 1.8em;
    }

    .product-price {
        font-size: 1.5em;
    }

    .thumbnail-images {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .thumbnail-image {
        width: 70px;
        height: 70px;
    }

    .overall-rating {
        font-size: 2.5em;
    }

    .reviews-summary,
    .customer-review {
        padding: 20px;
    }
}

.about-banner {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.about-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-banner h1 {
    position: relative;
    font-size: 3rem;
    z-index: 1;
    letter-spacing: 1px;
}

/* Intro Text */
.about-intro {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    font-size: 1.2rem;
    padding: 0 20px;
}

/* Section Layout */
.section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 80px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.section img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.section-text {
    flex: 1 1 500px;
    padding: 20px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

/* Alternate order for vision */
.reverse {
    flex-direction: row-reverse;
}

/* Why Choose Us */
.why-choose {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.why-choose h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-red);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: var(--primary-red);
    border-radius: 15px;
    padding: 30px 20px;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    cursor: default;
    color: #fff;
}

.features .feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.features .feature-box i {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

@media (max-width:768px) {
    .section {
        flex-direction: column;
    }

    .reverse {
        flex-direction: column;
    }
}

.offers-grid .product-grid {
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offers-grid .product-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.offers-banner-pages {
    height: 550px;
    border-radius: 0;
}

.offers-banner-pages .offers-banner-content {
    padding: 0 !important;
}

.offers-section-pages {
    padding: 0 !important
}

.offers-section-pages h3 {
    margin-top: 0 !important;
}

/* ============  Banner  ============ */
.wishlist-banner h1 {
    animation: slideDown 1s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============  Wishlist Grid  ============ */
.wishlist-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.wishlist-item .cart {
    width: 50% !important;
    height: 45px;
    /* Adapted gradient to match theme's primary blue */
    background-color: #007bff;
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    padding: 0 15px;
    justify-content: flex-start;
    /* Align text to start initially */
    transition: all 0.5s ease;
    /* Smooth transition for background and text/svg */
}

.wishlist-item .cart svg {
    position: absolute;
    fill: transparent;
    transition: 500ms;
    margin-left: calc(100% - 30px);
    /* Position it just outside the right edge */
    width: 24px;
    height: 24px;
}

.wishlist-item .cart span {
    transition: 500ms;
    white-space: nowrap;
}

.wishlist-item .cart:hover span {
    margin-right: 30px;
    /* Push text to the left */
    color: transparent;
    /* Text disappears */
}

.wishlist-item .cart:hover svg {
    margin-left: calc(50% - 12px);
    /* Center the SVG on hover */
    fill: white;
}


/* زر الإزالة */
.wishlist-remove-btn {
    width: 50%;
    height: 45px;
    /* Adapted gradient to match theme's primary blue */
    background: linear-gradient(90deg, #d80027, #a1001a);
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    padding: 0 15px;
    justify-content: flex-start;
    /* Align text to start initially */
    margin-left: 2%;
    border-color: transparent;
}

.wishlist-remove-btn:hover {
    background: var(--primary-red);
}

/* إخفاء أيقونات المشاهدة والقلب عند Hover */
.wishlist-item:hover .product-links {
    opacity: 0 !important;
    right: -40px !important;
    /* يعيدها إلى خارج الكارد */
    pointer-events: none;
}

/* اختياري: إضافة تأثير سلس عند الإخفاء */
.wishlist-item .product-links {
    transition: opacity 0.3s ease, right 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    z-index: 9999;
}

.cart-drawer.open {
    right: 0;
}

.cart-header,
.cart-footer {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-footer {
    border-top: 1px solid #eee;
    border-bottom: none;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cart-item .product-image {
    width: 50%;
    padding: 0;
    margin-right: 10px;
}

.remove-item {
    background: none;
    border: none;
    color: #e63946;
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-item.product-grid {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    /* لجعل الصورة يسار والنص يمين */
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item .product-image img {
    /* width: 80px; */
    /* حجم الصورة */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item .product-content {
    /* flex: 1; */
    /* يأخذ باقي المساحة */
    padding: 0;
}

.cart-item .product-content .title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.cart-item .price {
    margin: 6px 0;
}

.cart-item .old-price {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 6px;
}

.cart-item .current-price {
    color: #e63946;
    font-weight: bold;
}

.cart-item .wishlist-remove-btn {
    width: auto;
}

/* زر الـCheckout بنفس ستايل Remove */
.checkout-btn {
    background: linear-gradient(90deg, #d80027, #a1001a);
    background-image: linear-gradient(90deg, #d80027, #a1001a);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    padding: 0 15px;
    justify-content: flex-start;
    /* Align text to start initially */
    margin-left: 2%;
    border-color: transparent;
}

.checkout-btn:hover {
    background: var(--primary-red);
}

.cart-header h5 {
    color: var(--primary-red);
}

.cart-footer .cart-total {
    font-weight: bold;
    color: #e63946;
    /* نفس اللون الأساسي */
    font-size: 1.1rem;
}

.tracking-section {
    padding: 60px 20px;
}

.page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #e63946;
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.order-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
}

.status.in-transit {
    background: #f0ad4e;
}

.status.delivered {
    background: #28a745;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-info img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    position: relative;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ddd;
    z-index: 0;
}

.step {
    position: relative;
    background: #ddd;
    color: #777;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-align: center;
    transition: background .3s, color .3s;
    z-index: 1;
}

.step.active {
    background: #e63946;
    color: #fff;
}

.status.placed {
    background: #6c63ff;
    /* بنفسجي/أزرق جذاب */
    color: #fff;
}

.status.packed {
    background: #ff9800;
    /* برتقالي */
    color: #fff;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* تلقائي للشاشات الصغيرة */
    gap: 20px;
}

/* من أول الشاشات المتوسطة (768px) فأكثر: صفين × عمودين */
@media (min-width: 768px) {
    .orders-grid {
        grid-template-columns: repeat(2, 1fr);
        /* عمودان ثابتان */
    }
}

.status.offers {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.containerCustom .bg-login {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.containerCustom .wrap {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
}

.containerCustom .bg-login,
.containerCustom .login-wrap {
    width: 50%;
}

@media (max-width: 991.98px) {

    .containerCustom .bg-login,
    .containerCustom .login-wrap {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .containerCustom .wrap .bg-login {
        height: 250px;
    }
}

.containerCustom .login-wrap {
    position: relative;
    background: #fff;
    font-weight: 300;
}

.containerCustom .form-group {
    position: relative;
    font-size: 16px;
}

.containerCustom .form-group .label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    font-weight: 700;
}

.containerCustom .form-group a {
    color: gray;
}

.containerCustom .form-control {
    background: #fff;
    color: #000;
    font-weight: bold;
    font-size: 15px !important;
    border-radius: 15px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.containerCustom .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.2) !important;
}

.containerCustom .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(0, 0, 0, 0.2) !important;
}

.containerCustom .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(0, 0, 0, 0.2) !important;
}

.containerCustom .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(0, 0, 0, 0.2) !important;
}

.containerCustom .form-control:focus,
.containerCustom .form-control:active {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--green-color);
}

.containerCustom .social-media {
    position: relative;
    width: 100%;
}

.containerCustom .social-media .social-icon {
    display: block;
    width: 40px;
    height: 40px;
    background: transparent;
    text-decoration: none;
    border: 1px solid var(--p-color);
    margin-right: 5px;
    border-radius: 50%;
}

.containerCustom .social-media .social-icon span {
    color: var(--p-color);
}

.containerCustom .social-media .social-icon:hover,
.containerCustom .social-media .social-icon:focus {
    background: var(--p-color);
}

.containerCustom .social-media .social-icon:hover span,
.containerCustom .social-media .social-icon:focus span {
    color: #fff;
}

.containerCustom .checkbox-wrap {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.containerCustom .checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.containerCustom .checkmark {
    position: absolute;
    top: 0;
    left: 0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.containerCustom .checkmark:after {
    content: "\f0c8";
    font-family: "FontAwesome";
    position: absolute;
    color: rgba(0, 0, 0, 0.1);
    font-size: 20px;
    margin-top: -4px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    .containerCustom .checkmark:after {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

/* Show the checkmark when checked */
.containerCustom .checkbox-wrap input:checked~.checkmark:after {
    display: block;
    content: "\f14a";
    font-family: "FontAwesome";
    color: rgba(0, 0, 0, 0.2);
}

/* Style the checkmark/indicator */
.containerCustom .checkbox-primary {
    color: var(--black-color);
}

.containerCustom .checkbox-primary input:checked~.checkmark:after {
    color: var(--green-color);
}

/* ====== الغلاف العام ====== */
.containerCustom .wrap {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ====== صورة الخلفية ====== */
.containerCustom .bg-login {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: relative;
}

.containerCustom .bg-login::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* ====== منطقة تسجيل الدخول ====== */
.containerCustom .login-wrap {
    position: relative;
    padding: 3rem 2rem;
}

.containerCustom .login-wrap h3 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

/* ====== الحقول ====== */
.containerCustom .form-control {
    background: #f7f7f7;
    border-radius: 30px !important;
    padding: 12px 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.containerCustom .form-control:focus {
    background: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

/* ====== الأزرار ====== */
.btn.btn-green {
    background: var(--primary-red);
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn.btn-green:hover {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

/* ====== روابط سفلية ====== */
.containerCustom .text-center a.color {
    color: var(--primary-red);
    font-weight: 600;
}

.containerCustom .text-center a.color:hover {
    text-decoration: underline;
}

/* ====== أيقونات التواصل الاجتماعي ====== */
.containerCustom .social-media .social-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-red);
    margin-left: 8px;
    transition: all 0.3s ease;
}

.containerCustom .social-media .social-icon span {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.containerCustom .social-media .social-icon:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.containerCustom .social-media .social-icon:hover span {
    color: #fff;
}

/* ====== مربع الاختيار ====== */
.containerCustom .checkbox-wrap {
    font-size: 15px;
    padding-left: 35px;
}

.containerCustom .checkmark:after {
    font-size: 22px;
}

/* إرجاع المربع العادي وإلغاء التخصيص */
.containerCustom .checkbox-wrap input {
    position: static !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer;
}

.containerCustom .checkmark,
.containerCustom .checkmark:after {
    display: none !important;
}

.containerCustom .checkmark:after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.containerCustom .checkbox-wrap input:checked~.checkmark:after {
    background: var(--green-color);
    border-color: var(--green-color);
}

.containerCustom .checkbox-wrap input {
    opacity: 0;
    position: absolute;
    height: 0;
    width: 0;
}

/* تغيّر لون المربع والعلامة عند التحديد */
input[type="checkbox"] {
    accent-color: var(--primary-red);
}

/* شبـكة البراندات – معزولة */
.brands-page .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.brands-page .brand-card {
    /* background: #fff; */
    border-radius: 18px;
    /* padding: 25px; */
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.08); */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brands-page .brand-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(60%);
    transition: filter 0.35s ease, transform 0.35s ease;
}

/* تأثير عند التمرير */
.brands-page .brand-card:hover {
    transform: translateY(-6px) scale(1.05);
    /* box-shadow: 0 10px 24px rgba(0,0,0,0.15); */
}

.brands-page .brand-card:hover img {
    filter: grayscale(0);
    transform: scale(1.08);
}

/* ===== Policies Page Styles ===== */
.policies-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color, #333);
}

.policies-page .policy-block {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    /* ===== Initial State for Transition ===== */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s ease forwards;
}

/* Add a small delay for each block to create a cascade effect */
.policies-page .policy-block:nth-child(2) {
    animation-delay: 0.2s;
}

.policies-page .policy-block:nth-child(3) {
    animation-delay: 0.4s;
}

.policies-page .policy-block:nth-child(4) {
    animation-delay: 0.6s;
}

.policies-page h2 {
    color: var(--primary-red, #c0392b);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.policies-page p,
.policies-page ul {
    color: #555;
    line-height: 1.7;
}

.policies-page ul {
    padding-left: 20px;
}

.policies-page ul li {
    margin-bottom: 8px;
}

/* ===== Keyframes for Page Load Animation ===== */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Delivery Information Page Styles ===== */
.delivery-info-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color, #333);
}

.delivery-info-page .delivery-block {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    /* ===== Initial State for Transition ===== */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s ease forwards;
}

/* Cascade delay for smooth entrance */
.delivery-info-page .delivery-block:nth-child(2) {
    animation-delay: 0.2s;
}

.delivery-info-page .delivery-block:nth-child(3) {
    animation-delay: 0.4s;
}

.delivery-info-page .delivery-block:nth-child(4) {
    animation-delay: 0.6s;
}

.delivery-info-page .delivery-block:nth-child(5) {
    animation-delay: 0.8s;
}

.delivery-info-page h2 {
    color: var(--primary-red, #c0392b);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.delivery-info-page p,
.delivery-info-page ul {
    color: #555;
    line-height: 1.7;
}

.delivery-info-page ul {
    padding-left: 20px;
}

.delivery-info-page ul li {
    margin-bottom: 8px;
}

/* ===== Keyframes for Page Load Animation ===== */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


:root {
    --pc: #ed1b24;
    --sc: #fff;
    --black: #000;
}

.contact-page7 {
    margin-top: 80px;
    position: relative;
    padding: 50px 0px 50px 120px;
    max-width: fit-content;
}

.contact-page7 h2,
.contact-page7 h4,
.contact-page7 h6 {
    color: var(--pc);
    font-weight: 700;
}

.contact-page7:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 65%;
    height: 100%;
    background-color: #f1f0fe;
    content: '';
    border-top-right-radius: 500px;
    border-bottom-right-radius: 500px;
}

.contact-page7 .section-heading {
    margin-right: 110px;
    margin-bottom: 0px;
}

.contact-page7 .section-heading p {
    margin-top: 50px;
}

.contact-page7 .contact-us-content {
    border-radius: 25px;
    padding: 80px;
    background-color: var(--pc);
    position: relative;
    z-index: 1;
}

.contact-page7 .contact-us-content::before {
    background: url(../../images/contact-dec-01.png);
    position: absolute;
    left: 50%;
    transform: translateX(-149px);
    opacity: 0.5;
    top: 0;
    width: 318px;
    height: 119px;
    content: '';
    z-index: 2;
}

.contact-page7 .contact-us-content::after {
    background: url(../../images/contact-dec-02.png);
    position: absolute;
    right: 0;
    bottom: 0;
    width: 183px;
    height: 149px;
    content: '';
    z-index: 2;
}

#contactPage7Form input,
#contactPage7Form textarea {
    width: 100%;
    border-radius: 25px;
    border: none;
    outline: none;
    font-weight: 300;
    font-size: 14px;
    color: var(--black);
    background-color: rgba(245, 242, 255, 0.2);
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}

#contactPage7Form input {
    height: 50px;
    padding: 0 20px;
}

#contactPage7Form input::placeholder,
#contactPage7Form textarea::placeholder {
    color: #fff;
}

#contactPage7Form textarea {
    height: 120px;
    padding: 20px;
}

#contactPage7Form button {
    border: none;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    padding: 0 25px;
    border-radius: 25px;
    color: var(--pc);
    transition: all .4s;
    position: relative;
    z-index: 3;
}

#contactPage7Form button:hover {
    opacity: 0.8;
}

/* Shared Contact Info Styles */
.contact-page7 .contact-item {
    position: relative;
    padding: 0 0 0 74px;
    color: var(--color-dark-1);
    margin-bottom: 4%;
}

.contact-page7 .contact-item a {
    color: currentColor;
    text-decoration: none;
    font-weight: 700;
}

.contact-page7 .contact-item a:hover {
    color: var(--pc);
}

.contact-page7 .ci-icon {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 56px;
    height: 56px;
    font-size: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-page7 .ci-icon:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--pc);
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: -1;
}

.contact-page7 .ci-title {
    margin-bottom: 7px;
    color: var(--pc);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-page7 .ci-text {
    font-size: 18px;
    line-height: 1.625;
    font-weight: 500;
    color: #5c5858;
}

.map iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
}

.map {
    margin-top: 10px;
    margin-left: 6%;
    margin-right: 2%;
}

@media (max-width: 770px) {
    .contact-page7 {
        padding: 10px;
    }

    .contact-page7:before {
        background-color: #fff;
    }

    .map {
        margin-right: 0;
        margin-left: 0;
    }
}

.color-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
}

.color-circle:hover {
    border: 2px solid #333;
}


/* ===== Reviews Section ===== */
.reviews-section {
    margin-top: 50px;
    padding: 30px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.reviews-section h2 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: bold;
}

.reviews-summary {
    margin-bottom: 20px;
}

.overall-rating {
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

.star-breakdown {
    margin-top: 10px;
}

.star-row {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 4px 0;
}

.star-row span {
    width: 20px;
    font-weight: bold;
}

.star-row .bar {
    flex: 1;
    background: #ddd;
    height: 8px;
    border-radius: 4px;
    margin-left: 8px;
    overflow: hidden;
}

.star-row .bar div {
    background: var(--primary-red);
    /* yellow stars */
    height: 100%;
}

/* ===== Individual Review ===== */
.customer-review {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.customer-review h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.review-stars {
    color: #f39c12;
    font-size: 16px;
    margin-bottom: 8px;
}

.review-date {
    font-size: 12px;
    color: #777;
    margin-left: 10px;
}

.reviewer-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: 10px;
}

/* ===== Add Review Form ===== */
.add-review {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.add-review h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.add-review label {
    display: block;
    margin: 8px 0 5px;
    font-weight: 500;
    color: #333;
}

.add-review input,
.add-review select,
.add-review textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    transition: border 0.3s ease;
}

.add-review input:focus,
.add-review select:focus,
.add-review textarea:focus {
    border-color: #000;
    outline: none;
}

.submit-review-btn {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.submit-review-btn:hover {
    background: #444;
}

/* Size Buttons */
.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}


/* Stock Status Row */
.stock-status {
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}

.stock-status.in {
    color: #27ae60;
    /* green */
}

.stock-status.low {
    color: #e67e22;
    /* orange */
}

.stock-status.out {
    color: #e74c3c;
    /* red */
}

/* Color Circles */
.color-circle {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 8px;
    transition: transform 0.3s ease, border 0.3s ease;
}

.color-circle.active {
    transform: scale(1.2);
    border: 2px solid #000 !important;
}

/* Size Buttons */
.size-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: #000;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.size-btn.active {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: #fff;
}

.size-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.add-review h3 {
    color: var(--primary-red);
}

.add-to-cart-section .cart span {
    text-align: center;
    margin: 0 auto;
}

.add-to-cart-section .cart:hover span {
    text-align: center;
    margin: 0 auto;
}

.add-review .wishlist-remove-btn {
    width: 20%;
    margin-left: 0;
}

.product-price .old-price {
    text-decoration: line-through;
    color: gray;
    margin-left: 10px;
}

.product-price .current-price {
    color: var(--primary-red);
    font-weight: bold;
}

.related-products-section .section-header {
    text-align: center;
    display: block;
}

.related-products-next,
.related-products-prev {
    background: #fff !important;
    color: var(--primary-red) !important;
}

#sidebarMobile .dropdown {
    display: none;
    padding-left: 20px;
}

#sidebarMobile .has-dropdown.open .dropdown {
    display: block;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 أعمدة */
    gap: 10px;
    /* مسافة بين الأزرار */
    margin-top: 10px;
}

.offers-section-pages .row {
    margin-left: auto;
    margin-right: auto;
}

.category-swiper-pages {
    height: auto;
}

.navbar-icons a {
    color: #333;
    display: flex;
    text-align: center;
    align-items: center;
}

.main-item--title {
    padding: 0 100px;
}

/* Video Thumbnail Styling */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.video-thumbnail:hover .video-play-icon {
    color: #e11b22;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Main Product Video */
.main-product-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Lightbox Video */
#lightboxVideo {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.main-item--inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Skip Link - Hidden by default, visible on focus for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #e11b22;
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Focus States - Enhanced visibility for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #e11b22;
    outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid #e11b22;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-red: #ff0000;
        --text-dark: #000000;
        --text-light: #ffffff;
    }

    a,
    button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-content {
        animation: none !important;
    }
}

/* ============================================
   PERFORMANCE IMPROVEMENTS
   ============================================ */

/* GPU Acceleration for smooth animations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Content visibility for off-screen content */
.lazy-content {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* Font display swap fallback */
@font-face {
    font-family: 'DM Sans';
    src: url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
    font-display: swap;
}

/* Minimum touch target sizes for mobile */
@media (pointer: coarse) {

    button,
    a,
    input[type="button"],
    input[type="submit"] {
        min-width: 48px;
        min-height: 48px;
    }
}

.main-footer a {
    text-decoration: none;
}

.bottom-footer a {
    text-decoration: none;
}

.main-footer .newsletter-form .form-control::placeholder {
    color: #fff;
}


/*Asma Updated Style */
/* Toast Notifications Container */
.toast-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .toast-container.top-right {
        top: 20px;
        right: 20px;
        align-items: flex-end;
    }

    .toast-container.top-left {
        top: 20px;
        left: 20px;
        align-items: flex-start;
    }

    .toast-container.bottom-right {
        bottom: 20px;
        right: 20px;
        align-items: flex-end;
    }

    .toast-container.bottom-left {
        bottom: 20px;
        left: 20px;
        align-items: flex-start;
    }

    .toast-container.top-center {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
    }

    .toast-container.bottom-center {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
    }

/* Toast Item */
.toast {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(0);
    transition: all 0.3s ease;
    border-left: 4px solid;
    font-family: inherit;
}

    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

    .toast.hide {
        opacity: 0;
        transform: translateX(100%);
    }

/* Toast Types */
.toast-success {
    border-left-color: #28a745;
}

    .toast-success .toast-icon i {
        color: #28a745;
    }

.toast-error {
    border-left-color: #dc3545;
}

    .toast-error .toast-icon i {
        color: #dc3545;
    }

.toast-warning {
    border-left-color: #ffc107;
}

    .toast-warning .toast-icon i {
        color: #ffc107;
    }

.toast-info {
    border-left-color: #17a2b8;
}

    .toast-info .toast-icon i {
        color: #17a2b8;
    }

/* Icon */
.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

/* Close Button */
.toast-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 0.8rem;
    color: #999;
    transition: color 0.2s;
}

    .toast-close:hover {
        color: #333;
    }

/* Mobile responsiveness */
@media (max-width: 576px) {
    .toast-container {
        width: calc(100% - 40px);
    }

        .toast-container.top-center,
        .toast-container.bottom-center {
            left: 20px;
            right: 20px;
            transform: none;
        }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* ============================================
   CART DRAWER STYLES - FIXED
   ============================================ */

/* Cart Drawer Container */
#cartDrawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 90vw;
    height: 100%;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

    #cartDrawer.open {
        right: 0;
    }

/* Drawer Overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

    #cartDrawer.open ~ .cart-drawer-overlay,
    .cart-drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Drawer Content */
.cart-drawer-content {
    position: relative;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Drawer Header */
.cart-drawer-header {
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    flex-shrink: 0;
}

    .cart-drawer-header h5 {
        margin: 0;
        color: #e11b22;
        font-size: 1.25rem;
        font-weight: 600;
    }

#closeCart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #closeCart:hover {
        color: #e11b22;
    }

/* Drawer Body (Scrollable) */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

    /* Custom Scrollbar for Drawer Body */
    .cart-drawer-body::-webkit-scrollbar {
        width: 6px;
    }

    .cart-drawer-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .cart-drawer-body::-webkit-scrollbar-thumb {
        background: #e11b22;
        border-radius: 3px;
    }

        .cart-drawer-body::-webkit-scrollbar-thumb:hover {
            background: #c91a20;
        }

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

    .empty-cart i {
        color: #ddd;
        margin-bottom: 1rem;
    }

    .empty-cart p {
        color: #666;
        font-size: 1rem;
    }

/* Cart Items Container */
#cartItemsContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .cart-item:hover {
        background: #f5f5f5;
    }

/* Cart Item Image */
.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Cart Item Details */
.cart-item-details {
    flex: 1;
    min-width: 0; /* Prevents overflow */
}

    .cart-item-details h4 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0 0 0.25rem 0;
    }

        .cart-item-details h4 a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .cart-item-details h4 a:hover {
                color: #e11b22;
            }

/* Variant Info */
.variant-info {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Cart Item Price */
.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e11b22;
    margin: 0.5rem 0;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .qty-btn:hover {
        background: #e11b22;
        border-color: #e11b22;
        color: white;
    }

    .qty-btn:active {
        transform: scale(0.95);
    }

.cart-item-quantity .qty {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* Remove Button */
.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

    .remove-item:hover {
        color: #c82333;
        text-decoration: underline;
    }

/* Drawer Footer */
.cart-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

    .cart-total span:last-child {
        color: #e11b22;
        font-size: 1.25rem;
    }

.checkout-btn {
    width: 100%;
    background: #e11b22;
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .checkout-btn:hover {
        background: #c91a20;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(225, 27, 34, 0.3);
    }

    .checkout-btn:active {
        transform: translateY(0);
    }

/* ============================================
   BODY SCROLL PREVENTION
   ============================================ */

/* When cart is open, prevent body scroll */
body.cart-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Remove conflicting styles - comment out or remove these */
/* 
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

#cartDrawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    z-index: 9999;
    transition: right 0.3s ease;
}

    #cartDrawer.open {
        right: 0;
    }

.cart-drawer-content {
    position: relative;
    height: 100%;
    background: white;
    overflow-y: auto;
}
*/

/* ============================================
   RESPONSIVE STYLES FOR CART DRAWER
   ============================================ */

@media (max-width: 576px) {
    #cartDrawer {
        width: 100%;
        right: -100%;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-details h4 {
        font-size: 0.9rem;
    }

    .cart-item-price {
        font-size: 0.9rem;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

/* ============================================
   CART BADGE STYLES
   ============================================ */

.cart-badge,
.mobile-cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #e11b22;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    min-width: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================
   ADD TO CART FEEDBACK TOAST
   ============================================ */

.cart-feedback {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
}

    .cart-feedback.show {
        opacity: 1;
        transform: translateX(0);
    }

@media (max-width: 576px) {
    .cart-feedback {
        bottom: 70px;
        right: 20px;
        left: 20px;
        text-align: center;
        transform: translateY(100%);
    }

        .cart-feedback.show {
            transform: translateY(0);
        }
}

/* ============================================
   ADD TO CART BUTTON ANIMATION
   ============================================ */

.cart.added {
    transform: scale(0.95);
    background-color: #28a745 !important;
    transition: all 0.3s ease;
}

    .cart.added span {
        color: white;
    }

    .cart.added svg {
        fill: white;
    }


.btn-outline-primary-custom {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    transition: all 0.2s;
    background: transparent;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-primary-custom:hover {
        background: var(--primary);
        color: white;
    }

.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary-custom:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(225,27,34,0.3);
    }

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
}

    .search-results-dropdown.show {
        display: block;
    }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background 0.2s;
}

    .search-result-item:hover {
        background: #f8f9fa;
    }

.search-result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #2d3436;
}

.search-result-price {
    color: #e11b22;
    font-weight: 700;
    font-size: 0.85rem;
}

.search-result-old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.75rem;
    margin-left: 8px;
}

.search-loading {
    padding: 15px;
    text-align: center;
    color: #6c757d;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #6c757d;
}

@media (max-width: 768px) {
    .search-results-dropdown {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        margin-top: 0;
        max-height: 70vh;
    }
}