.cart-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 2rem;
}

.cart-header {
    margin-bottom: 2rem;
    text-align: center;
}

.cart-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}


/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart h2 {
    /* font-size: 1.8rem; */
    margin-bottom: 0.5rem;
}

.empty-cart p {
    margin-bottom: 2rem;
}

/* Cart Content */
.cart-section {
    margin-bottom: 3rem;
}

.section-title {
    /* text-align: center; */
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--grey-border);
}

.subsection-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.custom-item-title {
    margin-top: 1.5rem;
}

/* Empty Section Message */
.empty-section-message {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 1rem;
}

.empty-section-message p {
    margin-bottom: 1.5rem;
}

/* Service Badge */
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-in-cart {
    opacity: 0.7;
    pointer-events: none;
}

.service-in-cart .service-textarea {
    background: #f5f5f5;
    cursor: not-allowed;
}

.cart-items {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    margin: 0 auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
    border-radius: var(--box-radius);
    border-bottom: 1px dashed;
    transition: box-shadow 0.3s;
}

.cart-item:hover {
    box-shadow: var(--box-shadow);
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--box-radius);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 1rem;
}

.item-notes {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid;
}

.item-category {
    margin-top: 0.5rem;
}

.menu-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--branding-gold-light);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.8rem;
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-width: 200px;
}

.quantity-notes {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.quantity-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--grey-border);
    border-radius: var(--box-radius);
    text-align: center;
}

.notes-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--grey-border);
    border-radius: var(--box-radius);
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.item-btn-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-direction: row-reverse;
}

.btn-update {
    width: 33%;
    padding: 0.5rem 1rem;
    background: var(--branding-blue);
    color: var(--white);
    border: none;
    border-radius: var(--box-radius);
    cursor: pointer;
    /* font-size: 0.9rem; */
}

.btn-update:hover {
    background: #2980b9;
}


.custom-note {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

/* Cart Footer */
.cart-footer {
    border-top: 2px solid var(--grey-border);
    margin-top: 3rem;
    padding: 2rem;
}

.cart-summary {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cart-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quote-warning {
    color: #e74c3c;
    margin-top: 0.5rem;
}

/* ==========================================
   FORM INPUTS (shared: flight details + cart)
   ========================================== */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--grey-border);
    border-radius: var(--box-radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--branding-gold);
}

.form-textarea {
    resize: vertical;
}

.help-text {
    font-size: 0.8rem;
    color: var(--text-grey-light);
    margin-top: 0.25rem;
}

/* ==========================================
   FLIGHT DETAILS PAGE
   ========================================== */

.fd-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 2rem;
}

.fd-content {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.fd-section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.fd-section--last {
    border-bottom: none;
}

.fd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fd-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-border);
}

.fd-sidebar {
    position: sticky;
    top: 2rem;
    border-left: 2px solid var(--branding-gold);
    padding-left: 2rem;
}

.fd-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.fd-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey-border);
    font-size: 0.9rem;
}

.fd-summary-note {
    font-size: 0.8rem;
    color: var(--text-grey-light);
    margin-top: 1rem;
}

/* ==========================================
   ORDER CONFIRMATION PAGE
   ========================================== */

.oc-container {
    max-width: 700px;
    margin: 60px auto 2rem;
    padding: 2rem;
}

.oc-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.oc-message p {
    font-size: 1rem;
}

.oc-steps {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.oc-steps li {
    font-size: 0.9rem;
    color: var(--paragraph-text);
    line-height: 1.6;
}

.oc-item-notes {
    color: var(--text-grey-light);
    font-style: italic;
}

.oc-section-gap {
    margin-top: 4rem;
}

.oc-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-prompt {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 2px solid #ffc107;
}

.login-message {
    font-size: 1.1rem;
    color: #856404;
    margin-bottom: 1rem;
    font-weight: 500;
}

.login-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Custom Item Images */
.item-images {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.item-images strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cart-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--box-radius);
    transition: transform 0.2s;
}

.cart-thumbnail:hover {
    transform: scale(1.1);
}

/* Quote Preference Section */
.quote-preference-section {
    display: flex;
    width: fit-content;
    margin: 1.5rem auto 0;
    flex-direction: column;
    align-items: center;
}

.quote-preference-title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.quote-options {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.quote-option {
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quote-option input[type="radio"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.quote-option input[type="radio"]:checked+.option-label {
    color: #2c3e50;
}

.quote-option:has(input[type="radio"]:checked) {
    border-color: #3498db;
    background: #e8f4fd;
}

.option-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.option-label small {
    color: var(--text-grey-light);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .fd-content {
        grid-template-columns: 1fr;
    }

    .fd-sidebar {
        position: static;
        border-left: none;
        border-top: 2px solid var(--grey-border);
        padding-left: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-actions {
        width: 100%;
    }

    .cart-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .fd-form-row {
        grid-template-columns: 1fr;
    }

    .fd-actions {
        flex-direction: column;
    }

    .oc-actions {
        flex-direction: column;
    }
}