/* ---------------------------------------------------------
 * WooLentor single-product Payment cards
 * --------------------------------------------------------- */
.wl-addto-cart .aah-payment-picker,
.wl-add-to-cart .aah-payment-picker {
    width: 100%;
    margin: 0 0 14px;
}

.wl-addto-cart .aah-payment-choice-buttons,
.wl-add-to-cart .aah-payment-choice-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wl-addto-cart .aah-payment-choice,
.wl-add-to-cart .aah-payment-choice {
    position: relative;
    appearance: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100% !important;
    min-height: 86px;
    padding: 14px 16px !important;
    border: 2px solid #d8e2e7 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #10284d !important;
    box-shadow: 0 3px 12px rgba(16, 40, 77, .06) !important;
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
    text-align: left !important;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wl-addto-cart .aah-payment-choice:hover,
.wl-add-to-cart .aah-payment-choice:hover {
    border-color: #39b9c8 !important;
    box-shadow: 0 7px 20px rgba(57, 185, 200, .16) !important;
    transform: translateY(-1px);
}

.wl-addto-cart .aah-payment-choice.is-active,
.wl-add-to-cart .aah-payment-choice.is-active,
.wl-addto-cart .aah-payment-choice[aria-pressed="true"],
.wl-add-to-cart .aah-payment-choice[aria-pressed="true"] {
    border-color: #28b8c7 !important;
    background: linear-gradient(135deg, #28b8c7 0%, #3ec4d1 100%) !important;
    color: #06263b !important;
    box-shadow: 0 9px 24px rgba(40, 184, 199, .28) !important;
    transform: translateY(-1px);
}

.wl-addto-cart .aah-payment-choice-name,
.wl-add-to-cart .aah-payment-choice-name {
    display: block;
    margin-bottom: 5px;
    color: inherit !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.wl-addto-cart .aah-payment-choice-price,
.wl-add-to-cart .aah-payment-choice-price,
.wl-addto-cart .aah-payment-choice-price .woocommerce-Price-amount,
.wl-add-to-cart .aah-payment-choice-price .woocommerce-Price-amount {
    display: block;
    color: inherit !important;
    font-size: clamp(19px, 2vw, 25px) !important;
    font-weight: 800 !important;
    line-height: 1.08;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.wl-addto-cart .aah-payment-choice-selected,
.wl-add-to-cart .aah-payment-choice-selected {
    display: none;
    position: absolute;
    top: 8px;
    right: 9px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #0c6070 !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.wl-addto-cart .aah-payment-choice.is-active .aah-payment-choice-selected,
.wl-add-to-cart .aah-payment-choice.is-active .aah-payment-choice-selected,
.wl-addto-cart .aah-payment-choice[aria-pressed="true"] .aah-payment-choice-selected,
.wl-add-to-cart .aah-payment-choice[aria-pressed="true"] .aah-payment-choice-selected {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.wl-addto-cart .aah-payment-choice:disabled,
.wl-add-to-cart .aah-payment-choice:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.wl-addto-cart .aah-selected-payment-summary,
.wl-add-to-cart .aah-selected-payment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 15px;
    border: 1px solid #dce7eb;
    border-radius: 10px;
    background: #f7fbfc;
}

.wl-addto-cart .aah-selected-payment-copy,
.wl-add-to-cart .aah-selected-payment-copy {
    min-width: 0;
}

.wl-addto-cart .aah-selected-payment-eyebrow,
.wl-add-to-cart .aah-selected-payment-eyebrow,
.wl-addto-cart .aah-selected-payment-name,
.wl-add-to-cart .aah-selected-payment-name,
.wl-addto-cart .aah-selected-payment-amount,
.wl-add-to-cart .aah-selected-payment-amount {
    display: block;
}

.wl-addto-cart .aah-selected-payment-eyebrow,
.wl-add-to-cart .aah-selected-payment-eyebrow {
    margin-bottom: 2px;
    color: #6f7f88;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wl-addto-cart .aah-selected-payment-name,
.wl-add-to-cart .aah-selected-payment-name {
    color: #10284d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.wl-addto-cart .aah-selected-payment-amount,
.wl-add-to-cart .aah-selected-payment-amount,
.wl-addto-cart .aah-selected-payment-amount .woocommerce-Price-amount,
.wl-add-to-cart .aah-selected-payment-amount .woocommerce-Price-amount {
    color: #10284d !important;
    font-size: clamp(21px, 2vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.1;
    white-space: nowrap;
}

/* Hide the original Payment dropdown and duplicate selected variation price. */
.wl-addto-cart form.variations_form.aah-payment-only-form table.variations,
.wl-add-to-cart form.variations_form.aah-payment-only-form table.variations,
.wl-addto-cart form.variations_form.aah-payment-only-form .reset_variations,
.wl-add-to-cart form.variations_form.aah-payment-only-form .reset_variations,
.wl-addto-cart form.variations_form table.variations tr.aah-hidden-payment-row,
.wl-add-to-cart form.variations_form table.variations tr.aah-hidden-payment-row,
.wl-addto-cart form.variations_form.aah-payment-buttons-ready .single_variation .woocommerce-variation-price,
.wl-add-to-cart form.variations_form.aah-payment-buttons-ready .single_variation .woocommerce-variation-price {
    display: none !important;
}

@media (max-width: 520px) {
    .wl-addto-cart .aah-payment-choice-buttons,
    .wl-add-to-cart .aah-payment-choice-buttons {
        grid-template-columns: 1fr;
    }

    .wl-addto-cart .aah-selected-payment-summary,
    .wl-add-to-cart .aah-selected-payment-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* ---------------------------------------------------------
 * WooLentor product-card Cash and Credit Card prices
 * Requested clean, large, two-column design
 * --------------------------------------------------------- */
.aah-payment-price-grid {
    display: none;
}

.woolentor-products .aah-default-loop-price {
    display: none !important;
}

.woolentor-products .aah-payment-price-grid {
    display: block !important;
    width: 100%;
    margin: 14px 0 4px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.woolentor-products .aah-payment-price-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.woolentor-products .aah-payment-price-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}

.woolentor-products .aah-payment-price-item + .aah-payment-price-item {
    padding-left: 14px;
    border-left: 1px solid #d8e0e5;
}

.woolentor-products .aah-payment-price-label,
.woolentor-products .aah-payment-price-value {
    display: block;
}

.woolentor-products .aah-payment-price-label {
    margin-bottom: 4px;
    color: #71808a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2;
}

.woolentor-products .aah-payment-price-value,
.woolentor-products .aah-payment-price-value .woocommerce-Price-amount,
.woolentor-products .aah-payment-price-value .woocommerce-Price-currencySymbol {
    color: #10284d !important;
    font-size: clamp(20px, 1.55vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1.08;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.woolentor-products .aah-payment-unavailable {
    opacity: .55;
}

@media (max-width: 1100px) {
    .woolentor-products .aah-payment-price-row {
        gap: 10px;
    }

    .woolentor-products .aah-payment-price-item + .aah-payment-price-item {
        padding-left: 10px;
    }

    .woolentor-products .aah-payment-price-value,
    .woolentor-products .aah-payment-price-value .woocommerce-Price-amount,
    .woolentor-products .aah-payment-price-value .woocommerce-Price-currencySymbol {
        font-size: 19px !important;
    }
}

@media (max-width: 480px) {
    .woolentor-products .aah-payment-price-row {
        align-items: flex-start;
    }

    .woolentor-products .aah-payment-price-label {
        font-size: 11px !important;
    }

    .woolentor-products .aah-payment-price-value,
    .woolentor-products .aah-payment-price-value .woocommerce-Price-amount,
    .woolentor-products .aah-payment-price-value .woocommerce-Price-currencySymbol {
        font-size: 17px !important;
    }
}
