﻿/* =============================================================================
   ANNAM Customer — Self-order mobile
   Charte : rouge laque #A81D1D, or #C9A24A, noir #1A1A1A, ivoire #FAF7F2
   ============================================================================= */

:root {
    --annam-red: #A81D1D;
    --annam-red-dark: #7E1414;
    --annam-red-700: #8a1f1f;
    --annam-red-50: #fef9f7;
    --annam-gold: #ffbe00;
    --annam-gold-dark: #A6843D;
    --annam-black: #1A1A1A;
    --annam-ivory: #FAF7F2;
    --annam-orange-700: #A85F1D;
    --annam-cream-100: #F5F5F0;
    --annam-cream-200: #f0ece0;
    --annam-cream-300: #e0d5c0;
    --gray-500: #888;
    --gray-700: #555;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--annam-ivory);
    color: var(--annam-black);
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
}

.customer-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--annam-ivory);
}

/* =============================================================================
   LOADING / ERROR
   ============================================================================= */

.loading-screen, .error-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
    color: var(--gray-700);
}

.annam-logo-loader {
    color: var(--annam-gold);
    font-size: 64px;
    margin-bottom: 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.error-screen h2 {
    font-family: 'Cinzel', serif;
    color: var(--annam-red);
    margin-bottom: 8px;
}

.btn-retry {
    margin-top: 16px;
    padding: 12px 32px;
    background: var(--annam-red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

/* =============================================================================
   ORDER SCREEN
   ============================================================================= */

.order-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* place pour le bandeau panier */
}

/* ---- Header ---- */

.order-header {
    background: var(--annam-gold);
    color: var(--annam-black);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--annam-black);
}

.order-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-star {
    color: var(--annam-gold);
    font-size: 25px;
    margin-bottom: 5px;
}

.brand-name {
    height: 40px;
}

.brand-main {
    height: 100px;
}

.table-label {
    font-size: 14px;
    color: var(--annam-gold);
    font-weight: 600;
}

/* ---- Onglets catégories (scrollable horizontalement) ---- */

.category-tabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 12px;
    gap: 8px;
    background: var(--white);
    border-bottom: 1px solid var(--annam-cream-200);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--annam-cream-100);
    color: var(--annam-black);
    border: 1px solid var(--annam-cream-300);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.category-tab:hover {
    background: var(--annam-cream-200);
}

.category-tab.active {
    background: var(--annam-red);
    color: var(--white);
    border-color: var(--annam-red);
    font-weight: 600;
}

/* ---- Grille produits ---- */

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 12px;
    flex: 1;
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
        padding: 20px 16px;
    }
}

@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        max-width: 1100px;
        margin: 0 auto;
    }
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
}

.product-card:hover, .product-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(168, 29, 29, 0.15);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--annam-cream-100);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--annam-gold);
    font-size: 48px;
    background: linear-gradient(135deg, var(--annam-cream-100), var(--annam-cream-200));
}

.product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-name {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--annam-black);
    line-height: 1.3;
}

.product-description {
    margin: 0;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.product-price {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--annam-red);
}

.product-customizable {
    font-size: 10px;
    color: var(--annam-orange-700);
    background: rgba(168, 95, 29, 0.1);
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 600;
}

/* =============================================================================
   CART BAR (bandeau panier en bas)
   ============================================================================= */

.cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--annam-red);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 -4px 16px rgba(168, 29, 29, 0.3);
    z-index: 100;
    font-size: 15px;
    font-weight: 600;
    animation: slide-up-bar 0.3s ease-out;
}

@keyframes slide-up-bar {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cart-bar:hover {
    background: var(--annam-red-dark);
}

.cart-bar-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.cart-bar-cta {
    flex: 1;
    text-align: center;
}

.cart-bar-total {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 17px;
}

/* =============================================================================
   CART DRAWER
   ============================================================================= */

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fade-in 0.15s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cart-drawer {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: flex;
    flex-direction: column;
    animation: slide-up-drawer 0.25s ease-out;
    border-top: 4px solid var(--annam-gold);
}

@keyframes slide-up-drawer {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--annam-cream-200);
}

.cart-drawer-header h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--annam-black);
}

.cart-drawer-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
}

.cart-drawer-body {
    overflow-y: auto;
    flex: 1;
    padding: 12px 24px;
}

.cart-empty {
    text-align: center;
    color: var(--gray-500);
    padding: 32px 0;
}

