/* =============================================
   Dingleys WooCommerce Styles — Twenty Twenty-Five
   ============================================= */

/* Container */
.dng-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
}

body.woocommerce-cart .woocommerce, 
body.woocommerce-checkout .woocommerce {
    max-width: 1250px !important;
}

/* Colors */
.color-white {
    color: #ffffff !important;
}

.color-primary {
    color: #dd8740 !important;
}

.color-secondary {
    color: #084c89 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-primary {
    background-color: #dd8740 !important;
}

.bg-secondary {
    background-color: #084c89 !important;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary {
    border-radius: 50px;
    background: #dd8740;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 20px;
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: #084c89;
    color: #ffffff;
    text-decoration: none;
}

/* =============================================
   Hero Section (single product)
   ============================================= */
.default-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.default-hero-container {
    position: relative;
    z-index: 2;
    padding-bottom: 24px;
}

.default-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.default-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.pageheaders {
    font-size: 40px;
    font-weight: 600;
    padding: 20px 25px;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Handlee', cursive;
    line-height: 1;
    margin: 30px 0 0;
    border-left: 5px solid white;
    position: relative;
}

.pageheaders h1 {
    color: #ffffff !important;
    font-size: 40px;
    line-height: 1;
    font-weight: 600;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .pageheaders {
        padding: 12px 20px;
        margin-top: 12px;
        border-left-width: 3px;
    }

    .pageheaders,
    .pageheaders h1 {
        font-size: 30px;
    }
}

/* =============================================
   Product Info Bar (ACF fields)
   ============================================= */
.product-info.training-info {
    background: #f5f5f6;
}

.training-info-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 24px 40px;
}

.training-info .cesis_icon_list {
    display: flex;
    flex-wrap: wrap;
}

.training-info .cesis_single_list {
    flex: 1;
    margin-bottom: 0 !important;
    font-size: 18px;
}

.training-info .cesis_icon_list_ctn {
    display: flex;
    align-items: center;
}

.training-info .cesis_single_list .cesis_list_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    background: #dd8740;
    border: 2px solid #dd8740;
    font-size: 28px;
    line-height: 1 !important;
    margin-right: 12px;
}

.training-info .cesis_icon_list_txt_ctn {
    flex: 1;
}

.training-info .cesis_single_list .cesis_list_heading {
    font-family: Montserrat, sans-serif;
    color: #084c89;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 2px;
}

.training-info .cesis_single_list .cesis_list_text {
    margin: 0;
}

.training-info .training-info-container span.woocommerce-Price-amount.amount {
    font-size: 18px !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    color: #dd8740;
}

