/*
Theme Name: AV Pro Supply
Author: AV Pro
Version: 1.0
*/
:root {
    --bg-dark: #13181E;
    --blue-primary: #4B82FF;
    --text-white: #FFFFFF;
    --text-grey: #A0AEC0;
    --header-height-main: 100px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #13181E;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

html.popup-active,
body.popup-active {
    overflow: hidden !important;
}

html {
    overflow-x: hidden !important;
    width: 100%;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
}

/* Global Font Settings per requirements */
.product-title-custom,
.section-title,
.product-tabs-custom .woocommerce-tabs ul.tabs li a {
    font-family: 'Barlow';
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #FFFFFF;
    /* Default for dark areas, will override for white areas */
}

body,
p,
span,
li,
a {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    /* line-height: 140%; */
    letter-spacing: -0.02em;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 20px 0;
}

.theme-breadcrumbs {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Barlow', sans-serif;
}

.theme-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.theme-breadcrumbs a:hover {
    color: #4B82FF;
}

.theme-breadcrumbs .current {
    color: #35CDFF;
}

.theme-breadcrumbs .separator {
    opacity: 0.6;
}

/* ============================= */
/* Breadcrumbs - Dark Sections   */
/* ============================= */

.breadcrumb-nav {
    padding: 20px 0;
}

.breadcrumb-nav .theme-breadcrumbs {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav .theme-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-nav .theme-breadcrumbs .current {
    color: #35CDFF;
}

/* ============================= */
/* Breadcrumbs - Product Page    */
/* ============================= */

.breadcrumb-product .theme-breadcrumbs {
    color: rgba(19, 24, 30, 0.6);
}

.breadcrumb-product .theme-breadcrumbs a {
    color: rgba(19, 24, 30, 0.8);
}

.breadcrumb-product .theme-breadcrumbs .current {
    color: #3B79F7;
}

.site-header {
    background: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 100000;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex-row {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}

/* Header Top Bar */
.header-top-bar {
    padding: 10px 0;
}

.topbar-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-menu a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    gap: 24px;
}

.header-phone,
.header-chat {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header Main */
.header-main {
    /* padding: 20px 0; */
}

.header-main-bar {
    background: #FFFFFF;
    height: 100px;
    border-radius: 30px;
    padding: 8px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* On Desktop, top row is just a flex child of the main bar */
.header-top-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
}

.logo {
    flex-shrink: 0;
}

.header-logo-img {
    height: 48px !important;
}

/* Search Bar (Inside White Bar) */
.header-search-wrap {
    flex-grow: 2;
    max-width: 530px;
}

.search-input-group {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    background: #272E37;
    border-radius: 40px;
    padding: 4px;
}

.category-selector {
    background: #FFFFFF;
    height: 40px;
    width: auto;
    min-width: 133px;
    border: none;
    padding: 0 20px;
    border-radius: 30px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #111821;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 10px;
    vertical-align: middle;
}

.category-selector .close-icon {
    display: none;
}

.category-selector.active .hamburger {
    display: none;
}

.category-selector.active .close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-selector .close-icon img {
    width: 14px;
}

.category-selector .category-label {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 140% !important;
    letter-spacing: -0.01em !important;
    color: #111821 !important;
}

.search-field {
    background: transparent;
    border: none;
    padding: 0 10px;
    color: var(--text-white);
    flex-grow: 1;
    outline: none;
    font-size: 14px;
}

.search-submit {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: var(--text-white);
    cursor: pointer;
}

/* Header Icons (Inside White Bar) */
.header-icons-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.header-icons-mobile {
    display: none !important;
}

.header-icons-group .icon-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.icon-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    text-decoration: none;
    color: var(--bg-dark);
    position: relative;
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4b4b;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 15px;
    text-align: center;
}

.wishlist-btn.active {
    color: #ff4b4b !important;
}

.icon-heart.active img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.icon-heart.active {
    color: #ff4b4b !important;
}

.wishlist-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

.icon-cart-btn {
    height: 40px;
    background: #1C242D;
    color: var(--text-white);
    padding: 0 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.icon-cart-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Header Secondary */
.header-secondary {
    padding: 15px 0;
}

.secondary-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
}

.brand-btn {
    background: var(--blue-primary);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 1025px) {
    .header-mobile-top-bar {
        display: contents;
    }
}

/* Footer Desktop */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding-top: 40px;
    font-family: 'Inter', sans-serif;
}

.site-footer .container {
    max-width: 1480px;
    padding: 0 40px;
}

.footer-top-panel {
    height: 141px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: var(--bg-dark);
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 54px;
    display: block;
    margin-bottom: 4px;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    color: #1C242D;
}

.footer-contact-info {
    display: flex;
    gap: 60px;
    flex: 2;
    justify-content: flex-end;
}

.contact-item p {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.4;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
}

.footer-socials {
    display: flex;
    gap: 28px;
    margin-top: 24px;
}

.footer-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-main {
    padding-bottom: 40px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 4fr;
    /* Payments on left, Nav wrapper on right */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-nav-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-white);
}

.payments-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payments-icons img {
    height: 32px;
    object-fit: contain;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
    list-style-type: none !important;
}

.mobile-only {
    display: none;
}

.footer-menu a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--text-white);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-grey);
}

.footer-policy-links {
    display: flex;
    gap: 30px;
}

.footer-policy-links a {
    color: inherit;
    text-decoration: none;
}

.footer-copyright {
    text-align: right;
}

@media (max-width: 1024px) {
    .footer-content-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        order: 1;
    }

    .footer-payments-col {
        order: 2;
        text-align: left;
    }

    .payments-icons {
        justify-content: left;
    }

    .footer-contact-info-desktop {
        display: none !important;
    }

    .footer-top-panel {
        height: auto;
        padding: 24px 20px;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo {
        flex: none;
        text-align: center;
    }

    .footer-contact-info.mobile-only {
        display: flex;
        flex-direction: column;
        gap: 20px;
        order: 3;
        text-align: left;
    }

    .header-top-bar,
    .header-secondary {
        display: block !important;
    }

    .header-main {
        padding: 10px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* ==========================================================================
       Tablet Single-Row Responsive Header (768px - 1024px)
       ========================================================================== */
    @media (min-width: 768px) {
        .header-main-bar {
            background: #FFFFFF !important;
            height: 100px !important;
            border-radius: 30px !important;
            padding: 8px 30px !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 20px !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        }

        .header-mobile-top-bar {
            display: contents !important;
        }

        .header-logo-img {
            height: 48px !important;
            width: auto !important;
        }

        .header-search-wrap {
            flex: 1 !important;
            max-width: 480px !important;
            margin: 0 !important;
        }

        .search-input-group {
            background: #1C242D !important;
            border-radius: 40px !important;
            padding: 4px !important;
        }

        .category-selector {
            background: #FFFFFF !important;
            color: #13181E !important;
            border-radius: 30px !important;
            padding: 8px 16px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            width: auto !important;
            height: auto !important;
            margin-right: 8px !important;
        }

        .category-label {
            display: inline !important;
            color: #13181E !important;
        }

        .hamburger {
            font-size: 16px !important;
            color: #13181E !important;
        }

        /* Compact search and spacing on narrower tablet screens (< 900px) */
        @media (max-width: 900px) {
            .header-main-bar {
                padding: 8px 16px !important;
                gap: 10px !important;
            }
            .header-logo-img {
                height: 36px !important;
            }
            .category-selector {
                padding: 8px 12px !important;
            }
            .category-label {
                display: none !important;
            }
            .header-search-wrap {
                max-width: 260px !important;
            }
            .header-icons-desktop {
                gap: 10px !important;
            }
            .header-icons-desktop .icon-cart-btn .cart-label {
                display: none !important;
            }
            .header-icons-desktop .icon-cart-btn {
                padding: 0 12px !important;
            }
        }

        .header-icons-desktop {
            display: flex !important;
            align-items: center !important;
            gap: 16px !important;
        }

        .header-icons-mobile {
            display: none !important;
        }

        /* Responsive tablet sizes for desktop icons */
        .header-icons-desktop .icon-link {
            width: 40px !important;
            height: 40px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 50% !important;
            background: transparent !important;
            color: #13181E !important;
        }

        .header-icons-desktop .icon-link img {
            width: 40px !important;
            height: 40px !important;
        }

        .header-icons-desktop .icon-cart-btn {
            height: 40px !important;
            padding: 0 16px !important;
            background: #1C242D !important;
            border-radius: 100px !important;
            gap: 8px !important;
            font-size: 14px !important;
        }

        .header-icons-desktop .icon-cart-btn img {
            width: 24px !important;
            height: 24px !important;
        }

        .header-icons-desktop .icon-cart-btn .cart-label {
            display: inline-block !important;
            font-size: 14px !important;
        }

        /* Secondary Menu responsive overrides */
        .secondary-menu {
            gap: 16px !important;
        }
        .secondary-menu a {
            font-size: 13px !important;
        }
        .brand-btn {
            padding: 8px 20px !important;
            font-size: 13px !important;
        }
    }

    /* ==========================================================================
       Mobile Two-Row Responsive Header (< 768px)
       ========================================================================== */
    @media (max-width: 767px) {
        .header-top-bar,
        .header-secondary {
            display: none !important;
        }

        .header-main-bar {
            background: transparent !important;
            height: auto !important;
            padding: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }

        .header-mobile-top-bar {
            width: 100% !important;
            background: #FFFFFF !important;
            border-radius: 30px !important;
            padding: 8px 15px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 15px !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        }

        .header-logo-img {
            height: 26px !important;
            width: auto !important;
        }

        .header-icons-desktop {
            display: none !important;
        }

        .header-icons-mobile {
            display: flex !important;
            align-items: center !important;
            gap: 20px !important;
        }

        .header-icons-mobile .icon-link {
            width: 24px !important;
            height: 24px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            margin: 0 !important;
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            position: relative !important;
            color: #111821 !important;
        }

        .header-icons-mobile .icon-link img {
            width: 22px !important;
            height: 22px !important;
            min-width: 22px !important;
            min-height: 22px !important;
            object-fit: contain !important;
            filter: none !important;
        }

        /* Mobile Wishlist Badge */
        .header-icons-mobile .icon-link .wishlist-count {
            position: absolute !important;
            top: -6px !important;
            right: -8px !important;
            background: #FF355E !important;
            color: #FFFFFF !important;
            font-family: 'Inter', sans-serif !important;
            font-weight: 700 !important;
            font-size: 9px !important;
            padding: 1px 4px !important;
            border-radius: 10px !important;
            min-width: 12px !important;
            height: 12px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            border: 1px solid #FFFFFF !important;
            line-height: 1 !important;
        }

        /* Mobile Cart Capsule */
        .header-icons-mobile .icon-cart-btn {
            width: auto !important;
            height: 36px !important;
            padding: 0 14px !important;
            background: #13181E !important;
            border: none !important;
            border-radius: 100px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            margin: 0 !important;
            text-decoration: none !important;
            cursor: pointer !important;
            transition: background-color 0.2s !important;
        }

        .header-icons-mobile .icon-cart-btn:hover {
            background: #1C242D !important;
        }

        .header-icons-mobile .icon-cart-btn .icon-cart {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            position: relative !important;
            width: auto !important;
            height: auto !important;
        }

        .header-icons-mobile .icon-cart-btn img {
            width: 20px !important;
            height: 20px !important;
            min-width: 20px !important;
            min-height: 20px !important;
            object-fit: contain !important;
            filter: brightness(0) invert(1) !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .header-icons-mobile .icon-cart-btn .cart-count {
            font-family: 'Barlow', sans-serif !important;
            font-weight: 700 !important;
            font-size: 15px !important;
            color: #FFFFFF !important;
            display: inline-block !important;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 1 !important;
        }

        .cart-label {
            display: none !important;
        }

        .header-search-wrap {
            width: 100% !important;
            max-width: 100% !important;
        }

        .search-input-group {
            background: #1C242D !important;
            border-radius: 40px !important;
            padding: 4px !important;
            display: flex !important;
            align-items: center !important;
        }

        .category-selector {
            width: 40px !important;
            height: 40px !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: #FFFFFF !important;
            border-radius: 50% !important;
            margin-right: 8px !important;
            flex-shrink: 0 !important;
            min-width: unset !important;
        }

        .category-label {
            display: none !important;
        }

        .hamburger {
            font-size: 18px !important;
            color: #13181E !important;
        }

        .search-field {
            font-size: 14px !important;
        }
    }

    /* Footer Mobile Placeholder Fix */
    .footer-top-inner {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .header-mobile-top-bar {
        padding: 8px 15px;
        border-radius: 30px;
    }

    .header-logo-img {
        height: 26px !important;
    }

    .header-icons-group {
        gap: 5px;
    }

    /* .icon-link {
        width: 32px;
        height: 32px;
    } */

    .icon-cart-btn {
        width: 32px;
        height: 32px;
    }

    .category-selector {
        width: 40px;
        height: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }
}

.shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

/* Общие ячейки */
.shipping-table th,
.shipping-table td {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    font-size: 15px;
    background: transparent;
    /* важно */
}

/* Цвет только у первой строки */
.shipping-table thead th {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    letter-spacing: 0.5px;
}

/* ПК версия */
.trade-upgrade-banner img {
    content: url('/wp-content/uploads/2026/02/Frame-2131327844.png');
    width: 100%;
    height: auto;
}

/* Mobile версия */
@media (max-width: 768px) {
    .trade-upgrade-banner img {
        content: url('/wp-content/uploads/2026/02/Banner-Trade-Upgrade-mobile.png');
    }
}

/* ============================= */
/* WRAPPER */
/* ============================= */

.quote-form {
    width: 600px;
    max-width: 100%;
    padding: 32px;
    border-radius: 40px;
    background: #ffffff;
    border: 1px solid #E6E6E6;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* ============================= */
/* TITLE */
/* ============================= */

.quote-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #1D1D1D;
    margin-bottom: 32px;
}

/* ============================= */
/* ROWS */
/* ============================= */

.quote-form .form-row.two-col {
    display: flex;
    gap: 20px;
}

.quote-form .form-field {
    flex: 1;
    margin-bottom: 20px;
}

/* ============================= */
/* LABELS */
/* ============================= */

.quote-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #6F7172;
}

/* ============================= */
/* INPUTS */
/* ============================= */

.quote-form input,
.quote-form select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #D9D9D9;
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #9F9FA9;
    background: #ffffff;
    box-sizing: border-box;
}

.quote-form input::placeholder {
    color: #9F9FA9;
}

/* ============================= */
/* RADIO BUTTONS */
/* ============================= */

.quote-form .radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 18px;
    margin-top: 10px;
}

/* Remove default CF7 spacing */
.quote-form .radio-group .wpcf7-list-item {
    margin: 0;
}

/* Hide native radio */
.quote-form .radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* Radio label container */
.quote-form .radio-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Radio text element */
.quote-form .radio-group .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #1D1D1D;
}

/* Custom radio circle */
.quote-form .radio-group .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #CFCFCF;
    border-radius: 50%;
    background: #ffffff;
    box-sizing: border-box;
}