.cart-lines {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-line {
    padding: 14px 0;
    border-bottom: 1px solid var(--annam-cream-200);
}

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

.cart-line-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cart-line-info {
    flex: 1;
}

.cart-line-name {
    font-weight: 600;
    color: var(--annam-black);
    font-size: 15px;
}

.cart-line-modifiers {
    margin-top: 4px;
    margin-left: 12px;
}

.cart-line-modifier {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.cart-line-modifier-name::before {
    content: "↳ ";
    color: var(--annam-gold);
}

.cart-line-modifier.is-extra .cart-line-modifier-name {
    color: var(--annam-orange-700);
    font-weight: 500;
}

.cart-line-modifier-price {
    color: var(--annam-orange-700);
    font-weight: 600;
}

.cart-line-price {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--annam-red);
    font-size: 16px;
    white-space: nowrap;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--annam-cream-300);
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--annam-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--annam-cream-100);
}

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

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    color: var(--gray-500);
}

.remove-btn:hover {
    color: var(--annam-red);
}

.cart-drawer-footer {
    border-top: 1px solid var(--annam-cream-200);
    padding: 16px 24px 24px;
    background: var(--annam-cream-100);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.cart-total-label {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-total-amount {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--annam-red);
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: var(--annam-red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(168, 29, 29, 0.3);
    transition: all 0.15s;
}

.btn-pay:hover:not(:disabled) {
    background: var(--annam-red-dark);
    transform: translateY(-1px);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================================================
   OPTIONS MODAL (réutilisé depuis Web)
   ============================================================================= */

.options-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 16px;
    animation: fade-in 0.15s ease-out;
}

.options-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slide-up-drawer 0.2s ease-out;
    border-top: 4px solid var(--annam-gold);
}

.options-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--annam-cream-200);
}

.options-modal-title .product-name {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--annam-black);
    margin-bottom: 4px;
}

.options-modal-title .product-base-price {
    font-size: 18px;
    color: var(--gray-500);
}

.options-modal-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
}

.options-modal-body {
    padding: 16px 24px;
    overflow-y: auto;
    flex: 1;
}

.options-section-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--annam-cream-200);
}

.options-section-title:first-child {
    margin-top: 0;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.option-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.12s, border-color 0.12s;
}

.option-row:hover {
    background: var(--annam-ivory);
}

.option-row.selected {
    background: var(--annam-red-50);
    border-color: var(--annam-red);
}

.option-row input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--annam-red);
    margin: 0;
}

.option-row .option-name {
    font-size: 16px;
    color: var(--annam-black);
    font-weight: 500;
}

.option-row .option-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--annam-orange-700);
    text-align: right;
}

.option-row .option-price-blank {
    min-width: 60px;
}

.options-modal-footer {
    border-top: 1px solid var(--annam-cream-200);
    padding: 16px 24px 20px;
    background: var(--annam-ivory);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.options-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.options-modal-total .total-label {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.options-modal-total .total-amount {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--annam-red);
}

.options-modal-actions {
    display: flex;
    gap: 10px;
}

.options-modal-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.options-modal-actions .btn-cancel {
    background: var(--white);
    color: var(--annam-black);
    border: 1px solid var(--annam-cream-300);
}

.options-modal-actions .btn-confirm {
    background: var(--annam-red);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(168, 29, 29, 0.3);
}

/* =============================================================================
   TRANSIENT ERROR / FEEDBACK
   ============================================================================= */

.transient-error {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--annam-black);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 150;
    animation: fade-in 0.2s ease-out;
}

/* =============================================================================
   NOT FOUND
   ============================================================================= */

.not-found {
    padding: 64px 32px;
    text-align: center;
    color: var(--gray-700);
}

.not-found h1 {
    font-family: 'Cinzel', serif;
    color: var(--annam-red);
}

/* =============================================================================
   BLAZOR ERROR UI
   ============================================================================= */

#blazor-error-ui {
    background: var(--annam-red);
    color: var(--white);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 1000;
    font-weight: 600;
}

#blazor-error-ui .reload, #blazor-error-ui .dismiss {
    color: var(--annam-gold);
    cursor: pointer;
    margin-left: 12px;
}

/* =============================================================================
   PAGE CONFIRMATION (D3b)
   À concaténer à wwwroot/site.css du projet Customer
   ============================================================================= */

.confirmation-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, var(--annam-ivory) 0%, var(--annam-cream-100) 100%);
}

.confirmation-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(168, 29, 29, 0.15);
    border-top: 6px solid var(--annam-gold);
    animation: confirm-pop 0.4s ease-out;
}

@keyframes confirm-pop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirmation-icon {
    margin-bottom: 16px;
}

.check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: var(--white);
    border-radius: 50%;
    font-size: 40px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
    animation: check-pulse 0.6s ease-out 0.2s both;
}

@keyframes check-pulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.confirmation-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--annam-red);
    margin: 16px 0 8px 0;
    letter-spacing: 2px;
}

.confirmation-message {
    font-size: 18px;
    color: var(--annam-black);
    margin: 0 0 24px 0;
    font-weight: 500;
}

.confirmation-order-number {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--annam-cream-100);
    border: 2px solid var(--annam-gold);
    border-radius: 12px;
    padding: 14px 28px;
    margin: 8px 0 24px 0;
}