@media only screen and (max-width: 767px) {
    .training-info-container {
        padding: 16px;
    }

    .training-info .cesis_single_list {
        font-size: 15px;
    }

    .training-info .cesis_single_list .cesis_list_heading {
        font-size: 16px;
        margin-bottom: 0;
    }

    .training-info .cesis_single_list .cesis_list_icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        font-size: 24px;
        margin: 0 auto 8px;
    }

    .training-info .cesis_icon_list {
        gap: 12px;
    }

    .training-info .cesis_icon_list_ctn {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   Product Details Section
   ============================================= */
.product-details {
    padding: 40px 0;
}

/* ---- Product image + summary side-by-side layout ---- */
.woocommerce div.product,
div.product.type-product {
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.woocommerce div.product .woocommerce-product-gallery,
div.product.type-product .woocommerce-product-gallery {
    flex: 0 0 calc(48% - 20px);
    max-width: calc(48% - 20px);
    /* Force gallery visible — block-theme WooCommerce may not run the opacity JS */
    opacity: 1 !important;
}

.woocommerce div.product div.summary,
div.product.type-product div.summary {
    flex: 1;
    min-width: 280px;
}

/* Full-width sections that follow the summary */
.woocommerce div.product .woocommerce-tabs,
div.product.type-product .woocommerce-tabs,
.woocommerce div.product .related,
div.product.type-product .related,
.woocommerce div.product .up-sells,
div.product.type-product .up-sells {
    flex: 0 0 100%;
    width: 100%;
}

@media (max-width: 767px) {

    .woocommerce div.product,
    div.product.type-product {
        flex-direction: column;
    }

    .woocommerce div.product .woocommerce-product-gallery,
    div.product.type-product .woocommerce-product-gallery {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .woocommerce .cart-collaterals .cart_totals,
    .woocommerce .cart-collaterals .cross-sells,
    .woocommerce .cart-collaterals .shipping_calculator,
    .woocommerce-page .cart-collaterals .cart_totals,
    .woocommerce-page .cart-collaterals .cross-sells,
    .woocommerce-page .cart-collaterals .shipping_calculator {
        width: 80%;
    }
}

/* ---- Product title & price ---- */
.woocommerce div.product .product_title,
div.product .product_title {
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Price in product summary: subtle (same as cesis – info bar is the prominent price display) */
.woocommerce div.product div.summary .woocommerce-Price-amount,
div.product div.summary .woocommerce-Price-amount,
.single-product.woocommerce div.product div.summary .woocommerce-Price-amount {
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    color: #dd8740 !important;
    display: block;
}

.woocommerce div.product .summary p.price,
div.product .summary p.price {
    margin: 20px 0;
}

/* ---- Custom template title/description/price classes ---- */
.product-details_title {
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-details_description {
    margin-bottom: 16px;
}

.product-details_price {
    font-weight: 700;
    color: #dd8740;
    font-size: 34px;
    margin: 20px 0;
}

/* ---- Add to cart button ---- */
.single-product div.product .summary form.cart {
    width: fit-content;
}

.woocommerce div.product .single_add_to_cart_button,
div.product .single_add_to_cart_button {
    background: #dd8740 !important;
    color: #fff !important;
    border-color: #dd8740 !important;
    border-radius: 50px !important;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 24px;
    height: 44px;
    line-height: 44px;
    transition: background 0.3s;
}

.woocommerce div.product .single_add_to_cart_button:hover,
div.product .single_add_to_cart_button:hover {
    background: #084c89 !important;
    border-color: #084c89 !important;
}

/* ---- Hide tabs navigation, product meta, related products ---- */
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs ul.tabs,
.woocommerce-tabs nav.woocommerce-tabs__nav {
    display: none !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    border: none !important;
    padding: 24px 0 0 !important;
}

.woocommerce .woocommerce-tabs {
    padding-top: 0 !important;
}

.product_meta,
.woocommerce-product-rating {
    display: none !important;
}

.related.products {
    display: none !important;
}

.woocommerce-Description-title {
    display: none !important;
}

/* ---- Short description ---- */
.woocommerce-product-details__short-description {
    margin-bottom: 12px;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 8px;
}

/* =============================================
   Product Archive / Training Index
   ============================================= */
.training-index {
    padding: 40px 0;
}

.training-index-container {
    padding-top: 0;
}

/* Product grid */
.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.woocommerce ul.products li.product {
    width: calc(33.333% - 16px);
    margin: 0;
}

.woocommerce ul.products div.product {
    background: #f5f5f6;
    border: 2px solid #f5f5f6;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 12px);
    }
}

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

/* =============================================
   Training Card (product loop)
   ============================================= */
.card-training {
    background: #f5f5f6;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-training-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-training-title {
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    line-height: 1.2;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.card-training-title:hover {
    color: #dd8740;
    text-decoration: none;
}

.card-training h4 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px;
}

.card-training-price {
    margin-bottom: 12px;
}

.card-training-price .woocommerce-Price-amount,
.woocommerce span.woocommerce-Price-amount.amount {
    font-weight: 700 !important;
    font-size: 18px;
}

.card-training-btn {
    margin-top: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 10px 20px;
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    line-height: 1.2em;
}

.woocommerce ul.products li.product .price {
    padding: 0 20px;
}

/* =============================================
   Related Products
   ============================================= */
.related-products {
    padding: 40px 0;
    width: 100%;
}

.related-products-title {
    text-align: center;
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin-bottom: 32px;
}

/* =============================================
   Cart & Checkout shared: form-block card
   ============================================= */
.woocommerce .form-block,
.woocommerce .woocommerce-cart-form {
    margin-top: 0 !important;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 3px;
    margin-bottom: 10px;
    border: none;
}

/* nested form-block loses its own padding */
.woocommerce .form-block .form-block,
.woocommerce .woocommerce-cart-form .form-block {
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 767px) {

    .woocommerce .form-block,
    .woocommerce .woocommerce-cart-form {
        padding: 20px;
    }
}

/* =============================================
   Cart Page
   ============================================= */
.woocommerce table.cart th {
    font-family: Montserrat, sans-serif;
    color: #dd8740;
}

@media only screen and (min-width: 768px) {

    .woocommerce table.cart .product-quantity,
    .woocommerce table.cart .product-price {
        min-width: 120px;
    }
}

.woocommerce table.cart .product-name a {
    font-weight: 700;
    display: block;
    max-width: 460px;
    text-decoration: none;
}

.woocommerce form.woocommerce-cart-form table.cart td {
    padding: 16px 0;
    border-color: #D2D4DA;
}

.woocommerce form.woocommerce-cart-form table.cart .actions input {
    display: none !important;
}

.woocommerce form.woocommerce-cart-form table.cart .product-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff4949;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0;
}

.woocommerce form.woocommerce-cart-form table.cart .product-remove a:after {
    color: #fff !important;
    font-size: 14px;
    position: relative;
    content: "×";
}

/* Cart totals */
.woocommerce .cart-collaterals {
    margin-top: 10px;
}

.woocommerce .cart-collaterals .cart_totals {
    background-color: #ffffff;
    border: none;
    padding: 24px;
}

.woocommerce .cart-collaterals .cart_totals h5,
.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 24px;
    line-height: 28px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}

.woocommerce .cart_totals table.shop_table th {
    padding: 15px 0;
    text-align: left;
    font-weight: 400;
}

.woocommerce .cart_totals table.shop_table td {
    padding: 15px 0;
    text-align: right;
    font-weight: 400;
}

.woocommerce .cart_totals table.shop_table .order-total th,
.woocommerce .cart_totals table.shop_table .order-total span.woocommerce-Price-amount {
    font-family: Montserrat, sans-serif;
    font-size: 1.2em;
    font-weight: 600;
}

/* "Proceed to Checkout" button */
.woocommerce .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none;
    margin: 0;
    padding: 12px 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #dd8740;
    color: #ffffff;
    border-radius: 60px;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    letter-spacing: 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
    background-color: #084c89;
    color: #ffffff;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce #payment #place_order:focus {
    color: #ffffff;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button.disabled,
.woocommerce .wc-proceed-to-checkout a.checkout-button:disabled,
.woocommerce #payment #place_order.disabled,
.woocommerce #payment #place_order:disabled {
    opacity: 1;
    background: #C9CAD0;
    border-color: #C9CAD0;
    color: #ffffff;
}

/* =============================================
   Checkout Page — two-column grid layout
   ============================================= */
.woocommerce form.woocommerce-checkout {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 10px;
}

@media only screen and (max-width: 767px) {
    .woocommerce form.woocommerce-checkout {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .woocommerce form.woocommerce-checkout .woocommerce-checkout-left {
        margin-bottom: 0;
    }

    .woocommerce form.woocommerce-checkout .woocommerce-checkout-left .col-1,
    .woocommerce form.woocommerce-checkout .woocommerce-checkout-left .form-row:last-child {
        margin-bottom: 0;
    }
}

/* Checkout headings */
.woocommerce form.woocommerce-checkout h3,
.woocommerce form.woocommerce-checkout #order_review_heading {
    color: #084c89;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Form rows */
.woocommerce form.woocommerce-checkout .form-row {
    padding: 0;
    margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
    .woocommerce form.woocommerce-checkout .form-row {
        margin-bottom: 16px;
    }
}

.woocommerce form.woocommerce-checkout .form-row label {
    display: block;
    color: #084c89;
    font-weight: 500;
    line-height: normal;
    padding: 0;
    margin-bottom: 6px;
    font-family: Montserrat, sans-serif;
}

@media only screen and (max-width: 767px) {
    .woocommerce form.woocommerce-checkout .form-row label {
        margin-bottom: 4px;
    }
}

/* Input & select fields */
.woocommerce form.woocommerce-checkout .form-row input.input-text,
.woocommerce form.woocommerce-checkout .form-row .select2-container--default .select2-selection {
    border-color: #D2D4DA;
    border-width: 2px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 15px;
    color: #1e1e1e;
    margin-bottom: 0;
}

.woocommerce form.woocommerce-checkout .form-row textarea {
    border-color: #D2D4DA;
    border-width: 2px;
    border-radius: 3px;
    padding: 12px 15px;
    min-height: 120px;
    width: 100%;
    font-size: 15px;
}

.woocommerce form.woocommerce-checkout .form-row .select2-container--default {
    margin-bottom: 0;
}

.woocommerce form.woocommerce-checkout .form-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    font-size: 24px;
    width: 30px;
}

.select2-container--default .select2-selection--single {
    height: auto;
    min-height: 45px;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 15px;
    line-height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px;
    width: 25px;
    line-height: 45px;
}

/* Order review table */
.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 0;
    border: none;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    padding-left: 0;
    font-weight: 500;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table th:last-child {
    padding-right: 0;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tbody span.woocommerce-Price-amount.amount {
    font-size: 16px;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child th {
    padding-left: 0;
    border-color: #D2D4DA;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child th,
.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child td {
    padding-bottom: 0;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .cart-subtotal span.woocommerce-Price-amount.amount {
    font-size: 16px;
}

.woocommerce form.woocommerce-checkout table.shop_table td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-color: #D2D4DA;
}

/* Payment block */
.woocommerce form.woocommerce-checkout #payment {
    background: transparent;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods {
    padding: 0;
    border: none;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method {
    padding-top: 0;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method label {
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    color: #084c89;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box {
    background: transparent;
    padding: 0;
    margin: 0;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box .form-row {
    background: transparent;
    padding: 0;
    border: none;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box .wc-stripe-elements-field,
.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box .wc-stripe-iban-element-field {
    border-width: 2px;
    border-color: #D2D4DA;
    padding: 13px 15px;
    border-radius: 3px;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box fieldset {
    padding: 0;
    margin: 0;
    border: none;
}

.woocommerce form.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method div.payment_box .woocommerce-SavedPaymentMethods-saveNew {
    display: none !important;
}

.woocommerce form.woocommerce-checkout #payment div.payment_box::before {
    border-right-color: transparent !important;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
}

.woocommerce form.woocommerce-checkout #payment .form-row.place-order {
    margin-bottom: 0;
    border: none;
}

/* col2-set full-width billing column */
.woocommerce-page:not(.woocommerce-order-received) .woocommerce .col2-set .col-1,
.woocommerce-page:not(.woocommerce-order-received) .woocommerce .col2-set .col-2 {
    float: left;
    width: 100%;
    margin-bottom: 0;
}

/* Error/notice group spans full grid width */
.woocommerce .woocommerce-NoticeGroup {
    grid-column: span 2;
}

.woocommerce .woocommerce-NoticeGroup .woocommerce-error {
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    .woocommerce .woocommerce-NoticeGroup {
        grid-column: span 1;
    }
}

/* =============================================
   Terms & Conditions
   ============================================= */
.woocommerce-terms-and-conditions-link {
    text-transform: capitalize;
}

.woocommerce-terms-and-conditions-link span {
    color: #084c89;
}

.woocommerce-terms-and-conditions-checkbox-text {
    padding-top: 5px;
    font-weight: bold;
}

.woocommerce-form__input-checkbox {
    display: none !important;
}

.iframe_inside_checkbox {
    display: inline !important;
}

/* Fix payment box arrow */
.woocommerce-checkout #payment div.payment_box:before {
    border-color: transparent !important;
}

input[type=radio]:checked:before {
    background: #000 !important;
}

/* =============================================
   T&C Popup Modal
   ============================================= */
html.tandcPopupIsActive,
html.tandcPopupIsActive body {
    overflow: hidden;
}

#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    z-index: 9999999;
    background: rgba(0, 0, 0, 0.3);
}

#popup.show {
    display: block;
}

.popupContent {
    max-height: 85vh;
    overflow-y: auto;
    max-width: 1170px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 1) 5px 5px 10px;
    border: 2px solid #d8d8d8;
}

#popup .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 35px 0 0;
    width: max-content;
    color: #084c89;
    font-family: Handlee, cursive;
    font-size: 22px;
}

#popup .star {
    color: red;
}

#popup b,
.popup strong {
    color: #084c89;
}

/* Popup content wrapper (injected by JS on single product) */
/* .popup-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    background: #fff;
    border-radius: 8px;
    padding: 48px 32px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
} */

.popup-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    transition: color 0.2s;
}

