/* ============================================================
   cart-redesign.css — Custom WooCommerce Cart Redesign
   ============================================================ */

/* ── Progress Bar ────────────────────────────────────────── */
.mt-checkout-progress {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 700px !important;
    margin: 2.5rem auto 3rem auto !important;
    padding: 0 1rem;
    box-sizing: border-box;
}

.mt-checkout-progress .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    min-width: 80px;
}

.mt-checkout-progress .step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e6eeed;
    color: #9dbdba;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dde9e7;
    transition: all 0.3s ease;
}

.mt-checkout-progress .progress-step.completed .step-icon {
    background: #009698;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0,150,152,0.2);
}

.mt-checkout-progress .progress-step.current .step-icon {
    background: #fff;
    color: #004D40;
    font-weight: 800;
    box-shadow: 0 0 0 3px rgba(0,150,152,0.35);
    border: 2px solid #009698;
}

.mt-checkout-progress .progress-step.current .step-icon.current-dot {
    background: linear-gradient(135deg, #009698, #007577);
    color: #fff;
}

.mt-checkout-progress .step-label {
    font-family: var(--font-body, sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    color: #9dbdba;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.mt-checkout-progress .progress-step.completed .step-label {
    color: #007577;
}
.mt-checkout-progress .progress-step.current .step-label {
    color: #004D40;
}

.mt-checkout-progress .progress-line {
    flex-grow: 1;
    height: 2px;
    background: #dde9e7;
    margin: -22px 0.5rem 0;
    z-index: 1;
    border-radius: 2px;
}

.mt-checkout-progress .progress-line.completed {
    background: #009698;
}

/* ── Cart Layout ─────────────────────────────────────────── */
.mt-cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

@media (min-width: 992px) {
    .mt-cart-layout {
        grid-template-columns: 1fr 380px;
        align-items: start;
        gap: 3rem;
    }
}

.mt-cart-section-title {
    font-family: var(--font-title, inherit);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

/* ── Tour Card ───────────────────────────────────────────── */
.mt-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mt-tour-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
    .mt-tour-card {
        flex-direction: row;
    }
}

.mt-tour-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .mt-tour-card-image {
        width: 280px;
        height: auto;
        flex-shrink: 0;
    }
}

.mt-tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mt-tour-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mt-tour-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mt-tour-badge {
    background: rgba(0, 144, 152, 0.1);
    color: var(--primary, #009098);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mt-tour-reviews {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.mt-tour-title {
    font-family: var(--font-title, inherit);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.mt-tour-title a {
    color: inherit;
    text-decoration: none;
}

.mt-tour-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.mt-tour-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mt-tour-meta-row .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.mt-tour-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.mt-qty-wrapper .qty {
    width: 60px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    color: #0f172a;
}

.mt-remove-item {
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mt-remove-item:hover {
    color: #dc2626;
}

/* Passenger info styles removed */

/* ── Sidebar (Order Summary) ─────────────────────────────── */
.mt-cart-sidebar {
    position: sticky;
    top: 2rem;
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 100%;
    float: none;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--font-title, inherit);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 1rem;
    border: none;
}

.woocommerce .cart-collaterals .cart_totals table th {
    background: transparent;
    font-weight: 500;
    color: #475569;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
    padding: 0.75rem 0;
}

.woocommerce .cart-collaterals .cart_totals table td {
    padding: 0.75rem 0;
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.woocommerce .cart-collaterals .cart_totals table tr.order-total th {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    padding-top: 1.5rem;
}

.woocommerce .cart-collaterals .cart_totals table tr.order-total td {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary, #009098);
    padding-top: 1.5rem;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary, #009098);
    color: #fff;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--secondary, #004D40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

.mt-secure-transaction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 1rem;
}

/* ── Checkout Layout ─────────────────────────────────────── */
.mt-checkout-layout {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 4rem auto !important;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .mt-checkout-layout {
        grid-template-columns: 1fr 380px !important;
        align-items: start !important;
        gap: 3rem !important;
    }
}

.mt-checkout-block {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
}

.mt-checkout-section-title {
    font-family: var(--font-title, inherit);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

/* ── Passenger Information (Mockup) ──────────────────────── */
.mt-passenger-subtitle {
    font-family: var(--font-title, inherit);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary, #009098);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}
.mt-passenger-entry {
    margin-bottom: 1.5rem;
}

/* ── Form Fields (Checkout) ──────────────────────────────── */
/* Hide WooCommerce native headings forcefully */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
#customer_details h3 {
    display: none !important;
}

/* Form Grid Layout */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.mt-passenger-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.woocommerce-checkout .form-row {
    flex: 1 1 100%;
    margin: 0 0 1rem;
    padding: 0;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    flex: 1 1 calc(50% - 0.5rem);
}

.woocommerce-checkout .form-row-wide {
    flex: 1 1 100%;
}

@media (max-width: 575px) {
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        flex: 1 1 100%;
    }
}

.woocommerce-checkout .form-row label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    background-color: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    display: block !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--primary, #009098);
    box-shadow: 0 0 0 3px rgba(0, 144, 152, 0.1);
    outline: none;
}

/* ── Payment Methods ─────────────────────────────────────── */
.mt-payment-methods-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mt-payment-methods-list > li {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s ease;
}
/* This requires a slightly modern browser but handles the active state beautifully */
.mt-payment-methods-list > li:has(input[type="radio"]:checked) {
    border-color: var(--primary, #009098);
    background: #f8fafc;
}
.mt-payment-methods-list input[type="radio"] {
    margin-right: 0.75rem;
    accent-color: var(--primary, #009098);
}
.mt-payment-methods-list label {
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: inline-block;
}
.mt-payment-methods-list .payment_box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}

/* ── Checkout Sidebar ────────────────────────────────────── */
.mt-checkout-sidebar {
    position: sticky;
    top: 2rem;
}
.mt-checkout-review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    padding-bottom: 2rem;
}
.mt-review-tour-item {
    display: flex;
    flex-direction: column;
}
.mt-review-tour-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.mt-review-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mt-review-tour-info {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}
#order_review h3.mt-review-tour-title,
.mt-review-tour-title {
    font-family: var(--font-title, inherit) !important;
    font-size: 1.125rem !important; /* Force size to override theme defaults */
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}
.mt-review-tour-meta {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mt-review-tour-meta dl.variation {
    margin: 0;
    padding: 0;
}
.mt-review-tour-meta dl.variation dt {
    font-weight: 600;
    float: left;
    clear: both;
    margin-right: 0.25rem;
}
.mt-review-tour-meta dl.variation dd {
    margin: 0 0 0.25rem 0;
}
.mt-review-tour-meta dl.variation p {
    margin: 0;
    display: inline;
}
.mt-review-tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mt-review-tour-price {
    display: none; /* Price breakdown is below */
}
.mt-review-order-totals {
    padding: 1.5rem;
}
.mt-review-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #475569;
}
.mt-review-total-row.order-total {
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
    padding-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}
.mt-review-total-row.order-total .mt-review-value {
    color: var(--primary, #009098);
}
.mt-place-order-proxy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: calc(100% - 3rem);
    margin: 0 auto;
    background: var(--primary, #009098);
    color: #fff;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mt-place-order-proxy-btn:hover {
    background: var(--secondary, #004D40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

/* =====================================================================
   CHECKOUT REDESIGN — TURISMO PREMIUM
   ===================================================================== */

/* ── Neutralize WordPress Block Theme body grid ── */
body.woocommerce-checkout,
body.woocommerce-cart {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
    overflow-x: hidden !important;
    background: #f0f4f3 !important;
}

body.woocommerce-checkout .site-footer,
body.woocommerce-cart .site-footer,
body.woocommerce-checkout .site-header,
body.woocommerce-cart .site-header {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* ── Main Wrapper ── */
.woocommerce-checkout .woocommerce {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem 3rem !important;
    box-sizing: border-box !important;
}

/* ── Coupon Notice Redesign ── */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 2rem !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: linear-gradient(135deg, rgba(0,150,152,0.08), rgba(0,77,64,0.05)) !important;
    border: 1px solid rgba(0,150,152,0.2) !important;
    border-radius: 10px !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: #004D40 !important;
    box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23009698' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v14'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: static !important;
    margin: 0 !important;
    color: transparent !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    color: #009698 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 0.25rem !important;
    border-bottom: 1px dashed #009698 !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle a:hover {
    color: #004D40 !important;
    border-bottom: 1px solid #004D40 !important;
}

/* Coupon Form */
.woocommerce-checkout form.checkout_coupon {
    border: 1px solid rgba(0,150,152,0.2) !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    background: #fff !important;
}
.woocommerce-checkout form.checkout_coupon .form-row {
    margin-bottom: 0 !important;
}
.woocommerce-checkout form.checkout_coupon .button {
    background: #009698 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0.8rem 1.5rem !important;
}

/* ── Hero Banner above checkout ── */
.mt-checkout-hero {
    background: linear-gradient(135deg, #007577 0%, #004D40 60%, #002d28 100%);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    /* Breakout to full viewport width */
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}
.mt-checkout-hero-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.mt-checkout-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.mt-checkout-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 30%;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.mt-checkout-hero-icon {
    font-size: 3rem;
    flex-shrink: 0;
    z-index: 1;
}
.mt-checkout-hero-text { z-index: 1; }
.mt-checkout-hero-text h1 {
    color: #fff;
    font-family: var(--font-title, sans-serif);
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}
.mt-checkout-hero-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
}

/* ── Accessibility hidden elements ── */
.woocommerce-checkout .select2-hidden-accessible,
.woocommerce-checkout .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    left: -9999px !important;
}

/* ── Grid Layout ── */
.mt-checkout-redesign-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    width: 100% !important;
    align-items: start !important;
}
@media(min-width: 992px) {
    .mt-checkout-redesign-grid {
        grid-template-columns: 1fr 400px !important;
    }
}

/* ── Columns ── */
.mt-checkout-col-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mt-checkout-col-right {
    position: sticky;
    top: 100px;
}

/* ── Cards ── */
.mt-checkout-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 2px 12px rgba(0,100,90,0.06) !important;
    transition: box-shadow 0.2s ease !important;
}
.mt-checkout-card:hover {
    box-shadow: 0 4px 24px rgba(0,100,90,0.1) !important;
}
.mt-checkout-col-right .mt-checkout-card {
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0,77,64,0.15) !important;
}

/* ── Card Headers with Icon ── */
.mt-card-title {
    font-family: var(--font-title, sans-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #004D40 !important;
    margin: 0 0 1.75rem 0 !important;
    padding: 0 0 1rem 0 !important;
    border-bottom: 2px solid #f0f4f3 !important;
    text-transform: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
}

/* ── Suppress WooCommerce native headings ── */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
#customer_details h3 {
    display: none !important;
}

/* ── Forms Layout ── */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.85rem 1rem !important;
}
.mt-checkout-redesign-grid .form-row,
.mt-form-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
.mt-checkout-redesign-grid .form-row-first,
.mt-checkout-redesign-grid .form-row-last {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-width: 220px !important;
}
.mt-form-row-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    width: 100%;
}
.mt-form-row-group .mt-form-field {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-width: 220px !important;
}

