.lul-payment-form {
    max-width: 500px;
    margin: 0 auto;
    font-family: inherit;
}

.lul-payment-field {
    margin-bottom: 16px;
}

.lul-payment-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
}

.lul-payment-field .required {
    color: #e00;
}

.lul-payment-field input[type="text"],
.lul-payment-field input[type="email"],
.lul-payment-field input[type="tel"],
.lul-payment-field input[type="number"]:not(.lul-product-qty) {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.lul-payment-field .lul-currency-label {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    color: #555;
}

.lul-payment-gateways {
    margin-bottom: 16px;
}

.lul-gateway-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
}

.lul-gateway-tab {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}

.lul-gateway-tab:first-child {
    border-radius: 4px 0 0 4px;
}

.lul-gateway-tab:last-child {
    border-radius: 0 4px 4px 0;
}

.lul-gateway-tab.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.lul-gateway-tab:hover:not(.active) {
    background: #e0e0e0;
}

#lul-card-element {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    min-height: 42px;
}

#lul-card-errors {
    margin-top: 6px;
    color: #e00;
    font-size: 13px;
    min-height: 18px;
}

.lul-billplz-banks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.lul-bank-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.lul-bank-option:hover {
    background: #f0f8ff;
    border-color: #0073aa;
}

.lul-bank-option input {
    margin: 0;
}

.lul-payment-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.lul-payment-submit:hover {
    background: #005a87;
}

.lul-payment-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.lul-payment-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
}

.lul-payment-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lul-payment-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lul-payment-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.lul-product-table {
    width: 100%;
    border-collapse: collapse;
}

.lul-product-table th {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 2px solid #ddd;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
}

.lul-product-table .lul-col-price,
.lul-product-table .lul-col-qty {
    text-align: center;
    width: 1px;
    white-space: nowrap;
}

.lul-product-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.lul-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    display: block;
    flex: 1;
}

.lul-product-table .lul-product-description {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #0073aa !important;
    margin-top: 2px;
    line-height: 1.4;
}

.lul-discount-row .lul-discount-label {
    font-size: 13px;
    color: #0073aa;
    font-weight: 600;
}

.lul-discount-amount {
    font-size: 14px;
    font-weight: 600;
    color: #d9534f;
    white-space: nowrap;
}

.lul-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #0073aa;
    white-space: nowrap;
    flex-shrink: 0;
}

.lul-product-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.lul-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s;
    line-height: 1;
}

.lul-qty-btn:hover {
    background: #e0e0e0;
}

.lul-qty-minus {
    border-radius: 4px 0 0 4px;
}

.lul-qty-plus {
    border-radius: 0 4px 4px 0;
}

.lul-product-qty-wrap .lul-product-qty {
    width: 44px;
    height: 32px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.lul-product-qty-wrap .lul-product-qty::-webkit-inner-spin-button,
.lul-product-qty-wrap .lul-product-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lul-total-row {
    padding: 12px 0;
    border-top: 1px dashed #ccc;
    margin-top: 4px;
}

.lul-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #0073aa;
}

.lul-payment-success {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 18px;
    font-family: inherit;
}

.lul-payment-success-card {
    position: relative;
    overflow: hidden;
    padding: 52px 56px 46px;
    border: 1px solid #dfe8e7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(18, 52, 48, .12);
    text-align: center;
}

.lul-payment-success-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 7px;
    background: #0f766e;
    content: '';
}

.lul-payment-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #dff6ed;
    color: #087f5b;
    font-size: 34px;
    font-weight: 700;
}

.lul-payment-success-eyebrow {
    margin: 0 0 10px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.lul-payment-success-card h2 {
    margin: 0;
    color: #142b2a;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.lul-payment-success-lead {
    max-width: 500px;
    margin: 16px auto 30px;
    color: #60706f;
    font-size: 16px;
    line-height: 1.65;
}

.lul-payment-success-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    margin: 0 auto 28px;
    border: 1px solid #e4ecea;
    border-radius: 14px;
    background: #e4ecea;
    text-align: left;
}

.lul-payment-success-summary div {
    min-width: 0;
    padding: 17px 16px;
    background: #f8fbfa;
}

.lul-payment-success-summary span {
    display: block;
    margin-bottom: 7px;
    color: #748380;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.lul-payment-success-summary strong {
    display: block;
    overflow-wrap: anywhere;
    color: #173633;
    font-size: 14px;
}

.lul-payment-success-note {
    margin: 0;
    color: #748380;
    font-size: 13px;
    line-height: 1.5;
}

.collection-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.collection-status.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.collection-status.status-completed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.combo-collection-buttons .combo-day {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.combo-collection-buttons .combo-day small {
    color: #666;
    font-size: 11px;
}

.combo-day-status {
    margin-top: 6px;
    line-height: 1.4;
}

.combo-day-status small {
    color: #555;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .lul-payment-success {
        margin: 24px auto;
        padding: 0 12px;
    }

    .lul-payment-success-card {
        padding: 42px 20px 32px;
        border-radius: 18px;
    }

    .lul-payment-success-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }

     .lul-payment-success-summary div {
         padding: 14px 12px;
     }
}

.wp-core-ui .button.button-green,
.button.button-green {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.wp-core-ui .button.button-green:hover,
.wp-core-ui .button.button-green:focus,
.button.button-green:hover,
.button.button-green:focus {
    background: #218838 !important;
    border-color: #1e7e34 !important;
    color: #fff !important;
}

.lul-product-closed {
    opacity: 0.6;
}

.lul-product-closed .lul-product-title {
    color: #999;
}

.lul-product-closed .lul-product-price {
    color: #999;
}

.lul-closed-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