.popup-close-btn:hover {
    color: #084c89;
}

/* Popup T&C content area */
.tandcPageContent {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.tandcPageContent h1,
.tandcPageContent h2,
.tandcPageContent h3 {
    color: #084c89;
    font-family: Montserrat, sans-serif;
}

.tandcPageContent ul {
    padding-left: 20px;
}

.tandcPageContent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #084c89;
}

.tandcPageContent label input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #084c89;
}

.tandcPageContent .star {
    color: red;
}

.woocommerce-checkout-payment .woocommerce-terms-and-conditions {
    display: none !important;
    max-height: unset !important;
}

.woocommerce-terms-and-conditions-wrapper p.form-row {
    margin-bottom: 0;
}

.woocommerce-terms-and-conditions-wrapper p span {
    line-height: 1.6;
    font-size: 14px;
}

.woocommerce-checkout #payment div.payment_box p:last-child {
    margin-top: 0;
}

.woocommerce-invalid #terms {
    outline-offset: 0;
}

/* Place order button hidden until T&C accepted (JS shows it) */
.woocommerce #payment #place_order {
    display: none;
    transition: all 0.3s;
}

.woocommerce-terms-and-conditions .woocommerce-form__label-for-checkbox {
    font-size: 12px;
    cursor: pointer;
}

