:root {
    --color-light-1: #fff;
    --color-light-2: #e3e3e3;
    --color-dark-1: #222222;
    --color-dark-2: #878787;
    --color-dark-3: #f6f6f6;
    --color-yellow: #bf9b30;
    --transition: all 0.3s ease-in-out;
}

/* Base Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    direction: ltr;
}

body {
    font-family: "Tajawal", sans-serif;
}

a {
    text-decoration: none;
    color: var(--color-dark-1);
    transition: all 0.15s ease-in-out;
}

a:hover {
    color: var(--color-yellow);
}

ul {
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.container-xs {
    width: 1170px;
    margin: auto;
}

/* Utility Classes */
.fs-7 {
    font-size: 0.9rem;
}

.fs-8 {
    font-size: 0.8rem;
}

.fs-9 {
    font-size: 0.7rem;
}

.fs-10 {
    font-size: 0.6rem;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-light-2 {
    background-color: var(--color-light-2);
}

.bg-dark-3 {
    background-color: var(--color-dark-3) !important;
}

/* Common Overlay for Sidebars */
.sidebar-overlay,
.cart-overlay,
.search-overlay,
.auth-overlay,
.filter-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.sidebar-overlay.show,
.cart-overlay.show,
.search-overlay.show,
.auth-overlay.show,
.filter-overlay.active {
    display: block;
}

/* Common Sidebar Styles */
.sidebar,
.auth-sidebar,
.search-modal,
.cart-sidebar,
.filter-panel {
    position: fixed;
    top: 0;
    height: 100vh;
    background-color: var(--color-light-1);
    z-index: 1060;
    width: 85%;
    max-width: 350px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

/* Sidebar-specific positions */
.sidebar {
    left: -400px;
    transition: left 0.3s ease;
    direction: ltr;
}

.cart-sidebar,
.auth-sidebar,
.search-modal {
    right: -100%;
    transition: right 0.3s ease-in;
}

/* Show states */
.sidebar.show {
    left: 0;
}

.cart-sidebar.show,
.auth-sidebar.show,
.search-modal.show {
    right: 0;
}

/* Common Header Styles */
.sidebar-header,
.cart-header,
.search-header,
.auth-header {
    border-bottom: 1px solid var(--color-light-2);
}

/* Sidebar Components */
.nav-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.nav-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 400 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0 !important;
    padding: 1.25rem 0;
}

.nav-btn.active {
    font-weight: bold;
    background-color: var(--color-light-2);
    border-bottom: 2px solid var(--color-dark-1);
}

.sidebar-nav {
    padding: 0;
    margin: 0;
}

.sidebar-item {
    position: relative;
}

.sidebar-link {
    display: flex;
    align-items: center;
    color: var(--color-dark-1);
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--color-light-2);
    padding: 15px;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-link:hover {
    background-color: var(--color-light-2);
    color: var(--color-dark-1);
}

.btn-close {
    right: -100%;
    top: 0;
    background-color: black;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Cart Styles */
.cart-body {
    flex: 1;
    overflow-y: auto;
}

.cart-footer {
    border-top: 1px solid var(--color-light-2);
}

.cart-item-image {
    width: 100px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    object-fit: cover;
}

/* Cart and Quantity Controls */
.quantity-input {
    width: 30px;
    height: 25px !important;
    text-align: center;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Styles */
.search-form {
    margin-bottom: 20px;
}

.search-form .form-control {
    height: 46px;
    border-radius: 50px;
}

.search-form .input-group-text {
    border-radius: 0 50px 50px 0;
}

.recent-search-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-light-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-search-btn {
    color: var(--color-dark-2);
}

/* Search Results */
.search-result-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light-2);
    text-decoration: none;
    color: var(--color-dark-1);
}

.search-result-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: left;
}

.search-result-price {
    color: var(--color-dark-2);
    text-align: left;
}

.search-back {
    border-top: 1px solid var(--color-light-2);
    padding-top: 15px;
}

/* Form Styles */
.form-control {
    height: 46px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-dark-1);
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.1);
}

.auth-body {
    padding-top: 1.5rem;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

/* Mobile Navigation */
.mobile-nav {
    background-color: var(--color-light-1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0 5px;
    z-index: 1020;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-1);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.2s ease;
    width: fit-content;
    padding: 6px 0;
    cursor: pointer;
}

.mobile-nav-link ion-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.mobile-nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--color-dark-1);
}

