/* Fix horizontal overflow on homepage */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Make banner slider responsive on mobile */
@media (max-width: 767px) {
  .bwp-slider img {
    min-height: 250px;
    object-fit: cover;
  }
}

/* Align product grid by standardizing product title heights */
.product-title,
h3.product-title,
.woocommerce ul.products li.product h3.product-title,
.products-list .product-title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 4.5em !important; 
    line-height: 1.5em !important;
    margin-bottom: 10px !important;
}

/* Hide login user icon in header */
.login-header {
    display: none !important;
}

/* Header Enquire Button Styling */
.enquire-header {
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}

.enquire-btn,
a.button.enquire-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000000 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    line-height: 1 !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.enquire-btn:hover,
a.button.enquire-btn:hover {
    background: #800020 !important;
    border-color: #800020 !important;
    color: #ffffff !important;
}

/* Top Mobile Header Enquire Button */
.top-mobile-enquire {
    margin-right: 8px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
}

/* Mobile Fixed Bottom Nav Styling - Equal Spacing & Feather Mail Icon */
.header-mobile-fixed {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
}

.header-mobile-fixed > div {
    flex: 1 1 0% !important;
    width: 25% !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header-mobile-fixed > div > a,
.header-mobile-fixed .my-account a.bottom-mobile-enquire,
.header-mobile-fixed .search-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 6px 0 !important;
    color: #333333 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

.header-mobile-fixed > div > a i,
.header-mobile-fixed .my-account a.bottom-mobile-enquire i,
.header-mobile-fixed .search-toggle i {
    font-size: 18px !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

/* Drawer Menu Enquire Button */
.drawer-mobile-enquire-item {
    padding: 15px;
    text-align: center;
    list-style: none;
}
.drawer-mobile-enquire-item a {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   PRODUCT CATEGORY PAGE DESIGN ENHANCEMENTS
   ========================================================================== */

/* Category Header / Page Title */
.tax-product_cat .page-title,
.post-type-archive-product .page-title,
.woocommerce-products-header__title {
    font-size: 26px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #111111 !important;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* ==========================================================================
   SLEEK & MINIMALIST SIDEBAR FILTER DESIGN
   ========================================================================== */

/* Main Filter Container Cards - Minimalist & Transparent */
.bwp-filter-ajax,
.bwp-filter-sidebar .widget,
.bwp-filter,
#secondary .widget,
#secondary aside,
aside.widget {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 25px 0 !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
    border-bottom: 1px solid #eaeaea !important;
}

/* Sidebar Section Headers - Clean & Subtle */
.bwp-filter-price h3,
.bwp-filter-sidebar .widget-title,
.bwp-filter .widget-title,
#secondary .widget .widget-title,
#secondary .widget-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #111111 !important;
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    position: relative;
}
.bwp-filter-price h3::after,
.bwp-filter-sidebar .widget-title::after,
#secondary .widget .widget-title::after {
    display: none !important;
}

/* Price Slider - Ultra Thin & Elegant */
.ui-slider-horizontal {
    height: 3px !important;
    background: #e0e0e0 !important;
    border: none !important;
    border-radius: 2px !important;
    margin: 15px 0 15px 0 !important;
}
.ui-slider-horizontal .ui-slider-range {
    background: #111111 !important;
    border-radius: 2px !important;
}
.ui-slider-horizontal .ui-slider-handle {
    width: 14px !important;
    height: 14px !important;
    top: -5px !important;
    background: #111111 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    transition: transform 0.2s ease !important;
}
.ui-slider-horizontal .ui-slider-handle:hover {
    transform: scale(1.2) !important;
}

/* Price Input & Label Text */
.bwp-filter-price .price-input {
    font-size: 12px !important;
    color: #666666 !important;
    letter-spacing: 0.3px;
}
.bwp-filter-price .price-input .text-price-filter {
    color: #111111 !important;
    font-weight: 600 !important;
}

/* Hide Category Term Description */
.term-description {
    display: none !important;
}

/* Brands & Taxonomy Filter Items - High-End Minimalist Links */
.item-taxonomy,
.item-brand {
    margin-bottom: 8px !important;
    padding: 2px 0 2px 20px !important;
    position: relative !important;
    background-color: transparent !important;
}
.item-brand {
    padding-left: 0 !important;
}

.item-taxonomy a,
.item-brand a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    color: #555555 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
    width: 100% !important;
    padding: 0 !important;
}
.item-taxonomy a:hover,
.item-brand a:hover {
    color: #800020 !important;
}

/* Fix arrow position: Vertically center arrow on left gutter */
.item-taxonomy.cat-parent > a::after,
.item-taxonomy.cat-parent > a::before,
.item-taxonomy.cat-parent::after,
.item-taxonomy.cat-parent::before,
.item-taxonomy.cat-parent .icon-toggle,
.item-taxonomy.cat-parent .arrow,
.item-taxonomy.cat-parent > span.toggle,
.item-taxonomy.cat-parent i {
    left: 2px !important;
    right: auto !important;
    position: absolute !important;
    top: 4px !important;
    transform: none !important;
    margin: 0 !important;
    font-size: 10px !important;
    color: #777777 !important;
    line-height: 1 !important;
}

.item-taxonomy label.name,
.item-brand label.name {
    cursor: pointer !important;
    margin: 0 !important;
    margin-right: auto !important;
    padding-right: 10px !important;
}

.item-taxonomy label.count,
.item-brand label.count {
    background: transparent !important;
    color: #999999 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
}
.item-taxonomy:hover label.count,
.item-brand:hover label.count {
    background: transparent !important;
    color: #800020 !important;
}

/* Indent child categories for clean hierarchy */
.item-taxonomy .children {
    padding-left: 10px !important;
    margin-top: 6px !important;
}

/* ==========================================================================
   MOBILE FILTER SLIDE-OUT DRAWER STYLING
   ========================================================================== */
@media (max-width: 991px) {
    .bwp-sidebar.sidebar-product {
        position: fixed !important;
        top: 0 !important;
        left: -340px !important;
        transform: none !important;
        width: 310px !important;
        max-width: 88vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 55px 25px 40px 25px !important;
        transition: left 0.35s ease, opacity 0.35s ease !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .bwp-sidebar.sidebar-product.active {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Style the Close button inside mobile sidebar cleanly */
    .bwp-sidebar .button-filter-toggle {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f0f0f0 !important;
        color: #333333 !important;
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        border-radius: 50% !important;
        font-size: 16px !important;
        font-weight: bold !important;
        cursor: pointer !important;
        z-index: 100 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    .bwp-sidebar .button-filter-toggle::before,
    .bwp-sidebar .button-filter-toggle::after {
        display: none !important;
    }

    /* Prominent Filter Toggle Button above products on Mobile */
    a.button-filter-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #000000 !important;
        color: #ffffff !important;
        padding: 9px 20px !important;
        border-radius: 4px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        margin: 10px 0 20px 0 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
    }
    a.button-filter-toggle::before {
        content: 'FILTER PRODUCTS' !important;
    }
    a.button-filter-toggle:hover {
        background: #800020 !important;
        color: #ffffff !important;
    }
} /* End @media (max-width: 991px) */

/* ==========================================================================
   UNIFORM SIDEBAR WIDGET PADDING & ALIGNMENT FOR ALL WIDGETS & FILTERS
   ========================================================================== */

/* Outer Sidebar Container */
.bwp-sidebar.sidebar-product {
    padding: 55px 0 40px 0 !important;
    box-sizing: border-box !important;
}

/* All Widget Headings */
.bwp-sidebar .widget-title,
.bwp-sidebar h3.widget-title,
.bwp-sidebar .widget h3,
.bwp-sidebar .title_brand h2,
.bwp-sidebar .bwp-filter-price h3,
.bwp-sidebar .bwp-filter-brand h3,
.bwp-sidebar .bwp-filter-category h3 {
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: 0 !important;
    margin-bottom: 15px !important;
    box-sizing: border-box !important;
}

/* All Widget Content Blocks (Categories, Brands, Colors, Sizes, etc.) */
.bwp-sidebar .block_content,
.bwp-sidebar .filter_taxonomy_product,
.bwp-sidebar .filter_category_product,
.bwp-sidebar .filter_brand_product,
.bwp-sidebar #pa_brand,
.bwp-sidebar #pa_category {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Price Filter Container, Slider & Range Text */
.bwp-sidebar .bwp-filter-price {
    padding: 0 !important;
}

.bwp-sidebar .content-filter-price {
    padding-left: 20px !important;
    padding-right: 25px !important;
    box-sizing: border-box !important;
}

.bwp-sidebar #bwp_slider_price,
.bwp-sidebar .ui-slider-horizontal {
    margin: 15px 10px 15px 10px !important;
    width: calc(100% - 20px) !important;
}

.bwp-sidebar .price-input {
    padding-left: 0 !important;
    margin-top: 12px !important;
    font-size: 13px !important;
}

.bwp-sidebar .bwp-filter-price a.reset,
.bwp-sidebar .bwp-filter-price .clear_filter {
    margin-left: 20px !important;
    margin-top: 8px !important;
    display: inline-block !important;
}

/* Brand Filter Layout */
.bwp-sidebar .filter_brand_product,
.bwp-sidebar #pa_brand {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.bwp-sidebar .item-brand {
    margin: 0 !important;
    padding: 0 !important;
}

/* Clean Separator Lines Between Filter Widgets */
.bwp-sidebar > .widget,
.bwp-sidebar .bwp-filter-ajax {
    margin-bottom: 25px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid #eaeaea !important;
}
.bwp-sidebar > .widget:last-child {
    border-bottom: none !important;
}

/* ==========================================================================
   PRODUCT HOVER BUTTONS (ENQUIRE & WHATSAPP) & ENQUIRE MODAL POPUP
   ========================================================================== */

/* Hide Theme Default QuickView & Cart Hover Buttons */
.products-thumb .btn-quickview,
.products-thumb .product-button,
.products-entry .btn-quickview,
.products-entry .product-button {
    display: none !important;
}

.products-thumb,
.products-entry {
    position: relative;
}

/* Custom 2 Hover Buttons - HIDDEN BY DEFAULT */
.custom-hover-buttons {
    display: none !important;
}

/* SHOW ON PRODUCT HOVER ONLY */
.products-entry:hover .custom-hover-buttons,
.products-thumb:hover .custom-hover-buttons,
.product-wapper:hover .custom-hover-buttons,
li.product:hover .custom-hover-buttons {
    display: flex !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    gap: 8px !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 25 !important;
}

.custom-hover-buttons a.btn-enquire-modal {
    display: inline-flex !important;
}

.custom-hover-buttons a.btn-whatsapp-direct {
    display: inline-flex !important;
}

/* Enquire Button (Left - Text + Icon) */
.custom-hover-buttons .btn-enquire-modal {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #800020 !important; /* Elegant Burgundy */
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transition: background 0.2s ease !important;
    height: 36px !important;
    box-sizing: border-box !important;
}
.custom-hover-buttons .btn-enquire-modal:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* WhatsApp Icon Button (Right - ICON ONLY) */
.custom-hover-buttons .btn-whatsapp-direct {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #25D366 !important; /* Official WhatsApp Green */
    color: #ffffff !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    box-sizing: border-box !important;
}
.custom-hover-buttons .btn-whatsapp-direct:hover {
    background: #128C7E !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Enquire Modal Popup Overlay */
#product-enquire-modal,
.enquire-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    align-items: center !important;
    justify-content: center !important;
}

#product-enquire-modal .enquire-modal-card {
    background: #ffffff !important;
    color: #222222 !important;
    width: 90% !important;
    max-width: 480px !important;
    padding: 30px 25px !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: auto !important;
    box-sizing: border-box !important;
}

/* Close Button Badge in Top Right Corner */
#product-enquire-modal .enquire-modal-close,
#close-enquire-modal {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: #f2f2f2 !important;
    border: none !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-align: center !important;
    cursor: pointer !important;
    color: #333333 !important;
    z-index: 100 !important;
    padding: 0 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
#product-enquire-modal .enquire-modal-close:hover,
#close-enquire-modal:hover {
    background: #800020 !important;
    color: #ffffff !important;
}