/* ── Labels ── */
.mt-checkout-redesign-grid label:not(.screen-reader-text),
.mt-passenger-label {
    font-family: var(--font-body, sans-serif) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #5c8080 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
    width: 100% !important;
}
.mt-passenger-label {
    color: #007577 !important;
    margin-bottom: 1rem !important;
    font-size: 0.78rem !important;
    padding: 0.5rem 0.75rem !important;
    background: rgba(0,150,152,0.07) !important;
    border-left: 3px solid #009698 !important;
    border-radius: 0 6px 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    width: 100% !important;
}

/* ── Inputs ── */
.mt-checkout-redesign-grid input.input-text,
.mt-checkout-redesign-grid select:not(.select2-hidden-accessible),
.mt-checkout-redesign-grid textarea,
.mt-form-field input {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border: 1.5px solid #dde4e0 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: #1a2e2e !important;
    background: #f9fbfb !important;
    box-sizing: border-box !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    font-family: var(--font-body, sans-serif) !important;
}
.mt-checkout-redesign-grid input.input-text:focus,
.mt-form-field input:focus {
    border-color: #009698 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,150,152,0.12) !important;
    background: #fff !important;
}
.mt-checkout-redesign-grid .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    clear: both;
}

/* ── Select2 Dropdowns (WooCommerce standard) ── */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: auto !important;
    padding: 0.75rem 1rem !important;
    border: 1.5px solid #dde4e0 !important;
    border-radius: 8px !important;
    background: #f9fbfb !important;
    font-size: 0.95rem !important;
    color: #1a2e2e !important;
    box-sizing: border-box !important;
    font-family: var(--font-body, sans-serif) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 20px !important;
    line-height: normal !important;
    color: #1a2e2e !important;
}
.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: #009698 !important;
    box-shadow: 0 0 0 3px rgba(0,150,152,0.12) !important;
    background: #fff !important;
}
.woocommerce-checkout .select2-container {
    width: 100% !important;
    display: block !important;
}

