#main {
    background: #fafafa;
}

.product-image-section,
.purchase-section,
.review-trust-section,
.midSection {
    background: #fff;
}

nav.woocommerce-breadcrumb a {
    color: #00407b !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    padding-top: 20px !important;
}

/* ============================================================
   Gallery section
   ============================================================ */
.desktopHide {
    display: none;
}

.product_gallery_holder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 3px 3px 10px #a3a2a2;
    max-height: 580px;
}

.product_gallery_holder .woocommerce-product-gallery__image--placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 580px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
    color: #22598c;
}

.border-grey {
    border: 1px solid #d9d9d9;
}

.border-radius {
    border-radius: 10px;
}

.border-padding {
    padding: 18px 16px;
}

.top-section {
    overflow: hidden;
    padding: 18px;
}

.pdf-download-link {
    font-size: 24px;
    display: flex;
}

.single-product .site-inner {
    padding: 0 !important;
}

nav.woocommerce-breadcrumb {
    padding-left: 20px !important;
}

.happypay-widget-container {
    clear: both;
    width: 100%;
    display: none;
}

.happy-pay-body {
    margin-top: 5px;
    display: none !important;
    align-items: center;
    color: #8d8d8d;
}

/* ============================================================
   Top section layout
   ============================================================ */
.productInfoSection {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woocommerce_product_heading {
    font-size: 21px;
    font-weight: 700;
    color: #00407b;
    line-height: 1.35;
    margin: 0 0 10px;
    min-height: 57px;
}

/* Two-column row: purchase box | trust/reviews */
.product-info-columns {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.midSection {
    /* float: left; */
    width: 100%;
    max-width: 1400px;
    margin: 10px auto 25px;
    overflow: hidden;
}

.midSection h2 {
    font-size: 24px;
    color: #00407b;
}

/* ============================================================
   Purchase section box
   ============================================================ */
.purchase-section {
    flex: 1 1 0;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    min-height: 500px;
}

/* Pricing */
.purchase-pricing {
    text-align: center;
    border-bottom: 1px solid #ececec;
    padding-bottom: 12px;
}

.price-excl-vat {
    display: block;
    font-size: 27px;
    font-weight: 800;
    color: #1b3a6b;
    line-height: 1.2;
}

.vat-label {
    font-size: 27px;
    font-weight: 500;
    color: #1b3a6b;
}

.price-incl-row {
    margin-top: 4px;
    font-size: 20px;
    color: #4c79a2;
}

.price-incl-vat {
    font-weight: 500;
}

.price-divider {
    color: #bbb;
    margin: 0 3px;
}

.price-monthly {
    color: #4c79a2;
    font-weight: 600;
    text-decoration: underline;
}

/* "Not yet ready to buy?" */
.not-ready-text {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* CTA buttons */
.btn-chat-expert,
.btn-speak-expert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: filter 0.15s ease;
}

.btn-chat-expert:hover,
.btn-speak-expert:hover {
    filter: brightness(0.92);
}

.btn-chat-expert {
    background: #25d366;
    color: #fff;
}

a.btn-chat-expert:hover {
    color: #fff;
    background: #16853f;
}

.btn-speak-expert {
    background: #1b3a6b;
    color: #fff;
}

.btn-speak-expert:hover,
.btn-speak-expert:focus {
    color: #fff;
    background: #11233e;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-chat-expert,
.btn-speak-expert {
    font-size: 17px;
}

/* Quantity + Buy Now row */
.purchase-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #00407b;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 34px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 12px 0;
    transition: background 0.1s;
}

button.qty-btn.qty-minus {
    border-right: 2px solid #00407b;
}

button.qty-btn.qty-plus {
    border-left: 2px solid #00407b;
}

.qty-btn:hover {
    background: #e8e8e8;
}

.qty-btn:focus {
    background-color: #00407b !important;
    color: #fff;
}

/* WooCommerce quantity wrapper — remove its default display so our control wraps it */
.quantity-control .quantity {
    display: contents;
}

/* The actual WC qty input (.input-text.qty.text) — target by name too for safety */
.quantity-control .quantity input[name="quantity"],
.quantity-control .quantity .qty {
    width: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 0;
    height: 100%;
    box-shadow: none;
    -moz-appearance: textfield;
    appearance: textfield;
    background: #fff;
}

.quantity-control .quantity input[name="quantity"]::-webkit-outer-spin-button,
.quantity-control .quantity input[name="quantity"]::-webkit-inner-spin-button,
.quantity-control .quantity .qty::-webkit-outer-spin-button,
.quantity-control .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Hide the screen-reader label WC outputs inside the quantity div */
.quantity-control .quantity .screen-reader-text {
    display: none;
}

.btn-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #1b3a6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 10px 14px;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.btn-buy-now:hover {
    filter: brightness(1.15);
}

/* SKU */
.product-sku {
    font-size: 15px;
    color: #777;
    margin: 0;
}

.product-sku span {
    font-weight: 600;
    color: #444;
}

/* Payment methods */
.payment-methods {
    border-top: 1px solid #ececec;
    padding-top: 10px;
    text-align: center;
}

.payment-label {
    font-size: 12px;
    color: #888;
    margin: 0 0 7px;
}

.payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* flex-wrap: wrap; */
    overflow: hidden;
    padding: 10px 0;
}

