/*
Theme Name: Pharmacy Mentor Child
Template: pharmacymentor
Author: Pharmacy Mentor
Author URI: https://www.pharmacymentor.com/
Description: Child theme for Lemon Pill - Custom Single Product Redesign & Fixes.
Version: 1.0.0
Text Domain: pharmacymentor-child
*/

/* ==========================================================================
   1. BRAND COLOR PALETTE & VARIABLES
   ========================================================================== */
:root {
    --lp-yellow: #ebdd46;
    --lp-yellow-hover: #d6b533;
    --lp-yellow-light: #fff9d2;
    --lp-black: #111111;
    --lp-dark: #222222;
    --lp-text: #374151;
    --lp-text-muted: #6b7280;
    --lp-border: #e5e7eb;
    --lp-bg-subtle: #f9fafb;
    --lp-radius: 8px;
    --lp-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    --lp-shadow-yellow: 0 4px 14px rgba(235, 221, 70, 0.45);
}

/* ==========================================================================
   2. HEADER & TOPBAR ENHANCEMENTS & RESPONSIVE POLISH
   ========================================================================== */
/* Failsafe utility class from parent theme */
.color-black {
    color: #000000 !important;
}

/* Ensure topbar background is brand yellow */
.site-header .topbar,
.header-style-3 .topbar {
    background-color: var(--lp-yellow, #ebdd46) !important;
    padding: 8px 0 !important;
}

/* Topbar text, email, phone numbers, icons, and separators */
.site-header .topbar,
.site-header .topbar a,
.site-header .topbar li,
.site-header .topbar span,
.site-header .topbar i,
.header-style-3 .topbar,
.header-style-3 .topbar a,
.header-style-3 .topbar li,
.header-style-3 .topbar span,
.header-style-3 .topbar i,
.header-socials,
.header-socials > li,
.header-socials > li a,
.header-socials a,
.header-socials i {
    color: #111111 !important;
}

.header-socials a:hover,
.site-header .topbar a:hover {
    color: #000000 !important;
    opacity: 0.75;
}

/* Desktop Contact List Styling */
.header-socials {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-socials > li {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

.header-socials > li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.header-socials > li a + a {
    margin-left: 12px !important;
}

.header-socials > li + li {
    border-left: 1px solid rgba(0, 0, 0, 0.25) !important;
    padding-left: 14px !important;
    margin-left: 14px !important;
}

/* Header Topbar CTA & NHS Branding */
.topbar .header-cta-block {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.nhsTopBar {
    max-height: 34px !important;
    width: auto !important;
    margin: 0 !important;
    display: inline-block !important;
}

.topbar .header-cta-block .theme-btn {
    display: inline-block !important;
    background-color: var(--lp-yellow, #ebdd46) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.topbar .header-cta-block .theme-btn:hover {
    background-color: var(--lp-yellow-hover, #d6b533) !important;
    color: #000000 !important;
}

/* --- Mobile & Tablet Topbar Polish (Clean 2-Row Stack) --- */
@media (max-width: 991px) {
    .site-header .topbar,
    .header-style-3 .topbar {
        padding: 10px 0 !important;
        background-color: var(--lp-yellow, #ebdd46) !important;
        text-align: center !important;
    }

    .topbar .row {
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* Row 1: Contact Information */
    .header-socials {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px 14px !important;
        margin: 0 auto !important;
    }

    .header-socials > li {
        font-size: 12.5px !important;
        margin: 0 !important;
    }

    /* Remove the dangling pipe line on mobile */
    .header-socials > li + li {
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .header-socials > li a + a {
        margin-left: 10px !important;
    }

    /* Row 2: NHS Badge & CTA Buttons */
    .topbar .header-cta-block {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 4px auto 0 auto !important;
        padding-top: 6px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
        width: 100% !important;
        max-width: 360px !important;
    }

    .nhsTopBar {
        max-height: 28px !important;
    }

    .topbar .header-cta-block .theme-btn {
        background-color: var(--lp-yellow, #ebdd46) !important;
        color: #000000 !important;
        border: none !important;
        border-radius: 0px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        box-shadow: none !important;
    }
}

/* Main Navigation Menu links - Crisp Black */
.site-header #navbar > ul > li > a,
.site-header .navigation-holder > ul > li > a,
.header-style-3 #navbar > ul > li > a,
.site-header .navbar-nav > li > a,
.site-header .navigation-holder a {
    color: #000000 !important;
    font-weight: 500 !important;
}

.site-header #navbar > ul > li > a:hover,
.site-header .navigation-holder > ul > li > a:hover,
.header-style-3 #navbar > ul > li > a:hover {
    color: #555555 !important;
}

/* ==========================================================================
   3. HIDE UNWANTED WIDGETS / BLOGS / SEARCH ON PRODUCT PAGES
   ========================================================================== */
/* Failsafe to eliminate any stray widget/sidebar dumped below single product */
.single-product .widget.about-widget,
.single-product .widget,
.single-product .wp-block-search,
.single-product .wp-block-latest-posts,
.single-product .wp-block-latest-comments,
.single-product .wp-block-woocommerce-filter-wrapper {
    display: none !important;
}

/* Ensure single product container is full-width, clean, and well-padded */
.single-product .container.mt-5.mb-5,
.single-product-wrap {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.single-product .site-main,
.single-product div.product {
    margin-bottom: 40px;
}

/* ==========================================================================
   3. PRODUCT GALLERY & SALE BADGE
   ========================================================================== */
.single-product div.product div.images {
    position: relative;
    margin-bottom: 30px;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper {
    border-radius: var(--lp-radius);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
}

.single-product div.product div.images img {
    border-radius: var(--lp-radius);
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Modern Sale Badge */
.woocommerce span.onsale,
.single-product span.onsale {
    background-color: var(--lp-yellow) !important;
    color: var(--lp-black) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 6px 14px !important;
    min-height: unset !important;
    line-height: 1.2 !important;
    border-radius: 30px !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    z-index: 9;
}

/* Thumbnails Strip */
.single-product div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
}

.single-product div.product div.images .flex-control-thumbs li {
    flex: 0 0 70px;
    width: 70px !important;
    margin: 0 !important;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.single-product div.product div.images .flex-control-thumbs li img {
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.single-product div.product div.images .flex-control-thumbs li img.flex-active,
.single-product div.product div.images .flex-control-thumbs li:hover img {
    opacity: 1;
    border-color: var(--lp-yellow);
}

/* ==========================================================================
   4. PRODUCT SUMMARY & TYPOGRAPHY
   ========================================================================== */
.single-product div.product .summary.entry-summary {
    padding-left: 15px;
}

@media (min-width: 992px) {
    .single-product div.product .summary.entry-summary {
        padding-left: 35px;
    }
}

.single-product .summary h1.product_title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--lp-black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.single-product .woocommerce-product-details__short-description {
    color: var(--lp-text);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.single-product .woocommerce-product-details__short-description h3 {
    display: none; /* Prevent duplicate heading if plugin/content inserts product title again */
}

/* Price Display */
.single-product div.product p.price,
.single-product div.product span.price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--lp-black) !important;
    margin-bottom: 22px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
}

.single-product div.product p.price del,
.single-product div.product span.price del {
    font-size: 18px !important;
    color: var(--lp-text-muted) !important;
    font-weight: 500 !important;
    opacity: 0.75;
}

.single-product div.product p.price ins,
.single-product div.product span.price ins {
    text-decoration: none !important;
    color: var(--lp-black) !important;
}

.single-product div.product .woocommerce-Price-amount bdi {
    width: auto !important;
    padding-bottom: 0 !important;
}

/* ==========================================================================
   5. ADD TO BASKET BUTTON & QUANTITY SELECTOR (REPLACING PURPLE)
   ========================================================================== */
.single-product div.product form.cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 24px 0 !important;
    padding: 18px 0 !important;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

/* Modern Quantity Input */
.single-product div.product form.cart div.quantity {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.single-product div.product form.cart .quantity input.qty {
    width: 68px !important;
    height: 48px !important;
    border: 1px solid var(--lp-border) !important;
    border-radius: var(--lp-radius) !important;
    background: #ffffff !important;
    color: var(--lp-black) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 0 8px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.single-product div.product form.cart .quantity input.qty:focus {
    outline: none !important;
    border-color: var(--lp-yellow) !important;
    box-shadow: 0 0 0 3px rgba(235, 221, 70, 0.3) !important;
}

/* BRAND SIGNATURE ADD TO BASKET BUTTON (Lemon Yellow + Crisp Dark Text) */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .cart .button,
.woocommerce .single_add_to_cart_button {
    background: var(--lp-yellow) !important;
    background-color: var(--lp-yellow) !important;
    color: var(--lp-black) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 32px !important;
    border: none !important;
    border-radius: var(--lp-radius) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: var(--lp-shadow-yellow) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
    background: var(--lp-yellow-hover) !important;
    background-color: var(--lp-yellow-hover) !important;
    color: var(--lp-black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(214, 181, 51, 0.5) !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:active,
.woocommerce .single_add_to_cart_button:active {
    transform: translateY(0) !important;
}

/* PayPal Button Alignment */
.single-product .ppc-button-wrapper {
    margin-top: 14px !important;
    max-width: 420px !important;
}

/* ==========================================================================
   6. PHARMACY TRUST BADGES / ASSURANCE STRIP
   ========================================================================== */
.lp-product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    background: var(--lp-bg-subtle);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-dark);
    line-height: 1.3;
}

.lp-trust-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--lp-yellow-light);
    color: #857200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 576px) {
    .lp-product-trust-badges {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================================
   7. PRODUCT METADATA (Categories, Tags, Brands)
   ========================================================================== */
.single-product .product_meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--lp-border);
    font-size: 13px;
    color: var(--lp-text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-product .product_meta > span {
    display: block;
    line-height: 1.5;
}

.single-product .product_meta strong,
.single-product .product_meta span.posted_in,
.single-product .product_meta span.tagged_as,
.single-product .product_meta .berocket_brand_line {
    font-weight: 600;
    color: var(--lp-black);
}

.single-product .product_meta a {
    color: var(--lp-text);
    text-decoration: none;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin: 0 4px 4px 0;
    display: inline-block;
    transition: all 0.2s ease;
}

.single-product .product_meta a:hover {
    background: var(--lp-yellow);
    color: var(--lp-black);
}

/* ==========================================================================
   8. PRODUCT TABS (Description, Reviews, Additional Info)
   ========================================================================== */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid var(--lp-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 8px !important;
    border-bottom: 2px solid var(--lp-border) !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
    background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--lp-text-muted) !important;
    text-decoration: none !important;
    position: relative !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--lp-black) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--lp-black) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: var(--lp-yellow) !important;
    border-radius: 3px 3px 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: var(--lp-text) !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-black);
    margin-bottom: 16px;
}

/* ==========================================================================
   9. RELATED PRODUCTS GRID (FIXING PARENT THEME 50% FLOAT BUG)
   ========================================================================== */
.single-product section.related.products,
.product-type-simple section.related.products {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid var(--lp-border) !important;
}

.single-product section.related.products > h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--lp-black);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.single-product section.related.products > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--lp-yellow);
    border-radius: 2px;
}

/* Related Products Grid Layout */
.single-product section.related.products ul.products,
.woocommerce section.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    clear: both !important;
}

/* CRITICAL: Hide WooCommerce ::before and ::after pseudo-elements so they do not occupy grid cells */
.single-product section.related.products ul.products::before,
.single-product section.related.products ul.products::after,
.woocommerce section.related.products ul.products::before,
.woocommerce section.related.products ul.products::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 991px) {
    .single-product section.related.products ul.products,
    .woocommerce section.related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 575px) {
    .single-product section.related.products ul.products,
    .woocommerce section.related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

.single-product section.related.products ul.products li.product,
.woocommerce section.related.products ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border: 1px solid var(--lp-border) !important;
    border-radius: var(--lp-radius) !important;
    padding: 20px 16px 72px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 420px !important;
    box-shadow: var(--lp-shadow) !important;
    position: relative !important;
    transition: all 0.25s ease !important;
}

.single-product section.related.products ul.products li.product:hover,
.woocommerce section.related.products ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.single-product section.related.products ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce section.related.products ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}

.single-product section.related.products ul.products li.product img,
.woocommerce section.related.products ul.products li.product img {
    height: 170px !important;
    max-height: 170px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto 16px auto !important;
    display: block !important;
}

.single-product section.related.products ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce section.related.products ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--lp-black) !important;
    margin: 0 0 10px 0 !important;
    min-height: 44px !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.single-product section.related.products ul.products li.product .price,
.woocommerce section.related.products ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--lp-black) !important;
    margin: 0 0 12px 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.single-product section.related.products ul.products li.product .button,
.woocommerce section.related.products ul.products li.product .button {
    position: absolute !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    width: calc(100% - 32px) !important;
    transform: none !important;
    background: var(--lp-yellow) !important;
    background-color: var(--lp-yellow) !important;
    color: var(--lp-black) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 2px 8px rgba(235, 221, 70, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.single-product section.related.products ul.products li.product .button:hover,
.woocommerce section.related.products ul.products li.product .button:hover {
    background: var(--lp-yellow-hover) !important;
    background-color: var(--lp-yellow-hover) !important;
    color: var(--lp-black) !important;
    box-shadow: 0 4px 12px rgba(214, 181, 51, 0.45) !important;
}

/* ==========================================================================
   10. WOOCOMMERCE SHOP ARCHIVE PAGE REDESIGN
   ========================================================================== */

/* Container Spacing & Layout */
.shop-main-container,
.archive.woocommerce .container.mt-4.mt-md-5,
.tax-product_cat.woocommerce .container.mt-4.mt-md-5,
.post-type-archive-product .container.mt-4.mt-md-5 {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 60px !important;
}

.shop-main-container > .row,
.archive.woocommerce .container.mt-4.mt-md-5 > .row,
.post-type-archive-product .container.mt-4.mt-md-5 > .row {
    align-items: flex-start !important;
}

/* --------------------------------------------------------------------------
   A. FILTER SIDEBAR (BRANDS & ATTRIBUTES)
   -------------------------------------------------------------------------- */
/* Reset the 140px push-down from responsive.css and position nicely */
.filterwidget {
    padding-top: 0 !important;
    margin-bottom: 30px !important;
}

@media (min-width: 992px) {
    .filterwidget {
        position: sticky !important;
        top: 100px !important;
        z-index: 10 !important;
    }
}

/* Elevated Clean Filter Card */
.filterwidget .widget_wpc_filters_widget,
.filterwidget .wpc-filters-main-wrap {
    background: #ffffff !important;
    border: 1px solid var(--lp-border, #e5e7eb) !important;
    border-radius: 12px !important;
    padding: 22px 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

/* Filter Widget Title (e.g. Brands) */
.filterwidget .wpc-filter-header,
.filterwidget .wpc-filter-title,
.filterwidget .widget-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--lp-yellow, #ebdd46) !important;
    letter-spacing: -0.01em !important;
    display: block !important;
}

/* Filter Checkbox Lists */
.filterwidget .wpc-filters-ul-list,
.filterwidget ul.wpc-filters-checkboxes {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.filterwidget .wpc-checkbox-item {
    margin-bottom: 8px !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f8fafc !important;
    transition: all 0.2s ease !important;
}

.filterwidget .wpc-term-item-content-wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* Checkbox Inputs */
.filterwidget input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--lp-yellow, #ebdd46) !important;
    margin: 0 10px 0 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.filterwidget label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Brand Link Text - CRISP DARK / BLACK (Overriding global yellowish link color #b99a1d) */
.filterwidget a.wpc-filter-link,
.filterwidget .wpc-filter-link {
    color: #1f2937 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.filterwidget .wpc-checkbox-item:hover a.wpc-filter-link,
.filterwidget a.wpc-filter-link:hover {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Filter Counts Badge */
.filterwidget .wpc-term-count-brackets-open,
.filterwidget .wpc-term-count-brackets-close {
    display: none !important;
}

.filterwidget .wpc-term-count,
.filterwidget .wpc-term-count-value {
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    margin-left: auto !important;
    display: inline-block !important;
}

/* Filter Action Buttons */
.filterwidget .wpc-filters-widget-controls-wrapper {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--lp-border, #e5e7eb) !important;
    display: flex !important;
    gap: 8px !important;
}

.filterwidget .wpc-filters-apply-button {
    flex: 1 !important;
    background: var(--lp-yellow, #ebdd46) !important;
    background-color: var(--lp-yellow, #ebdd46) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(235, 221, 70, 0.35) !important;
    transition: all 0.2s ease !important;
}

.filterwidget .wpc-filters-apply-button:hover {
    background: var(--lp-yellow-hover, #d6b533) !important;
    background-color: var(--lp-yellow-hover, #d6b533) !important;
    color: #000000 !important;
}

.filterwidget .wpc-filters-close-button {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.filterwidget .wpc-filters-close-button:hover {
    background: #e2e8f0 !important;
    color: #111111 !important;
}

/* Active Filter Chips */
.filterwidget .wpc-filter-chips-list li a,
.wpc-custom-selected-terms .wpc-filter-chips-list li a {
    background: var(--lp-yellow-light, #fff9d2) !important;
    border: 1px solid var(--lp-yellow, #ebdd46) !important;
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
}

.filterwidget a[href*="action=edit"] {
    color: #94a3b8 !important;
    font-size: 12px !important;
    margin-top: 10px !important;
    display: inline-block !important;
}

/* --------------------------------------------------------------------------
   B. SHOP HEADING & SORTING BAR (.filter_cat)
   -------------------------------------------------------------------------- */
.filter_cat .shop-page-title,
.filter_cat > h1,
.archive.woocommerce .filter_cat > h1,
.post-type-archive-product .filter_cat > h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

/* Results count */
.filter_cat .woocommerce-result-count,
.archive.woocommerce .woocommerce-result-count,
.post-type-archive-product .woocommerce-result-count {
    color: #64748b !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    margin: 10px 0 20px 0 !important;
    float: left !important;
}

/* Ordering select - Clean modern white select with chevron */
.filter_cat .woocommerce-ordering,
.archive.woocommerce .woocommerce-ordering,
.post-type-archive-product .woocommerce-ordering {
    float: right !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select,
.filter_cat .woocommerce-ordering select.orderby,
.post-type-archive-product .woocommerce-ordering select.orderby {
    vertical-align: middle !important;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat calc(100% - 14px) center !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 10px 38px 10px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce .woocommerce-ordering select:hover,
.filter_cat .woocommerce-ordering select.orderby:hover {
    border-color: var(--lp-yellow, #ebdd46) !important;
}

.woocommerce .woocommerce-ordering select:focus,
.filter_cat .woocommerce-ordering select.orderby:focus {
    border-color: var(--lp-yellow, #ebdd46) !important;
    box-shadow: 0 0 0 3px rgba(235, 221, 70, 0.3) !important;
}

@media (max-width: 600px) {
    .filter_cat .woocommerce-result-count,
    .filter_cat .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .filter_cat .woocommerce-ordering select.orderby {
        width: 100% !important;
    }
}

/* Base Product Grid - Modern CSS Grid */
.filter_cat ul.products,
.archive.woocommerce ul.products,
.archive.woocommerce .filter_cat ul.products,
.post-type-archive-product ul.products,
.post-type-archive-product .filter_cat ul.products,
.tax-product_cat ul.products,
.tax-product_cat .filter_cat ul.products,
.woocommerce-page ul.products,
.woocommerce-page .filter_cat ul.products,
.shop-main-container ul.products,
.woocommerce ul.products {
    display: grid !important;
    gap: 20px !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
    width: 100% !important;
}

/* Suppress pseudo-elements that steal grid slots */
.filter_cat ul.products::before,
.filter_cat ul.products::after,
.post-type-archive-product ul.products::before,
.post-type-archive-product ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

/* Desktop (> 1200px): 4 Columns */
@media (min-width: 1201px) {
    .filter_cat ul.products,
    .archive.woocommerce ul.products,
    .archive.woocommerce .filter_cat ul.products,
    .post-type-archive-product ul.products,
    .post-type-archive-product .filter_cat ul.products,
    .tax-product_cat ul.products,
    .tax-product_cat .filter_cat ul.products,
    .woocommerce-page ul.products,
    .woocommerce-page .filter_cat ul.products,
    .shop-main-container ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }
}

/* Laptop (992px - 1200px): 3 Columns */
@media (min-width: 992px) and (max-width: 1200px) {
    .filter_cat ul.products,
    .archive.woocommerce ul.products,
    .archive.woocommerce .filter_cat ul.products,
    .post-type-archive-product ul.products,
    .post-type-archive-product .filter_cat ul.products,
    .tax-product_cat ul.products,
    .tax-product_cat .filter_cat ul.products,
    .woocommerce-page ul.products,
    .woocommerce-page .filter_cat ul.products,
    .shop-main-container ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }
}

/* Tablet (769px - 991px): 2 Columns */
@media (min-width: 769px) and (max-width: 991px) {
    .filter_cat ul.products,
    .archive.woocommerce ul.products,
    .archive.woocommerce .filter_cat ul.products,
    .post-type-archive-product ul.products,
    .post-type-archive-product .filter_cat ul.products,
    .tax-product_cat ul.products,
    .tax-product_cat .filter_cat ul.products,
    .woocommerce-page ul.products,
    .woocommerce-page .filter_cat ul.products,
    .shop-main-container ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* Mobile (<= 768px): ONE ROW ONE PRODUCT (Single Column Full Width) */
@media (max-width: 768px) {
    .filter_cat ul.products,
    .archive.woocommerce ul.products,
    .archive.woocommerce .filter_cat ul.products,
    .post-type-archive-product ul.products,
    .post-type-archive-product .filter_cat ul.products,
    .tax-product_cat ul.products,
    .tax-product_cat .filter_cat ul.products,
    .woocommerce-page ul.products,
    .woocommerce-page .filter_cat ul.products,
    .shop-main-container ul.products,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-bottom: 30px !important;
    }
}

/* --------------------------------------------------------------------------
   D. PRODUCT CARD STYLING
   -------------------------------------------------------------------------- */
.filter_cat ul.products li.product,
.post-type-archive-product .filter_cat ul.products li.product,
.tax-product_cat .filter_cat ul.products li.product,
.woocommerce-page .filter_cat ul.products li.product,
.archive.woocommerce .filter_cat ul.products li.product,
.shop-main-container ul.products li.product,
.woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border: 1px solid var(--lp-border, #e5e7eb) !important;
    border-radius: 12px !important;
    padding: 18px 14px 72px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 420px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.filter_cat ul.products li.product:hover,
.post-type-archive-product .filter_cat ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09) !important;
    border-color: #cbd5e1 !important;
}

/* Sale Badge */
.filter_cat ul.products li.product span.onsale,
.post-type-archive-product ul.products li.product span.onsale,
.woocommerce ul.products li.product span.onsale {
    background-color: var(--lp-yellow, #ebdd46) !important;
    color: #111111 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 4px 10px !important;
    min-height: unset !important;
    min-width: unset !important;
    line-height: 1.2 !important;
    border-radius: 20px !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    z-index: 2 !important;
}

/* Product Card Anchor Link */
.filter_cat ul.products li.product a.woocommerce-LoopProduct-link,
.post-type-archive-product .filter_cat ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
    flex: 1 !important;
}

/* Product Image */
.filter_cat ul.products li.product img,
.post-type-archive-product .filter_cat ul.products li.product img,
.woocommerce ul.products li.product img {
    height: 175px !important;
    max-height: 175px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto 14px auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.filter_cat ul.products li.product:hover img,
.woocommerce ul.products li.product:hover img {
    transform: scale(1.04) !important;
}

/* Product Title */
.filter_cat ul.products li.product h2.woocommerce-loop-product__title,
.post-type-archive-product .filter_cat ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 0 0 10px 0 !important;
    min-height: 42px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
    padding: 0 4px !important;
    transition: color 0.2s ease !important;
}

.filter_cat ul.products li.product:hover h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover h2.woocommerce-loop-product__title {
    color: #000000 !important;
}

/* Product Price */
.filter_cat ul.products li.product .price,
.post-type-archive-product .filter_cat ul.products li.product .price,
.woocommerce ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 12px 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 24px !important;
}

.filter_cat ul.products li.product .price del,
.filter_cat ul.products li.product .price del .amount,
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

.filter_cat ul.products li.product .price ins,
.filter_cat ul.products li.product .price ins .amount,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .amount {
    color: #111111 !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Reset parent theme bdi width: 75px & padding-bottom: 30px bugs */
.filter_cat .woocommerce-Price-amount bdi,
.filter_cat .price span,
.post-type-archive-product .woocommerce-Price-amount bdi,
.woocommerce .woocommerce-Price-amount bdi {
    padding-bottom: 0 !important;
    width: auto !important;
    display: inline-block !important;
}

/* Loop Buttons (Add to basket / Select options) - Signature Brand Yellow */
.filter_cat ul.products li.product .button,
.post-type-archive-product ul.products li.product .button,
.woocommerce-page .filter_cat ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
.archive.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .button {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    right: 14px !important;
    width: calc(100% - 28px) !important;
    transform: none !important;
    background: var(--lp-yellow, #ebdd46) !important;
    background-color: var(--lp-yellow, #ebdd46) !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: auto !important;
    min-height: 40px !important;
    line-height: 1.25 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 2px 8px rgba(235, 221, 70, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    border: none !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.filter_cat ul.products li.product .button:hover,
.post-type-archive-product ul.products li.product .button:hover,
.woocommerce-page .filter_cat ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.archive.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:hover {
    background: var(--lp-yellow-hover, #d6b533) !important;
    background-color: var(--lp-yellow-hover, #d6b533) !important;
    color: #000000 !important;
    box-shadow: 0 4px 14px rgba(214, 181, 51, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* View Basket Link after AJAX Add to Cart */
.filter_cat ul.products li.product a.added_to_cart.wc-forward,
.post-type-archive-product ul.products li.product a.added_to_cart.wc-forward,
.woocommerce ul.products li.product a.added_to_cart.wc-forward {
    position: absolute !important;
    bottom: 56px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    text-decoration: underline !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    width: fit-content !important;
    margin: 0 auto !important;
}

/* --- MOBILE SPECIFIC ENHANCEMENTS FOR SHOP ARCHIVE --- */
@media (max-width: 768px) {
    .shop-main-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-top: 15px !important;
        margin-bottom: 35px !important;
    }

    .filter_cat .shop-page-title,
    .filter_cat > h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    .filter_cat .woocommerce-result-count {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        float: none !important;
    }

    .filter_cat .woocommerce-ordering,
    .woocommerce-ordering {
        width: 100% !important;
        float: none !important;
        margin-bottom: 16px !important;
    }

    .filter_cat .woocommerce-ordering select.orderby,
    .woocommerce-ordering select.orderby {
        width: 100% !important;
        font-size: 13.5px !important;
        padding: 10px 14px !important;
    }

    /* Product Card Proportions on Mobile (Clean 1-per-row full-width layout) */
    .filter_cat ul.products li.product,
    .post-type-archive-product .filter_cat ul.products li.product,
    .post-type-archive-product ul.products li.product,
    .tax-product_cat .filter_cat ul.products li.product,
    .tax-product_cat ul.products li.product,
    .woocommerce-page .filter_cat ul.products li.product,
    .woocommerce-page ul.products li.product,
    .archive.woocommerce .filter_cat ul.products li.product,
    .archive.woocommerce ul.products li.product,
    .shop-main-container ul.products li.product,
    .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px 72px 16px !important;
        min-height: 350px !important;
        border-radius: 12px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05) !important;
    }

    /* Product Image in 1-per-row Mobile Card */
    .filter_cat ul.products li.product img,
    .post-type-archive-product .filter_cat ul.products li.product img,
    .tax-product_cat ul.products li.product img,
    .woocommerce ul.products li.product img {
        height: 160px !important;
        max-height: 160px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto 12px auto !important;
    }

    /* Product Title on Mobile (Single Column) */
    .filter_cat ul.products li.product h2.woocommerce-loop-product__title,
    .post-type-archive-product .filter_cat ul.products li.product h2.woocommerce-loop-product__title,
    .tax-product_cat ul.products li.product h2.woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 15px !important;
        min-height: unset !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        padding: 0 4px !important;
    }

    /* Product Price on Mobile */
    .filter_cat ul.products li.product .price,
    .post-type-archive-product .filter_cat ul.products li.product .price,
    .tax-product_cat ul.products li.product .price,
    .woocommerce ul.products li.product .price {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        min-height: unset !important;
        gap: 6px !important;
    }

    .filter_cat ul.products li.product .price ins .amount,
    .tax-product_cat ul.products li.product .price ins .amount,
    .woocommerce ul.products li.product .price ins .amount {
        font-size: 17px !important;
        font-weight: 800 !important;
    }

    .filter_cat ul.products li.product .price del .amount,
    .tax-product_cat ul.products li.product .price del .amount,
    .woocommerce ul.products li.product .price del .amount {
        font-size: 13.5px !important;
    }

    /* Sale Badge on Mobile */
    .filter_cat ul.products li.product span.onsale,
    .post-type-archive-product ul.products li.product span.onsale,
    .tax-product_cat ul.products li.product span.onsale,
    .woocommerce ul.products li.product span.onsale {
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        top: 12px !important;
        left: 12px !important;
    }

    /* Mobile CTA Button - Full width pill/rectangle inside card */
    .filter_cat ul.products li.product .button,
    .post-type-archive-product ul.products li.product .button,
    .woocommerce-page .filter_cat ul.products li.product .button,
    .tax-product_cat .filter_cat ul.products li.product .button,
    .tax-product_cat ul.products li.product .button,
    .shop-main-container ul.products li.product .button,
    .woocommerce ul.products li.product a.button,
    .woocommerce-page ul.products li.product a.button,
    .archive.woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .button {
        position: absolute !important;
        bottom: 14px !important;
        left: 14px !important;
        right: 14px !important;
        width: calc(100% - 28px) !important;
        height: 42px !important;
        min-height: 42px !important;
        line-height: 42px !important;
        padding: 0 16px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 6px !important;
    }

    .filterwidget {
        margin-bottom: 18px !important;
    }
}

/* --------------------------------------------------------------------------
   E. PAGINATION (.woocommerce-pagination)
   -------------------------------------------------------------------------- */
.woocommerce .woocommerce-pagination,
.woocommerce-page .woocommerce-pagination,
.filter_cat .woocommerce-pagination,
.post-type-archive-product .woocommerce-pagination {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    justify-content: center !important;
    clear: both !important;
}

.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    float: none !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    background: #ffffff !important;
    border: 1px solid var(--lp-border, #e5e7eb) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: var(--lp-yellow, #ebdd46) !important;
    border-color: var(--lp-yellow, #ebdd46) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(235, 221, 70, 0.35) !important;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: #f8fafc !important;
    border-color: var(--lp-yellow, #ebdd46) !important;
    color: #000000 !important;
}

/* ==========================================================================
   11. FOOTER TRUST & PAYMENT LOGOS / BADGES
   ========================================================================== */
.site-footer .footer-badges-wrap,
.site-footer .footer-trust-badges-list,
.site-footer .upper-footer .col-12.text-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    margin-top: 25px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.site-footer .footer-badge-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Restrict huge image sizes and style into elegant trust badges */
.site-footer .card-img,
.site-footer .footer-logo-img,
.site-footer img.card-img,
.site-footer img.footer-logo-img,
.site-footer .footer-badge-item img,
.site-footer .upper-footer img.img-fluid {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    display: inline-block !important;
    background: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    margin: 4px 6px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.site-footer .card-img:hover,
.site-footer .footer-logo-img:hover,
.site-footer img.card-img:hover,
.site-footer img.footer-logo-img:hover,
.site-footer .footer-badge-item img:hover,
.site-footer .upper-footer img.img-fluid:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 575px) {
    .site-footer .card-img,
    .site-footer .footer-logo-img,
    .site-footer img.card-img,
    .site-footer img.footer-logo-img,
    .site-footer .footer-badge-item img,
    .site-footer .upper-footer img.img-fluid {
        height: 40px !important;
        max-height: 40px !important;
        max-width: 135px !important;
        padding: 4px 8px !important;
    }
}

/* ==========================================================================
   12. HOME PAGE HERO BANNER REDESIGN (MOBILE & DESKTOP ENHANCEMENTS)
   ========================================================================== */

/* --- 12.1 Container & Slide Proportions --- */
.hero-slider,
.hero-slider.hero-style-2,
.hero-style-2 {
    position: relative !important;
    width: 100% !important;
    height: 580px !important;
    min-height: 580px !important;
    overflow: hidden !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-slider,
    .hero-slider.hero-style-2,
    .hero-style-2 {
        height: 520px !important;
        min-height: 520px !important;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slider.hero-style-2,
    .hero-style-2 {
        height: 495px !important;
        min-height: 495px !important;
    }
}

@media (max-width: 380px) {
    .hero-slider,
    .hero-slider.hero-style-2,
    .hero-style-2 {
        height: 475px !important;
        min-height: 475px !important;
    }
}

/* --- 12.2 Slide Inner & Background Framing --- */
.hero-slider .slide-inner {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background-size: cover !important;
    background-position: center center !important;
}

.hero-slider .bg-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.hero-slider .bg-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    object-position: center center !important;
}

/* Desktop: Shift subject to right so left side text doesn't overlap faces/subjects */
@media (min-width: 992px) {
    .hero-slider .bg-image img {
        object-position: 72% center !important;
    }
}

/* Mobile: Center the subject and vertically center all slide content (height-wise) */
@media (max-width: 767px) {
    .hero-slider,
    .hero-slider.hero-style-2,
    .hero-style-2 {
        height: 505px !important;
        min-height: 505px !important;
    }

    .hero-slider .bg-image img {
        object-position: center center !important;
    }

    .hero-slider .slide-inner {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* --- 12.3 High-Contrast Natural Gradient Overlay --- */
/* Overlay sits at z-index: 2, strictly BEHIND the text container (z-index: 10) */
.hero-slider .slide-inner:before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        rgba(10, 18, 26, 0.84) 0%,
        rgba(10, 18, 26, 0.68) 40%,
        rgba(10, 18, 26, 0.20) 70%,
        rgba(10, 18, 26, 0.05) 100%
    ) !important;
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-slider .slide-inner:before {
        background: linear-gradient(
            180deg,
            rgba(10, 18, 26, 0.78) 0%,
            rgba(10, 18, 26, 0.52) 45%,
            rgba(10, 18, 26, 0.15) 75%,
            rgba(10, 18, 26, 0.35) 100%
        ) !important;
    }
}

@media (max-width: 767px) {
    .hero-slider .slide-inner:before {
        background: linear-gradient(
            180deg,
            rgba(10, 18, 26, 0.55) 0%,
            rgba(10, 18, 26, 0.70) 35%,
            rgba(10, 18, 26, 0.70) 65%,
            rgba(10, 18, 26, 0.55) 100%
        ) !important;
    }
}

/* --- 12.4 Content Container (Elevated Above Overlay for All Screens) --- */
.hero-slider .slide-inner .container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .hero-slider .slide-inner .container {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-slider .slide-inner .col-lg-6 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* --- 12.5 Heading Typography --- */
.hero-slider h1 {
    color: #ffffff !important;
    font-family: var(--heading-font, "Playfair Display", Georgia, serif) !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    position: relative !important;
    z-index: 11 !important;
}

@media (min-width: 992px) {
    .hero-slider h1 {
        font-size: 44px !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-slider h1 {
        font-size: 34px !important;
        line-height: 1.22 !important;
    }
}

@media (max-width: 767px) {
    .hero-slider h1 {
        font-size: clamp(23px, 6vw, 27px) !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 8px !important;
    }
}

/* --- 12.6 Paragraph & Subtitle Typography --- */
.hero-slider p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 11 !important;
}

@media (max-width: 767px) {
    .hero-slider p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 330px !important;
    }

    .hero-slider p.mt-4 {
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
}

/* --- 12.7 Call-to-Action (CTA) Pill Button --- */
.hero-slider .theme-btn-trans-1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background-color: var(--lp-yellow, #ebdd46) !important;
    color: #111111 !important;
    border: 2px solid var(--lp-yellow, #ebdd46) !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(235, 221, 70, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 12 !important;
    -webkit-tap-highlight-color: transparent !important;
}

.hero-slider .theme-btn-trans-1:hover,
.hero-slider .theme-btn-trans-1:focus,
.hero-slider .theme-btn-trans-1:active {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

.hero-slider .theme-btn-trans-1 i {
    font-size: 13px !important;
    color: inherit !important;
    transition: transform 0.22s ease !important;
}

.hero-slider .theme-btn-trans-1:hover i {
    transform: translateX(4px) !important;
}

@media (max-width: 767px) {
    .hero-slider .theme-btn-trans-1 {
        min-height: 44px !important;
        padding: 10px 24px !important;
        font-size: 14px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(235, 221, 70, 0.3) !important;
    }
}

/* --- 12.8 Navigation Arrows (Frosted Glass & Yellow Accents) --- */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    background: rgba(17, 24, 39, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    z-index: 20 !important;
    transition: all 0.25s ease !important;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--lp-yellow, #ebdd46) !important;
    border-color: var(--lp-yellow, #ebdd46) !important;
    color: #111111 !important;
    transform: scale(1.08) !important;
}

.hero-slider .swiper-button-prev:before,
.hero-slider .swiper-button-next:before {
    font-size: 16px !important;
}

@media (max-width: 767px) {
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none !important;
    }
}

/* --- 12.9 Swiper Pagination Dots (Signature Yellow Pill Indicators) --- */
.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
    bottom: 18px !important;
    z-index: 20 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--lp-yellow, #ebdd46) !important;
    width: 24px !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(235, 221, 70, 0.8) !important;
}

/* --- 12.10 Mobile Header / Logo Balance Polish --- */
@media (max-width: 767px) {
    .site-header .navbar-header .navbar-brand {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }
    .site-header .navbar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}



