/* ═══════════════════════════════════════
   ELEGANZA — Checkout & Cart Components CSS
   ═══════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   ELEGANZA CHECKOUT — Component Styles
   ══════════════════════════════════════════════════ */

/* ── Select2 Eleganza ─────────────────────────── */
.select2-container--bootstrap-5 .select2-selection {
    border: 1.5px solid #e5e5e5 !important;
    background: #fafafa !important;
    border-radius: 8px !important;
    padding: 0.6rem 0.875rem !important;
    min-height: 44px !important;
    font-size: 0.9375rem !important;
    font-family: 'Poppins', sans-serif !important;
    color: #1a1a2e !important;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5 .select2-selection:focus {
    border-color: #c8a96e !important;
    box-shadow: 0 0 0 3px rgba(200,169,110,0.12) !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1.5px solid #e5e5e5 !important;
    box-shadow: 0 8px 24px rgba(26,26,46,0.12) !important;
    border-radius: 10px !important;
    margin-top: 4px !important;
    font-family: 'Poppins', sans-serif !important;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: rgba(200,169,110,0.12) !important;
    color: #1a1a2e !important;
}

/* ── Logo / Back link ────────────────────────── */
.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
    margin-bottom: 2rem;
}
.logo-link .back-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex; align-items: center; justify-content: center;
    color: #c8a96e;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.logo-link:hover { color: #1a1a2e; }
.logo-link:hover .back-icon { transform: translateX(-3px); }