.cart-badge {
    position: absolute;
    top: -1px;
    left: 100%;
    transform: translateX(-10px);
    background-color: var(--color-dark-1);
    color: var(--color-light-1);
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
}

/* Category Grid */
.category-section {
    overflow: hidden;
}

.category-grid {
    display: grid;
    gap: 15px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.category-item {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.category-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-image {
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.category-item:hover .category-image img {
    transform: scale(1.05);
}

.category-label {
    position: absolute;
    bottom: 4rem;
    right: 50%;
    transform: translate(50%, 50%);
    background-color: white;
    padding: 8px 5px;
    min-width: 150px;
    text-wrap: nowrap;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease-in-out;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-label:hover {
    background-color: black;
    color: white;
}

/* About Cards */
.about-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 100%;
    /* 1:1 Aspect ratio */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.card-image img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
    transform-origin: center;
}

.about-card:hover .card-image img {
    transform: scale(1.25) rotate(-20deg);
    filter: brightness(1.1);
}

.card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark-1);
    transition: color 0.3s ease;
    margin-top: 1rem;
}

/* Form Section */
.form-heading {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-dark-1);
}

.form-label {
    color: var(--color-dark-2);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.submit-btn {
    background-color: var(--color-dark-1);
    color: white;
    border: none;
    border-radius: 0;
    padding: 0.75rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.submit-btn:hover {
    background-color: var(--color-dark-2);
}

/* Footer Styles */
.footer-section {
    background-color: #f8f8f8;
    direction: ltr;
}

.social-link {
    color: #666;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #000;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.95rem;
}

.info-icon {
    margin-right: 8px;
    font-size: 1.25rem;
    color: #888;
}

.info-text,
.info-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: #000;
}

.copyright-text {
    color: #888;
    font-size: 0.85rem;
}

/* Hero Image */
.custom-hero-image {
    height: 60vh;
    max-height: 400px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }

    body.sidebar-open .mobile-nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 15px;
        height: 800px;
    }

    .div1 {
        grid-area: 1 / 1 / 3 / 2;
    }

    .div2 {
        grid-area: 3 / 1 / 5 / 2;
    }

    .div3 {
        grid-area: 5 / 1 / 7 / 2;
    }

    .div4 {
        grid-area: 1 / 2 / 4 / 3;
    }

    .div5 {
        grid-area: 4 / 2 / 7 / 3;
    }

    .div6 {
        grid-area: 1 / 3 / 7 / 4;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 15px;
        height: 700px;
    }

    .div1 {
        grid-area: 1 / 3 / 5 / 4;
    }

    .div2 {
        grid-area: 1 / 1 / 3 / 3;
    }

    .div3 {
        grid-area: 3 / 1 / 5 / 3;
    }

    .div4 {
        grid-area: 5 / 3 / 7 / 4;
    }

    .div5 {
        grid-area: 5 / 2 / 7 / 3;
    }

    .div6 {
        grid-area: 5 / 1 / 7 / 2;
    }

    .form-heading {
        font-size: 1.7rem;
    }

    .footer-info {
        font-size: 0.9rem;
    }

    .custom-hero-image {
        height: 40vh;
    }
}

@media (max-width: 767.98px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        /* grid-template-rows: repeat(10, 1fr); */
        gap: 10px;
        /* height: 1200px; */
    }

    .category-label {
        padding: 4px !important;
        font-size: 0.75rem !important;
        min-width: 100px !important;
        bottom: 2rem !important;
    }

    /* .div1 {
        grid-area: 1 / 1 / 5 / 3;
    }

    .div2 {
        grid-area: 5 / 1 / 7 / 2;
    }

    .div3 {
        grid-area: 7 / 1 / 9 / 2;
    }

    .div4 {
        grid-area: 5 / 2 / 7 / 3;
    }

    .div5 {
        grid-area: 7 / 2 / 9 / 3;
    }

    .div6 {
        grid-area: 9 / 1 / 11 / 3;
    } */

    .card-image {
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .category-grid {
        height: 900px;
    }

    .custom-hero-image {
        height: 30vh;
    }
}

.divider-line {
    width: 5rem;
    height: 1px;
    background-color: #1f1f1f;
}

