/*
================================================================================
== BP TOOLS THEME - FULLY RESPONSIVE STYLESHEET
== This file contains all styles for Header, Footer, and Product Page.
================================================================================
*/

/*
================================================================================
== 1. HEADER STYLES
================================================================================
*/














/* --- Base Header Styles (All Screens) --- */
.page-header {
    position: relative;
    z-index: 100;
}

#spw-header-top, #spw-nav-bar {
    width: 100%;
}

li {
    list-style: none;
}

#spw-main-nav .spw-nav-links li {
    margin-bottom: 0 !important;
}

.spw-header-top__inner, .spw-nav-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 15px;
}

#spw-header-top {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.spw-logo-container .logo img {
    max-height: 60px;
}

/* Wrap nav + search on one line */
.spw-nav-search-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* --- Desktop --- */
@media (min-width: 993px) {
    .spw-user-actions-desktop {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    #spw-contact-info {
        display: flex;
        gap: 25px;
        font-size: 14px;
    }

    .spw-contact-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #spw-account-container-desktop, #spw-minicart-container-desktop {
        padding-left: 20px;
        border-left: 1px solid #ccc;
    }

    #spw-nav-bar {
        background-color: #0d2033;
    }

    /* Nav on the left */
    #spw-main-nav {
        flex: 0 1 auto;
        min-width: 0; /* allow shrink */
    }

    #spw-main-nav .spw-nav-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #spw-main-nav .spw-nav-links a {
        padding: 15px 20px;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 14px;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    #spw-main-nav .spw-nav-links a:hover {
        background-color: #1a3650;
    }

    /* Search on the right */
    #spw-search-container {
        flex: 0 0 auto;
        max-width: 360px;
        width: 100%;
        padding: 0 10px;
    }

    #spw-search-container form {
        display: flex;
        width: 100%;
    }

    #search {
        border: 1px solid #ccc;
        height: 40px;
        width: 100%;
        padding: 0 15px;
        background: #fff;
        color: #111;
    }

    .spw-mobile-nav-toggle, .spw-user-actions-mobile {
        display: none;
    }
}

/* --- Mobile --- */
@media (max-width: 992px) {
    .spw-user-actions-desktop {
        display: none;
    }

    .spw-mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        padding: 10px;
    }

    .spw-mobile-nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #0d2033;
        margin: 5px 0;
    }

    #spw-nav-bar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d2033;
        max-height: 0;
        overflow-y: auto;
        transition: max-height .3s;
    }

    .page-header.is-open #spw-nav-bar {
        max-height: calc(100vh - 80px);
    }

    .spw-nav-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Stack nav then search */
    #spw-main-nav {
        width: 100%;
    }

    #spw-main-nav .spw-nav-links {
        flex-direction: column;
        width: 100%;
    }

    #spw-main-nav .spw-nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid #1a3650;
    }

    #spw-search-container {
        width: 100%;
        padding: 20px;
        max-width: none;
    }

    #search {
        width: 100%;
    }

    .spw-user-actions-mobile {
        display: flex;
        width: 100%;
        padding: 10px 20px;
        background: #1a3650;
        justify-content: space-around;
    }

    #spw-page-header {
    margin-bottom: 20px;
    }

    .page-header {
    border-bottom: none;
}

}




























/* --- Helpers --- */
.bp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/*
================================================================================
== 2. FOOTER STYLES
================================================================================
*/
.bpt-newsletter-bar {
    background-color: #0d2033;
    padding: 15px;
}

.bpt-newsletter-bar__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.bpt-newsletter-bar__title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.bpt-newsletter-bar form {
    display: flex;
}

.bpt-newsletter-bar input[type="email"] {
    background-color: #fff;
    color: #333;
    height: 40px;
    min-width: 300px;
    padding: 0 15px;
    border-radius: 0;
}

.bpt-newsletter-bar .action.subscribe {
    background: #555;
    border: none;
    width: 45px;
    height: 40px;
    color: #fff;
    font-size: 2rem;
    line-height: 40px;
    font-weight: lighter;
}

.bpt-footer-main {
    background-color: #0d2033;
    color: #f1f1f1;
    padding: 50px 15px;
    border-top: 1px solid #1a3650;
}