/* ── Guest info box ──────────────────────────── */
.info-box {
    background: linear-gradient(135deg, #fefdf9, #fffbf0);
    border: 1px solid rgba(200,169,110,0.35);
    padding: 1rem 1.125rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
}
.info-box a { color: #c8a96e; text-decoration: none; font-weight: 600; }
.info-box a:hover { color: #b8973d; }

/* ── Alert boxes ─────────────────────────────── */
.checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
.checkout-alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.checkout-alert-error i { color: #dc2626; flex-shrink: 0; margin-top: 2px; }
.checkout-alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.checkout-alert-success i { color: #16a34a; flex-shrink: 0; margin-top: 2px; }

/* ── Section card ────────────────────────────── */
.section {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 1.625rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(26,26,46,0.04);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-title i { color: #c8a96e; font-size: 1rem; }

/* ── Form controls ───────────────────────────── */
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.375rem;
    display: block;
}

.form-control, .form-select {
    border: 1.5px solid #e5e5e5;
    background: #fafafa;
    border-radius: 8px;
    padding: 0.6rem 0.875rem;
    font-size: 0.9375rem;
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    height: 44px;
}
.form-control:focus, .form-select:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
    background: #fff;
    outline: none;
}
.form-control.is-invalid { border-color: #ef4444; }
textarea.form-control {
    height: auto;
    min-height: 88px;
    resize: vertical;
}

/* ── Saved address cards ─────────────────────── */
.saved-address-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid #e5e5e5;
    display: block;
    width: 100%;
}
.saved-address-card:hover { border-color: #c8a96e; box-shadow: 0 4px 12px rgba(200,169,110,0.1); }
.saved-address-card.selected {
    border-color: #c8a96e;
    background: linear-gradient(135deg, #fffdf7, #fff8e8);
    box-shadow: 0 4px 16px rgba(200,169,110,0.14);
}
.saved-address-card .form-check-input { display: none; }

.new-address-card {
    background: #fafafa;
    border: 1.5px dashed #d5d5d5;
    color: #aaa;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.new-address-card:hover { border-color: #c8a96e; color: #c8a96e; background: #fffdf7; }

/* ── Method cards (shipping / payment) ──────── */
.method-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.125rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid #e5e5e5;
    height: 100%;
    display: block;
    width: 100%;
}
.method-card:hover { border-color: #c8a96e; box-shadow: 0 4px 12px rgba(200,169,110,0.1); }
.method-card.selected {
    border-color: #c8a96e;
    background: linear-gradient(135deg, #fffdf7, #fff8e8);
    box-shadow: 0 4px 16px rgba(200,169,110,0.14);
}
.method-card .form-check-input { display: none; }
.method-card-title { font-weight: 600; color: #1a1a2e; margin-bottom: 0.2rem; font-size: 0.9375rem; }
.method-card.selected .method-card-title { color: #1a1a2e; }
.method-card-price { font-weight: 700; color: #1a1a2e; }
.method-card.selected .method-card-price { color: #c8a96e; }

/* ── Company toggle ──────────────────────────── */
.company-toggle {
    background: #fff;
    border: 1.5px solid #ebebeb;
    border-radius: 14px;
    padding: 1.375rem 1.625rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(26,26,46,0.04);
}
.company-toggle .form-check-input:checked { background-color: #c8a96e; border-color: #c8a96e; }

/* ── Badge ───────────────────────────────────── */
.badge-custom {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #c8a96e;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════════════
   RIGHT PANEL — Order Summary (dark navy bg)
   ══════════════════════════════════════════════════ */

/* summary heading */
.summary-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(200,169,110,0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.summary-heading i { color: #c8a96e; }

/* alert boxes on right panel */
.alert-custom {
    border-radius: 10px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8375rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
}
.alert-custom strong { color: #fff; }
.alert-custom.alert-ship-progress { background: rgba(200,169,110,0.12); border-color: rgba(200,169,110,0.3); color: rgba(255,255,255,0.85); }
.alert-custom.alert-ship-done    { background: rgba(110,200,150,0.12); border-color: rgba(110,200,150,0.3); color: #a7f3d0; }
.alert-custom.alert-discount-on  { background: rgba(110,200,150,0.12); border-color: rgba(110,200,150,0.3); color: #a7f3d0; }
.alert-custom.alert-coupon-on    { background: rgba(200,169,110,0.12); border-color: rgba(200,169,110,0.35); color: #c8a96e; }

/* progress bar inside alert */
.checkout-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-top: 0.5rem; overflow: hidden; }
.checkout-progress-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c8a96e, #d4b97e); }

/* coupon input */
.coupon-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; display: block; }
.coupon-group { display: flex; gap: 0; }
.coupon-input {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(200,169,110,0.35);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    padding: 0.6rem 0.875rem;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    height: 42px;
}
.coupon-input::placeholder { color: rgba(255,255,255,0.35); }
.coupon-input:focus { outline: none; border-color: #c8a96e; background: rgba(255,255,255,0.1); }
.coupon-btn {
    background: linear-gradient(135deg, #c8a96e, #d4b97e);
    border: none;
    border-radius: 0 8px 8px 0;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    padding: 0 1.125rem;
    cursor: pointer;
    transition: opacity 0.2s;
    height: 42px;
    white-space: nowrap;
}
.coupon-btn:hover { opacity: 0.9; }
#coupon-message { font-size: 0.8rem; margin-top: 0.375rem; color: rgba(255,255,255,0.7); }

/* product list on right */
.order-items {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.07);
}

.product-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.product-item:first-child { padding-top: 0; }
.product-item:last-child  { border-bottom: none; padding-bottom: 0; }

.checkout-product-img {
    flex-shrink: 0;
    min-width: 58px;
    width: 58px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: block;
    position: static !important;
}
.checkout-product-img-placeholder {
    flex-shrink: 0;
    min-width: 58px;
    width: 58px;
    height: 72px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 1.25rem;
}
.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-name    { font-size: 0.875rem; font-weight: 500; color: #fff; margin-bottom: 0.2rem; line-height: 1.35; }
.product-variant { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 0.2rem; }
.product-qty     { font-size: 0.75rem; color: rgba(200,169,110,0.8); }
.product-price   { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }

/* summary totals */
.order-summary-box {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.07);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}
.summary-line span:last-child { color: rgba(255,255,255,0.85); font-weight: 500; }
.summary-line.discount span:last-child { color: #86efac; }
.summary-line.total {
    font-size: 1.05rem;
    font-weight: 700;
    padding-top: 0.875rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(200,169,110,0.3);
}
.summary-line.total span:first-child { color: #fff; font-family: 'Playfair Display', serif; }
.summary-line.total span:last-child  { color: #c8a96e; font-size: 1.2rem; }

/* ── CTA button ──────────────────────────────── */
.btn-checkout {
    background: linear-gradient(135deg, #c8a96e, #d4b97e);
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    width: 100%;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(200,169,110,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}
.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,169,110,0.45);
    color: #1a1a2e;
}

/* secondary buttons on right */
.btn-secondary-checkout {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    padding: 0.55rem 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s;
    justify-content: center;
}
.btn-secondary-checkout:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* terms text */
.terms-text { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; margin-top: 0.75rem; }
.terms-text a { color: rgba(200,169,110,0.7); text-decoration: none; }
.terms-text a:hover { color: #c8a96e; }

/* ═══════════════════════════════════════
   ELEGANZA — Cart Components
   ═══════════════════════════════════════ */

/* ── Promotion banners ─────────────────────────────── */
.promo-pending-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,#faf5ff,#ede9fe);
    border: 1.5px dashed #7c3aed66;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .88rem;
    font-weight: 500;
    color: #5b21b6;
}
.promo-applied-row { color: #6d28d9; font-size: .9rem; }
.promo-applied-amount { font-weight: 700; color: #6d28d9; }

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s;
}

.cart-item-row:hover {
    background-color: #fafafa;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex-shrink: 0;
}

.cart-item-image a {
    display: block;
    width: 100px;
    height: 130px;
    background: #fafafa;
    overflow: hidden;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.cart-item-image a:hover {
    opacity: 0.85;
}

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

.cart-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 2.5rem;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.975rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.cart-item-name:hover {
    color: #1f2937;
}

.cart-item-variant {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.cart-item-sku {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    min-width: 120px;
}

.price-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-discount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ef4444;
}

.price-normal {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.discount-badge {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.cart-item-qty {
    min-width: 110px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.25rem;
    background: #fff;
}

.qty-btn {
    background: #f9fafb;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    color: #374151;
}

.qty-btn:hover:not(:disabled) {
    background: #f3f4f6;
    color: #111827;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-display {
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    color: #111827;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    min-width: 100px;
}

.total-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.total-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.cart-item-remove {
    flex-shrink: 0;
}

.btn-remove {
    background: none;
    border: none;
    color: #ef4444;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.btn-remove:hover {
    background: #fef2f2;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
    color: #374151;
}

.summary-total {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #111827;
}

.empty-cart {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-cart i {
    font-size: 5rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.empty-cart h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════
   ELEGANZA — Checkout Success
   ═══════════════════════════════════════ */

.success-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.order-number {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.detail-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.detail-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row {
    margin-bottom: 1rem;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.9375rem;
    color: #111827;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.product-item:last-child {
    border-bottom: none;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.25rem;
}

.product-variant {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    margin-left: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0 0;
    border-top: 2px solid #e5e7eb;
    margin-top: 1rem;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.total-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.alert-payment {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.alert-payment-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.btn-continue {
    background: #1f2937;
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-continue:hover {
    background: #111827;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ── Checkout Mobile ──────────────────────────────────── */
@media (max-width: 767px) {
    .section { padding: 1.125rem; margin-bottom: 1rem; border-radius: 10px; }
    .logo-link { margin-bottom: 1.25rem; font-size: 1.1rem; }
    .info-box { padding: 0.75rem; margin-bottom: 1rem; font-size: 0.8125rem; }
    .form-control, .form-select { height: 42px; font-size: 0.875rem; }
    .product-image { width: 50px; height: 62px; }
    .btn-checkout { padding: 0.8rem; font-size: 0.875rem; }
}

/* Cart Mobile Responsive */
@media (max-width: 768px) {
    .cart-item-row {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
        position: relative;
    }
    
    .cart-item-image a {
        width: 80px;
        height: 100px;
    }
    
    .cart-item-details {
        flex: 1 1 100%;
        order: 2;
    }
    
    .cart-item-price {
        order: 3;
        min-width: auto;
    }
    
    .cart-item-qty {
        order: 4;
        min-width: auto;
    }
    
    .cart-item-total {
        order: 5;
        min-width: auto;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }
}

/* Success Mobile */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem 1rem;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
    
    .order-number {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .detail-card {
        padding: 1.25rem;
    }
}

@media (max-width: 991px) {
    .alert {
        font-size: 0.9rem;
    }
}