.bottomCallToActionHolder span {
    font-size: 2.5rem;
}

.limitText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 750px;
    display: inline-block;
}

.bottomCallToActionHolder .mobileHide {
    display: flex;
}

.payment-icon {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.payment-visa {
    color: #1a1f71;
    font-size: 1rem;
    font-style: italic;
}

.payment-snapscan {
    color: #00b140;
}

.payment-zapper {
    color: #ff6600;
}

/* ============================================================
   Review & Trust section
   ============================================================ */
.review-trust-section {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #d9d9d9;
    padding: 12px;
    border-radius: 10px;
}

/* Review scores block */
.review-scores {
    display: flex;
    flex-direction: row;
    gap: 8px;
    border-bottom: 1px solid #d9d9d9;
    /* border-radius: 10px; */
    padding: 12px 0;
    justify-content: center;
}

.review-score-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}


.review-score-header {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.review-brand {
    font-size: 0.82rem;
    font-weight: 700;
}

.review-brand--google {
    color: #4285f4;
}

.google-g {
    color: #ea4335;
}

.review-brand--facebook {
    color: #1877f2;
    font-weight: 800;
    font-style: italic;
    text-transform: lowercase;
}

.review-type-label {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
}

.review-score-body {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.review-number {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.stars {
    display: inline-flex;
    gap: 1px;
    font-size: 16px;
}

.stars--google .star--full,
.stars--google .star--half {
    color: #fbbc04;
}

.stars--google .star--empty {
    color: #ddd;
}

.stars--facebook .star--full,
.stars--facebook .star--half {
    color: #fbbc04;
}

.stars--facebook .star--empty {
    color: #ddd;
}

.review-count {
    font-size: 0.7rem;
    color: #999;
}

/* Trust badges list */
.trust-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.trust-badge__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #4c79a2;
    margin-top: 1px;
}

.trust-badge__icon svg {
    width: 100%;
    height: 100%;
}

.trust-badge__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.trust-badge__text strong {
    font-size: 14px;
    font-weight: 700;
    color: #4c79a2;
    line-height: 1.8;
}

.trust-badge__text span {
    font-size: 12px;
    color: #4c79a2;
    line-height: 1.3;
}


/* pdf section */
.pdf-download-link {
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #00407b;
}

.product-pdf-section svg {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-top: 1px;
    color: #00407b;
}

/* video section */
span.video-embed-wrapper {
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.video-embed-wrapper iframe {
    width: 100%;
}

/* discription section */
ul.key-features-list {
    margin-bottom: 40px;
}

th {
    border-bottom: 1px solid #00407b;
    text-transform: uppercase;
    color: #00407b
}

td:first-child,
th:first-child {
    padding-left: 0;
    border-top: 1px solid #00407b;
}

td {
    border-top: 1px solid #00407b !important;
    padding: 6px;
    border-left: 1px solid #eee;
    padding-left: 60px !important;
    color: #00407b;
}

.product-discription-section {
    color: #00407b;
}

td:last-child,
th:last-child {
    padding-left: 0;
    border-bottom: 1px solid #00407b !important;
}

ul.related-products-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
}

.related-products-list li {
    min-width: 230px;
    width: calc(95%/4);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 10px #a3a2a2;
}

.related-products-list li a {
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 10px;
    display: block;
    height: 280px;
    overflow: hidden;
}

.related-products-list li>span {
    padding: 0 10px;
    display: block;
    min-height: 60px;
}

.relatedPriceCartHolder {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.related-products-list img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

p.relatedPrice {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1;
}

/* call to action holder */
.bottomCallToActionHolder {
    background: #00407b;
    color: #fff;
    font-weight: 800;
    font-size: 23px;
    position: sticky;
    bottom: 0;
    width: 100%;
    display: none;
}

.bottomCallToActionHolder p {
    margin: 0;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.buttonHolder {
    display: flex;
    gap: 20px;
}

.whatsapp-holder {
    display: none;
}

.buttonHolder a {
    width: 200px;
}

.buttonHolder button {
    background: #fff !important;
    color: #00407b;
}

.scrolled {
    display: block !important;
}

button.single_add_to_cart_button.button.alt.btn-buy-now {
    font-size: 20px;
}

.key-features-list li {
    list-style-type: disc !important;
    margin-left: 20px !important;
}

/* ============================================================
   Finance Calculator
   ============================================================ */
:root {
    --navy: #101b2d;
    --navy-soft: #1b2c47;
    --accent: #2e6df6;
    --accent-dark: #1f54d1;
    --bg: #f4f6fa;
    --line: #e1e6ee;
    --text: #101b2d;
    --text-muted: #6b7488;
    --white: #ffffff;
    --radius: 14px;
    --panel-width: 420px;
}

/* Trigger button */
.finance-prices {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #d9d9d9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.finance-prices .price-monthly {
    font-size: 18px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.calculator-btn {
    margin-bottom: 10px;
    font-size: 16px;
    padding: 8px;
}

/* .calculator-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.calculator-btn:hover {
    background: var(--accent-dark);
}

.calculator-btn:active {
    transform: scale(0.98);
}

.calculator-btn:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
} */

/* Overlay */
.pop-up-container {
    position: fixed;
    inset: 0;
    background: rgba(16, 27, 45, 0.55);
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 1000;
    padding: 0;
}

.pop-up-container.active {
    opacity: 1;
    visibility: visible;
}

/* Panel card */
.pop-up-content {
    background: var(--white);
    width: 100%;
    max-width: var(--panel-width);
    height: 100%;
    border-radius: 0;
    box-shadow: -8px 0 40px rgba(16, 27, 45, 0.3);
    transform: translateX(100%);
    opacity: 1;
    transition: transform .3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pop-up-container.active .pop-up-content {
    transform: translateX(0);
}

.pop-up-container .header {
    background: var(--navy);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.pop-up-container .header h1 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.pop-up-container .close {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .15s ease, color .15s ease;
}

.pop-up-container .close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.pop-up-container .close:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.pop-up-container .content-wrap {
    padding: 24px;
    flex: 1;
}

.pop-up-container .fields-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pop-up-container .field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pop-up-container .field-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pop-up-container input,
.pop-up-container select {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pop-up-container input:focus,
.pop-up-container select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 109, 246, 0.15);
}

.pop-up-container input:disabled {
    background: var(--bg);
    color: var(--text-muted);
    cursor: not-allowed;
}

.pop-up-container select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7488' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.pop-up-container .deposit-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.pop-up-container .deposit-hint.error {
    color: #d23b3b;
}

.pop-up-container .result-box {
    margin-top: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pop-up-container .result-box span:first-child {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pop-up-container .result-box .amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}

.pop-up-container .result-box .amount sup {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.pop-up-container #applyLink {
    margin-top: 4px;
    text-align: center;
}

@media (max-width:480px) {
    .pop-up-container .pop-up-content {
        max-width: 100%;
    }

    .pop-up-container .content-wrap {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pop-up-container,
    .pop-up-content {
        transition: none;
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1600px) {
    .limitText {
        max-width: 600px;
    }
}

@media (max-width: 1400px) {
    button.single_add_to_cart_button.button.alt.btn-buy-now {
        font-size: 16px;
    }

    .limitText {
        max-width: 450px;
    }
}

@media (max-width: 1200px) {
    .product-info-columns {
        display: block;
    }

    .limitText {
        max-width: 250px;
    }

    .purchase-section {
        margin-bottom: 20px;
    }

    .related-products-list li {
        width: calc(95%/2);
    }

    .limitText {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 250px;
        display: inline-block;
    }
}

@media (max-width: 860px) {
    .product-info-columns {
        flex-direction: column;
    }

    .desktopHide {
        display: block;
    }

    .review-trust-section {
        flex: unset;
        width: 100%;
    }

    .review-scores {
        flex-direction: row;
        gap: 16px;
    }

    .review-score-block+.review-score-block {
        border-top: none;
        border-left: 1px solid #ececec;
        padding-top: 0;
        padding-left: 16px;
    }

    .buttonHolder a {
        width: unset;
    }

    .bottomCallToActionHolder p {
        justify-content: center;
        align-items: center;
    }

    .product-image-section.one-half.first {
        margin-bottom: 20px;
    }

    .midSection {
        margin: 0 20px;
        width: unset;
    }

    .bottomCallToActionHolder {
        display: block;
    }
}