/* Header Titles */
#product-enquire-modal .enquire-modal-header {
    margin-bottom: 18px !important;
    text-align: left !important;
}

#product-enquire-modal .enquire-modal-header h3 {
    margin: 0 0 5px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #800020 !important;
    letter-spacing: 0.5px !important;
}

#product-enquire-modal .enquire-modal-product-name {
    font-size: 12px !important;
    color: #666666 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #eeeeee !important;
    line-height: 1.4 !important;
}

/* Contact Form 7 Clean Vertical Layout Overrides */
#product-enquire-modal .wpcf7 form {
    margin: 0 !important;
    padding: 0 !important;
}

#product-enquire-modal .wpcf7 form p {
    margin: 0 0 12px 0 !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
}

#product-enquire-modal .wpcf7 form label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #444444 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
    width: 100% !important;
    float: none !important;
}

#product-enquire-modal .wpcf7 form br {
    display: none !important;
}

#product-enquire-modal .wpcf7 form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

#product-enquire-modal .wpcf7 form input[type="text"],
#product-enquire-modal .wpcf7 form input[type="email"],
#product-enquire-modal .wpcf7 form textarea {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #222222 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
    margin: 0 !important;
}

#product-enquire-modal .wpcf7 form input[type="text"]:focus,
#product-enquire-modal .wpcf7 form input[type="email"]:focus,
#product-enquire-modal .wpcf7 form textarea:focus {
    border-color: #800020 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(128,0,32,0.1) !important;
}

#product-enquire-modal .wpcf7 form textarea {
    height: 75px !important;
    resize: vertical !important;
}

#product-enquire-modal .wpcf7 form input[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: #800020 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: background 0.2s ease !important;
}

/* Contact Form 7 Validation Error & Response Output Styling Overrides */
#product-enquire-modal .wpcf7-not-valid-tip,
.wpcf7-not-valid-tip,
span.wpcf7-not-valid-tip {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #dc3545 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

#product-enquire-modal .wpcf7-form input.wpcf7-not-valid,
#product-enquire-modal .wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

#product-enquire-modal .wpcf7-response-output,
.wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

#product-enquire-modal .wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
    border: 1px solid #dc3545 !important;
    background-color: #fff5f5 !important;
    color: #c82333 !important;
}

#product-enquire-modal .wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
    border: 1px solid #28a745 !important;
    background-color: #e8f8ec !important;
    color: #155724 !important;
}

#product-enquire-modal .wpcf7 form input[type="submit"]:hover {
    background: #000000 !important;
    color: #ffffff !important;
}