/* =============================================
   Product Modal (add-to-cart success)
   ============================================= */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

.product-modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 560px;
}

.product-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px 24px;
    position: relative;
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.product-modal-close:hover {
    color: #084c89;
}

.product-modal-title {
    font-family: Montserrat, sans-serif;
    color: #084c89;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-modal-body {
    text-align: center;
}

.product-modal-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Prevent scroll when modal open */
body.product-modal-open {
    overflow: hidden;
}

/* Close modal on backdrop click */
.product-modal {
    cursor: pointer;
}

.product-modal-content {
    cursor: default;
}

/* JS: close button */
#modalCloseBtn {}

/* =============================================
   Sticky Basket Icon
   ============================================= */
.sticky-basket {
    position: fixed;
    right: 24px;
    z-index: 9999;
}

.logged-in .sticky-basket {
    margin-top: 32px;
}

.sticky-basket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dd8740;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: background 0.3s;
}

.sticky-basket-btn:hover {
    background: #084c89;
    color: #fff;
}

.sticky-basket-btn .cart-icon {
    font-size: 22px;
}

.sticky-basket-btn__count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #084c89;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   Suppress WooCommerce Block Notice Banners
   (custom product modal handles post-add-to-cart UI)
   ============================================= */
.wc-block-components-notice-banner,
.wc-block-components-notice-snackbar,
.wc-block-components-notices-wrapper .wc-block-components-notice-banner,
.wp-block-woocommerce-store-notices,
.wc-block-store-notices {
    display: none !important;
}