.bpt-footer-main__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.bpt-footer__title {
    color: #bbb;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.bpt-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.bpt-subfooter {
    background-color: #0d2033;
    color: #aaa;
    padding: 20px 15px;
    border-top: 1px solid #2a435c;
    font-size: 11px;
}

.bpt-subfooter__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpt-footer-links {
    padding-left: 0px;
}

.bpt-footer-links a {
    color: white;
}



@media (max-width: 992px) {
    .bpt-newsletter-bar__inner {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .bpt-newsletter-bar input[type="email"] {
        min-width: 0;
        width: 100%;
    }

    .bpt-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bpt-subfooter__inner {
        flex-direction: column;
        gap: 20px;
    }
}

/*
================================================================================
== 3. PRODUCT PAGE STYLES
================================================================================
*/
.page-title-wrapper.product {
    display: none;
}

.page-main {
    padding: 20px 0;
}

/* --- Desktop Product Page Layout --- */
@media (min-width: 768px) {
    .product-main-content {
        display: flex;
        align-items: flex-start;
        gap: 40px;
        width: 100%;
    }

    .product-image-column, .product-details-column {
        flex: 1 1 50%;
        max-width: 50%;
    }
}











/* --- Custom Gallery (All Screens) --- */
.custom-gallery-container {
    width: 100%;
}

.main-image-area {
    margin-bottom: 15px;
    overflow: hidden;
}

#main-product-image {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    max-height: 400px !important;
}


@media (max-width: 768px) {

    #main-product-image {
        max-height: 300px !important;
    }
}







/* --- Custom Buy Box (All Screens) --- */
.custom-buy-box-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.product-meta, .product-reviews-summary {
    color: #777;
    font-size: 14px;
}

.product-pricing {
    color: #000;
}

.product-pricing .price-box .price {
    font-size: 28px;
    font-weight: bold;
}

.product-pricing .price-ex-vat {
    font-size: 14px;
    color: #555;
}

.product-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.stock-status.in-stock {
    font-weight: bold;
    color: #ff5501;
}

