/* ---------------------------------------------------------
   TITANIUM LIMOUSINES – PREMIUM CHECKOUT EXPERIENCE
   Black + Gold Theme | Clean | Responsive | Minimalist
--------------------------------------------------------- */

/* Remove sidebar on checkout */
body.woocommerce-checkout-no-sidebar .col-md-8,
body.woocommerce-checkout .col-md-4,
body.woocommerce-checkout aside.nsc-sidebar {
    display: none !important;
}

body.woocommerce-checkout .col-md-8 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.nsc-checkout-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px 20px;
}

.checkout-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #BFA37C;
    text-align: center;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.nsc-checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* ------------------------------
   LEFT SIDE (Billing + Booking)
------------------------------ */
.nsc-checkout-left,
.nsc-checkout-right {
    background: #0d0d0d;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-heading {
    font-size: 22px;
    color: #BFA37C;
    margin-bottom: 20px;
    margin-top: 0;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    font-weight: 600;
}

.section-heading:first-child {
    margin-top: 0;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    color: #d6d6d6;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.nsc-booking-fields input,
.nsc-booking-fields select {
    width: 100%;
    padding: 14px;
    background: #141414;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.nsc-booking-fields input:focus {
    border-color: #BFA37C;
    box-shadow: 0 0 0 3px rgba(191,163,124,0.15);
    outline: none;
    background: #1a1a1a;
}

.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row select::placeholder,
.woocommerce form .form-row textarea::placeholder,
.nsc-booking-fields input::placeholder,
.nsc-booking-fields select::placeholder {
    color: #666;
}

/* Form row wide */
.woocommerce form .form-row-wide {
    width: 100%;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48%;
    float: left;
}

.woocommerce form .form-row-last {
    float: right;
}

/* Notice */
.night-charge-note {
    margin-top: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 15px;
    border-left: 4px solid #BFA37C;
    border-radius: 8px;
    color: #d6d6d6;
    font-size: 14px;
    line-height: 1.6;
}

/* ------------------------------
   BOOKING SUMMARY BOX
------------------------------ */
.nsc-booking-summary-box {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #2e2e2e;
    margin-bottom: 25px;
}

.summary-title {
    font-size: 18px;
    color: #BFA37C;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    font-weight: 600;
}

.nsc-summary-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nsc-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #252525;
}

.nsc-summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 45%;
}

.summary-label i {
    color: #BFA37C;
    font-size: 16px;
    width: 20px;
}

.summary-value {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

/* ------------------------------
   RIGHT SIDE (Order Summary)
------------------------------ */
.nsc-order-box {
    background: #141414;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #2e2e2e;
    margin-bottom: 25px;
}

.nsc-order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #ccc;
    padding: 8px 0;
    border-bottom: 1px solid #252525;
}

.nsc-order-row:last-of-type {
    border-bottom: none;
}

.nsc-order-row strong {
    color: #fff;
    font-weight: 600;
}

.nsc-total-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #333;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
}

/* Gold highlight */
.nsc-highlight {
    color: #BFA37C;
}

/* ------------------------------
   WOOCOMMERCE ORDER REVIEW TABLE
------------------------------ */
#order_review {
    margin-top: 25px;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    background: #141414;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.woocommerce-checkout-review-order-table thead {
    background: #1a1a1a;
}

.woocommerce-checkout-review-order-table th {
    padding: 15px;
    text-align: left;
    color: #BFA37C;
    font-weight: 600;
    border-bottom: 2px solid #333;
}

.woocommerce-checkout-review-order-table td {
    padding: 15px;
    color: #d6d6d6;
    border-bottom: 1px solid #252525;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: #fff;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot td {
    color: #BFA37C;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-top: 2px solid #333;
    padding-top: 20px;
    font-size: 18px;
    color: #BFA37C;
}

/* Payment Methods */
#payment {
    margin-top: 25px;
}

#payment .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    background: #141414;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2e2e2e;
}

#payment .wc_payment_methods li {
    padding: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #252525;
}

#payment .wc_payment_methods li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#payment .wc_payment_methods label {
    color: #d6d6d6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

#payment .wc_payment_methods input[type="radio"] {
    accent-color: #BFA37C;
    width: 20px;
    height: 20px;
}

/* Checkout button */
#place_order {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #BFA37C 0%, #d9c6a5 100%) !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 700 !important;
    color: #000 !important;
    font-size: 18px !important;
    margin-top: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(191,163,124,0.3);
}

#place_order:hover {
    background: linear-gradient(135deg, #d9c6a5 0%, #BFA37C 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191,163,124,0.4);
}

#place_order:active {
    transform: translateY(0);
}

/* Error messages */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background: #1a1a1a;
    border-left: 4px solid #BFA37C;
    color: #d6d6d6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.woocommerce-error {
    border-left-color: #e74c3c;
}

.woocommerce-info {
    border-left-color: #3498db;
}

/* ------------------------------
   RESPONSIVENESS
------------------------------ */
@media (max-width: 992px) {
    .nsc-checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
        float: none;
    }
}

@media (max-width: 600px) {
    .checkout-title {
        font-size: 28px;
    }
    
    .nsc-checkout-left,
    .nsc-checkout-right {
        padding: 20px;
    }
    
    .nsc-summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .summary-value {
        text-align: left;
    }
}
.wc-block-components-form .wc-block-components-text-input input {

    background-color: transparent !important;
    border: 1px solid white !important;
}