/* ── Passenger Card Accent ── */
.mt-passenger-mockup {
    padding: 1.25rem !important;
    background: #f9fbfb !important;
    border-radius: 10px !important;
    border: 1px solid #e6eeed !important;
    margin-bottom: 1rem;
}
.mt-passenger-mockup + .mt-passenger-mockup {
    margin-top: 1rem;
}

/* ── Right Column — Booking Summary ── */
.mt-review-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.mt-review-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mt-review-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,40,35,0.85) 0%, transparent 60%);
}
.mt-review-hero-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: #009698;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}
/* Compact Horizontal Layout for Cart Items */
.mt-review-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #edf1f0;
}
/* Fallback image div / Thumbnail wrapper */
.mt-review-img {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,117,119,0.1), rgba(0,77,64,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}
.mt-review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mt-review-details {
    padding: 0 !important;
    flex-grow: 1;
}
.mt-review-title {
    font-family: var(--font-title, sans-serif) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #004D40 !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.3 !important;
}
.mt-review-meta {
    font-size: 0.85rem !important;
    color: #5c8080 !important;
    margin-bottom: 1.25rem !important;
}
.mt-review-meta dl.variation { margin: 0 !important; }
.mt-review-meta dl.variation dt,
.mt-review-meta dl.variation dd,
.mt-review-meta dl.variation p {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    color: #5c8080 !important;
}
.mt-review-meta dl.variation dt {
    font-weight: 600 !important;
    margin-right: 0.25rem !important;
}