.actions-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-selector {
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.quantity-selector .qty-btn {
    padding: 10px 15px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    background-color: #f8f8f8;
    user-select: none;
}

.quantity-selector .input-text.qty {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: 42px;
    padding: 0;
    font-size: 16px;
}

.actions-wrapper .action.tocart {
    background-color: #ff6300;
    border-radius: 6px;
    font-weight: bold;
    height: 44px;
    flex-grow: 1;
    border: none;
}

.actions-wrapper .action.tocart:hover {
    background-color: #252424;
}

.authorised-reseller {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.authorised-reseller .reseller-badge {
    background-color: #005eb8;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
}

.authorised-reseller img {
    margin-left: auto;
    height: 20px;
}

/* --- FAQ Section --- */


/* --- FAQ Section (All Screens) --- */

/* --- FAQ Section (All Screens) --- */
.faq-item {
    margin-bottom: 25px;
    margin-top: 25px;
}

.faq-title-background {
    background-color: #e4e4e4;
}

.faq-title {
    max-width: 1280px;
    margin: auto;
}

/* remove old h2 styling since tabs replace it */
.faq-title h2 {
    display: none;
}

.faq-content {
    color: #000;
    margin: 20px auto;
    max-width: 1280px;
}

.faq-content h3 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.faq-content p {
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
}

.returns-info {
    background: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #ccc;
    margin-top: 10px;
}

.faq-content li {
    list-style: disc;
    line-height: 1.5;
    margin-left: 20px;
    margin-bottom: 2px;
    font-size: 14px;
    color: #000;
}

/* --- Tabs --- */
.faq-tab-header {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-tab-header li {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 0px;
}

.faq-tab-header li:hover {
    background: #d4d4d4;
}

.faq-tab-header li.active {
    background: #d3d3d3;
    border-bottom: 2px solid 
}

.tab-pane {
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
}

.tab-pane.active {
    display: block;
}

/* --- Responsive (stack tabs on small screens) --- */
@media (max-width: 768px) {
    .faq-tab-header {
        flex-direction: column;
    }
    .faq-tab-header li {
        border-bottom: 1px solid #ccc;
    }
}









/* --- Description & Reviews Sections (All Screens) --- */
.description-title-background {
    background-color: #e4e4e4;
}

.description-title {
    max-width: 1280px;
    margin: auto;
}

.description-title h2 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    color: #000;
    padding: 15px 0;
}

.description-content {
    color: #000;
    margin: 20px;
}

.description-content h2, .description-content h3 {
    font-weight: bold;
    font-size: 16px;
}

.description-content p, .description-content li {
    font-size: 14px;
    color: #000;
}

.description-content li {
    list-style: disc;
    line-height: 1.5;
    margin-left: 20px;
    margin-bottom: 2px;
}

/* =================================== */
/* THIS IS THE RESTORED REVIEWS CSS    */
/* =================================== */
.custom-reviews-section {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.custom-reviews-section .block-title strong {
    font-size: 24px;
    font-weight: 600;
}

.custom-reviews-section .review-form .control .input-text, .custom-reviews-section .review-form .control .review-field-text {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}

.custom-reviews-section .review-form .actions-primary .action.submit.primary {
    background-color: #e87722;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    padding: 12px 25px;
}

.custom-reviews-section .review-form .actions-primary .action.submit.primary:hover {
    background-color: #d06919;
}

/* --- Mobile & Tablet Product Page Styles --- */
@media (max-width: 992px) {
    .product-main-content {
        flex-direction: column;
        gap: 20px;
    }

    .product-image-column, .product-details-column {
        max-width: 100%;
    }

    .actions-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .actions-wrapper .action.tocart {
        flex-grow: 0;
    }
    
    /* =================================== */
    /* NEW: PADDING FOR MOBILE             */
    /* =================================== */
    .product-page-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .description-title-background {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .custom-reviews-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*
================================================================================
== 4. STICKY ADD TO CART BAR
================================================================================
*/
.sticky-add-to-cart-bar {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    box-shadow: 0px -4px 12px rgba(51, 51, 51, 0.28);
}

.sticky-add-to-cart-bar.visible {
    bottom: 0;
}

.sticky-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-bar-content .product-info {
    display: flex;
    align-items: center;
}

.sticky-bar-content .product-image {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    object-fit: contain;
}

.sticky-bar-content .product-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.sticky-bar-content .product-codes {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
}

.sticky-bar-content .actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.sticky-bar-content .product-price .price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.sticky-bar-content .action.tocart {
    background-color: #ff6300;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.sticky-bar-content .action.tocart:hover {
    background-color: #252424;
}

/* --- Mobile Sticky Bar Styles --- */
@media (max-width: 767px) {
    .sticky-bar-content .product-details {
        display: none;
    }
    
    .sticky-bar-content {
        padding: 10px 15px;
    }
    
    .sticky-bar-content .actions {
        gap: 15px;
    }
    
    .sticky-bar-content .product-price .price {
        font-size: 18px;
    }
    
    .sticky-bar-content .action.tocart {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .product-full-width-section.review-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.product-full-width-section.background {
    background: linear-gradient(90deg, rgba(23, 135, 79, 1) 0%, rgba(0, 102, 51, 1) 100%);
}

.product-full-width-section.review-content {
    max-width: 1280px;
    margin: auto;
    color: white;
}

.product-full-width-section.review-content h2 {
    font-weight: bold;
    color: white;
    border-bottom: 2px solid white;
}

.fieldset .review-legend.legend strong {
    color: #ffffff;
    margin: 20px 0px;
    font-weight: 600;
}

.custom-buy-box-container .product-brand {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.custom-buy-box-container .product-brand .brand-logo {
    max-height: 40px;
    margin-right: 10px;
}
.custom-buy-box-container .product-brand .brand-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.finance-options-box h3 {
    font-size: 14px;
    margin: 10px 0px 0px 0px;
    font-weight: bold;
}

.finance-options-box {
    border: 1px solid #dfdfdf;
    padding: 5px 15px;
    border-radius: 5px;
}


.product-brand-logo img {
    border-radius: 0px !important;
    height: 40px !important;
    width: auto !important;
    border: none !important;
}