/* Hide "View Cart" link WooCommerce JS injects next to Add to Cart button */
a.added_to_cart.wc-forward {
    display: none !important;
}

/* =============================================
   WooCommerce Notices (matching cesis-child design)
   ============================================= */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    border-radius: 4px;
    margin-bottom: 36px;
    padding: 16px 24px 16px 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-width: 1px;
    font-weight: 500;
    color: #1e1e1e;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
}

@media only screen and (max-width: 767px) {

    .woocommerce .woocommerce-error,
    .woocommerce .woocommerce-info,
    .woocommerce .woocommerce-message {
        padding: 12px 20px 12px 48px;
        margin-bottom: 20px;
    }
}

.woocommerce .woocommerce-message {
    background-color: #ffffff;
    border: 1px solid #D2D4DA;
}

.woocommerce .woocommerce-message:before {
    color: #dd8740;
}

.woocommerce .woocommerce-info {
    background-color: #ffffff;
    border: 1px solid #084c89;
}

.woocommerce .woocommerce-info:before {
    color: #084c89;
}

.woocommerce .woocommerce-error {
    border-color: #dd8740;
    flex-direction: column;
}

.woocommerce .woocommerce-error:before {
    color: #dd8740;
}

/* Buttons inside notices */
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-error a.button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-info a.button,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-message a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    background: #dd8740 !important;
    color: #ffffff;
    border-radius: 60px;
    text-decoration: none;
    order: 100;
    margin-left: auto;
    transition: all 0.3s;
    cursor: pointer;
}

.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-error a.button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-info a.button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-message a.button:hover {
    background: #084c89 !important;
    color: #ffffff;
}

/* =============================================
   Cart & Checkout page background
   ============================================= */
body.woocommerce-cart .woocommerce-page-content-wrap,
body.woocommerce-checkout .woocommerce-page-content-wrap {
    background: #f5f5f6;
    min-height: 60vh;
}