.about-heading {
    font-size: 1.5rem;
}

.main-navigation {
    border-bottom: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
    padding: 7px 0;
    background-color: white;
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 100%;
}

.nav-scroll-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
}

.nav-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-dark-1);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    padding: 5px 0;
    white-space: nowrap;
    display: block;
}

.nav-link:hover {
    color: var(--color-yellow);
}

.nav-link.active {
    color: var(--color-yellow);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background-color: var(--color-yellow);
}

.scroll-indicator {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-left {
    right: 0;
}

.scroll-right {
    left: 0;
}

.scroll-indicator ion-icon {
    font-size: 18px;
    color: var(--color-dark-1);
}

.scroll-indicator:hover ion-icon {
    color: var(--color-yellow);
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive styles */
@media (max-width: 991px) {
    .nav-list {
        gap: 2rem;
    }

    .nav-link {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .main-navigation {
        padding: 10px 0;
    }

    .nav-list {
        gap: 18px;
        padding: 0px 10px;
    }

    .nav-link {
        font-size: 14px;
    }

    .scroll-indicator {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-list {
        gap: 1rem;
    }

    .nav-link {
        font-size: 13px;
    }
}

/* Collection Tools */
.collection-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Filter Button */
.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--color-dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    color: var(--color-primary);
}

.filter-toggle-btn ion-icon {
    font-size: 18px;
}

/* Filter Panel */
.filter-panel {
    left: -100%;
    width: 85%;
    max-width: 350px;
    overflow: hidden;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.filter-panel.active {
    left: 0;
    max-height: 1000px;
}

.filter-panel-content {
    padding: 20px;
    display: flex;
    gap: 4rem;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    text-align: left;
    position: relative;
}

.filter-header h3::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    bottom: -5px;
    left: 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    direction: ltr;
}

/* Checkbox Style */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    border: 1px solid var(--color-gray);
    border-radius: 3px;
    transition: var(--transition);
    background-color: var(--color-light-2);
}

.filter-checkbox:hover .checkmark {
    border-color: var(--color-light-2);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--color-light-2);
    border-color: var(--color-light-2);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background-color: rgb(15, 15, 15);
}

.filter-label {
    font-size: 14px;
    color: var(--color-dark);
}

/* Price Slider */
.price-slider-container {
    width: 100%;
    padding: 10px 0;
}

.price-slider {
    position: relative;
    height: 4px;
    background-color: var(--color-light-gray);
    margin: 20px 0;
    border-radius: 2px;
}

.price-slider-track {
    position: absolute;
    height: 100%;
    background-color: var(--color-dark-2);
    right: 0;
    left: 25%;
    border-radius: 2px;
}

.price-slider-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--color-dark-2);
    border: 2px solid var(--color-light-2);
    border-radius: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.price-slider-handle.left {
    right: 0;
}

.price-slider-handle.right {
    right: 75%;
}

.price-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    direction: ltr;
}

.price-value {
    font-size: 14px;
    color: var(--color-dark);
}

.price-separator {
    color: var(--color-gray);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    border: 1px solid var(--color-dark-1);
}

.filter-apply-btn {
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-actions:hover {
    background-color: var(--color-dark-1);
    color: var(--color-light-2);
}

/* Updated CSS for Filter Panel */
.filter-panel {
    position: relative;
    /* Change from fixed to relative for desktop */
    left: auto;
    /* Reset default position for desktop */
    width: 100%;
    /* Full width on desktop */
    max-width: 100%;
    /* Full width on desktop */
    height: auto;
    /* Auto height on desktop */
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--color-light-2);
    border-radius: 4px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    background-color: var(--color-light-1);
    z-index: 50;
    /* Lower z-index for desktop */
}

.filter-panel.active {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}

