/* HolidayKart — Cart page (hero uses transfer-booking-page styles from transfer.css) */
body.cart-page .transfer-booking-section.cart-page-wrap {
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 100px;
}

body.cart-page .breadcrumb-section.four {
    padding: 115px 0 110px;
}

@media (max-width: 768px) {
    body.cart-page .breadcrumb-section.four {
        padding: 85px 0 80px;
    }
}

@media (max-width: 576px) {
    body.cart-page .breadcrumb-section.four {
        padding: 65px 0 60px;
    }
}

.cart-page-wrap {
    background: transparent;
}

body.cart-page .cart-summary-card.sticky-top {
    top: 120px;
}

.cart-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.cart-item-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-item-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}

.cart-item-card .cart-item-thumb {
    width: 96px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.cart-item-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.35em 0.65em;
    border-radius: 999px;
}

.cart-item-badge--package {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

.cart-item-badge--transfer {
    background: #ede9fe !important;
    color: #5b21b6 !important;
}

.cart-item-meta {
    font-size: 0.8125rem;
    color: #64748b;
}

.cart-item-meta strong {
    color: #334155;
    font-weight: 600;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.cart-summary-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
    background: #fff;
}

.cart-summary-card .card-body {
    padding: 1.25rem !important;
}

.cart-summary-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 0.75rem !important;
}

/* Compact, MakeMyTrip-style: show every item directly, no inner scroll */
.cart-summary-items {
    padding-right: 0;
}

.cart-summary-item-group {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cart-summary-item-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cart-summary-line--item .cart-summary-line__label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
}

.cart-summary-line--item .cart-summary-line__value {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
}

.cart-summary-line--header .cart-summary-line__label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9375rem;
}

.cart-summary-line--header .cart-summary-line__value:empty {
    display: none;
}

.cart-summary-line--meta {
    padding-top: 0;
    padding-bottom: 0.25rem;
}

.cart-summary-line--meta .cart-summary-line__label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.cart-summary-line--detail .cart-summary-line__label {
    font-size: 0.8125rem;
    padding-left: 0.625rem;
    color: #64748b;
}

.cart-summary-line--detail .cart-summary-line__value {
    font-size: 0.8125rem;
    font-weight: 500;
}

.cart-summary-line--item-total {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f1f5f9;
}

.cart-summary-line--item-total .cart-summary-line__label {
    font-weight: 600;
    color: #334155;
    font-size: 0.8125rem;
}

.cart-summary-line--item-total .cart-summary-line__value {
    font-weight: 700;
    color: #0f172a;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.cart-summary-line__label {
    color: #64748b;
    line-height: 1.4;
}

.cart-summary-line__value {
    font-weight: 600;
    color: #0f172a;
    text-align: right;
    white-space: nowrap;
}

.cart-summary-totals {
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.cart-summary-tax-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    margin: 0.75rem 0;
}

.cart-summary-tax-block .cart-summary-line {
    padding: 0.2rem 0;
    font-size: 0.8125rem;
}

.cart-summary-grand {
    border-top: 2px solid #0f172a;
    padding-top: 0.625rem;
    margin-top: 0.5rem;
}

.cart-summary-grand .cart-summary-line__label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.cart-summary-grand .cart-summary-line__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color, #1e3a5f);
}

/* Grand Total shown at the top of the summary */
.cart-summary-grand--top {
    border-top: none;
    border-bottom: 2px solid #0f172a;
    padding-top: 0;
    padding-bottom: 0.625rem;
    margin-top: 0;
}

/* Per-item breakdown heading (route / cars / add-ons grouped under it) */
.cart-summary-item-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
    margin: 0.5rem 0 0.25rem;
}

.cart-summary-item-group + .cart-summary-item-group .cart-summary-item-title {
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.5rem;
}

.cart-summary-line--detail .cart-summary-line__label {
    padding-left: 0.5rem;
    color: #64748b;
}

/* Tax line hover affordance (title tooltip shows names & percentages) */
.cart-summary-line--tax {
    cursor: help;
}

.cart-tax-info {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* "Your fleet" vehicle quantity rows */
.js-cart-fleet-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cart-fleet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
}

.cart-fleet-row__label {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-fleet-stepper {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.cart-fleet-stepper__btn {
    border: none;
    background: transparent;
    color: #1e3a5f;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.cart-fleet-stepper__btn:hover {
    background: #eef2f7;
}

.cart-fleet-stepper__btn:active {
    background: #dde5ee;
}

.cart-fleet-stepper__qty {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.cart-breakdown-card {
    border: 1px solid #e2e8f0 !important;
    background: #fff;
}

.cart-breakdown-card .card-body {
    padding: 1.5rem !important;
}

.cart-form-card {
    border: 1px solid #e2e8f0 !important;
    background: #fff;
}

.cart-form-card .form-control,
.cart-form-card .form-select {
    border-color: #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.cart-form-card .form-control:focus,
.cart-form-card .form-select:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.cart-form-card .form-label {
    color: #334155;
}

.cart-included-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
}

.cart-points-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
}

.cart-checkout-form .primary-btn1 {
    border-radius: 0.75rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.cart-activity-route-option,
.cart-activity-spot-option {
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cart-activity-route-option:hover,
.cart-activity-spot-option:hover {
    border-color: #93c5fd !important;
}

.cart-vehicle-qty-selector {
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    padding: 4px 14px;
    background-color: #f8fafc;
}

.cart-qty-btn {
    border: none;
    background: none;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}

.cart-qty-btn:hover:not(:disabled) {
    color: #2563eb;
}

.cart-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cart-qty-value {
    font-weight: 600;
    font-size: 15px;
    min-width: 1.25rem;
    text-align: center;
}

.cart-activity-vehicle-col.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.35);
}

.cart-activity-vehicle-col.is-disabled .cart-activity-vehicle-option {
    cursor: not-allowed;
}

/* Time slot buttons (activity pickup time) */
.cart-time-slot-group {
    margin-top: 0.25rem;
}

.cart-time-slot-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
}

.cart-time-slot-btn:hover {
    border-color: #93c5fd;
    background: #f0f7ff;
}

.cart-time-slot-btn .cart-time-slot-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cart-time-slot-btn.is-selected,
.cart-time-slot-btn:has(.cart-time-slot-radio:checked) {
    border-color: var(--primary-color, #1e3a5f);
    background: var(--primary-color, #1e3a5f);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

@media (max-width: 991.98px) {
    .cart-summary-card.sticky-top {
        position: static !important;
    }
}
