.express-checkout-container {
    background: #1a2332;
    color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
    font-family: 'Futura', Arial, sans-serif;
}

.express-checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.checkout-left {
    background: #1a2332;
}

.checkout-right {
    background: #153861;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.express-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.express-header p {
    font-size: 16px;
    color: #b8c5d1;
    margin: 0 0 20px 0;
}

.returning-customer {
    color: #f6d04e;
    text-decoration: underline;
    font-size: 14px;
    margin-bottom: 30px;
    display: inline-block;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 15px;
    background: #2a3441;
    border: 1px solid #3a4651;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #f6d04e;
}

/* Billing Optional Checkbox */
.billing-optional-checkbox {
    margin-bottom: 20px;
}

.billing-optional-checkbox label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
}

.billing-optional-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    transform: scale(1.2);
}

/* Billing Fields - Hidden by default */
.billing-fields {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a4651;
}

.billing-fields.show {
    display: block;
}

/* Email verification styling */
.email-verify-note {
    font-size: 12px;
    color: #b8c5d1;
    margin-top: 5px;
}

/* Account creation note */
.account-creation-note {
    background: #153861;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
    color: #b8c5d1;
}

/* WooCommerce Payment Methods Styling */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.wc_payment_method {
    margin-bottom: 15px;
    border: 2px solid #3a4651;
    border-radius: 4px;
    overflow: hidden;
}

.wc_payment_method input[type="radio"] {
    display: none;
}

.wc_payment_method label {
    display: block;
    padding: 15px 20px;
    background: #2a3441;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    color: #ffffff;
}

.wc_payment_method:has(input[type="radio"]:checked) {
    border-color: #f6d04e;
}

.wc_payment_method:has(input[type="radio"]:checked) label {
    background: #3a4651;
}

.payment_box {
    padding: 20px;
    background: #1a2332;
    border-top: 1px solid #3a4651;
}

.payment_box input,
.payment_box select {
    background: #2a3441 !important;
    border: 1px solid #3a4651 !important;
    color: #ffffff !important;
    padding: 12px !important;
    border-radius: 4px !important;
}

.payment_box label {
    color: #ffffff !important;
    font-size: 14px !important;
}

/* Order Summary */
.order-summary h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 30px 0;
    color: #ffffff;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.order-item:not(:last-of-type) {
    border-bottom: 1px solid #2a3441;
}

.order-item-details h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.order-item-details p {
    font-size: 14px;
    color: #b8c5d1;
    margin: 0;
}

.order-item-price {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

/* Coupon Section Styling */
.coupon-section {
    margin: 15px 0;
    padding: 15px 0;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.coupon-input {
    flex: 1;
    padding: 12px 15px;
    background: #2a3441;
    border: 1px solid #3a4651;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    height: 44px;
}

.coupon-input:focus {
    outline: none;
    border-color: #f6d04e;
}

.coupon-input::placeholder {
    color: #b8c5d1;
}

.coupon-button {
    background: #f6d04e;
    color: #1a2332;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    height: 44px;
    box-sizing: border-box;
}

.coupon-button:hover {
    background: #f4c842;
    color: #1a2332;
}

.coupon-button:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
}

.coupon-message {
    font-size: 14px;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.coupon-message.success {
    background: #2d4a2d;
    color: #90ee90;
    border: 1px solid #4a7c4a;
}

.coupon-message.error {
    background: #4a2d2d;
    color: #ff6b6b;
    border: 1px solid #7c4a4a;
}

.applied-coupons {
    margin-top: 10px;
}

.applied-coupon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d3d2d;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #4a7c4a;
}

.coupon-name {
    font-size: 14px;
    color: #90ee90;
    font-weight: bold;
}

.remove-coupon {
    background: #666;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-coupon:hover {
    background: #888;
}

.remove-coupon:disabled {
    background: #444;
    cursor: not-allowed;
}

.coupon-row {
    color: #90ee90;
    font-weight: bold;
}

.order-totals {
    margin-top: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.total-row.final {
    font-size: 20px;
    font-weight: bold;
    padding-top: 15px;
    border-top: 1px solid #2a3441;
    margin-top: 20px;
}


.place-order-button {
    width: 100%;
    background: #f6d04e;
    color: #1a2332;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.place-order-button:hover {
    background: #f4c842;
}

/* Style for WooCommerce default buttons */
.button.alt {
    background: #f6d04e !important;
    color: #1a2332 !important;
    border: none !important;
    padding: 18px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.button.alt:hover {
    background: #f4c842 !important;
}

/* Add arrow to both button types */
.place-order-button::after,
.button.alt::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('img/chevron-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 8px;
    flex-shrink: 0;
    filter: invert(0);
}

/* Make arrow white on hover */
.place-order-button:hover::after,
.button.alt:hover::after {
    filter: invert(1);
}

/* Credit card logos */
.credit-card-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Style secure payment info in security badges section */
.security-badges .secure-payment-info {
    font-size: 16px;
    font-weight: bold;
    color: #f6d04e;
    margin-bottom: 15px;
    text-align: center;
}

/* Email explanation text */
.email-explanation {
    font-size: 14px;
    color: #b8c5d1;
    margin: 0 0 20px 0;
}

/* Statement info text */
.statement-info {
    font-size: 14px;
    color: #b8c5d1;
    margin: 8px 0 15px 0;
    text-align: center;
    font-style: italic;
}

.security-badges {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #b8c5d1;
}


/* Pricing block styling in checkout */
.lusole-pricing-block-container .original-price {
    text-decoration: line-through !important;
    opacity: 0.7;
}

.lusole-pricing-block-container .current-price {
    font-weight: bold;
    font-size: 24px;
}

/* Checkout original price styling */
.original-price-checkout {
    text-decoration: line-through !important;
    color: #999 !important;
    font-size: 14px !important;
    opacity: 0.7;
}

.original-total-price {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7;
}

.discount-row {
    color: #90ee90 !important;
    font-weight: bold;
}

.discount-amount {
    color: #90ee90 !important;
    font-weight: bold;
}

/* Mobile checkout layout adjustments */
@media (max-width: 768px) {
    .express-checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-right {
        position: static;
    }
}

/* Hide default WooCommerce styling */
.woocommerce-checkout {
    background: transparent !important;
}

.woocommerce .col2-set {
    display: none;
}

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

/* Hide billing information heading */
.form-section h3:contains("Billing Information (Optional)") {
    display: none;
}

/* Alternative CSS selector for the billing heading */
.form-section:has(.billing-optional-checkbox) h3 {
    display: none;
}

/* Hide payment information content except button */
.form-section:has(#payment) h3 {
    display: none;
}

.form-section:has(#payment) .wc_payment_methods {
    display: none;
}

.form-section:has(#payment) .payment_box {
    display: none;
}

/* Subscription-specific styles */
.subscription-terms-disclosure {
    background: #011e3d;
    border: 2px solid #f6d04e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.subscription-terms-disclosure p {
    color: #f6d04e;
    font-weight: bold;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.subscription-terms-disclosure ul {
    margin: 0;
    padding-left: 20px;
    color: #fff;
    list-style-type: disc;
}

.subscription-terms-disclosure li {
    margin: 8px 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.subscription-billing-info {
    color: #f6d04e !important;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px !important;
}