/* Remove any max-width constraints added by block post-content on these pages */
body.woocommerce-cart .wp-block-post-content,
body.woocommerce-checkout .wp-block-post-content {
    max-width: 100% !important;
}

/* The shortcode .woocommerce wrapper: make it fill the container */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* =============================================
   Breadcrumbs
   ============================================= */
body.woocommerce .breadcrumb_container {
    min-height: 40px;
}

/* =============================================
   Termly Cookie Banner Override
   ============================================= */
.termly-styles-module-solid-f10ff4.termly-styles-module-primary-c2e506 {
    border-color: #dd8740 !important;
    background: #dd8740 !important;
}

.termly-styles-module-outline-af2c17.termly-styles-module-primary-c2e506 {
    border-color: #dd8740 !important;
    color: #dd8740 !important;
}

/* Modal */
.product-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
    background-color: rgba(8, 76, 137, 0.95);
    /* Adding to the body tag to prevent page scroll */
}

.product-modal-open.body,
.product-modal-open {
    overflow: hidden;
}

.logged-in .product-modal {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .logged-in .product-modal {
        top: 46px;
    }
}

.product-modal-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    overflow: hidden;
    transition: all 0.3s;
    top: -10px;
    right: -10px;
    padding: 0;
    font-size: 0;
    outline: 0;
    border: none;
    z-index: 1;
    opacity: 1;
    box-shadow: none;
    width: 36px;
    height: 36px;
    background-color: #dd8740;
    border-radius: 50px;
}

.product-modal-close:before,
.product-modal-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    transition: all .3s;
    border-radius: 10px;
}

.product-modal-close:before {
    transform: rotate(45deg);
}

.product-modal-close:after {
    transform: rotate(-45deg);
}

.product-modal-close:hover {
    background-color: #084c89;
}

.product-modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1680px;
}

@media only screen and (min-width: 768px) {
    .product-modal-dialog {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: 1680px;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 767px) {
    .product-modal-dialog {
        padding: 40px 20px;
    }
}

.product-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
    margin: auto;
    pointer-events: auto;
    background-clip: padding-box;
    border-radius: 9px;
    outline: 0;
    width: 100%;
    max-width: 540px;
    padding: 0;
    overflow: unset;
}

.product-modal-body {
    display: block;
    padding: 48px 32px;
    color: #1e1e1e;
}

@media only screen and (max-width: 767px) {
    .product-modal-body {
        padding: 24px 20px;
    }
}

.product-modal-title {
    font-size: 27px;
    line-height: 28px;
    color: #084c89;
    margin-bottom: 12px;
}

.product-modal-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

@media only screen and (max-width: 767px) {
    .product-modal-btns {
        flex-direction: column;
        gap: 16px;
    }
}

.product-modal .btn-primary {
    transition: all 0.3s;
    position: relative;
    isolation: isolate;
    cursor: pointer;
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none;
    margin: 0px;
    padding: 10px 24px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    background-color: #dd8740;
    color: #ffffff;
    border-radius: 60px;
    min-width: unset;
    min-width: 180px;
    height: auto;
}

.product-modal .btn-primary:hover {
    background-color: #084c89;
    color: #ffffff;
}

.product-modal .btn-primary:focus {
    color: #ffffff;
}

.product-modal .btn-primary.disabled,
.product-modal .btn-primary:disabled {
    opacity: 1;
    color: #ffffff;
    background: #C9CAD0;
    border-color: #C9CAD0;
}

.product-modal .btn-primary.disabled:before,
.product-modal .btn-primary:disabled:before {
    display: none !important;
}

/* Popup close button wrapper */
#popup .popup-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1170px;
}

#popup .popup-content-wrapper .popupContent {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    max-width: none;
}

#popup .popup-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: var(--white);
    padding: 0;
    z-index: 99999;
}


/* PRODUCT CARDS - 3 COLUMNS */
ul.products>li {
    padding: 0;
    margin: 0;
}

ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5 {
    display: grid;
    gap: 40px 30px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 32px;
}

ul.products.columns-3:before,
ul.products.columns-3:after,
ul.products.columns-4:before,
ul.products.columns-4:after,
ul.products.columns-5:before,
ul.products.columns-5:after {
    display: none !important;
}