.filter-panel-content {
    padding: 20px;
    display: flex;
    gap: 4rem;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Mobile specific styles */
@media (max-width: 767px) {
    .filter-panel {
        position: fixed;
        /* Fixed position on mobile */
        top: 0;
        left: -100%;
        /* Start off-screen */
        bottom: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        /* Full height */
        overflow-y: auto;
        /* Scrollable */
        z-index: 1060;
        /* Higher z-index to appear over content */
        border: none;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        /* Different transition for mobile */
        border-radius: 0;
        visibility: visible;
        opacity: 1;
        max-height: none;
    }

    .filter-panel.active {
        left: 0;
        /* Slide in from right */
    }

    .filter-panel-content {
        flex-direction: column;
        gap: 2rem;
        padding-bottom: 100px;
        /* Space for the fixed button */
    }

    .filter-apply-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Filter overlay for mobile only */
.filter-overlay {
    display: none;
}

@media (max-width: 767px) {
    .filter-overlay.active {
        display: block;
    }
}

.product-list-container {
    direction: ltr;
}

.product-item {
    position: relative;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1/1.3;
}

.product-image-container .sizes ul {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row !important;
    gap: 10px;
    color: var(--color-light-1);
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease-in-out;
}

.product-item:hover .product-image {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: rgba(100, 100, 100, 0.223);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.product-item:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-item:hover .sizes ul {
    opacity: 1;
}

.action-btn {
    width: 85%;
    max-width: 180px;
    padding: 10px 15px;
    text-align: center;
    border: none;
    background-color: var(--color-light-1);
    color: var(--color-dark-1);
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border-radius: 10rem;
}

.quick-view-btn:hover,
.add-cart-btn:hover {
    background-color: var(--color-dark-1);
    color: var(--color-light-1);
}

.wishlist-icon,
.share-icon,
.delete-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
}

.wishlist-icon,
.delete-icon {
    top: 10px;
    left: 10px;
    transform: translateY(-10px);
}

.share-icon {
    top: 55px;
    left: 10px;
    transform: translateY(-10px);
}

.product-item:hover .wishlist-icon,
.product-item:hover .share-icon,
.product-item:hover .delete-icon {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-icon:hover,
.share-icon:hover,
.delete-icon:hover {
    background-color: var(--color-dark-1);
    color: var(--color-light-1);
}

.wishlist-icon ion-icon,
.share-icon ion-icon,
.delete-icon ion-icon {
    font-size: 20px;
    color: var(--color-dark-1);
    transition: var(--transition);
}

.wishlist-icon:hover ion-icon,
.share-icon:hover ion-icon,
.delete-icon:hover ion-icon {
    color: var(--color-light-1);
}

.product-info {
    text-align: left;
    padding: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--color-dark-1);
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* .product-item:hover .product-title {
  color: var(--color-yellow);
} */

.product-price {
    font-size: 15px;
    color: var(--color-dark-2);
}

/* Sale badge */
.product-badge,
.discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-dark-1);
    color: var(--color-light-1);
    padding: 2px 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 5;
}

.discount {
    background-color: #ff4e00;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .product-title {
        font-size: 13px;
    }

    .product-price {
        font-size: 13px;
    }

    .action-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 767px) {
    .product-image-container {
        aspect-ratio: 1/1.2;
    }

    .wishlist-icon,
    .share-icon,
    .delete-icon {
        width: 30px;
        height: 30px;
    }

    .wishlist-icon ion-icon,
    .share-icon ion-icon,
    .delete-icon ion-icon {
        font-size: 18px;
    }

    .share-icon {
        top: 45px;
    }
}

@media (max-width: 480px) {
    .product-actions {
        gap: 6px;
    }
}

.product-actions-mobile {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--color-light-1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10rem;
    z-index: 10;
}