/* Checked border */
.quote-form .radio-group input[type="radio"]:checked+.wpcf7-list-item-label::before {
    border-color: #35CDFF;
}

/* Perfect centered blue dot */
.quote-form .radio-group input[type="radio"]:checked+.wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #35CDFF;
    border-radius: 50%;
}

/* ============================= */
/* CF7 ACCEPTANCE CHECKBOX FIX  */
/* ============================= */

/* Remove extra spacing */
.quote-form .checkbox-group .wpcf7-list-item {
    margin: 0;
}

/* Hide native checkbox */
.quote-form .checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

/* Label styling */
.quote-form .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

/* Text container */
.quote-form .checkbox-group .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    font-size: 12px;
    line-height: 140%;
}

/* Custom box */
.quote-form .checkbox-group .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border: 2px solid #CFCFCF;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Checked background */
.quote-form .checkbox-group input[type="checkbox"]:checked~.wpcf7-list-item-label::before {
    background: #35CDFF;
    border-color: #35CDFF;
}

/* Checkmark */
.quote-form .checkbox-group input[type="checkbox"]:checked~.wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Privacy link */
.quote-form .checkbox-group a {
    color: #0092CE;
    text-decoration: underline;
}

/* ============================= */
/* BUTTON */
/* ============================= */

.quote-form .form-submit input {
    width: 100%;
    max-width: 536px;
    height: 50px;
    border-radius: 100px;
    background: #4584FF;
    border: none;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 24px auto 0 auto;
    transition: 0.2s ease;
}

.quote-form .form-submit input:hover {
    background: #3a72e0;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    .quote-form {
        width: 100%;
        padding: 20px;
        border-radius: 24px;
    }

    .quote-form .form-row.two-col {
        flex-direction: column;
        gap: 0;
    }

    .quote-form .radio-group {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .quote-form .form-submit input {
        max-width: 100%;
    }
}

/* ============================= */
/* CF7 RESPONSE MESSAGE */
/* ============================= */

.wpcf7-response-output {
    max-width: 600px;
    margin: 24px auto 0 auto !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    background: #E8E8E8 !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 140%;
    color: #1D1D1D;
    text-align: center;
}

.quote-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #D9D9D9;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}

/* ==========================================================================
   Cart Popup Redesign (Black Modern Theme)
   ========================================================================== */
.cart-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-popup.active {
    visibility: visible;
    opacity: 1;
}

.cart-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 33, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cart-popup-content {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 620px;
    max-width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    background: #111821;
    border-radius: 48px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateX(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    overflow: hidden;
}

.cart-popup.active .cart-popup-content {
    transform: translateX(0);
}

.cart-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-popup .popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.cart-popup-close:not(.continue-shopping) {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cart-popup-close:not(.continue-shopping):hover {
    opacity: 0.7;
}

.cart-popup-inner {
    flex: 1;
    overflow-y: auto;
    /* Custom Scrollbar */
    padding-right: 15px;
    margin-right: -15px;
}

.cart-popup-inner::-webkit-scrollbar {
    width: 4px;
}

.cart-popup-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cart-popup-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Mini Cart List */
.woocommerce-mini-cart {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-mini-cart-item {
    display: flex !important;
    gap: 25px;
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
    position: relative;
}

.woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

.mini-cart-item-image {
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.mini-cart-item-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.mini-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mini-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 4px;
}

.mini-cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-item-title:hover {
    color: #4B82FF;
}

.mini-cart-item-sku {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.mini-cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.mini-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 14px;
}

.qty-btn {
    cursor: pointer;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.qty-btn:hover {
    color: #FFFFFF;
}

.mini-cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Unified Modal Close Buttons standard size and styling */
.cart-popup-close:not(.continue-shopping),
.account-popup-close,
.close-update-modal,
.close-filters {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s, opacity 0.2s, transform 0.1s !important;
}

/* Light themes (login popup register popup and white modals) */
.white-theme .account-popup-close,
.update-modal-content .close-update-modal {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #111821 !important;
}
.white-theme .account-popup-close:hover,
.update-modal-content .close-update-modal:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    transform: scale(1.05) !important;
}

/* Dark themes / default */
.cart-popup .cart-popup-close:not(.continue-shopping),
.account-popup-content:not(.white-theme) .account-popup-close,
.close-filters {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #FFFFFF !important;
}
.cart-popup .cart-popup-close:not(.continue-shopping):hover,
.account-popup-content:not(.white-theme) .account-popup-close:hover,
.close-filters:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: scale(1.05) !important;
}

.cart-popup-close svg,
.account-popup-close svg,
.close-update-modal svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    display: block !important;
}

/* Unified Mini-Cart Trash Buttons standard size and styling */
.woocommerce-mini-cart-item a.remove_from_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.woocommerce-mini-cart-item a.remove_from_cart_button:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: scale(1.05) !important;
}

.woocommerce-mini-cart-item a.remove_from_cart_button img {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s !important;
    display: block !important;
}

.woocommerce-mini-cart-item a.remove_from_cart_button:hover img {
    opacity: 1 !important;
}

/* Footer Section */
.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 18px;
}

.woocommerce-mini-cart__total strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.view-cart-btn {
    width: 100% !important;
    height: 64px !important;
    background: #4B82FF !important;
    color: #FFFFFF !important;
    border-radius: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background 0.3s !important;
    border: none !important;
}

.view-cart-btn:hover {
    background: #3B71E8 !important;
}

.continue-shopping {
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
}

.continue-shopping:hover {
    color: #FFFFFF !important;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

@media (max-width: 768px) {
    .cart-popup-content {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 30px 20px;
    }
}

/* =============================
   SHOP GRID
============================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* убираем стандартный ul Woo */
.shop-products ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* карточка товара */
.shop-products .product {
    display: flex;
    flex-direction: column;
}

/* чтобы изображения не ломались */
.shop-products .product img {
    width: 100%;
    height: auto;
}

/* пагинация */
.shop-products nav.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

/* =============================
   BRANDS PAGE
============================= */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.brand-card {
    padding: 20px;
    background: #111827;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease;
}

.brand-card a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.brand-card:hover {
    /* no background change on hover */
}

/* =============================
   BRANDS PAGE FULL
============================= */

.brands-title {
    font-size: 48px;
    margin-bottom: 40px;
}

.brands-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.brands-alphabet a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.6;
}

.brands-alphabet a:hover {
    opacity: 1;
}

.brands-search {
    margin-bottom: 50px;
}

.brands-search input {
    width: 300px;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: #1f2937;
    color: white;
}