/* Price Breakdown */
.mt-review-price-breakdown {
    border-top: 1px dashed #edf1f0;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.mt-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #5c8080;
}

/* Total Bar */
.mt-review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem !important;
    background: linear-gradient(135deg, #007577, #004D40) !important;
    margin: 0 !important;
}
.mt-total-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mt-total-value {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}
.mt-total-value .amount {
    font-weight: 800 !important;
    color: #fff !important;
}

/* Trust Badges */
.mt-trust-badges {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid #edf1f0;
    flex-wrap: wrap;
}
.mt-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #5c8080;
    font-weight: 500;
}

/* Pay Button (Native WooCommerce Override) */
.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    margin: 1.5rem 0 0 0 !important;
    background: linear-gradient(135deg, #009698, #007577) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 1.1rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(0,150,152,0.35) !important;
    letter-spacing: 0.02em !important;
}
.woocommerce-checkout #payment #place_order:hover {
    background: linear-gradient(135deg, #007577, #004D40) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,150,152,0.45) !important;
}
.woocommerce-checkout #payment #place_order::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Native WooCommerce Payment Block */
.woocommerce-checkout #payment {
    background: transparent !important;
    padding: 0 1.5rem 1.5rem 1.5rem !important; /* Top is 0 because the Total bar has padding, Bottom is 1.5rem */
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 1.5rem 0 !important;
    border: 1.5px solid #dde4e0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
.woocommerce-checkout #payment ul.payment_methods li {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #edf1f0 !important;
    margin: 0 !important;
    transition: background 0.15s !important;
}
.woocommerce-checkout #payment ul.payment_methods li:hover {
    background: #f9fbfb !important;
}
.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none !important;
}
.woocommerce-checkout #payment ul.payment_methods li label {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1a2e2e !important;
    text-transform: none !important;
    width: auto !important;
    display: inline-block !important;
    cursor: pointer !important;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin: 0 0.6rem 0 0 !important;
    vertical-align: middle !important;
    accent-color: #009698 !important;
}
.woocommerce-checkout #payment .payment_box {
    padding: 1.5rem !important;
    background: #f0f7f7 !important;
    border-radius: 8px !important;
    margin: 0.5rem 0 1rem 0 !important;
    border: 1px solid rgba(0,150,152,0.15) !important;
}