.confirmation-order-number .number-label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.confirmation-order-number .number-value {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--annam-red);
    line-height: 1;
}

.confirmation-table {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.5;
    margin: 16px 0;
}

.confirmation-table strong {
    color: var(--annam-red);
    font-weight: 700;
}

.confirmation-receipt-note {
    font-size: 13px;
    color: var(--gray-500);
    margin: 24px 0 16px 0;
    font-style: italic;
}

.confirmation-thanks {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--annam-cream-200);
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--annam-gold-dark);
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-thanks .annam-star {
    color: var(--annam-gold);
    font-size: 20px;
}

.order-logo {
    height: 30px;
}


/* -------------------------------------------------------------------------
   1. PAGE D'ACCUEIL (Index.razor) — Landing click & collect
   ------------------------------------------------------------------------- */

.landing-container {
    min-height: 100dvh;
    background: linear-gradient(180deg, #FFD90F 0%, #FAF5EC 35%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.landing-header {
    width: 100%;
    text-align: center;
    padding: 32px 24px 24px;
    background: var(--annam-gold);
    border-bottom: 3px solid #9B2326;
}

.landing-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.landing-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 4px 0;
    letter-spacing: 0.08em;
}

.landing-subtitle {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    color: #1A1A1A;
    opacity: 0.7;
    font-size: 1rem;
    margin: 0;
}

.landing-state {
    flex: 1;
    width: 100%;
    max-width: 480px;
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-state h2 {
    font-family: 'Cinzel', 'Playfair Display', serif;
    color: #9B2326;
    font-size: 1.6rem;
    margin: 16px 0 16px 0;
    letter-spacing: 0.05em;
}

.landing-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.landing-icon-open {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #2ECC71;
    color: white;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

.landing-message,
.landing-schedule,
.landing-wait {
    color: #4A4A4A;
    font-size: 1rem;
    margin: 8px 0;
    line-height: 1.5;
}

.landing-wait strong {
    color: #9B2326;
    font-size: 1.15rem;
}

.landing-schedule strong {
    color: #1A1A1A;
}

.landing-address {
    color: #888;
    font-size: 0.85rem;
    margin-top: 24px;
    font-style: italic;
}

.landing-btn-primary {
    display: inline-block;
    background: #9B2326;
    color: #FAF5EC;
    border: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 24px 0 16px 0;
    transition: all 0.2s ease;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(155, 35, 38, 0.25);
    font-family: inherit;
}

.landing-btn-primary:hover:not([disabled]) {
    background: #7d1c1f;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(155, 35, 38, 0.35);
}

.landing-btn-primary:disabled {
    background: #bbb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.landing-error h2 {
    color: #C0392B;
}

.landing-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #FAF5EC;
    border-top-color: #9B2326;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* -------------------------------------------------------------------------
   2. BANDEAU "À EMPORTER" — Affiché en haut de Order.razor en mode online
   ------------------------------------------------------------------------- */

.online-mode-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #D4A017 0%, #F0C040 100%);
    color: #1A1A1A;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.online-mode-icon {
    font-size: 1.2rem;
}

.online-mode-text {
    letter-spacing: 0.03em;
}

.online-mode-number {
    background: #9B2326;
    color: #FAF5EC;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 8px;
}


/* -------------------------------------------------------------------------
   3. ADAPTATION PAGE MERCI — Pour affichage gros numéro de commande
       (cible OrderConfirmation.razor — voir patch séparé)
   ------------------------------------------------------------------------- */

.confirmation-online-number {
    margin: 20px auto;
    padding: 24px 16px;
    background: linear-gradient(135deg, #9B2326 0%, #7d1c1f 100%);
    color: #FAF5EC;
    border-radius: 12px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(155, 35, 38, 0.3);
}

.confirmation-online-number-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.confirmation-online-number-value {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.confirmation-online-instructions {
    margin: 16px 24px;
    color: #4A4A4A;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.confirmation-online-instructions strong {
    color: #9B2326;
}

.confirmation-online-address {
    margin: 16px 24px;
    padding: 12px;
    background: #FAF5EC;
    border-left: 3px solid #D4A017;
    color: #4A4A4A;
    font-size: 0.9rem;
    text-align: center;
}


/* -------------------------------------------------------------------------
   4. RESPONSIVE — Petits écrans
   ------------------------------------------------------------------------- */

@media (max-width: 380px) {
    .landing-title { font-size: 2rem; }
    .landing-logo { width: 64px; height: 64px; }
    .landing-btn-primary {
        min-width: 0;
        width: 100%;
        padding: 14px 24px;
    }
    .confirmation-online-number-value { font-size: 3.2rem; }
}

.Thanks-logo, .Thanks-brand
{
 height: 40px;
}