.brand-letter {
    font-size: 32px;
    margin: 60px 0 30px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.brand-card {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: 0.3s ease;
}

.brand-card img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-name {
    display: block;
    font-size: 14px;
    color: #000;
}

.brand-card:hover {
    transform: translateY(-5px);
}

/* =============================
   HEADER SECONDARY
============================= */

.header-secondary {
    padding: 12px 0;
}

.header-secondary .flex-row {
    justify-content: space-between;
    align-items: center;
}

.secondary-menu {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.secondary-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.header-secondary-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.my-account-link {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 14px;
}

.product-card-image {
    position: relative;
}

.wishlist-btn {
    background: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Standalone wishlist button (in standard cards) */
.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.wishlist-btn:active {
    transform: scale(0.9);
}

.wishlist-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Cart Button States */
.add-to-cart-circle.added {
    background: transparent !important;
    border: 1px solid #35CDFF !important;
}

.add-to-cart-circle.added .cart-icon {
    filter: invert(61%) sepia(87%) saturate(1458%) hue-rotate(167deg) brightness(101%) contrast(101%);
}

.add-to-cart-circle.added .cart-added-badge {
    display: block !important;
}

.add-to-cart-circle.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ==========================================================================
   CATEGORIES PAGE & MODULAR BLOCKS (RESPONSIVE REFINEMENTS)
   ========================================================================== */

/* Global Layout & Padding */
.categories-page.container {
    max-width: 1440px;
    margin: 0 auto;
    background: #13181E;
    padding: 20px 0 40px 0;
    /* Reset padding to allow full width content */
    overflow-x: visible !important;
    /* Allow arrows to show outside on desktop */
    position: relative;
    box-sizing: border-box;
}

.categories-page.container>* {
    max-width: 1440px;
    /* Aligned with standard site container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.categories-header {
    margin-bottom: 50px;
}

.categories-header h1 {
    color: #fff;
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 10px;
}

.categories-slider-wrap {
    position: relative;
    margin: 0 -15px 120px -15px;
}

.block-wrapper {
    margin-bottom: 120px;
}

@media (max-width: 1200px) {
    .categories-page.container {
        padding: 40px 40px 0 40px;
    }

    .block-wrapper,
    .categories-slider-wrap {
        margin-bottom: 80px;
    }

    .categories-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .categories-page.container {
        padding: 30px 20px 0 20px;
    }

    .block-wrapper,
    .categories-slider-wrap {
        margin-bottom: 60px;
    }

    .categories-header h1 {
        font-size: 32px;
    }

    .categories-header {
        margin-bottom: 30px;
    }
}

/* Category Slider 2-Row Fix */
.categories-slider {
    display: block !important;
    opacity: 1 !important;
}

.categories-slider .slick-slide>div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
}

.category-card {
    background: #fff;
    border-radius: 20px;
    height: 180px !important;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px !important;
    /* Fixed: added consistent gap */
}

/* Slick Arrows Refinement */
.slick-prev,
.slick-next {
    width: 40px !important;
    height: 40px !important;
    /* background: #FFFFFF !important; */
    z-index: 100 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 50% !important;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important; */
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.slick-prev {
    left: -50px !important;
    /* Fixed: outside of 1440px container */
}

.slick-next {
    right: -50px !important;
    /* Fixed: outside of 1440px container */
}

.slick-prev:before,
.slick-next:before {
    content: '' !important;
    display: block;
    width: 14px;
    height: 14px;
    border-left: 3px solid #35CDFF;
    border-bottom: 3px solid #35CDFF;
}

.slick-prev:before {
    transform: rotate(45deg);
    margin-left: 5px;
}

.slick-next:before {
    transform: rotate(-135deg);
    margin-right: 5px;
}

/* Icon Features */
.features-wrapper {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item.border-left {
    border-left: 1px solid #E2E8F0;
    padding-left: 30px;
}

@media (max-width: 1024px) {
    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    .feature-item.border-left {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* Mobile 2x2 Grid (4 squares) */
        padding: 20px;
        gap: 15px;
    }
}

/* Bottom Banners */
.banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.promo-banner {
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.banner-blue {
    background: radial-gradient(100% 224.45% at 0% 100%, #1939AF 0%, #080B0F 100%);
}

.banner-dark {
    background: radial-gradient(100% 224.45% at 0% 100%, #1939AF 0%, #080B0F 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    z-index: 2;
    position: relative;
}

.banner-subtitle {
    display: block;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.8;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.hero-brand-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-brand-logo {
    background: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brand-logo img {
    height: 24px;
    width: auto;
}

.hero-brand-text {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.hero-title {
    font-size: 64px !important;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 700;
    text-align: left;
}

.hero-btn {
    display: inline-block;
    background: #3B79F7;
    color: #FFFFFF;
    padding: 15px 45px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.hero-btn:hover {
    background: #2a63db;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 121, 247, 0.3);
}

.banner-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    max-width: 400px;
}

.view-all-btn {
    display: inline-block;
    background: #4B82FF;
    color: #FFFFFF;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background: #366BDB;
}

.banner-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Banner specific adjustments */
.banner-blue .banner-image img {
    bottom: 20px;
    right: 20px;
    max-width: 80%;
}

.banner-dark .banner-image img {
    bottom: 0;
    right: 0;
    max-width: 90%;
}

@media (max-width: 1024px) {
    .banners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .promo-banner {
        padding: 30px 20px;
        min-height: auto;
    }

    .banner-content {
        max-width: 65%;
        /* Leave room for image */
    }

    .banner-title {
        font-size: 24px;
        /* Smaller for mobile */
        margin-bottom: 15px;
    }

    .banner-image {
        display: block;
        /* Show on mobile */
        width: 45%;
        height: auto;
    }

    .banner-image img {
        max-width: 100%;
        bottom: 0px;
        right: 0px;
    }

    .banner-blue .banner-image img {
        bottom: 15px;
        right: 15px;
    }
}

/* Special Offers */
.offers-side-panel {
    background: linear-gradient(180deg, #080B0F 0%, #1939AF 100%);
    border-radius: 40px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 430px;
}

.custom-product-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 30px;
    height: 430px;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 768px) {

    .offers-side-panel,
    .custom-product-card {
        height: 425px;
        padding: 40px 25px;
        border-radius: 30px;
    }
}

/* Feature Icon & Text Styles (Restored & Fixed Visibility) */
.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #35CDFF;
    /* Stroke color */
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: #35CDFF !important;
    /* Ensure visibility */
}

.feature-text h4 {
    margin: 0 0 5px 0;
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 16px;
    color: #13181E !important;
    /* Fixed: was missing or white */
}

.feature-text p {
    margin: 0;
    font-family: 'Inter';
    font-size: 12px;
    color: #6F7172 !important;
    /* Fixed: was missing or white */
    line-height: 1.4;
}

/* Brand Slider Styles (Restored & Fixed) */
.brand-title {
    color: #FFFFFF;
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.brand-title .view-all-link {
    float: right;
    font-size: 14px;
    text-transform: none;
    color: #35CDFF;
    text-decoration: none;
    margin-top: 15px;
}

.brand-ticker-wrap {
    background: #FFFFFF !important;
    /* Fixed: restored white background */
    border-radius: 30px !important;
    padding: 40px 20px !important;
    overflow: hidden !important;
    width: 100% !important;
    position: relative;
    max-width: 100vw;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.brand-ticker {
    display: flex;
    align-items: center;
}

.brand-ticker .slick-track {
    transition-timing-function: linear !important;
    /* Essential for smooth marquee */
}

.brand-ticker .slick-track {
    display: flex !important;
    align-items: center;
}

.brand-item img {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}

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

.brand-item img {
    opacity: 0.8;
}

.brand-item img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .brand-ticker-wrap {
        padding: 20px 10px;
        border-radius: 20px;
    }

    .brand-title .view-all-link {
        margin-top: 8px;
    }
}

/* Fix Overflow & Mobile Grid */
.features-wrapper {
    width: 100% !important;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .categories-page.container {
        padding: 30px 15px 40px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .categories-slider-wrap {
        margin: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .features-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 !important;
        gap: 12px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    .feature-item {
        background: #FFFFFF !important;
        border-radius: 20px !important;
        padding: 20px 8px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        min-height: 140px;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .feature-item.border-left {
        border-left: none !important;
    }

    /* Brand Ticker Mobile Fix - Restoration of Marquee */
    .brand-ticker-section {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .brand-ticker .slick-track {
        display: flex !important;
        align-items: center !important;
        /* Marquee restoration: removed transform:none and flex-wrap:wrap */
    }

    .brand-item {
        margin: 0 40px !important;
        /* Consistent spacing for ticker */
        flex-shrink: 0;
    }

    .brand-item span {
        font-size: 14px !important;
        opacity: 0.6 !important;
        color: #13181E !important;
        /* Fixed: dark text on white background */
        white-space: nowrap;
        text-transform: uppercase;
    }

    .categories-page.container {
        padding: 30px 0 0 0 !important;
        overflow-x: hidden !important;
        /* Prevent scroll on mobile */
    }

    .categories-page.container>* {
        padding-left: 20px;
        padding-right: 20px;
    }

    .categories-slider .slick-slide {
        padding: 0 6px !important;
        /* Horizontal gap between squares */
    }

    .category-card {
        margin-bottom: 20px !important;
        /* Vertical gap between squares */
        height: 160px !important;
        /* Slightly smaller to fit better in 2x2 grid */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        /* Match feature icons shadow */
    }

    /* Mobile arrows remain hidden/inside if they appear, but main.js disables them */
    .slick-prev {
        left: 5px !important;
    }

    .slick-next {
        right: 5px !important;
    }
}

/* Global Slider Overflow Fix */
.slick-list {
    overflow: hidden !important;
    width: 100% !important;
}

.slick-track {
    display: flex !important;
}

.slick-dots {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ==========================================================================
   CUSTOM PRODUCT GRID & PAGINATION
   ========================================================================== */

.custom-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 60px;
    margin-top: 40px;
}

.custom-grid .product-item {
    display: flex;
    flex-direction: column;
}

/* Pagination Styling */
.categories-page .woocommerce-pagination {
    margin: 40px 0 60px 0;
    text-align: center;
}

.categories-page .woocommerce-pagination ul {
    display: inline-flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
    border: none !important;
}

.categories-page .woocommerce-pagination ul li {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.categories-page .woocommerce-pagination ul li a,
.categories-page .woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #FFFFFF !important;
    color: #13181E !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
}

.categories-page .woocommerce-pagination ul li span.current {
    background: #35CDFF !important;
    color: #FFFFFF !important;
}

.categories-page .woocommerce-pagination ul li a:hover {
    background: #E2E8F0 !important;
}

@media (max-width: 1200px) {
    .custom-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .custom-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================================
   NEWS GRID & PAGINATION
   ========================================================================== */

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 60px;
}

.news-card {
    background: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box !important;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-card-img-wrap {
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2.5;
}

.news-card-img-wrap a {
    display: block;
    height: 100%;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 0 0 20px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.news-card-title a {
    color: #13181E !important;
    text-decoration: none !important;
}

.news-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6F7172;
}

.news-card-btn {
    display: inline-block !important;
    background: #3B79F7 !important;
    color: #FFFFFF !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.3s ease;
}

.news-card-btn:hover {
    background: #2D65D6 !important;
}

/* News Pagination (Circular Blue) */
.news-pagination {
    margin: 60px 0;
    text-align: center;
}

.news-pagination ul.page-numbers {
    display: inline-flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 15px !important;
    align-items: center !important;
}

.news-pagination ul.page-numbers li {
    padding: 0 !important;
    margin: 0 !important;
}

.news-pagination ul.page-numbers li a,
.news-pagination ul.page-numbers li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-pagination ul.page-numbers li span.current {
    background: #35CDFF !important;
    color: #FFFFFF !important;
}

.news-pagination ul.page-numbers li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.news-pagination ul.page-numbers li span.dots {
    color: rgba(255, 255, 255, 0.4) !important;
    width: auto !important;
    height: auto !important;
}

/* Single News Fixes */
.featured-image-wrap {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.news-tag:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================= */
/* SHOP FILTERS & LIST VIEW */
/* ============================= */

.subcategory-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

/* Sidebar */
.shop-filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #1C242D;
    border-radius: 24px;
    padding: 24px;
    height: fit-content;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: block;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.02em !important;
    color: #FFFFFF !important;
    user-select: none;
}

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

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: #35CDFF;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #35CDFF;
    border-color: #35CDFF;
}

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

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox .label-text {
    vertical-align: middle;
    color: #FFFFFF !important;
}

/* Brand Search */
.brand-search-wrap {
    border-radius: 100px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.brand-search-wrap input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    width: 100%;
    outline: none;
}

/* Icons styling within brand search */
.brand-search-wrap .search-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.brand-list {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.show-all-brands {
    background: transparent;
    border: none;
    color: #35CDFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-input-wrap {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.price-input-wrap span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.price-input-wrap input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    width: 100%;
    outline: none;
    text-align: left;
}

.price-to {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Custom Toggle */
.stock-toggle-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.custom-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-toggle input:checked~.toggle-slider {
    background-color: #35CDFF;
}

.custom-toggle input:checked~.toggle-slider:before {
    transform: translateX(20px);
}

/* List View Product Item */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.product-item-horizontal {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 25px;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.horizontal-img-wrap {
    width: 278px;
    height: 233px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px;
}

.horizontal-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.horizontal-info {
    flex-grow: 1;
}

.horizontal-info .brand-name {
    color: #6F7172;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
}

.horizontal-info h3 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #13181E;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.horizontal-info h3 a {
    color: inherit;
    text-decoration: none;
}

.horizontal-info .product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6F7172;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.meta-item img {
    width: 16px;
    height: 16px;
}

.horizontal-description {
    color: #6F7172;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-action {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    border-left: 1px solid #F0F2F5;
    padding-left: 30px;
}

.horizontal-price {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #13181E;
    text-align: right;
}

.horizontal-price del {
    display: block;
    font-size: 16px;
    color: rgba(19, 24, 30, 0.4);
    font-weight: 400;
}

/* Removing redundant styles as they are defined later in the file */

/* Mobile Adjustments for horizontal layout */
.mobile-filters-trigger {
    display: none;
    /* Desktop hidden */
}

@media (max-width: 1024px) {
    .subcategory-layout {
        flex-direction: column;
        gap: 20px;
    }

    .shop-filters-sidebar {
        display: none !important;
        /* Hidden on tablet if no modal logic yet */
    }

    .mobile-filters-trigger {
        display: flex;
        width: 100%;
        background: #1C242D;
        padding: 15px 25px;
        border-radius: 20px;
        color: #FFFFFF;
        font-family: 'Barlow', sans-serif;
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: space-between;
        border: none;
        cursor: pointer;
    }

    .product-item-horizontal {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 20px;
    }

    .horizontal-img-wrap {
        width: 100%;
        height: 220px;
        padding: 20px;
    }

    .horizontal-info h3 {
        font-size: 18px;
    }

    .horizontal-action {
        width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #F0F2F5;
        padding-top: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .horizontal-price {
        text-align: left;
        font-size: 24px;
    }

    .horizontal-btns .add-to-cart-horizontal {
        padding: 0 12px;
    }
}

/* Close media query here */

/* Global Subcategory Styles */
.subcategory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    align-items: center;
}

.tag-btn {
    background: #1C242D;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-btn:hover,
.tag-btn.active {
    background: #4B82FF;
    border-color: #4B82FF;
}

.show-more-tags {
    background: transparent;
    border: none;
    color: #35CDFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.filter-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-grow: 1;
}

.active-filter-tag {
    background: #35CDFF;
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.clear-all-tags {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-all-tags:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Pagination Styles */
.woocommerce-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.woocommerce-pagination-wrap ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination-wrap ul li a,
.woocommerce-pagination-wrap ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1C242D;
    color: #FFFFFF;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-pagination-wrap ul li a:hover {
    background: #35CDFF;
}

.woocommerce-pagination-wrap ul li span.current {
    background: #35CDFF;
}

/* Slider Design */
.price-slider-wrap {
    margin: 35px 0 20px 0;
    padding: 0 10px;
}

#price-slider {
    height: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: 10px !important;
    position: relative !important;
    margin: 0 10px !important;
}

#price-slider .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    background: #35CDFF !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;
    top: 50% !important;
    margin-top: -10px !important;
    margin-left: -10px !important;
    cursor: pointer !important;
    outline: none !important;
    z-index: 10 !important;
    position: absolute !important;
    display: block !important;
    box-shadow: 0 0 10px rgba(53, 205, 255, 0.5) !important;
    transform: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#price-slider .ui-slider-handle:hover,
#price-slider .ui-slider-handle.ui-state-active {
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(53, 205, 255, 0.8) !important;
}

#price-slider .ui-slider-range {
    background: #35CDFF !important;
    border-radius: 10px !important;
    height: 100% !important;
    top: 0 !important;
    position: absolute !important;
}

.price-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #35CDFF;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Filter Buttons & Header */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #1C242D;
    padding: 15px 20px;
    border-radius: 12px;
}

.title-clear {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filters-header span {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
}

.clear-all-filters {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.close-filters {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.apply-filters-btn {
    width: 100%;
    background: #4B82FF;
    color: #FFFFFF;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.apply-filters-btn:hover {
    background: #3A71EE;
}

.filter-section .filter-title {
    color: #FFFFFF;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.label-text {
    color: #FFFFFF !important;
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.sort-by-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.sort-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.sort-select {
    position: relative;
    width: 180px;
}

.sort-select select {
    display: none;
}

.select-selected {
    background-color: #1C242D;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.select-selected:after {
    content: "";
    position: absolute;
    top: 18px;
    right: 15px;
    border: 5px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.select-items {
    position: absolute;
    background-color: #1C242D;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 12px;
    margin-top: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.select-items div {
    color: #FFFFFF;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.select-items div:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.select-hide {
    display: none;
}

.product-item-horizontal {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

/* Removed redundant override */

.badges-top-left {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge-item {
    padding: 6px 15px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: #FFFFFF;
    white-space: nowrap;
}

.badge-item.sale-badge {
    background: #FF355E;
}

.badge-item.featured-badge {
    background: #4B82FF;
}

.horizontal-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.horizontal-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.product-details-meta {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.detail-label {
    color: rgba(19, 24, 30, 0.4);
    font-weight: 500;
}

.detail-value {
    color: #13181E;
    font-weight: 600;
}

.sku-copy {
    display: flex;
    align-items: center;
}

.horizontal-price-row {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.horizontal-price {
    font-size: 32px;
    color: #13181E;
    font-weight: 700;
}

.out-of-stock-label {
    color: rgba(19, 24, 30, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.horizontal-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Gap from design */
    margin-left: auto;
}

.wishlist-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn img {
    width: 44px;
    /* Matching button height */
    height: 44px;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.add-to-cart-horizontal {
    background: #4B82FF;
    color: #FFFFFF;
    border: none;
    padding: 0 10px;
    border-radius: 100px;
    /* Pill shape from design */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 118px;
    /* Fixed width from design */
    height: 44px;
    /* Fixed height from design */
}

.add-to-cart-horizontal:hover {
    background: #3A71EE;
}

.add-to-cart-horizontal.added {
    background: #1C242D;
}

.add-to-cart-horizontal.loading {
    padding-right: 30px !important;
}

.add-to-cart-horizontal.loading::after {
    top: 50% !important;
    margin-top: -8px !important;
    /* 16px font-size / 2 */
    right: 12px !important;
    font-size: 16px !important;
}

.woocommerce-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

/* Mobile Filter Fixes */
@media (max-width: 1024px) {
    .shop-filters-sidebar {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #13181E;
        z-index: 99999;
        padding: 20px;
        overflow-y: auto;
    }

    .shop-filters-sidebar.active {
        display: block !important;
    }

    .shop-filters-sidebar .filter-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 35px;
        margin-bottom: 35px;
    }

    .shop-filters-sidebar .filter-section:last-of-type {
        border-bottom: none;
    }

    .shop-filters-sidebar .filter-title {
        color: #FFFFFF !important;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .shop-filters-sidebar .label-text {
        color: #FFFFFF !important;
        opacity: 1 !important;
    }

    .shop-filters-sidebar .custom-checkbox {
        margin-bottom: 20px !important;
    }

    .shop-filters-sidebar .custom-checkbox .checkmark {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .product-item-horizontal {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .horizontal-img-wrap {
        width: 100%;
        height: 200px;
        background: #F8F9FB;
        padding: 20px;
    }

    .horizontal-price-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }

    .horizontal-btns {
        margin-left: auto !important;
        width: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .filter-sort-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================= */
/* SINGLE PRODUCT PAGE REDESIGN */
/* ============================= */

.single-product-page {
    padding: 60px 0;
    background: #F8FAFC;
}

.product-layout {
    display: flex;
    gap: 50px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    width: 50%;
    flex-shrink: 0;
}

.product-summary {
    flex-grow: 1;
}

.product-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #13181E;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.product-sku-brand {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.product-sku,
.product-brand {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    display: flex;
    gap: 8px;
}

.product-sku .label,
.product-brand .label {
    color: rgba(19, 24, 30, 0.4);
    font-weight: 500;
}

.product-sku .value,
.product-brand .value {
    color: #13181E;
    font-weight: 600;
}

.product-price-block {
    margin-bottom: 25px;
}

.product-price-block .price {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 42px !important;
    color: #13181E;
    display: flex;
    flex-direction: column;
}

.product-price-block ins {
    text-decoration: none;
}

.product-price-block del {
    font-size: 18px;
    font-weight: 400;
    color: rgba(19, 24, 30, 0.4);
}

.product-short-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #6F7172;
    margin-bottom: 30px;
}

.product-cart-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #F0F2F5;
}

/* Add to Cart Button Styling in Single Product */
.single-product .cart button.button {
    background: #35CDFF !important;
    color: #FFFFFF !important;
    border-radius: 12px;
    padding: 15px 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.single-product .cart button.button:hover {
    background: #00B4F5 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(53, 205, 255, 0.3);
}

/* Tabs */
.product-tabs {
    margin-bottom: 60px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #F0F2F5;
    padding: 0;
    margin: 0 0 30px 0;
    list-style: none;
}

.woocommerce-tabs ul.tabs li {
    padding: 16px 0;
    position: relative;
}

/* .woocommerce-tabs ul.tabs li.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #35CDFF;
} */

.woocommerce-tabs ul.tabs li a {
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: rgba(19, 24, 30, 0.4);
    transition: color 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #13181E;
}

.woocommerce-Tabs-panel {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #6F7172;
}

/* Upsells & Related */
.product-upsells,
.product-related {
    margin-bottom: 60px;
}

.product-upsells h2,
.product-related h2 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #13181E;
    margin-bottom: 30px;
}

.product-upsells ul.products,
.product-related ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        flex-direction: column;
        gap: 30px;
        padding: 25px;
    }

    .product-gallery,
    .product-summary {
        width: 100%;
    }

    .product-title {
        font-size: 28px;
    }

    .product-upsells ul.products,
    .product-related ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .product-upsells ul.products,
    .product-related ul.products {
        grid-template-columns: 1fr;
    }
}

/* Product Page Redesign Styles */
.product-page-wrapper {
    background: #FFFFFF;
}

.product-container-top {
    background: #FFFFFF;
    color: #13181E;
}

/* Hero Layout Defaults (Mobile/Tablet) */
.product-hero-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: column !important;
    gap: 30px;
    padding-bottom: 40px;
}

.product-gallery-side,
.product-summary-side {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Desktop Split (992px+) */
@media (min-width: 1200px) {
    .product-hero-layout {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 60px;
        padding-bottom: 60px;
    }

    .product-gallery-side,
    .product-summary-side {
        width: calc(50% - 30px) !important;
        max-width: calc(50% - 30px) !important;
        flex: 0 0 calc(50% - 30px) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-hero-layout {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 30px;
        padding-bottom: 40px;
    }

    .product-gallery-side,
    .product-summary-side {
        width: calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
        flex: 0 0 calc(50% - 15px) !important;
    }
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-badges .badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
}

.product-badges .badge.sale {
    background: #FF355E;
    color: #FFFFFF;
}

.product-badges .badge.best-seller {
    background: #3B79F7;
    color: #FFFFFF;
}

.product-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.product-title-custom {
    margin: 0 !important;
}

.share-btn-custom {
    min-width: 24px;
    min-height: 24px;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

.share-btn-custom img {
    width: 24px !important;
    height: 24px !important;
    filter: brightness(0) !important;
}

.share-btn-custom.active {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
}

.share-btn-custom.active span {
    color: #3B79F7;
    font-weight: 600;
}

.product-actions-custom .single_add_to_cart_button.loading,
.single-product .cart button.button.single_add_to_cart_button.loading {
    opacity: 0.5 !important;
    cursor: not-allowed;
    position: relative !important;
    padding-right: 50px !important;
}

.product-actions-custom .single_add_to_cart_button.loading::after,
.single-product .cart button.button.single_add_to_cart_button.loading::after {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    margin-top: -8px !important;
    /* 16px font-size / 2 */
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
}

.product-actions-custom .single_add_to_cart_button.added,
.single-product .cart button.button.single_add_to_cart_button.added {
    background: #E8F3FF !important;
    color: #4584FF !important;
    border: 1px solid #4584FF !important;
}

.product-actions-custom .single_add_to_cart_button.added img,
.single-product .cart button.button.single_add_to_cart_button.added img {
    filter: brightness(0) invert(47%) sepia(85%) saturate(3025%) hue-rotate(206deg) brightness(101%) contrast(105%) !important;
}

.product-title-custom {
    color: #13181E;
    margin-bottom: 20px;
}

.product-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 25px;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.meta-item .label {
    color: #6F7172;
    flex-shrink: 0;
}

.meta-item .value {
    color: #13181E;
    font-weight: 600;
    word-break: break-all;
}

.copy-sku {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #6F7172;
}

.product-price-custom .price {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 38px;
    color: #13181E;
}

/* Call for Price */
.call-for-price-wrapper {
    margin-bottom: 0;
}

.call-for-price-block {
    background: #F1F5F9;
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.call-info {
    display: flex;
    flex-direction: column;
}

.call-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

.call-phone {
    font-size: 18px;
    font-weight: 700;
    color: #13181E;
    text-decoration: underline;
    font-family: 'Barlow';
}

.call-for-price-text {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 20px;
    color: #13181E;
}

.call-for-price-action-wrap {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Why no price tooltip */
.why-no-price {
    position: relative;
    margin-top: 12px;
}

.why-no-price-link {
    font-size: 14px;
    color: #64748B;
    text-decoration: underline;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.why-no-price-link:hover {
    color: #13181E;
}

.info-icon {
    font-size: 16px;
}

.price-explanation-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    width: 380px;
    background: #1C242D;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    font-size: 13px;
    line-height: 1.6;
    z-index: 200000;
}

.price-explanation-tooltip p {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #fff;
}

.price-explanation-tooltip p:last-child {
    margin-bottom: 0;
}

.why-no-price:hover .price-explanation-tooltip {
    display: block;
}

/* Arrow for tooltip */
.price-explanation-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 10px;
    border-style: solid;
    border-color: #1C242D transparent transparent transparent;
}

/* Archive card adjustments */
.custom-product-card .call-for-price-wrapper,
.product-item-horizontal .call-for-price-wrapper {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
}

.custom-product-card .call-for-price-block,
.product-item-horizontal .call-for-price-block {
    padding: 8px 16px;
    margin-left: 0;
}

.product-item-horizontal .horizontal-price {
    text-align: left !important;
}

.custom-product-card .call-phone {
    font-size: 16px;
}

@media (max-width: 768px) {
    .price-explanation-tooltip {
        width: 280px;
        left: -50px;
    }
}

.product-price-custom del {
    font-size: 18px;
    color: #6F7172;
    margin-right: 15px;
}

.product-price-custom ins {
    text-decoration: none;
}

.product-actions-custom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.product-actions-custom .cart-btn-wrap {
    flex-grow: 0;
}

.product-actions-custom form.cart {
    margin: 0 !important;
    padding: 0 !important;
}

.product-actions-custom .single_add_to_cart_button,
.single-product .cart button.button.single_add_to_cart_button {
    background: #4584FF !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 0 35px !important;
    height: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s !important;
    transform: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.product-actions-custom .single_add_to_cart_button:active {
    opacity: 0.5 !important;
}

.wishlist-btn-custom {
    width: 50px;
    height: 50px;
    border: none !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: #13181E;
    cursor: pointer;
    transition: all 0.3s;
}

.make-offer-link a {
    color: #3B79F7;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid currentColor;
}

.product-info-table {
    margin-top: 40px;
    border-top: 1px solid #E2E8F0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E2E8F0;
    gap: 20px;
}

.info-label {
    color: #6F7172;
    flex-shrink: 0;
}

.info-value {
    color: #13181E;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
    min-width: 0;
}

.status-available {
    color: #2DCE89;
}

.expert-block {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.expert-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.expert-name {
    font-weight: 600;
    color: #13181E;
    margin: 0 0 5px 0;
}

.expert-contacts {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.expert-contacts a {
    color: #6F7172;
    text-decoration: none;
}

.expert-contacts .live-chat {
    color: #3B79F7;
    border-bottom: 1px solid currentColor;
}

.woocommerce-product-gallery__image {
    position: relative !important;
    overflow: hidden !important;
    cursor: zoom-in !important;
}

/* Force zoom visibility on hover and ensure clicks pass to lightbox/trigger */
.woocommerce-product-gallery__image:hover .zoomImg,
.woocommerce-product-gallery__wrapper:hover .zoomImg,
.flex-active-slide:hover .zoomImg {
    opacity: 1 !important;
    visibility: visible !important;
}

.zoomImg {
    max-width: none !important;
    max-height: none !important;
    z-index: 999 !important;
    pointer-events: none !important;
    position: absolute !important;
}

.woocommerce-product-gallery__image a {
    cursor: zoom-in !important;
    pointer-events: auto !important;
}

/* DARK SECTION STYLES */
.product-dark-section {
    background: #13181E;
    padding: 80px 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -30px;
    /* Slight overlap */
    position: relative;
    z-index: 10;
}

.tabs-and-manual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-tabs-custom .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 15px;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
}

.product-tabs-custom .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

.product-tabs-custom .woocommerce-tabs ul.tabs li {
    background: #1C242D !important;
    border-radius: 30px !important;
    border: none !important;
    /* padding: 0 !important; */
    margin: 0 !important;
}

.product-tabs-custom .woocommerce-tabs ul.tabs li a {
    font-size: 14px !important;
    padding: 12px 25px !important;
    color: #FFFFFF !important;
}

.product-tabs-custom .woocommerce-tabs ul.tabs li.active {
    background: #3B79F7 !important;
}

.download-manual .btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #35CDFF;
    text-decoration: none;
    font-weight: 600;
}

.section-title {
    margin: 60px 0 30px 0;
}


/* Custom Product Card (Special Offers Style) */
.custom-product-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
}

.custom-product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-product-card .sale-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #FF355E;
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
}

.custom-product-card .product-img-wrap {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.custom-product-card .product-img-wrap img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.custom-product-card .product-img-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.custom-product-card .brand-name {
    color: #6F7172;
    font-size: 13px;
    margin-bottom: 5px;
}

.custom-product-card h3 {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 16px;
    color: #13181E;
    line-height: 1.4;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    height: 45px;
}

.custom-product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.custom-product-card .price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.custom-product-card .product-price {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 20px;
    color: #13181E;
}

.custom-product-card .product-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-product-card .wishlist-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-product-card .add-to-cart-circle {
    width: 44px;
    height: 44px;
    background: #4584FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Icon Features Redesign */
.block-icon-features-wrap {
    margin: 60px 0;
}

.icon-features .features-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
}

.icon-features .feature-item {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #F0F2F4;
}

.icon-features .feature-item:last-child {
    border-right: none;
}

.icon-features .feature-icon img {
    width: 40px;
    height: 40px;
}

.icon-features .feature-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #13181E;
}

.icon-features .feature-text p {
    margin: 0;
    font-size: 13px;
    color: #6F7172;
}

/* New Product Features Block */
.product-features-wrap {
    margin: 60px 0;
}

.product-features .features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
}

.product-features .feature-item {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #E7EFFF;
}

.product-features .feature-item:last-child {
    border-right: none;
}

.product-features .feature-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.product-features .feature-link:hover {
    transform: scale(1.05);
}

.product-features .feature-item img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .product-features .features-wrapper {
        grid-template-columns: 1fr;
    }

    .product-features .feature-item {
        border-right: none;
        border-bottom: 1px solid #E7EFFF;
        padding: 30px 20px;
    }

    .product-features .feature-item:last-child {
        border-bottom: none;
    }

    .product-features .feature-item img {
        max-height: 160px;
    }
}


/* Fixes for dark section text visibility */
.product-dark-section .section-title {
    color: #FFFFFF;
}

.product-dark-section .product-tabs-custom .woocommerce-tabs ul.tabs li a {
    color: #FFFFFF !important;
}

.product-dark-section .woocommerce-Tabs-panel {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Slick Carousel styles for products on the product page */
.products-carousel .products {
    display: flex !important;
    gap: 0 !important;
}

.products-carousel .product-item {
    padding: 0 10px;
}

.products-carousel .slick-prev,
.products-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.products-carousel .slick-prev {
    left: -40px;
}

.products-carousel .slick-next {
    right: -40px;
}

/* Detailed Typography Fixes per Feedback */
.product-price-custom .price {
    font-size: 48px !important;
    font-weight: 700 !important;
}

.product-tabs-custom .woocommerce-tabs ul.tabs li a {
    font-size: 16px !important;
    padding: 15px 35px !important;
}

.woocommerce-Tabs-panel h2 {
    font-size: 24px !important;
    margin-bottom: 25px !important;
}

/* Slick Slider Arrows (Matching categories page/ mockup) */
.products-carousel {
    position: relative;
    padding: 0 40px;
}

.products-carousel .slick-prev,
.products-carousel .slick-next {
    width: 44px;
    height: 44px;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.3s;
}

.products-carousel .slick-prev:before,
.products-carousel .slick-next:before {
    color: #13181E !important;
    font-size: 20px !important;
}

.products-carousel .slick-prev {
    left: -22px;
}

.products-carousel .slick-next {
    right: -22px;
}

/* WooCommerce Gallery Fixes */
.product-gallery-side {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin-bottom: 20px;
}

.flex-control-nav {
    display: flex !important;
    gap: 15px !important;
    padding: 0 !important;
    list-style: none !important;
    margin-top: 20px !important;
}

.flex-control-nav li {
    width: 100px !important;
    height: 100px !important;
}

.flex-control-nav li img {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 2px !important;
}

.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    padding: 10px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #3B79F7 #f1f1f1 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    height: 4px !important;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #3B79F7 !important;
    border-radius: 10px !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 100px !important;
    height: 70px !important;
    float: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 2px !important;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff !important;
}

.flex-control-nav li img.flex-active {
    border-color: #3B79F7 !important;
}

/* Zoom effect magnification fix consolidated above */

/* Products Grid Responsiveness */
ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding: 0 !important;
    list-style: none !important;
}

ul.products li.product {
    flex: 0 0 calc(25% - 15px) !important;
    width: calc(25% - 15px) !important;
    margin: 0 !important;
}

@media (max-width: 1199px) {
    ul.products li.product {
        flex: 0 0 calc(33.333% - 14px) !important;
        width: calc(33.333% - 14px) !important;
    }
}

@media (max-width: 991px) {
    ul.products li.product {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }
}

@media (max-width: 575px) {
    ul.products li.product {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .product-hero-layout {
        gap: 20px;
    }
}

/* Zoom effect hint */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

/* Final Polish for Sliders & Gallery */
.products-carousel .products {
    margin: 0 -10px !important;
}

.products-carousel .products .product-item {
    padding: 10px !important;
}

.products-carousel .slick-prev,
.products-carousel .slick-next {
    background: #FFFFFF !important;
    z-index: 101 !important;
}

.products-carousel .slick-prev:hover,
.products-carousel .slick-next:hover {
    background: #F0F2F4 !important;
}

.expert-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F0F2F4;
    overflow: hidden;
}

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

.product-price-custom .price {
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1;
    margin-bottom: 15px;
}

.price-savings {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
    color: #6F7172;
    margin-top: 10px;
}

.price-savings .market-price,
.price-savings .you-save {
    font-size: 14px !important;
    color: #6F7172 !important;
    font-weight: 400 !important;
}

.price-savings .savings-amount,
.price-savings .savings-amount * {
    color: #3B79F7 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.price-savings .market-amount,
.price-savings .market-amount * {
    color: #000 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
}

.product-price-custom .price del {
    display: none !important;
}

.woocommerce-Tabs-panel {
    display: none;
    /* Hide panels by default on desktop */
}

/* Show panels when active */
.woocommerce-Tabs-panel.active,
.woocommerce-Tabs-panel[style*="display: block"] {
    display: block !important;
}

/* Mobile accordion support */
.woocommerce-Tabs-panel.accordion-open {
    display: block !important;
}

.woocommerce-Tabs-panel h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: 30px !important;
}

.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel li {
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.woocommerce-Tabs-panel img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-gallery-side .expert-block {
    order: 99;
    margin-top: 40px !important;
    width: 100% !important;
}

.woocommerce-product-gallery__image:hover img {
    cursor: zoom-in;
}

.pswp {
    z-index: 999999 !important;
}

.product-price-custom .price,
.product-price-custom .woocommerce-Price-amount {
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    color: #13181E;
}

.product-price-custom .price {
    margin-bottom: 5px;
}

.product-hero-layout .stock,
.product-hero-layout .quantity {
    display: none !important;
}

.wishlist-btn-custom img {
    width: 40px;
    height: 40px;
}

.woocommerce-product-gallery,
.woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.woocommerce-product-gallery .slides {
    height: auto !important;
}

.woocommerce-product-gallery--with-images {
    width: 100% !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img,
.flex-control-nav li img {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 2px !important;
    opacity: 1 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.flex-control-nav li img.flex-active {
    border: 2px solid #3B79F7 !important;
}

.woocommerce-product-gallery__image a {
    display: block !important;
}

.woocommerce-product-gallery__image img.wp-post-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.pswp--open {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.pswp:not(.pswp--open) {
    display: none !important;
    opacity: 0 !important;
    transition: none !important;
    pointer-events: none !important;
}

.pswp__bg {
    background: rgba(0, 0, 0, 0.9) !important;
}

.woocommerce-product-gallery__trigger+.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* FINAL MOBILE STACKING ENFORCEMENT */
@media (max-width: 991px) {
    .product-hero-layout {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .product-gallery-side,
    .product-summary-side {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ===== Mobile Tabs Accordion ===== */
@media (max-width: 768px) {
    .product-dark-section .tabs-and-manual {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 0;
    }

    /* Accordion header rows */
    .product-dark-section .mobile-tab-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #272E37;
        border: 1px solid #414953;
        border-radius: 20px;
        padding: 20px 16px;
        min-height: 62px;
        cursor: pointer;
        margin-bottom: 8px;
        transition: border-color 0.2s;
    }

    .product-dark-section .mobile-tab-header.accordion-open {
        border-color: #6B7280;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-bottom: 0;
    }

    .product-dark-section .mobile-tab-title {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #FFFFFF;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .product-dark-section .mobile-tab-chevron {
        display: flex;
        align-items: center;
        transition: transform 0.2s;
    }

    .product-dark-section .mobile-tab-header.accordion-open .mobile-tab-chevron {
        transform: rotate(180deg);
    }

    /* Tab panels in accordion (open) */
    .product-dark-section .woocommerce-Tabs-panel.accordion-open {
        background: none;
        border: none;
        padding: 16px 4px 24px;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .product-dark-section .woocommerce-Tabs-panel.accordion-open h2 {
        display: none;
        /* heading already shown in the header row */
    }
}

/* Expert block: desktop-only original, mobile-only copy */
.expert-block--mobile {
    display: none;
}

@media (max-width: 768px) {
    .expert-block--desktop {
        display: none !important;
    }

    .expert-block--mobile {
        display: flex;
        align-items: center;
        gap: 20px;
        background: #FFFFFF;
        border: 1px solid #E8EAED;
        border-radius: 20px;
        padding: 25px;
        margin: 20px 20px 40px;
    }

    .expert-block--mobile .expert-img img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .expert-block--mobile .expert-name {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: #13181E;
        margin: 0 0 6px;
    }

    .expert-block--mobile .expert-contacts {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .expert-block--mobile .expert-contacts a {
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        color: #4584FF;
        text-decoration: none;
    }
}

/* ===== Static Categories Grid (page-categories + taxonomy) ===== */
.categories-grid-wrap {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.categories-grid .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 25px 15px;
    height: 180px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.categories-grid .category-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #E0E0E0;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Brands Page */
.brands-page {
    padding-top: 40px;
    padding-bottom: 80px;
}

.brands-header {
    margin-bottom: 40px;
}

.brands-header h1 {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.brands-header .breadcrumb-nav {
    margin-bottom: 20px;
}

.brands-alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.alphabet-link {
    font-family: 'Barlow';
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.alphabet-link:hover {
    color: #4B9BFA;
}

.alphabet-link.disabled {
    cursor: default;
    pointer-events: none;
}

.brands-search-container {
    max-width: 600px;
    margin: 0 auto 60px;
}

.brands-search-container .search-wrap {
    position: relative;
    width: 100%;
}

.brand-search-input {
    width: 100%;
    background: #1A1F26;
    border: 1px solid #2D343D;
    border-radius: 50px;
    padding: 15px 25px 15px 50px;
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.brand-search-input:focus {
    border-color: #4B9BFA;
    box-shadow: 0 0 10px rgba(75, 155, 250, 0.2);
}

.brands-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.letter-group {
    margin-bottom: 50px;
}

.letter-title {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 25px;
    color: #FFFFFF;
    padding-left: 10px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.brand-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.brand-card-inner {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.brand-logo {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.brand-img {
    max-width: 100px;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-family: 'Barlow';
    font-size: 14px;
    font-weight: 600;
    color: #13181E;
    line-height: 1.2;
}

@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brands-header h1 {
        font-size: 36px;
    }

    .alphabet-link {
        font-size: 20px;
    }
}

/* Wishlist Page Redesign */
.wishlist-page-wrapper {
    padding-bottom: 100px;
}

.wishlist-page-wrapper .container-top {
    margin-bottom: 40px;
}

.wishlist-page-header h1 {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 48px;
    color: #FFFFFF;
    margin: 10px 0 0 0;
}

.wishlist-content {
    margin-top: 40px;
}

.empty-wishlist {
    text-align: center;
    padding: 80px 0;
    background: #1C242D;
    border-radius: 30px;
    margin-bottom: 60px;
}

.empty-wishlist .empty-icon {
    margin-bottom: 25px;
}

.empty-wishlist .empty-icon img {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.empty-wishlist h2 {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.empty-wishlist p {
    font-family: 'Inter';
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

.view-catalog-btn {
    display: inline-block;
    background: #3B79F7;
    color: #FFFFFF;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
}

.view-catalog-btn:hover {
    background: #2a65e0;
}

/* Wishlist Breadcrumbs Custom Styling */
.wishlist-page .breadcrumb-wrapper .woocommerce-breadcrumb {
    color: #35CDFF !important;
    /* Current page color */
    font-size: 16px !important;
    font-family: 'Inter', sans-serif !important;
    display: flex;
    align-items: center;
}

.wishlist-page .breadcrumb-wrapper .woocommerce-breadcrumb a {
    color: #6F7172 !important;
    text-decoration: none !important;
}

.wishlist-page .breadcrumb-wrapper .breadcrumb-separator {
    color: #6F7172 !important;
    margin: 0 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .wishlist-page-header h1 {
        font-size: 32px;
    }

    .empty-wishlist {
        padding: 60px 20px;
    }

    .empty-wishlist h2 {
        font-size: 24px;
    }
}

.news-tag {
    margin: 5px;
}

/* ============================= */
/* Home Page Styles              */
/* ============================= */

.home-page-wrapper {
    background: #13181E;
}

.home-section-spacer {
    margin-bottom: 60px;
}

/* Refined consolidated styles follow below in the file. */

/* Refined Hero Slider Consolidation */
.home-hero-slider-section {
    padding: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.home-hero-slider {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    overflow: visible;
    /* Allow arrows to be visible outside */
}

/* Ensure slides in fade mode don't stack content if they are not active */
.home-hero-slider .slick-slide:not(.slick-active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.hero-slide-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 40px;
    margin: 0 10px;
    overflow: hidden;
    /* Height matches native banner proportions: 1280x480 (ratio 8:3) */
    height: 480px;
    display: none;
    /* Let Slick handle this */
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-slide-item.full-image-slide {
    /* Preserve native image proportions — do NOT use 100% 100% which distorts */
    background-size: cover;
    background-position: center;
}

.hero-slide-item.slick-active {
    display: flex;
}

.hero-slide-item .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    text-align: left !important;
    padding-top: 40px;
    padding-bottom: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide-item.slick-active .container {
    opacity: 1 !important;
}

.hero-slide-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.hero-brand-logo img {
    height: 30px;
    width: auto;
}

.hero-brand-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-tag {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
}

.hero-tag::after {
    display: none !important;
}

/* Hide HTML content for pre-rendered image slides */
.hero-slide-item.full-image-slide .container {
    opacity: 0 !important;
    pointer-events: none !important;
}

.full-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

.home-hero-slider-section .slick-prev,
.home-hero-slider-section .slick-next {
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    /* Matches special offers */
    border: none !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-hero-slider-section .slick-prev {
    left: -60px !important;
}

.home-hero-slider-section .slick-next {
    right: -60px !important;
}

/* On smaller screens, move arrows inside to keep them on screen */
@media (max-width: 1580px) {
    .home-hero-slider-section {
        padding: 0 15px;
    }

    .home-hero-slider-section .slick-prev {
        left: 10px !important;
    }

    .home-hero-slider-section .slick-next {
        right: 10px !important;
    }
}

.hero-slide-image {
    margin-top: 0;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-slide-image img {
    max-width: 600px !important;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-hero-slider-section .slick-prev:before,
.home-hero-slider-section .slick-next:before {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    border-left: 3px solid #35CDFF !important;
    border-bottom: 3px solid #35CDFF !important;
    opacity: 1 !important;
}

.home-hero-slider-section .slick-prev:before {
    transform: rotate(45deg);
    margin-left: 10px;
}

.home-hero-slider-section .slick-next:before {
    transform: rotate(-135deg);
    margin-right: 10px;
}

/* Dots position inside slider */
.home-hero-slider .slick-dots {
    bottom: 30px;
    z-index: 1001;
}

.home-hero-slider .slick-dots li button:before {
    color: #FFFFFF !important;
    opacity: 0.3 !important;
    font-size: 10px !important;
}

.home-hero-slider .slick-dots li.slick-active button:before {
    opacity: 1 !important;
}

/* Categories Section */
.home-categories-section {
    padding: 40px 0;
}

.home-categories-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.view-all-link {
    color: #35CDFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s;
}

.view-all-link:hover {
    opacity: 0.8;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card-home {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 190px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card-home .category-image {
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.category-card-home .category-image img {
    max-height: 100%;
    max-width: 110px;
    object-fit: contain;
}

.category-card-home .category-name {
    color: #13181E;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: 'Barlow';
}

/* Banners Section overrides for home */
.home-banners-section {
    padding: 60px 0;
}

/* Latest News Section */
.home-news-section {
    padding: 60px 0 120px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-news-grid .news-card {
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.home-news-grid .news-card:hover {
    transform: translateY(-5px);
}

.home-news-grid .news-card-content {
    padding: 25px;
    background: #fff;
    color: #13181E;
}

.home-news-grid .news-card-title a {
    color: #13181E;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    font-family: 'Barlow';
}

.home-news-grid .news-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-news-grid .news-card-date {
    color: #6F7172;
    font-size: 13px;
}

.home-news-grid .news-card-btn {
    background: #3B79F7;
    color: #fff;
    padding: 8px 20px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive Home */
@media (max-width: 1280px) {
    .hero-title {
        font-size: 56px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 44px;
    }

    .hero-slide-item {
        height: 360px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero-slider-section {
        display: none !important;
    }

    .hero-slide-item {
        height: auto;
        min-height: 480px;
        padding: 40px 0;
        border-radius: 0;
        margin: 0;
        display: block;
        /* Let Slick handle it */
    }

    .hero-slide-item.slick-active {
        display: block !important;
    }

    .hero-slide-item .container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-slide-item .container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-slide-content {
        display: contents;
        /* Allows children to be siblings of the image for ordering */
    }

    .hero-brand-info {
        order: 1 !important;
        margin-bottom: 20px;
    }

    .hero-tags {
        order: 3 !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 20px;
    }

    .hero-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* ========================================================== */
    /* Homepage Hero Slider Mobile Layout Alignment (Figma 6-3309) */
    /* ========================================================== */

    /* 1. Enable the HTML container and overlay elements on mobile */
    .hero-slide-item.full-image-slide .container {
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    /* 2. Position background-image to right-center to hide baked-in text and center the product graphic */
    .hero-slide-item.full-image-slide {
        background-position: right center !important; 
        background-size: cover !important;
        position: relative;
    }

    /* 3. Add a premium dark vertical gradient overlay for optimal text contrast */
    .hero-slide-item.full-image-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(19, 24, 30, 0.5) 0%, rgba(19, 24, 30, 0.85) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* 4. Hide the duplicate product image element since the positioned background covers the graphic */
    .hero-slide-item.full-image-slide .hero-slide-image {
        display: none !important;
    }

    /* 5. Center-align the container content vertically and horizontally */
    .hero-slide-item.full-image-slide .container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        height: 100% !important;
        z-index: 2; /* Position above gradient overlay */
        padding: 40px 20px !important;
    }

    .hero-slide-item.full-image-slide .hero-slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        max-width: 100% !important;
        z-index: 2;
        width: 100%;
    }

    /* 6. Refine brand branding info layout and text sizes */
    .hero-slide-item.full-image-slide .hero-brand-info {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        order: 1 !important;
    }

    .hero-slide-item.full-image-slide .hero-brand-logo img {
        height: 24px !important;
        width: auto !important;
    }

    .hero-slide-item.full-image-slide .hero-brand-text {
        font-size: 14px !important;
        color: #FFFFFF !important;
        opacity: 0.8 !important;
        font-weight: 500 !important;
    }

    /* 7. Format clean responsive heading title */
    .hero-slide-item.full-image-slide .hero-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        color: #FFFFFF !important;
        order: 2 !important;
        text-align: center !important;
    }

    /* 8. Format tags block, allowing wrap and padding */
    .hero-slide-item.full-image-slide .hero-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-bottom: 24px !important;
        order: 3 !important;
    }

    .hero-slide-item.full-image-slide .hero-tag {
        font-size: 11px !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #FFFFFF !important;
        white-space: nowrap !important;
    }

    /* 9. Format premium CTA button */
    .hero-slide-item.full-image-slide .hero-btn {
        font-size: 14px !important;
        padding: 12px 35px !important;
        border-radius: 25px !important;
        background: #3B79F7 !important;
        color: #FFFFFF !important;
        font-weight: 600 !important;
        margin-top: 5px !important;
        display: inline-block !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        order: 5 !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(59, 121, 247, 0.2) !important;
    }

    .hero-slide-image {
        order: 4 !important;
        display: block;
        width: 308.67px;
        height: 219.75px;
        margin: 0 auto 30px;
    }

    .hero-slide-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-title {
        order: 2 !important;
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-btn {
        order: 5 !important;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .home-hero-slider-section .slick-prev,
    .home-hero-slider-section .slick-next {
        display: none !important;
    }

    /* Adjust Icon Features block spacing on mobile */
    .icon-features {
        padding-top: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Global Hero Slider Dots - Pill Style */
.home-hero-slider .slick-dots {
    position: absolute;
    bottom: -40px;
    /* Move below the slider */
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(65, 73, 83, 0.9);
    padding: 12px 24px !important;
    /* Increased for better visual weight */
    border-radius: 30px;
    /* More rounded for the thicker pill */
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    gap: 18px !important;
    /* Wider spacing between dots */
    z-index: 100;
}

@media (min-width: 769px) {
    .home-hero-slider .slick-dots {
        padding: 10px !important;
        /* Even more prominent on PC */
        gap: 20px !important;
    }
}

.home-hero-slider .slick-dots li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
}

.home-hero-slider .slick-dots li button {
    padding: 0;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    border: none;
    opacity: 0.3;
    font-size: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: block;
}

.home-hero-slider .slick-dots li button:before {
    display: none !important;
    /* Hide default Slick dots font */
}

.home-hero-slider .slick-dots li.slick-active button {
    opacity: 1;
}

.home-hero-slider {
    position: relative;
    border-radius: 40px;
    margin-bottom: 60px;
    /* Space for the dots pill below */
}

.home-hero-slider .slick-list {
    border-radius: 40px;
    overflow: hidden;
}

/* ==========================================================================
   Cart Page Styles - Final Alignment & 50/50 Layout
   ========================================================================== */

body.woocommerce-cart .cart-main-container {
    padding: 60px 20px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    background: transparent !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

body.woocommerce-cart .woocommerce-cart-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    width: 100% !important;
}

@media (min-width: 1024px) {
    body.woocommerce-cart .woocommerce-cart-form {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 60px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
    }

    body.woocommerce-cart .cart-collaterals {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
        position: sticky !important;
        top: 100px !important;
    }
}

body.woocommerce-cart .woocommerce-cart-form {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

body.woocommerce-cart .shop_table.cart {
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    border-collapse: collapse !important;
}

body.woocommerce-cart .shop_table.cart thead {
    display: none !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item {
    background: transparent !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    padding: 30px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    gap: 20px !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item:last-child {
    border-bottom: none !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item td {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item td::before {
    display: none !important;
}

/* Image Box */
body.woocommerce-cart .product-thumbnail {
    width: 140px !important;
    display: block !important;
}

body.woocommerce-cart .product-thumbnail-box {
    width: 140px !important;
    height: 140px !important;
    background: #FFFFFF !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 10px !important;
}

body.woocommerce-cart .product-thumbnail-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Content */
body.woocommerce-cart .product-name {
    flex: 1 !important;
    display: block !important;
    position: relative !important;
}

body.woocommerce-cart .product-info-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: left !important;
    width: 100% !important;
}

body.woocommerce-cart .product-name a.product-title {
    color: #FFFFFF !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    display: block !important;
}

body.woocommerce-cart .product-sku {
    font-size: 14px !important;
    color: #6F7172 !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 5px !important;
}

body.woocommerce-cart .product-sku span {
    color: #FFFFFF !important;
    opacity: 0.8 !important;
}

body.woocommerce-cart .product-controls-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 15px !important;
}

body.woocommerce-cart .product-subtotal bdi {
    color: #FFFFFF !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    font-family: 'Barlow', sans-serif !important;
}

/* Trash Buttons */
body.woocommerce-cart .remove-item-btn {
    position: absolute !important;
    top: 30px !important;
    right: 0 !important;
    transition: opacity 0.3s !important;
    display: block !important;
}

body.woocommerce-cart .remove-item-btn:hover {
    opacity: 0.7 !important;
}

body.woocommerce-cart .remove-item-btn img {
    width: 20px !important;
    height: 20px !important;
}

/* Clear All Button */
body.woocommerce-cart .cart-actions-bottom {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 20px 0 !important;
}

body.woocommerce-cart .clear-all-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s !important;
}

body.woocommerce-cart .clear-all-btn:hover {
    color: #FFFFFF !important;
}

body.woocommerce-cart .clear-all-btn img {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.6 !important;
}

/* Order Summary Card */
body.woocommerce-cart .cart-collaterals {
    background: transparent !important;
}

body.woocommerce-cart .cart_totals {
    background: #FFFFFF !important;
    border-radius: 40px !important;
    padding: 50px !important;
    color: #13181E !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .cart_totals h2 {
    color: #13181E !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    font-family: 'Barlow', sans-serif !important;
    margin-bottom: 40px !important;
    text-transform: none !important;
}

/* Promo Code in Side Card */
body.woocommerce-cart .promo-code-wrapper {
    margin-bottom: 30px !important;
    width: 100% !important;
}

body.woocommerce-cart .promo-code-wrapper label {
    display: block !important;
    font-size: 14px !important;
    color: #6F7172 !important;
    margin-bottom: 12px !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .coupon-input-group {
    display: flex !important;
    background: #F8F9FA !important;
    border: 1px solid #E9ECEF !important;
    border-radius: 12px !important;
    padding: 6px !important;
    transition: border-color 0.3s !important;
    align-items: center !important;
}

body.woocommerce-cart .coupon-input-group input#coupon_code_summary {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #13181E !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    outline: none !important;
}

body.woocommerce-cart .apply-coupon-btn {
    background: transparent !important;
    color: #3B79F7 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 0 15px !important;
    cursor: pointer !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

/* Totals Table in Card */
body.woocommerce-cart .cart_totals .shop_table {
    border: none !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

body.woocommerce-cart .cart_totals .shop_table tr th,
body.woocommerce-cart .cart_totals .shop_table tr td {
    border: none !important;
    padding: 12px 0 !important;
    background: transparent !important;
}

body.woocommerce-cart .cart_totals .shop_table tr th {
    color: #6F7172 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    text-align: left !important;
}

body.woocommerce-cart .cart_totals .shop_table tr td {
    text-align: right !important;
    color: #13181E !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

body.woocommerce-cart .cart_totals tr.order-total {
    border-top: 1px solid #E9ECEF !important;
}

body.woocommerce-cart .cart_totals tr.order-total th {
    font-size: 20px !important;
    color: #13181E !important;
    font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals tr.order-total td bdi {
    font-size: 20px !important;
    color: #13181E !important;
}

/* Checkout Button */
body.woocommerce-cart .checkout-button {
    background: #3B79F7 !important;
    color: #FFFFFF !important;
    border-radius: 15px !important;
    padding: 20px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(59, 121, 247, 0.3) !important;
}

/* PayPal Section */
body.woocommerce-cart .paypal-buttons-container {
    margin-top: 30px !important;
}

body.woocommerce-cart .paypal-separator {
    text-align: center !important;
    margin-bottom: 25px !important;
    position: relative !important;
    color: #6F7172 !important;
    font-size: 14px !important;
}

body.woocommerce-cart .paypal-separator span {
    background: #FFFFFF !important;
    padding: 0 15px !important;
    position: relative !important;
    z-index: 1 !important;
}

body.woocommerce-cart .paypal-separator::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: #E9ECEF !important;
    z-index: 0 !important;
}

body.woocommerce-cart .paypal-buttons-row {
    display: flex !important;
    gap: 15px !important;
}

body.woocommerce-cart .paypal-mock-btn {
    flex: 1 !important;
    height: 50px !important;
    border-radius: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart .paypal-mock-btn:hover {
    filter: brightness(0.95) !important;
}

body.woocommerce-cart .paypal-mock-btn.yellow {
    background: #FFC439 !important;
}

body.woocommerce-cart .paypal-mock-btn.dark-blue {
    background: #102672 !important;
}

body.woocommerce-cart .paypal-mock-btn img {
    height: 22px !important;
    width: auto !important;
}

/* Quantity Selector Group */
body.woocommerce-cart .quantity {
    display: flex !important;
    align-items: center !important;
    background: #13181E !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    height: 45px !important;
    width: auto !important;
    padding: 0 8px !important;
}

body.woocommerce-cart .quantity .qty-btn {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 20px !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

body.woocommerce-cart .quantity input.qty {
    width: 45px !important;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Mobile Responsiveness Overrides */
@media (max-width: 1023px) {
    body.woocommerce-cart .cart-main-container {
        padding: 40px 15px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        flex-direction: column !important;
        gap: 40px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents,
    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__cart-item {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 20px 0 !important;
        gap: 16px !important;
    }

    body.woocommerce-cart .product-thumbnail {
        width: 100px !important;
        flex-shrink: 0 !important;
    }

    body.woocommerce-cart .product-thumbnail-box {
        width: 100px !important;
        height: 100px !important;
        border-radius: 15px !important;
    }

    body.woocommerce-cart .product-info-wrap {
        align-items: flex-start !important;
        text-align: left !important;
        gap: 5px !important;
        padding-right: 30px !important;
    }

    body.woocommerce-cart .product-name a.product-title {
        font-size: 14px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

    body.woocommerce-cart .product-sku {
        font-size: 12px !important;
        margin-top: 2px !important;
    }

    body.woocommerce-cart .product-controls-row {
        justify-content: space-between !important;
        width: 100% !important;
        margin-top: 15px !important;
        gap: 10px !important;
        align-items: center !important;
    }

    body.woocommerce-cart .product-subtotal bdi {
        font-size: 16px !important;
    }

    body.woocommerce-cart .quantity {
        height: 36px !important;
        padding: 0 4px !important;
    }

    body.woocommerce-cart .quantity .qty-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    body.woocommerce-cart .quantity input.qty {
        width: 30px !important;
        font-size: 14px !important;
    }

    body.woocommerce-cart .remove-item-btn {
        top: 0 !important;
        right: 0 !important;
    }

    body.woocommerce-cart .cart_totals {
        padding: 40px 24px !important;
        border-radius: 40px !important;
    }

    body.woocommerce-cart .cart_totals h2 {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }

    body.woocommerce-cart .cart_totals .shop_table tr th,
    body.woocommerce-cart .cart_totals .shop_table tr td {
        font-size: 15px !important;
    }

    body.woocommerce-cart .cart_totals tr.order-total th,
    body.woocommerce-cart .cart_totals tr.order-total td bdi {
        font-size: 18px !important;
    }

    body.woocommerce-cart .cart-actions-bottom {
        padding-top: 20px !important;
    }
}

/* ============================= */
/* Checkout Page Redesign        */
/* ============================= */

.checkout-page-outer {
    padding: 60px 0;
    background: #13181E;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0;
    text-transform: none;
}

.back-to-cart {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-cart:hover {
    color: #FFFFFF;
}

.back-to-cart::after {
    content: '›';
    font-size: 18px;
}

.checkout-layout-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.checkout-column-summary {
    flex: 0 0 450px;
    position: sticky;
    top: 20px;
}

.checkout-column-form {
    flex: 1;
}

.checkout-white-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 40px;
    color: #13181E;
}

.order-summary-card .card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #13181E;
}

/* Review Order Items */
.review-order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E9ECEF;
    gap: 15px;
}

.review-order-item:first-child {
    padding-top: 0;
}

.review-order-item .product-info {
    flex: 1;
}

.product-title-row {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #13181E;
    margin-bottom: 4px;
}

.product-sku {
    font-size: 12px;
    color: #718096;
}

.product-quantity-label {
    color: #718096;
    margin-left: 5px;
    font-weight: 400;
}

.product-total {
    font-weight: 700;
    font-size: 16px;
    color: #13181E;
    text-align: right;
    white-space: nowrap;
}

/* Review Order Totals */
.review-order-totals {
    margin-top: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
}

.total-row .label {
    color: #718096;
}

.total-row .value {
    font-weight: 700;
    color: #13181E;
}

.total-row.cart-discount .value {
    color: #3B79F7;
}

.total-row.order-total {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #E9ECEF;
    font-size: 20px;
}

.total-row.order-total .label {
    color: #13181E;
    font-weight: 700;
}

.total-row.order-total .value {
    font-size: 20px;
}

/* Checkout Form Sections */
.checkout-section {
    margin-bottom: 40px;
}

.checkout-section:last-child {
    margin-bottom: 0;
}

.section-number-title,
.section-number-title-collapsed {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #13181E;
}

.section-number-title-collapsed {
    color: #A0AEC0;
    margin-bottom: 0;
    padding: 20px 0;
    cursor: pointer;
}

.section-number-title span,
.section-number-title-collapsed span {
    color: inherit;
}

.address-book-link,
.address-book-link-collapsed {
    font-size: 14px;
    font-weight: 400;
    color: #718096;
    text-decoration: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.address-book-link::after,
.address-book-link-collapsed::after {
    content: '›';
    font-size: 20px;
}

/* Form Styles */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout label {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 15px 20px;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    font-size: 16px;
    color: #13181E;
    outline: none;
    transition: border-color 0.3s;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus {
    border-color: #3B79F7;
}

.woocommerce-checkout .col2-set {
    display: flex;
    gap: 20px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    flex: 1;
}

/* Payment Section */
.payment-section #payment {
    background: transparent;
    padding: 0;
}


.payment-section #place_order {
    background: #3B79F7 !important;
    color: #FFFFFF !important;
    border-radius: 15px !important;
    padding: 20px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 100% !important;
    text-transform: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(59, 121, 247, 0.3) !important;
    display: block !important;
    /* Force display */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-layout-grid {
        flex-direction: column-reverse !important;
        display: flex !important;
    }

    .checkout-column-summary,
    .checkout-column-form {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
    }

    .checkout-white-card {
        padding: 30px 20px !important;
        border-radius: 30px !important;
    }
}

/* Shipping Methods Styling */
#shipping_method_section table.shop_table {
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
}

#shipping_method_section table.shop_table tr {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #E9ECEF !important;
}

#shipping_method_section table.shop_table tr:last-child {
    border-bottom: none !important;
}

#shipping_method_section ul#shipping_method {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

#shipping_method_section ul#shipping_method li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
}

#shipping_method_section ul#shipping_method li input[type="radio"] {
    margin-right: 15px !important;
}

#shipping_method_section ul#shipping_method li label {
    flex: 1 !important;
    margin: 0 !important;
    font-size: 16px !important;
    color: #13181E !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Payment Tabs / Methods */
.payment_methods li label {
    font-weight: 600 !important;
    color: #13181E !important;
}

.payment_box {
    background: #F8F9FA !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-top: 15px !important;
    color: #4A5568 !important;
    font-size: 14px !important;
}

/* Add custom arrow/header styles for collapsed sections if needed */
.section-content {
    margin-top: 20px;
}

/* Custom Checkbox/Radio */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
    accent-color: #3B79F7;
    width: 18px;
    height: 18px;
}


/* Fix shipping methods display in section 3 */
.woocommerce-shipping-methods-wrapper table.shop_table {
    width: 100% !important;
    margin-bottom: 0 !important;
    border: none !important;
}

.woocommerce-shipping-methods-wrapper table.shop_table td {
    padding: 0 !important;
    border: none !important;
}

/* ========================================= */
/* CHECKOUT ENHANCEMENTS: DELIVERY & PAYMENT */
/* ========================================= */

.checkout-section .section-number-title {
    font-size: 22px;
    margin-bottom: 28px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    color: #13181E;
    display: flex;
    align-items: center;
}

.checkout-section .section-number-title span {
    color: #4B82FF;
    margin-right: 12px;
}

/* 3. Delivery Methods */
.delivery-methods-section .woocommerce-shipping-methods-wrapper {
    display: block !important;
}

.delivery-methods-section ul#shipping_method {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivery-methods-section ul#shipping_method li {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.delivery-methods-section ul#shipping_method li:hover {
    border-color: #4B82FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 130, 255, 0.1);
}

.delivery-methods-section ul#shipping_method li input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.delivery-methods-section ul#shipping_method li label {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #13181E;
    padding-left: 40px;
    margin-bottom: 0 !important;
    font-size: 16px;
}

/* Custom Checkmark/Radio */
.delivery-methods-section ul#shipping_method li::before {
    content: '';
    position: absolute;
    left: 25px;
    width: 24px;
    height: 24px;
    border: 2px solid #E2E8F0;
    border-radius: 50%;
    background: #FFF;
    transition: all 0.2s ease;
}

.delivery-methods-section ul#shipping_method li:has(input:checked) {
    border-color: #4B82FF;
    background: #F8FAFF;
    box-shadow: 0 4px 20px rgba(75, 130, 255, 0.15);
}

.delivery-methods-section ul#shipping_method li:has(input:checked)::before {
    border-color: #4B82FF;
    background: radial-gradient(circle, #4B82FF 40%, #FFF 40%);
    box-shadow: 0 0 0 4px rgba(75, 130, 255, 0.1);
}

.delivery-methods-section .shipping-method-price {
    font-weight: 700;
    color: #13181E;
    font-size: 18px;
}

/* 4. Payment Methods */

/* Choose a saved card link positioning */
.choose-saved-card-wrapper {
    text-align: right;
    margin-top: 5px;
    margin-bottom: 30px;
}

.choose-saved-card {
    color: #4A5568;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.choose-saved-card:hover {
    color: #4B82FF;
}

/* Accepted Payments Icons */
.accepted-payments {
    margin-bottom: 25px;
}

.accepted-payments p {
    font-size: 14px;
    font-weight: 700;
    color: #13181E;
    margin-bottom: 15px;
}

.payment-icons-row {
    display: flex;
    gap: 12px;
}

.card-icon {
    width: 44px;
    height: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}

.category-card-item .card-icon {
    filter: grayscale(0) !important;
    opacity: 1 !important;
    width: 80px;
    height: 80px;
}

.card-icon {
    width: 44px;
    height: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none !important;
    /* Ensure they are colored */
    opacity: 1 !important;
}

/* Reset labels inside payment boxes (not buttons) */
.payment-section .payment_box label {
    height: auto !important;
    border-radius: 0 !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    padding: 0 0 8px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4A5568 !important;
    text-align: left !important;
    background: none !important;
    border: none !important;
    text-overflow: unset !important;
    width: auto !important;
}

/* Payment Fields (Card Inputs) */
.payment-section .payment_box {
    width: 100% !important;
    max-width: 100% !important;
    background: #F8FAFF !important;
    padding: 30px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 20px !important;
    color: #13181E !important;
    border: 1px solid #E2E8F0 !important;
    display: none;
    order: 2 !important;
    /* Always below labels due to display:contents on li */
    flex: 1 1 100% !important;
}


.payment-section .wc_payment_method input:checked~.payment_box {
    display: block !important;
}

.payment-section .payment_box::before {
    display: none !important;
}

.mock-cc-fields .form-row {
    margin-bottom: 20px !important;
}

.mock-cc-fields label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #4A5568;
    font-size: 14px;
}

.mock-cc-fields input.input-text {
    width: 100%;
    height: 54px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
}

/* Terms and Conditions Styling - Premium Checkboxes */
.payment-section .woocommerce-terms-and-conditions-wrapper {
    margin-top: 30px !important;
    padding-top: 0 !important;
    border-top: none !important;
    order: 3 !important;
    width: 100% !important;
}

.payment-section .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    font-size: 14px !important;
    color: #4A5568 !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.payment-section .woocommerce-form__label-for-checkbox span {
    line-height: 1.5 !important;
    padding-top: 2px !important;
}

.payment-section .woocommerce-form__input-checkbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    flex: 0 0 24px !important;
    border: 2px solid #CBD5E0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    outline: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.payment-section .woocommerce-form__input-checkbox:checked {
    background-color: #4B82FF !important;
    border-color: #4B82FF !important;
    box-shadow: 0 0 0 3px rgba(75, 130, 255, 0.1) !important;
}

.payment-section .woocommerce-form__input-checkbox:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 4px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    display: block !important;
}

/* Place Order Button with Total */
#place_order {
    width: 100% !important;
    background: #4B82FF !important;
    color: #FFFFFF !important;
    height: 64px !important;
    border-radius: 32px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border: none !important;
    margin-top: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(75, 130, 255, 0.2) !important;
    order: 4 !important;
}

#place_order:hover {
    background: #3B79F7 !important;
    box-shadow: 0 6px 20px rgba(75, 130, 255, 0.3) !important;
}

/* Mobile responsive layout order */
@media (max-width: 1024px) {
    .payment-section .wc_payment_method label {
        flex: 1 1 calc(33.33% - 10px) !important;
    }
}

@media (max-width: 768px) {
    .checkout-layout-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .checkout-column-summary {
        order: -1 !important;
        margin-bottom: 30px !important;
    }

    .checkout-column-form {
        order: 1 !important;
    }


    .payment-section ul.wc_payment_methods::before,
    .payment-section ul.wc_payment_methods::after {
        display: none !important;
    }

    .payment-section .wc_payment_method>label {
        grid-column: span 1 !important;
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        font-size: 13px !important;
        height: 50px !important;
        margin: 0 !important;
    }

    .payment-section .payment_box {
        grid-column: 1 / -1 !important;
        order: 2 !important;
        padding: 20px !important;
        margin: 0 !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   Account Page & Login Popup Redesign
   ========================================================================== */

/* Login/Register Popup */
/* Account Popup Dropdown Styles (Refined) */
.account-trigger-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.account-popup {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 440px !important;
    height: auto !important;
    z-index: 1001 !important;
    background: #fff !important;
    padding-top: 15px !important;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
}

.account-popup.active {
    display: block !important;
}

.account-popup-content.white-theme {
    background: #FFFFFF;
    color: #111821;
    border-radius: 40px;
    padding: 30px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
}

.account-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.account-popup .account-popup-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #111821;
}

.account-form-wrapper {
    display: none;
}

.account-form-wrapper.active {
    display: block;
}

.account-popup .account-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.account-popup .welcome-text h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 30px;
    color: #111821;
}

.account-popup .form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6F7172;
    font-weight: 600;
}

.account-popup .input-text {
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 0 20px;
    color: #111821;
    font-size: 14px;
}

.account-popup .button {
    width: 100%;
    height: 56px;
    background: #4B82FF;
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.account-popup .button:hover {
    background: #3B71E8;
}

/* My Account Page Redesign */
.my-account-page {
    padding: 60px 0;
    background: #111821;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.account-title {
    font-size: 36px;
    color: #FFFFFF;
    margin: 0;
}

.account-logout-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
}

.account-layout {
    display: grid;
    grid-template-columns: 312px 1fr;
    gap: 40px;
}

.woocommerce-MyAccount-navigation {
    width: 100%;
}

.account-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.account-navigation li {
    margin-bottom: 12px;
    width: 100%;
}

.account-navigation li a {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 64px;
    background: #1C242D;
    border-radius: 16px;
    padding: 0 25px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 325px;
}

.account-navigation li.is-active a {
    background: #4B82FF;
}

.account-navigation .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-content {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    color: #111821;
}

.account-content h2,
.account-content h3 {
    color: #111821;
    margin-top: 0;
}

/* Custom styles for account content tables and forms */
.account-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.account-content table.shop_table th {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #EEEEEE;
}

.account-content table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid #EEEEEE;
}

@media (max-width: 1024px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

/* Account Content Sections */
.account-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
}

.account-content-header h2 {
    font-size: 24px;
    color: #111821;
    margin: 0;
}

.account-content-header .add-new-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A0AEC0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.account-content-inner .empty-message {
    color: #6F7172;
    font-size: 16px;
    margin: 40px 0;
}

/* Custom Password Toggle in Popup */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('assets/eye-icon.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    opacity: 0.5;
}

/* My Account Navigation Icons */
.account-navigation .nav-icon svg {
    stroke: currentColor;
}

.account-navigation li.is-active .nav-icon svg {
    stroke: #FFFFFF;
}

.account-navigation li:not(.is-active) a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* White Theme for Account Popup */
.account-popup-content.white-theme {
    background: #FFFFFF;
    color: #111821;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.account-popup-content.white-theme .account-popup-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #111821;
}

.account-popup-content.white-theme .welcome-text h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 30px;
    color: #111821;
}

.account-popup-content.white-theme label {
    color: #6F7172;
    font-size: 14px;
    font-weight: 600;
}

.account-popup-content.white-theme .input-text {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    color: #111821;
    font-size: 14px;
}

.account-popup-content.white-theme .input-text::placeholder {
    color: #A0AEC0;
}

.account-popup-content.white-theme .button {
    background: #4B82FF;
    border-radius: 30px;
    height: 56px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    margin-top: 10px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #A0AEC0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E2E8F0;
}

.login-divider span {
    padding: 0 16px;
    font-size: 14px;
}

.google-login-btn {
    width: 100%;
    height: 56px;
    background: #F8FAFC;
    border: 1.5px solid #4B82FF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #1A202C;
    transition: background 0.3s;
}

.google-login-btn:hover {
    background: #EDF2F7;
}

.google-login-btn img {
    width: 24px;
}

.signup-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6F7172;
}

.signup-prompt a {
    color: #4B82FF;
    font-weight: 700;
    text-decoration: none;
}

.account-popup-content.white-theme .lost_password {
    color: #4B82FF;
    font-weight: 600;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Profile Details Redesign */
.profile-details-wrapper {
    color: #111821;
}

.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.profile-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.profile-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.profile-card h3 {
    font-size: 18px;
    margin: 0;
    color: #111821;
}

.edit-profile-btn,
.edit-password-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.info-name-large {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    display: block;
    margin-bottom: 20px;
    color: #111821;
}

.profile-info-row.split {
    display: flex;
    gap: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 13px;
    color: #6F7172;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #111821;
}

.password-dots {
    font-size: 24px;
    letter-spacing: 2px;
}

/* Update Info Modal (Drawer Style) */
.update-info-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    display: none;
    justify-content: flex-end;
    align-items: center;
}

.update-info-modal.active {
    display: flex;
}

.update-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.update-modal-content {
    position: relative;
    width: 90%;
    max-width: 540px;
    height: auto;
    max-height: 90vh;
    background: #FFFFFF;
    color: #111821;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    margin-right: 40px;
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.update-info-modal.active .update-modal-content {
    transform: translateX(0);
    opacity: 1;
}

.update-modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.update-modal-content h2 {
    font-size: 24px;
    margin: 0;
    color: #111821;
}

.close-update-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.update-modal-content .form-row label {
    color: #6F7172;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.update-modal-content .input-text {
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    height: 56px;
    padding: 0 20px;
    font-size: 14px;
    width: 100%;
}

.update-modal-content .button {
    background: #4B82FF;
    border-radius: 30px;
    height: 56px;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .profile-cards-grid {
        grid-template-columns: 1fr;
    }

    .update-modal-content {
        max-width: 100%;
    }
}


/* ==========================================================================
   Header Popups (All Products & Search)
   ========================================================================== */

.category-popup {
    position: fixed;
    top: 180px;
    left: 0;
    width: 100%;
    height: calc(100% - 180px);
    z-index: 300002;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: hidden;
}

.category-popup.active {
    opacity: 1;
    visibility: visible;
}

.site-header.search-active {
    position: relative;
    z-index: 200003;
    /* Above .category-popup which is 200002 */
}

.category-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.category-popup-content {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1440px;
    background: #FFFFFF;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 40px);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.category-popup.active .category-popup-content {
    transform: translateY(0);
}

.category-popup-desktop-inner {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.category-sidebar {
    width: 420px;
    background: #F8FAFC;
    padding: 40px 0;
    border-right: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.category-list li {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #111821;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.category-list li.active {
    color: #4B82FF;
}

.category-list li .chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.5;
}

.sidebar-footer {
    padding: 40px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-footer a {
    font-size: 16px;
    font-weight: 700;
    color: #111821;
    text-decoration: none;
}

.category-main {
    flex-grow: 1;
    padding: 40px;
    background: #FFFFFF;
    overflow-y: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card-item {
    background: #F8FAFC;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: #111821;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card-item:hover {
    background: #EDF2F7;
    transform: translateY(-2px);
}

.category-card-item .card-icon {
    height: 150px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-item .card-icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.category-card-item span {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
}

/* Search Popup Specifics */
.search-popup .category-popup-content {
    max-width: 1200px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
}

.search-popup-top-bar {
    padding: 20px 40px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 30px;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-popup .search-box {
    flex-grow: 1;
    position: relative;
    background: #111821;
    border-radius: 33px;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.search-popup .search-box input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    width: 100%;
    outline: none;
}

.search-popup .search-box img {
    width: 24px;
    opacity: 0.7;
}

.search-popup-close-text {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #111821;
    cursor: pointer;
}

.search-popup-main-content {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    width: 100%;
    min-height: 0;
}

.search-sidebar {
    width: 320px;
    padding: 30px;
    background: #F8FAFC;
    border-right: 1px solid #E2E8F0;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111821;
}

.popular-searches,
.search-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.popular-searches li a,
.search-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    color: #111821;
    text-decoration: none;
    font-weight: 500;
}

.popular-searches li a .chevron,
.search-categories li a .chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #111821;
    border-bottom: 2px solid #111821;
    transform: rotate(-45deg);
    opacity: 0.5;
}

.search-results-area {
    flex-grow: 1;
    padding: 30px;
    background: #FFFFFF;
    overflow-y: auto;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Live AJAX results grid inside search popup */
.search-live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


.search-results-grid .search-result-card .product-img-wrap {
    height: 160px;
    margin-bottom: 15px;
}

.search-results-grid .search-result-card h3 {
    font-size: 14px;
    height: 40px;
}

.search-placeholder-text {
    grid-column: 1 / -1;
    text-align: center;
    color: #A0AEC0;
    font-size: 18px;
    margin-top: 100px;
}

/* Mobile Popups */
.category-popup-mobile-header,
.category-popup-mobile-inner {
    display: none;
}

@media (max-width: 991px) {
    .category-popup {
        top: 200px;
        height: calc(100% - 200px);
        padding-top: 0;
    }

    .search-popup {
        top: 56px !important;
        height: calc(100% - 60px) !important;
    }

    .category-popup-content {
        border-radius: 0;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        overflow-y: auto;
    }

    .category-popup-desktop-inner {
        display: none;
    }

    .category-popup-mobile-inner {
        display: block;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding: 20px 0;
    }

    .category-main {
        padding: 20px;
    }


    .search-popup-top-bar {
        display: flex !important;
        padding: 15px 20px !important;
        background: #FFFFFF !important;
        gap: 15px !important;
        border-bottom: 1px solid #E2E8F0 !important;
    }

    .search-popup-top-bar .search-box {
        background: #111821 !important;
        flex-grow: 1 !important;
    }

    .search-popup-top-bar .search-popup-close-text {
        color: #111821 !important;
    }

    .search-results-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 15px !important;
    }

    /* Live Search Results in Mobile Popups */
    .search-mobile-results {
        display: none;
        background: #FFFFFF;
        padding: 20px;
        min-height: 200px;
    }

    .search-result-card.custom-product-card {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        background: #F7FAFC;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #E2E8F0;
        text-decoration: none;
        position: relative;
    }

    .search-result-card .product-img-wrap {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        background: #FFFFFF;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .search-result-card .product-img-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .search-result-card .product-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .search-result-card .brand-name {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #4B82FF;
        margin-bottom: 2px;
    }

    .search-result-card .product-sku {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #ff355e;
        margin-bottom: 2px;
        font-family: 'Inter', sans-serif;
    }

    .search-result-card h3 {
        font-size: 14px;
        line-height: 1.3;
        margin: 0 0 5px 0;
        color: #111821;
        font-weight: 600;
    }

    .search-result-card h3 a {
        color: inherit;
        text-decoration: none;
    }

    .search-result-card .product-price {
        font-size: 14px;
        font-weight: 700;
        color: #111821;
    }

    .search-result-card .price-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .search-result-card .product-btns {
        display: flex;
        gap: 8px;
    }

    .search-result-card .add-to-cart-circle,
    .search-result-card .wishlist-btn {
        width: 32px;
        height: 32px;
    }

    /* Post specific search results */
    .search-result-post .post-excerpt {
        font-size: 12px;
        color: #718096;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .search-result-post .read-more-link {
        font-size: 13px;
        color: #4B82FF;
        font-weight: 600;
        text-decoration: none;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .search-results-area {
        padding: 20px;
    }

    .search-mobile-categories {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #E2E8F0;
    }

    .search-mobile-categories h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #111821;
    }

    .search-mobile-categories .search-categories {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .search-mobile-categories .search-categories li a {
        background: #F8FAFC;
        padding: 15px 20px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: #111821;
        font-weight: 500;
        border: 1px solid #E2E8F0;
    }

    .category-popup-overlay {
        background: transparent !important;
        opacity: 0 !important;
    }

    .mobile-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid #E2E8F0;
    }

    .mobile-category-list li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 25px;
        font-size: 16px;
        font-weight: 700;
        color: #111821;
        text-decoration: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .mobile-category-list li a.active {
        color: #4B82FF;
    }

    .mobile-category-list li a .chevron {
        width: 10px;
        height: 10px;
        border-right: 2.5px solid #111821;
        border-bottom: 2.5px solid #111821;
        transform: rotate(-45deg);
    }

    .mobile-sidebar-footer {
        padding: 25px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-sidebar-footer a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        font-size: 16px;
        font-weight: 700;
        color: #111821;
        text-decoration: none;
        border-bottom: 1px solid #EEEEEE;
    }

    .mobile-sidebar-footer a:last-child {
        border-bottom: none;
    }

    .mobile-sidebar-footer a .chevron {
        width: 8px;
        height: 8px;
        border-right: 2px solid #111821;
        border-bottom: 2px solid #111821;
        transform: rotate(-45deg);
        opacity: 0.5;
    }

    /* Mobile Subcategories View */
    .mobile-sub-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        background: #F8FAFC;
        border-bottom: 1px solid #E2E8F0;
    }

    .back-btn {
        background: transparent;
        border: none;
        font-size: 16px;
        font-weight: 700;
        color: #111821;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        padding: 0;
    }

    .back-btn .chevron {
        width: 10px;
        height: 10px;
        border-left: 2px solid #111821;
        border-bottom: 2px solid #111821;
        transform: rotate(45deg);
        display: inline-block;
    }

    .all-link {
        font-size: 14px;
        font-weight: 700;
        color: #4B82FF;
        text-decoration: none;
    }

    #mobileSubcategoryList {
        padding: 20px 25px;
        border-top: none;
    }

    #mobileSubcategoryList li {
        margin-bottom: 12px;
    }

    .mobile-subcategory-card {
        display: flex !important;
        align-items: center !important;
        background: #F1F4F9 !important;
        border-radius: 16px !important;
        padding: 10px !important;
        text-decoration: none !important;
        border-bottom: none !important;
    }

    .mobile-subcategory-card .card-image {
        width: 76px;
        height: 76px;
        background: #FFFFFF;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .mobile-subcategory-card .card-image img {
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
    }

    .mobile-subcategory-card .card-title {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 15px;
        color: #111821;
        line-height: 1.2;
    }
}

/* Search Result Card Tweaks */
.search-result-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    padding: 20px !important;
    min-height: auto !important;
    height: auto !important;
}

.search-result-card .product-img-wrap {
    height: 180px !important;
}

.search-result-card h3 {
    height: auto !important;
    min-height: 40px;
    font-size: 14px !important;
}

.search-result-card .product-price {
    font-size: 18px !important;
}

.search-mobile-results {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.search-mobile-results .search-result-card {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.search-mobile-results .search-result-card .product-img-wrap {
    width: 80px;
    height: 80px !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.search-mobile-results .search-result-card .product-info {
    flex-grow: 1;
}

.search-mobile-results .search-result-card .product-btns {
    display: none;
    /* Hide buttons in mobile search dropdown for cleaner look */
}

/* 404 Page Styles */
.error-404-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.error-404-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-code {
    display: block;
    font-size: 24px;
    color: #9CA3AF;
    margin-bottom: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.error-404-page h1.page-title {
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-transform: none;
    font-family: 'Barlow', sans-serif;
    line-height: 1.1;
}

.error-description {
    font-size: 18px;
    color: #9CA3AF;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    margin-top: 40px;
}

.error-actions .brand-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .error-404-page {
        min-height: 60vh;
        padding: 80px 0;
    }

    .error-404-page h1.page-title {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .error-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .error-actions .brand-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 30px;
    }
}

/* Final Footer Mobile Fixes */
@media (max-width: 1024px) {
    .site-footer .footer-top-panel .footer-contact-info-desktop {
        display: none !important;
    }

    .site-footer .footer-top-panel {
        justify-content: center !important;
        height: auto !important;
        padding: 30px 20px !important;
    }

    .site-footer .footer-logo {
        flex: 0 1 auto !important;
        text-align: center !important;
    }

    .site-footer .footer-contact-info.mobile-only {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        order: 10 !important;
        margin-top: 20px !important;
        text-align: left !important;
    }

    .site-footer .mobile-only .footer-socials {
        justify-content: flex-start !important;
        margin-top: 10px !important;
    }

    .site-footer .mobile-only .footer-socials img {
        filter: brightness(0) invert(1) !important;
    }
}

/* Product Manual / Diagrams / Video Styles */
.product-manual-diagrams h3,
.product-manual-video h3 {
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.btn-diagram {
    display: inline-block;
    padding: 12px 24px;
    background: #35CDFF;
    color: #fff !important;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    transition: background 0.3s ease;
}

.btn-diagram:hover {
    background: #28b0dd;
}

.video-container {
    position: relative;
    max-width: 640px;
    /* Standard YouTube width */
    margin: 20px auto;
    /* Centered */
    border-radius: 15px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    border: none;
}

/* Fix for videos added via different containers/inline HTML that might have absolute positioning issues */
.video-responsive {
    position: relative !important;
    padding-bottom: 56.25% !important;
    /* 16:9 aspect ratio */
    height: 0 !important;
    overflow: hidden !important;
    max-width: 640px !important;
    margin: 20px auto !important;
    /* Centered */
    border-radius: 15px !important;
}

.video-responsive iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* PayPal Buttons Mockup Alignment */
.paypal-buttons-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: rgba(19, 24, 30, 0.3);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-transform: lowercase;
}

.paypal-buttons-separator::before,
.paypal-buttons-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(19, 24, 30, 0.1);
}

.paypal-buttons-separator span {
    padding: 0 10px;
}

.paypal-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.paypal-buttons-row>div {
    flex: 1;
    min-width: 0;
}

#ppc-button-ppcp-gateway,
#ppc-button-paylater {
    width: 100% !important;
}

/* Hide Pay Later messaging in our custom row to ensure 50/50 button split */
.paypal-buttons-row .ppc-button-messaging,
.paypal-buttons-row .ppcp-messages {
    display: none !important;
}

/* ==========================================================================
   Checkout Payment Methods — Scrollable Tab Row
   ========================================================================== */

/* Outer scroll container */
.woocommerce-checkout #payment ul.payment_methods.methods {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 16px 0 12px !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
    align-items: flex-start !important;
    row-gap: 0 !important;
}

/* Scrollbar styling (Chrome/Safari) */
.woocommerce-checkout #payment ul.payment_methods.methods::-webkit-scrollbar {
    height: 4px !important;
}

.woocommerce-checkout #payment ul.payment_methods.methods::-webkit-scrollbar-track {
    background: transparent !important;
}

.woocommerce-checkout #payment ul.payment_methods.methods::-webkit-scrollbar-thumb {
    background: #CBD5E0 !important;
    border-radius: 4px !important;
}

/* li becomes a transparent flex pass-through:
   its children (label + payment_box) participate directly
   in the ul's flex context, enabling order:99 to work globally */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method {
    display: contents !important;
}

.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method input[type="radio"] {
    display: none !important;
}

/* Label pill — now a direct flex child of ul (via display:contents on li) */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method>label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 16px !important;
    height: 48px !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #2D3748 !important;
    margin: 0 !important;
    user-select: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

/* Hover state */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method>label:hover {
    border-color: #A0AEC0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Selected/checked state */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method input[type="radio"]:checked+label {
    border-color: #4B82FF !important;
    background-color: #EBF2FF !important;
    color: #1D4ED8 !important;
    box-shadow: 0 4px 15px rgba(75, 130, 255, 0.18) !important;
    font-weight: 600 !important;
}

/* Payment box: full-width row beneath ALL tab pills
   order:99 pushes it to the end of the flex row (after all labels) */
.woocommerce-checkout #payment ul.payment_methods.methods .payment_box {
    flex: 0 0 100% !important;
    width: 100% !important;
    order: 99 !important;
    display: none !important;
    margin-top: 16px !important;
    padding: 20px !important;
    background: #F8FAFC !important;
    border-radius: 16px !important;
    border: 1.5px solid #E2E8F0 !important;
    box-sizing: border-box !important;
}

/* Show only the active payment box */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method input:checked~.payment_box {
    display: block !important;
}

.woocommerce-checkout-payment .wc_payment_method input[type="radio"]:checked~.payment_box {
    display: block !important;
}

/* Payment icon inside label */
.woocommerce-checkout-payment .wc_payment_method .payment-icon img {
    height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

.payment_method_ppcp .payment-title {
    display: none !important;
}

/* Hide text title for PayPal / P-Credit (icon only) */
.wc_payment_method.payment_method_ppcp-gateway label .payment-title,
.wc_payment_method.payment_method_ppcp-pay-later-gateway label .payment-title,
.wc_payment_method.payment_method_mock_paypal label .payment-title,
.wc_payment_method.payment_method_mock_paypal_credit label .payment-title {
    display: none !important;
}

/* Hide card brand icons inside the Credit/Debit Cards tab pill —
   they make the tab too wide and force it to wrap to a second row.
   Icons remain visible inside the expanded payment_box. */
.wc_payment_method.payment_method_ppcp_card>label .payment-icon,
.wc_payment_method.payment_method_ppcp_card>label img,
.wc_payment_method.payment_method_mock_stripe>label .payment-icon,
.wc_payment_method.payment_method_mock_stripe>label img {
    display: none !important;
}

/* ── PayPal pill: show logo centered, no extra title text ── */
.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method.payment_method_ppcp>label {
    padding: 0 18px !important;
    justify-content: center !important;
}

.woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method.payment_method_ppcp>label img {
    display: inline-block !important;
    height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

/* Mobile: smaller pills, same scroll behavior */
@media (max-width: 768px) {
    .woocommerce-checkout #payment ul.payment_methods.methods {
        gap: 6px !important;
        padding-bottom: 10px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods.methods li.wc_payment_method>label {
        font-size: 12px !important;
        padding: 0 12px !important;
        height: 42px !important;
    }
}


/* Offer Popup Styles */
.offer-popup {
    width: 750px !important;
    border-radius: 40px !important;
}

.offer-product-summary {
    display: block !important;
    background: #F7FAFC !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

.offer-product-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    color: #111821 !important;
    font-weight: 700 !important;
}

.offer-product-pricing {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.offer-current-price {
    font-size: 20px;
    font-weight: 700;
    color: #111821;
}

.offer-market-price {
    font-size: 14px;
    color: #6F7172;
    text-decoration: line-through;
}

.offer-savings {
    font-size: 14px;
    color: #FF4B4B;
    font-weight: 600;
}

.offer-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-form-grid .offer-form-row {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.offer-form-row label {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
    color: #111821 !important;
}

.offer-form-row .input-text {
    width: 100% !important;
    margin: 0 !important;
}

.offer-form-grid label {
    margin-bottom: 0 !important;
}

.offer-popup .form-action {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.offer-popup .button-primary {
    width: 140px !important;
    color: #fff !important;
}

.offer-popup .button-primary:hover {
    background: #2D3748 !important;
}

.back-to-details {
    margin-top: 25px;
    text-align: center;
}

.back-to-details a {
    font-size: 14px;
    color: #6F7172;
    text-decoration: underline;
}

.offer-success-msg {
    text-align: center;
    padding: 20px;
    background: #F0FFF4;
    border-radius: 16px;
    color: #2F855A;
    font-weight: 600;
}

@media (max-width: 640px) {
    .offer-popup {
        width: calc(100% - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        margin: 0 auto !important;
    }

    .offer-form-grid .offer-form-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* Centered Modal Styles for Offer Popup */
.offer-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto !important;
    padding: 60px 20px !important;
    -webkit-overflow-scrolling: touch;
}

.offer-popup-wrapper.active {
    display: flex !important;
}

.offer-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 33, 0.8);
    backdrop-filter: blur(4px);
}

.offer-popup-wrapper .offer-popup {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 100% !important;
}

/* End of file */
/* Force header container width to be consistent across all pages (overriding Elementor/WooCommerce overrides) */
body .site-header .container,
body.woocommerce .site-header .container,
body.elementor-page .site-header .container {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

body .site-header .header-main-bar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Force header fonts and styles */
body .site-header,
body .site-header * {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.woocommerce span.onsale {
    background: #FF355E;
    color: #FFFFFF;
    position: relative !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
}

/* ==========================================================================
   Google Places Autocomplete Dropdown Fix
   ========================================================================== */

/* Force Google Places dropdown above all checkout elements */
.pac-container {
    z-index: 1000000 !important;
    border-radius: 12px !important;
    border: 1px solid #E9ECEF !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}

.pac-item {
    padding: 10px 16px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    border-top: 1px solid #F1F5F9 !important;
    line-height: 1.5 !important;
    color: #2D3748 !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item:hover,
.pac-item-selected {
    background: #F8F9FA !important;
}

.pac-item-query {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #13181E !important;
    padding-right: 6px !important;
}

.pac-icon {
    margin-top: 2px !important;
}

/* Ensure billing fields wrapper doesn't clip the dropdown */
.woocommerce-billing-fields,
.woocommerce-billing-fields__field-wrapper {
    overflow: visible !important;
}

/* Prevent form-row elements from covering the dropdown */
.woocommerce-checkout .form-row {
    position: relative !important;
    z-index: auto !important;
}

/* billing_address_1 gets higher stacking context when focused */
.woocommerce-checkout #billing_address_1:focus {
    position: relative !important;
    z-index: 1 !important;
}

/* Center "Shipping address is different" checkbox */
#ship-to-different-address {
    margin-bottom: 16px !important;
}

#ship-to-different-address label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #2D3748 !important;
}

/* ── Unified Popup Search Bar ──────────────────────────────────────────── */
.popup-search-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 32px;
    border-bottom: 1px solid #E2E8F0;
    background: #111821;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.popup-search-inner {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1E2837;
    border-radius: 33px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s;
}

.popup-search-inner:focus-within {
    border-color: rgba(69, 132, 255, 0.5);
}

.popup-search-icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    flex-shrink: 0;
}

.popup-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 16px;
    width: 100%;
    font-family: inherit;
}

.popup-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.popup-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.popup-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* List dividers in category sidebar */
.category-list .list-divider {
    padding: 8px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748B;
    background: #F1F5F9;
    text-transform: uppercase;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 991px) {
    .popup-search-bar {
        padding: 12px 16px;
    }

    .popup-search-inner {
        height: 44px;
        padding: 0 16px;
    }

    .popup-search-input {
        font-size: 14px;
    }
}