.product-actions-mobile .action-btn {
    border-radius: 100%;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions-mobile .action-btn ion-icon {
    font-size: 1.25rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.quick-view-modal {
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--color-light-1);
    z-index: 1060;
    overflow-y: auto;
    display: none;
}

.modal-container {
    padding: 2rem;
}

.modal-header {
    border-bottom: 1px solid var(--color-light-2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-product-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.close-modal {
    cursor: pointer;
}

.modal-product-image {
    text-align: center;
}

.modal-product-price {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.5rem 0;
    color: var(--color-dark-2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .quick-view-modal {
        width: 95%;
        max-height: 80vh;
    }

    .modal-container {
        padding: 1rem;
    }
}

.custom-colse-modal-view {
    width: 2.5rem;
    height: 2.5rem;
    border-bottom-left-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Product Detail Page Styles */
.product-detail-container {
    direction: ltr;
}

/* Product Images */
.main-image-container {
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.expand-image-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
    width: 80px;
    overflow-y: scroll;
    height: 300px;
}
@media (min-width: 992px) {
    .thumbnail-images{
        height: 400px;
    }
}

.thumbnail-wrapper {
    width: 70px;
    height: 70px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
    /* overflow: hidden; */
}

.thumbnail-wrapper.active {
    border-color: var(--color-dark-1) !important;
    opacity: 1;
}

.thumbnail-wrapper:hover {
    opacity: 1;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-title {
    font-size: 1.5rem;
    color: var(--color-dark-1);
}

.product-price {
    color: var(--color-dark-2);
}

/* Tabs */
.tab-container {
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    color: var(--color-dark-2);
    transition: all 0.2s ease;
}

.tab-btn.active {
    color: var(--color-dark-1);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark-1);
}

.tab-content {
    display: block;
}

/* Action Buttons */
.product-details-actions .action-btn {
    width: 40px;
    height: 40px;
    border-color: #dee2e6;
    transition: all 0.2s ease;
}

.product-details-actions .action-btn:hover {
    background-color: var(--color-light-2);
}

.product-details-actions .action-btn ion-icon {
    font-size: 1.2rem;
}

/* Quantity Selector */
.quantity-selector {
    height: 46px;
    border: 1px solid var(--color-dark-1);
    width: fit-content;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-btn {
    width: 2rem;
    height: 2rem;
}

.quantity-input {
    height: 46px;
    width: 60px;
    border-radius: 0;
    border-color: transparent;
}

/* Social Icons */
.social-icon {
    font-size: 1.2rem;
    color: var(--color-dark-1);
    transition: color 0.2s ease;
}

.social-icon:hover {
    color: var(--color-dark-2);
}

.auth-page {
    width: 90%;
    margin: 3rem auto;
    max-width: 500px;
}

.about-intro {
    background-color: #f8f9fa;
}

.about-value {
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.about-value:hover {
    transform: translateY(-5px);
}

.about-value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.about-value h4 {
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.about-value p {
    color: #6c757d;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

/* .section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #000;
} */

.about-quote {
    background-color: #212529;
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

.about-quote p {
    font-style: italic;
    font-size: 1.25rem;
}

.about-cta {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 10px;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .scroll-to-top {
        left: 30px;
    }
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-progress {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-sizing: border-box;
    background: transparent;
    /* SVG background for the progress circle */
    background-image: conic-gradient(
        var(--color-dark-1) 0%,
        var(--color-dark-1) var(--scroll-percent, 0%),
        transparent var(--scroll-percent, 0%)
    );
    z-index: 0;
}

/* New inner circle */
.inner-circle {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: calc(100% - 4px); /* 2px less on each side (total 4px) */
    height: calc(100% - 4px);
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}

.scroll-to-top ion-icon {
    font-size: 1.5rem;
    z-index: 2; /* Above the inner circle */
    position: relative;
}

@media (max-width: 767px) {
    .scroll-to-top {
        /* bottom: 80px;  */
        /* Position above mobile navigation */
        width: 40px;
        height: 40px;
    }

    .scroll-to-top ion-icon {
        font-size: 1.2rem;
    }
}

/* Column Layout Switcher - Simplified Responsive */
.collection-tools {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.filter-wrapper {
    display: flex;
    align-items: center;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
}

.filter-toggle-btn ion-icon {
    font-size: 1.1rem;
}

.grid-view-wrapper {
    display: flex;
    align-items: center;
}

.col-layout-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
}

.col-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 2px;
    height: 24px;
    width: auto;
    cursor: pointer;
    transition: all 0.2s ease;
}

.col-btn.active {
    border-color: #000;
}

.grid-preview {
    display: flex;
    height: 100%;
    gap: 1px;
}

.grid-preview span {
    display: block;
    background-color: #aaa;
    height: 100%;
}

/* Active button has black spans */
.col-btn.active .grid-preview span {
    background-color: #000;
}

/* Grid column counts */
.grid-1 {
    width: 25px;
}

.grid-1 span {
    width: 25px;
}

.grid-2 {
    width: 30px;
}

.grid-2 span {
    width: 14px;
}

.grid-3 {
    width: 42px;
}

.grid-3 span {
    width: 13px;
}

.grid-4 {
    width: 48px;
}

.grid-4 span {
    width: 11px;
}

/* Responsive visibility */
/* Hide desktop-only buttons on mobile */
@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
}

/* Hide mobile-only buttons on desktop */
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

/* Product grid classes */
.product-grid-1 .product-item-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.product-grid-2 .product-item-col {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
}

.product-grid-3 .product-item-col {
    width: 33.333%;
    max-width: 33.333%;
    flex: 0 0 33.333%;
}

.product-grid-4 .product-item-col {
    width: 25%;
    max-width: 25%;
    flex: 0 0 25%;
}

/* Responsive grid adjustments */
@media (max-width: 767px) {
    .product-grid-3 .product-item-col,
    .product-grid-4 .product-item-col {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }
}

.main-image-container .discount {
    right: auto;
    left: 10px;
}

/* Product Image Zoom Effect */
.main-image-container {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background-color: white;
    display: block !important;
}

.main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    display: block;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.8); /* Adjust to match the example */
}

/* Make sure the zoom stays within the container */
.main-image-container {
    /* Add a fixed height if needed to maintain container size */
    min-height: 400px; /* Adjust based on your design */
}

/* Keep the controls and badges visible above the zoomed image */
.discount,
.expand-image-btn {
    z-index: 5;
}

/* Product Modal Image Slider Styles */
.quick-view-modal .product-image-slider {
    margin-bottom: 2rem;
    width: 100%;
}

.quick-view-modal .slider-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    padding-bottom: 125%; /* 5:4 aspect ratio - adjust as needed */
    height: 0;
}

.quick-view-modal .slider-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.quick-view-modal .slider-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.quick-view-modal .slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.quick-view-modal .slider-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Navigation Arrows */
.quick-view-modal .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.quick-view-modal .slider-nav:hover {
    background: #f8f8f8;
}

.quick-view-modal .slider-nav.prev-slide {
    right: 10px;
}

.quick-view-modal .slider-nav.next-slide {
    left: 10px;
}

/* Thumbnail Navigation */
.quick-view-modal .slider-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.quick-view-modal .slider-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.quick-view-modal .slider-thumbnail {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.quick-view-modal .slider-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-modal .slider-thumbnail.active {
    border-color: #000;
    opacity: 1;
}

/* Discount Badge */
.quick-view-modal .discount {
    right: auto;
    left: 10px;
}

/* Zoom effect */
.quick-view-modal .slider-slide {
    cursor: zoom-in;
}

.quick-view-modal .slider-image {
    transition: transform 0.3s ease-out;
}

.quick-view-modal .slider-slide:hover .slider-image {
    transform: scale(1.5);
}

/* Make sure the modal is properly styled */
.quick-view-modal {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-container {
    padding: 2rem;
    background: white;
}

.z-index-1 {
    z-index: 5;
}

/* Size Selection Modal Styles */
.size-selection-modal {
    display: none;
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 100;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.size-selection-modal .modal-container {
    padding: 2rem;
}

.size-selection-modal .product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.size-selection-modal .product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.size-selection-modal .discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4e00;
    color: white;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 14px;
    z-index: 5;
}

/* Size Options */
.size-selection-modal .size-options {
    gap: 10px;
}

.size-selection-modal .size-option {
    min-width: 60px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-selection-modal .size-option:hover {
    border-color: #999;
}

.size-selection-modal .size-option.selected {
    border-color: #000;
    background-color: #000;
    color: white;
}

/* Quantity Control */
.size-selection-modal .quantity-control {
    margin-bottom: 1.5rem;
}

.size-selection-modal .quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.size-selection-modal .quantity-btn:hover {
    background: #f5f5f5;
}

.size-selection-modal .quantity-input {
    height: 32px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .size-selection-modal .modal-container {
        padding: 1.5rem;
    }
}

/* Size Selection Modal Styles */
.size-selection-modal {
    display: none;
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 1060;
    width: 95%;
    max-width: 500px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.size-selection-modal .modal-container {
    padding: 2rem;
}

.size-selection-modal .product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.size-selection-modal .product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.size-selection-modal .discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4e00;
    color: white;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 14px;
    z-index: 5;
}

/* Size Options */
.size-selection-modal .size-options {
    gap: 10px;
}

.size-selection-modal .size-option {
    min-width: 60px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-selection-modal .size-option:hover {
    border-color: #999;
}

.size-selection-modal .size-option.selected {
    border-color: #000;
    background-color: #000;
    color: white;
}

/* Quantity Control */
.size-selection-modal .quantity-control {
    margin-bottom: 1.5rem;
}

.size-selection-modal .quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.size-selection-modal .quantity-btn:hover {
    background: #f5f5f5;
}

.size-selection-modal .quantity-input {
    height: 32px;
    width: 50px;
    text-align: center;
}

@media (max-width: 767px) {
    .size-selection-modal .modal-container {
        padding: 1.5rem;
    }
}

.lang_dropdown {
}
.lang_dropdown button.dropdown-toggle {
    font-size: 1rem;
    padding: 0.02rem 0.7rem;
    background-color: transparent;
    border: 1px solid #222;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang_dropdown button.dropdown-toggle::after {
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin: 0 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

.lang_dropdown button.dropdown-toggle.show::after {
    margin: 5px 0 0;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.lang_dropdown .dropdown-menu {
    padding: 0.5rem;
    border: 1px solid #222;
    box-shadow: 0 0 5px #b4b4b4;
}
.lang_dropdown .dropdown-menu li a {
    border-radius: 5px;
}
  .custom-pagination .pagination {
                        --bs-pagination-color: #000;
                        --bs-pagination-bg: #fff;
                        --bs-pagination-border-color: #000;
                        --bs-pagination-hover-bg: #000;
                        --bs-pagination-hover-color: #fff;
                        --bs-pagination-active-bg: #000;
                        --bs-pagination-active-color: #fff;
                        --bs-pagination-active-border-color: #000;
                    }
                    .custom-pagination .pagination .page-link {
                        color: var(--bs-pagination-color);
                        background-color: var(--bs-pagination-bg);
                        border-color: var(--bs-pagination-border-color);
                    }
                    .custom-pagination .pagination .page-link:hover {
                        background-color: var(--bs-pagination-hover-bg);
                        color: var(--bs-pagination-hover-color);
                    }
                    .custom-pagination .pagination .active .page-link,
                    .custom-pagination .pagination .page-item.active .page-link {
                        background-color: var(--bs-pagination-active-bg);
                        color: var(--bs-pagination-active-color);
                        border-color: var(--bs-pagination-active-border-color);
                    }

            .close-filter-btn {
                position: absolute;
                top: 10px;
                right: 10px;
                font-size: 2rem;
                background: transparent;
                border: none;
                color: #333;
                z-index: 9999;
            }

            /* إخفاء الزر على الشاشات الأكبر من الموبايل */
            @media (min-width: 768px) {
                .close-filter-btn {
                    display: none;
                }
            }
@media (max-width: 768px) {
    .filter-panel-content {
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }

    .filter-section {
        margin-bottom: 1.5rem;
    }

    .filter-header h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .filter-options {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-checkbox {
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

    .price-range {
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .range-input input[type="range"] {
        width: 100%;
    }

    .price-slider-container .filter-actions {
        margin-top: 1rem;
        text-align: center;
    }

    .filter-apply-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 6px;
    }

    .close-filter-btn {
        font-size: 1.5rem;
        background: none;
        border: none;
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 10;
    }
}

.ellipsis_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.whatsapp{
    position: fixed;
    right: 10px;
    bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background-color: #1daa61;
    z-index: 10;
}
.whatsapp a {
    display: inline-flex;
}

@media (min-width: 992px){
    .whatsapp{
        bottom: 30px;
    }
}


.product-details-actions:not(.sticky_bottom_addCart) .download_btn{
    display:none;
}

@media (max-width: 768px) {
   .sticky_bottom_addCart {
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 50px;
    background-color: white;
    padding: 0.5rem;
    box-shadow: 0 0 10px #DDD;
    border-radius: .5rem;
    z-index: 6;
    width: 100% !important;
      
}

.sticky_bottom_addCart{
    padding:10px 30px
}
.sticky_bottom_addCart .download_btn {
    padding:0px !important;
    border-radius: 50px !important;
    height: 50px;
}
.sticky_bottom_addCart .quantity-selector {
    padding:20px !important;
    border-radius: 50px !important;
    height: 45px;
    justify-content: center;
}
}

.sticky_bottom_addCart .buy_now_btn{
    display: none;
}
.sticky_bottom_addCart .add_cart:not(.download_btn){
    display: none;
}