@media only screen and (max-width: 991px) {

    ul.products.columns-3,
    ul.products.columns-4,
    ul.products.columns-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media only screen and (max-width: 767px) {

    ul.products.columns-3,
    ul.products.columns-4,
    ul.products.columns-5 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5 {
    padding-bottom: 32px;
}

@media only screen and (max-width: 991px) {

    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5 {
        gap: 24px;
    }
}

@media only screen and (max-width: 767px) {

    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5 {
        gap: 24px;
    }
}

.page-training {
    padding-top: 60px;
    padding-bottom: 100px;
}

@media only screen and (max-width: 767px) {
    .page-training {
        padding-top: 28px;
        padding-bottom: 52px;
    }
}

.page-training-block {
    margin-left: auto;
    margin-right: auto;
    max-width: 984px;
}

@media only screen and (max-width: 767px) {
    .buttons .vc_col-sm-6 {
        margin-bottom: 20px;
    }

    .buttons .vc_col-sm-6 .wpb_content_element:last-child {
        margin-bottom: 0;
    }
}


/* Sticky Woocommerce basket */
.sticky-basket {
    position: fixed;
    top: 124px;
    right: 24px;
    z-index: 99999;
}

.logged-in .sticky-basket {
    margin-top: 32px;
}

@media only screen and (min-width: 768px) {
    .logged-in .sticky-basket {
        margin-top: 32px;
    }
}

@media only screen and (max-width: 767px) {
    .sticky-basket {
        top: auto;
        right: 20px;
        bottom: 20px;
    }
}

.sticky-basket-btn {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    font-size: 28px;
    background-color: #084c89;
    color: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 767px) {
    .sticky-basket-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

.sticky-basket-btn:hover {
    background-color: #dd8740;
    background: #0959a1;
    color: #ffffff;
}

.sticky-basket-btn__count {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background-color: #dd8740;
    font-size: 14px;
    font-weight: bold;
    right: -2px;
    top: -2px;
    border-radius: 50%;
    padding: 0;
}

@media only screen and (max-width: 767px) {
    .sticky-basket-btn__count {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
}

/**/

.woocommerce ul.products, .woocommerce-page ul.products {
    margin: 0 -15px;
}

.woocommerce ul.products.columns-3, .woocommerce ul.products.columns-4, .woocommerce ul.products.columns-5 {
    padding-bottom: 32px;
}

.woocommerce-page .woocommerce-checkout-review-order table.shop_table {
    width: 100%;
}

.woocommerce table.shop_table {
    border: none;
}

.woocommerce form.woocommerce-cart-form table.cart .product-remove a {
    background: none;
}

.woocommerce form.woocommerce-cart-form table.cart .product-remove a:after {   
    color: #B3B5BD !important;
    font-size: 30px;
    position: relative;
    font-weight: 100;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:focus, 
.woocommerce #payment #place_order:focus {
    outline: none;
}

.woocommerce table.cart th {
    font-weight: 600;
    padding: 0px 15px 12px 0;
    font-size: 1.1em;
}

.wp-block-group.alignfull.woocommerce-page-content-wrap {
    padding-left: 40px !important;
    padding-right: 0 !important;
}

.woocommerce-page .woocommerce-cart-form .product-thumbnail {
    width: auto;
}

.woocommerce p.return-to-shop .wc-backward {
    transition: all 0.3s;
    position: relative;
    isolation: isolate;
    cursor: pointer;
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none;
    margin: 0px;
    padding: 10px 24px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    background-color: #dd8740;
    color: #ffffff;
    border-radius: 60px;
    min-width: unset;
}

.page-woocommerce-container .page-woocommerce-title {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0px;
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    padding: 48px 0;
}

.single-product .woocommerce-breadcrumb {
    display: none !important;
}

.card-training-img {
    position: relative;
    padding-bottom: 100%;
    margin-bottom: 12px;
}

.card-training-img img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-training {
    background: none;
    border-radius: 0;
}

.card-training-body {
    padding: 0;
}

input[type="radio"]:focus {
    outline: none;
}

input[type="radio"] {
    width: 15px;
    height: 15px;
    border-radius: 100px;
    margin-top: 0px;
    top: 2px;
    margin-right: 5px;
    position: relative;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid;
    outline: none;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.25);
}

input[type=radio]:checked:before {
    background: #000 !important;
}

input[type=radio]:checked:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    left: 50%;
    top: 50%;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
}

.woocommerce-checkout-payment.form-block .form-row.place-order {
    padding-left: 0 !important;
}