/* ==============================================================================
   global.css — Feuille de styles client externalisee (marque blanche)
   --------------------------------------------------------------------------
   Fusion des CSS de pages client (auparavant importes dans les .jsx).
   Servie via le CDN afin que chaque client puisse la personnaliser/surcharger.
   Sections (dans l'ordre) : Auth | Home | Shop | Confirmation | Payment.
   NE PAS editer page par page : ce fichier est la source unique cote client.
   ============================================================================== */


/* ==============================================================================
   AUTH (login / register / mot de passe oublie)
   source: resources/js/Pages/Auth/auth.css
   ============================================================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: var(--bg-page, #f8f7f6);
}

.auth-container {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 48px;
}

.auth-logo-box {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--main-color, #e33e2b);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.auth-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary, #181411);
    letter-spacing: -0.75px;
    line-height: 36px;
    margin: 0;
}

.auth-subtitle {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary, #8a7260);
    text-align: center;
    line-height: 24px;
}

.auth-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.auth-status {
    padding: 12px 16px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #181411);
    padding-left: 4px;
    line-height: 20px;
    margin-bottom: 4px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    font-size: 18px;
    color: var(--text-secondary, #8a7260);
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid var(--border-ui, #e6dfdb);
    border-radius: 16px;
    background: white;
    font-size: 16px;
    color: var(--text-primary, #181411);
    outline: none;
    transition: border-color 0.2s;
}

.auth-input::placeholder {
    color: #6b7280;
}

.auth-input:focus {
    border-color: var(--main-color, #e33e2b);
}

.auth-toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary, #8a7260);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.auth-error {
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    margin-top: 4px;
    padding-left: 4px;
}

.auth-forgot-link-wrapper {
    display: flex;
    justify-content: flex-end;
}

.auth-forgot-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-text, #000);
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: var(--main-color, #e33e2b);
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auth-submit-btn:hover {
    opacity: 0.9;
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border-ui, #e6dfdb);
}

.auth-divider span {
    position: relative;
    background: var(--bg-page, #f8f7f6);
    padding: 0 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary, #8a7260);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.auth-google-btn {
    width: 100%;
    padding: 17px;
    border: 1px solid var(--border-ui, #e6dfdb);
    border-radius: 16px;
    background: white;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #181411);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s;
}

.auth-google-btn:hover {
    background: #fafafa;
}

.auth-google-icon {
    width: 20px;
    height: 20px;
}

.auth-secondary-btn {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-ui, #e6dfdb);
    border-radius: 16px;
    background: var(--bg-page, #f8f7f6);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #181411);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}

.auth-secondary-btn:hover {
    background: #f0efee;
}

.auth-nologin-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-ui, #e6dfdb);
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 32px 0 48px;
}

.auth-footer-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary, #8a7260);
}

.auth-footer-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color, #000);
    text-decoration: none;
}

.auth-footer-link:hover {
    text-decoration: underline;
}

.auth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .auth-fields-row {
        grid-template-columns: 1fr;
    }
}

.auth-checkbox-group {
    margin-top: 4px;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #181411);
    cursor: pointer;
    line-height: 20px;
}

.auth-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 6px;
    border: 1px solid var(--border-ui, #e6dfdb);
    accent-color: var(--main-color, #e33e2b);
    margin-top: 1px;
    cursor: pointer;
}

.auth-inline-link {
    color: var(--main-text, #000);
    font-weight: 600;
    text-decoration: none;
}

.auth-inline-link:hover {
    text-decoration: underline;
}

.auth-required {
    color: #dc2626;
    margin-left: 2px;
}

.auth-required-hint {
    font-size: 12px;
    color: var(--text-secondary, #8a7260);
    margin-top: 4px;
    padding-left: 4px;
}


/* ==============================================================================
   HOME (selection enseigne / mode de vente)
   source: resources/js/Pages/Home/style.css
   ============================================================================== */
/* Scrollbar hide utility */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ========================================
   SHOP SELECT — Refonte graphique v2
   ======================================== */

/* Banner — desktop uniquement */
.shop-select-banner {
    display: none;
}

@media (min-width: 768px) {
    .shop-select-banner {
        display: block;
        width: 100%;
        aspect-ratio: 5 / 1; /* 60% of original 3:1 height */
    }
}

.shop-select-banner-overlay {
    height: 100%;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background-image: var(--banner-shop-select-image, url('/img/banner-shop-select.jpg'));
    background-size: cover;
    background-position: center;
}

/* Search */
.shop-select-search {
    background: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-select-search h2 {
    font-size: 17px;
    font-weight: 700;
    text-align: left;
}

.shop-select-search .address-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.shop-select-search .address-input-row .address-input-wrapper {
    flex: 1;
}

.shop-select-search-btn {
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}

/* Service toggle pills */
.shop-select-services {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.shop-select-service-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-light, #e5e7eb);
    background: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a5565;
}
.shop-select-service-btn:hover {
    border-color: var(--main-color);
}
.shop-select-service-btn.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}
.shop-select-service-btn img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Results header */
.shop-select-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shop-select-results-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Closed overlay (used by Tailwind cards) */
.shop-select-card-closed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: inherit;
}

/* Status badges */
.shop-select-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}
.shop-select-status-badge i.fa-circle {
    font-size: 7px;
}
.shop-select-status-badge.open {
    background: #f0fdf4;
    color: #00a63e;
}
.shop-select-status-badge.closed {
    background: #fef2f2;
    color: #e7000b;
}
.shop-select-status-badge.paused {
    background: #f3f4f6;
    color: #6b7280;
}

/* Shop card grid */
.shop-select-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 768px) {
    .shop-select-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
@media (min-width: 1024px) {
    .shop-select-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1280px) {
    .shop-select-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* Shop card */
.shop-select-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: transform 0.15s;
}
.shop-select-card:hover {
    transform: translateY(-1px);
}
.shop-select-card.on-hold {
    opacity: 0.45;
    cursor: default;
}
.shop-select-card.on-hold:hover {
    transform: none;
}

@media (min-width: 768px) {
    .shop-select-card {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
    }
}

/* Card thumbnail */
.shop-select-card-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .shop-select-card-thumb {
        width: 100%;
        height: auto;
    }
}

.shop-select-card-thumb-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
}
@media (min-width: 768px) {
    .shop-select-card-thumb-image {
        width: 100%;
        height: 192px;
        border-radius: 0;
    }
}

/* Card content */
.shop-select-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
@media (min-width: 768px) {
    .shop-select-card-content {
        padding: 20px;
        gap: 8px;
    }
}

.shop-select-card-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .shop-select-card-name { font-size: 15px; }
}

.shop-select-card-address {
    font-size: 12px;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) {
    .shop-select-card-address { font-size: 13px; }
}

.shop-select-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.shop-select-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--main-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}
@media (min-width: 768px) {
    .shop-select-card-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ========================================
   SHOP SELECT — Responsive
   ======================================== */
@media (max-width: 700px) {
    .shop-select-search {
        padding: 14px;
        border-radius: 12px;
    }
    .shop-select-search h2 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .shop-select-status-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}


/* ==============================================================================
   SHOP (liste produits, fiche produit, checkout)
   source: resources/js/Pages/Shop/style.css
   ============================================================================== */
/* ========================================
   SHOP — Product pages
   ======================================== */

/* --- Page layout --- */
.shop-page {
    background: var(--bg-page);
    min-height: 100vh;
}

/* --- Category navigation --- */
.category-nav {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-ui);
    position: sticky;
    top: 65px;
    z-index: 10999;
    width: 100%;
}

.category-nav-row {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 12px;
}

.category-nav-back {
    flex-shrink: 0;
}

.category-nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border-ui, #e6dfdb);
    flex-shrink: 0;
}

.category-nav-scroll {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    display: flex;
}

.category-nav-item {
    flex-shrink: 0;
    padding: 16px 16px 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    color: var(--text-secondary);
    background: none;
    cursor: pointer;
}

.category-nav-item:hover {
    color: var(--text-primary);
}

.category-nav-item.active {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

/* --- Category section --- */
.category-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    padding: 24px 16px 12px;
}

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

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (min-width: 1280px) {
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/* --- Product card --- */
.product-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    overflow: hidden;
    min-width: 0;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card.selected {
    box-shadow: 0 0 0 1px var(--main-color);
}

.product-card.inactive {
    opacity: 0.4;
    pointer-events: none;
}

.product-card-image {
    width: 100%;
    height: 118px;
    background: #f3f4f6;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
    background-position: center;
}

.product-card-allergen-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

.product-card-allergen-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-card-allergen-overlay p {
    color: white;
    font-size: 10px;
    text-align: center;
    line-height: 1.3;
}

.product-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0 12px 12px 12px;
}

.product-card-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-description {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-size: 12px;
    color: var(--text-primary);
}
.product-card-price span {
    font-weight: 700;
    font-size: 14px;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-ui);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-primary);
    background: none;
    cursor: pointer;
}

.product-card-qty {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    width: 20px;
    text-align: center;
}

.product-card-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    background: var(--btn-dark-bg);
    color: var(--btn-dark-text);
    border: none;
    cursor: pointer;
}

.product-card-add-btn.free {
    background: var(--main-color);
    color: white;
    padding: 0 12px;
    width: auto;
    font-size: 14px;
    font-weight: 700;
}

/* --- Cart bar --- */
.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 16px 16px;
    pointer-events: none;
}

.cart-bar-inner {
    max-width: 960px;
    margin: 0 auto;
    pointer-events: auto;
}

.cart-bar-btn {
    width: 100%;
    height: 56px;
    background: var(--main-color);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
}

.cart-bar-btn:hover {
    transform: scale(1.01);
}

.cart-bar-btn.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.cart-bar-badge {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 6px 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.cart-bar-label {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.cart-bar-amount {
    color: white;
    font-weight: 800;
    font-size: 16px;
}

.cart-bar-progress {
    background: white;
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
}

.cart-bar-progress-track {
    height: 6px;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.cart-bar-progress-fill {
    height: 100%;
    background: var(--main-color);
    border-radius: 9999px;
    transition: width 0.3s;
}

.cart-bar-progress-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 4px;
}

/* --- Product detail page --- */
.product-detail {
    min-height: 100vh;
    position: relative;
}

.product-detail-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
}

.product-detail-back.hero {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.product-detail-info {
    background: var(--card-bg);
    padding: 24px 16px 16px;
}

@media (min-width: 768px) {
    .product-detail-info {
        background: inherit;
        text-align: center;
    }
}

.product-detail-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.product-detail-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.product-detail-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
}

.product-detail-price.free {
    color: #16a34a;
}

.product-detail-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
}

/* --- Offer list --- */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .offer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.offer-card {
    background: var(--card-bg);
    border-radius: var(--card-radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    cursor: pointer;
    transition: background 0.15s;
}

.offer-card:active {
    background: #f9fafb;
}

.offer-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

@media (min-width: 768px) {
    .offer-card-inner {
        flex-direction: column;
    }
}

.offer-card-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f3f4f6;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .offer-card-image {
        width: 100%;
        height: 160px;
    }
}

.offer-card-name {
    font-weight: 700;
    color: var(--text-primary);
}

.offer-card-price {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

/* --- Section (product configuration) --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.section-badge {
    font-size: 12px;
    color: var(--text-secondary);
}

.section-badge.required {
    background: rgba(0,0,0,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.section-badge.complete {
    color: #16a34a;
    font-weight: 500;
}

.section-list {
    background: var(--card-bg);
    border-radius: var(--card-radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.section-list-divider {
    border-color: var(--border-divider);
}

.section-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.section-radio-item:active {
    background: #f9fafb;
}

.section-radio-item.inactive {
    opacity: 0.4;
    pointer-events: none;
}

.section-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f3f4f6;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.section-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.section-item-price {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.section-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}

.section-radio-dot.selected {
    border-color: var(--main-color);
    background: var(--main-color);
}

.section-radio-dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Section cards (with images, grid layout) */
.section-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .section-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .section-cards { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1280px) {
    .section-cards { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.section-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.section-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section-card.selected {
    box-shadow: 0 0 0 1px var(--main-color);
}

.section-card.inactive {
    opacity: 0.4;
    pointer-events: none;
}

.section-card-image {
    width: 100%;
    height: 96px;
    border-radius: 8px 8px 0 0;
    background: #f3f4f6;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
    background-position: center;
}
@media (min-width: 768px) {
    .section-card-image { height: 120px; }
}

.section-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
    padding: 0 12px 12px 12px;
}

.section-card-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--btn-dark-bg);
    color: var(--btn-dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.section-card-add-btn:active {
    opacity: 0.8;
}

/* Section quantity lines */
.section-qty-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.section-qty-item:active {
    background: #f9fafb;
}

.section-qty-item.inactive {
    opacity: 0.4;
    pointer-events: none;
}

/* Completed section — selected items grayed out */
.section-list-completed {
    opacity: 0.5;
    pointer-events: none;
}

.section-qty-item.completed {
    padding: 10px 16px;
}

.section-qty-item.completed .section-item-name {
    color: var(--text-secondary);
}

.section-item-qty-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* "Modifier" badge button */
.section-badge-edit {
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    background: none;
    border: 1px solid var(--main-color);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.section-badge-edit:hover {
    background: var(--main-color);
    color: white;
}

/* --- Quantity selector --- */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantity-selector-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
    border: none;
    cursor: pointer;
}

.quantity-selector-btn.minus {
    background: #f3f4f6;
    color: #4b5563;
}

.quantity-selector-btn.minus:active {
    background: #e5e7eb;
}

.quantity-selector-btn.minus.disabled {
    background: #f3f4f6;
    color: #d1d5db;
    pointer-events: none;
}

.quantity-selector-btn.plus {
    background: var(--btn-dark-bg);
    color: var(--btn-dark-text);
}

.quantity-selector-btn.plus:active {
    opacity: 0.8;
}

.quantity-selector-btn.plus.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    pointer-events: none;
}

.quantity-selector-value {
    width: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

/* --- Cart items --- */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 17px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cart-item-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #f3f4f6;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #d99a1e;
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--text-secondary, #8a7260);
    font-weight: 500;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.cart-item-detail {
    font-size: 12px;
    color: #8a7260;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 19.5px;
}

.cart-item-detail-icon {
    font-size: 12px;
    color: #8a7260;
    flex-shrink: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
}

.cart-item-delete {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* --- Cart editor --- */
.checkout-funnel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 16px 120px;
}

.checkout-funnel-step {
    display: flex;
    flex-direction: column;
}

.checkout-funnel .checkout-resume {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.checkout-funnel .checkout-resume-validate {
    display: flex;
    justify-content: stretch;
    margin: 4px 0 0;
    text-align: initial;
}

.checkout-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: var(--main-color, #e33e2b);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(24, 20, 17, 0.06);
    text-transform: none;
    transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s;
}

.checkout-next-btn::after {
    content: '›';
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    margin-left: 2px;
}

.checkout-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(24, 20, 17, 0.12);
}

.checkout-next-btn:active {
    transform: translateY(0);
    opacity: 0.95;
}

.checkout-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cart-editor {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.cart-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0;
}

.cart-promo-row {
    display: flex;
    gap: 8px;
}

.cart-promo-input {
    flex: 1;
    padding: 13px 17px;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.cart-promo-input::placeholder {
    color: #9ca3af;
}

.cart-promo-btn {
    padding: 12px 24px;
    background: var(--main-color, #e33e2b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cart-summary {
    background: var(--card-bg, white);
    border: 1px solid var(--border-subtle, rgba(230, 223, 219, 0.5));
    border-radius: 16px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-summary-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cart-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-label {
    font-size: 14px;
    color: #8a7260;
}

.cart-summary-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    border-top: 1px solid rgba(230, 223, 219, 0.3);
}

.cart-summary-total-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.45px;
}

.cart-summary-total-value {
    font-size: 18px;
    font-weight: 800;
    color: #d99a1e;
}

.cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 17px 16px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(230, 223, 219, 0.5);
    z-index: 10;
}

.cart-footer-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    background: var(--main-color, #e33e2b);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.45px;
}

.cart-footer-btn-amount {
    font-size: 20px;
    font-weight: 800;
}

/* --- Step Resume (checkout) --- */
.step-resume {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 21px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 24px;
}

.step-resume-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.step-resume-info {
    display: flex;
    flex-direction: column;
}

.step-resume-label {
    font-size: 12px;
    font-weight: 700;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.step-resume-detail {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.step-resume-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.step-resume-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.step-resume-edit {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(245, 177, 48, 0.1);
    border: none;
    color: var(--main-color, #e33e2b);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.step-resume-edit:hover {
    background: rgba(245, 177, 48, 0.2);
}

/* --- Slot Editor (checkout) --- */
.slot-editor {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 120px;
}

.slot-date-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.slot-date-pill {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(230, 223, 219, 0.5);
    background: white;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s;
}

.slot-date-pill.selected {
    border-color: var(--main-color, #e33e2b);
    background: var(--main-color, #e33e2b);
    color: white;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.slot-grid-btn {
    padding: 17px 0;
    border-radius: 12px;
    border: 1px solid rgba(230, 223, 219, 0.5);
    background: white;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}

.slot-grid-btn:hover {
    border-color: var(--main-color, #e33e2b);
}

.slot-grid-btn:active {
    background: var(--main-color, #e33e2b);
    color: white;
    border-color: var(--main-color, #e33e2b);
}

.slot-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #8a7260;
    font-size: 14px;
}

/* --- Product detail footer --- */
.product-detail-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.product-detail-footer-inner {
    max-width: 448px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.8);
    border-top: 1px solid var(--border-subtle);
    padding: 12px 16px 16px;
}

.product-detail-footer-error {
    text-align: center;
    font-size: 14px;
    color: #ef4444;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-detail-add-btn {
    flex: 1;
    height: 56px;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: var(--main-color);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.product-detail-add-btn:active {
    opacity: 0.9;
}

.product-detail-add-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* --- Service select page --- */
.service-select {
    max-width: 512px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-select-banner {
    height: 192px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-select-banner img {
    width: 100%;
    object-fit: contain;
    opacity: 0.9;
}

.service-select-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid;
}

.service-select-status.open {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #16a34a;
}

.service-select-status.closed {
    border-color: #f87171;
    background: #fef2f2;
    color: #ef4444;
}

.service-select-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.service-select-status.open .service-select-status-dot {
    background: #22c55e;
}

.service-select-status.closed .service-select-status-dot {
    background: #f87171;
}

.service-select-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.service-select-availability {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.service-select-availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.service-select-availability-dot.open { background: #22c55e; }
.service-select-availability-dot.closed { background: #f87171; }

.service-select-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    margin-top: 0;
}

/* Mode de vente buttons */
.service-select-btn {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 24px;
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

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

.service-select-btn.selected {
    border-color: var(--main-color);
    background: #fff7ed;
}

.service-select-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-select-btn-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    padding: 0 4px;
    color: #475569;
}

.service-select-btn.selected .service-select-btn-label {
    color: var(--main-color);
}

/* Info card */
.service-select-info-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-select-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.service-select-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.service-select-info-icon.location {
    background: #fff7ed;
    color: var(--main-color);
}

.service-select-info-icon.phone {
    background: #eff6ff;
    color: #3b82f6;
}

.service-select-info-text {
    font-size: 14px;
    color: #334155;
    flex: 1;
}

.service-select-info-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    white-space: nowrap;
    text-decoration: none;
}

.service-select-info-divider {
    border-top: 1px solid #f1f5f9;
}

/* Hours table */
.service-select-hours {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-select-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
    color: #475569;
}

.service-select-hours-row.today {
    color: var(--main-color);
    font-weight: 700;
}

/* Payment methods */
.service-select-payments {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 16px;
}

.service-select-payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-select-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.service-select-payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-select-payment-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-select-payment-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}

.service-select-payment-icon.fidelity {
    background-color: #fef9c3;
    color: #ca8a04;
}

/* CTA bar */
.service-select-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 16px 32px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
}

.service-select-cta-btn {
    width: 100%;
    padding: 14px 0;
    border-radius: 24px;
    font-weight: 700;
    color: white;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    background: var(--main-color);
}

.service-select-cta-btn:active {
    transform: scale(0.98);
}

.service-select-cta-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* Back button base + overlay variant defined globally in
   public/styles/custom-trz.css under .tz-back-btn.
   Page-specific positioning lives below. */

/* ========================================
   SHOP — Page container constraint
   ======================================== */

.shop-page-container {
    width: 100%;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .shop-page-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ========================================
   SHOP — ServiceSelect: shared structure
   ======================================== */

.service-select-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-select-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-select-title-block {
    padding: 0 16px;
}

.service-select-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .service-select-title-block {
        padding: 0;
    }
}

/* ========================================
   SHOP — ServiceSelect: desktop (≥1024px)
   ======================================== */

@media (min-width: 1024px) {
    .service-select {
        max-width: 1024px;
        padding: 0 24px;
        padding-bottom: 120px;
        gap: 0;
    }

    .service-select-banner {
        height: 320px;
        border-radius: 24px;
        margin-top: 24px;
    }

    .service-select-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 40px;
        align-items: start;
        margin-top: 32px;
    }

    .service-select-hero {
        position: sticky;
        top: 89px;
        gap: 20px;
    }

    .service-select-body {
        padding: 0;
        gap: 32px;
    }

    .service-select-title {
        font-size: 32px;
    }

    .service-select-cta {
        background: transparent;
        backdrop-filter: none;
        border-top: none;
        padding: 16px 24px 24px;
        pointer-events: none;
    }

    .service-select-cta-btn {
        max-width: 480px;
        margin: 0 auto;
        display: block;
        pointer-events: auto;
        padding: 18px 0;
        box-shadow:
            0 20px 25px -5px rgba(0, 0, 0, 0.1),
            0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }
}


/* ==============================================================================
   SHOP — CONFIRMATION de commande
   source: resources/js/Pages/Shop/confirmation.css
   ============================================================================== */
.confirmation-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F8F7F6;
}

.confirmation-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.confirmation-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.confirmation-icon {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    background-color: var(--main-color, #e33e2b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.confirmation-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 293px;
}

.confirmation-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 36px;
    color: #181411;
    text-align: center;
    letter-spacing: -0.75px;
}

.confirmation-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #8a7260;
    text-align: center;
}

.confirmation-card {
    margin-top: 32px;
    width: 100%;
    max-width: 400px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 24px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    padding: 21px;
}

.confirmation-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
}

.confirmation-order-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: #181411;
    text-align: center;
    margin-top: 4px;
}

/* Pickup time card */
.confirmation-card-pickup {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.confirmation-pickup-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.confirmation-pickup-time-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.confirmation-pickup-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.confirmation-pickup-time {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 36px;
    color: #181411;
}

.confirmation-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(245, 177, 48, 0.1);
}

.confirmation-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: var(--main-color, #e33e2b);
}

.confirmation-status-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: var(--main-color, #e33e2b);
    text-transform: uppercase;
    letter-spacing: -0.6px;
}

/* Progress bar */
.confirmation-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confirmation-progress-bar {
    height: 8px;
    background: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
}

.confirmation-progress-fill {
    height: 100%;
    border-radius: 9999px;
    background-color: var(--main-color, #e33e2b);
    transition: width 0.5s ease;
}

.confirmation-progress-labels {
    display: flex;
    justify-content: space-between;
}

.confirmation-progress-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 15px;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confirmation-progress-label.active {
    color: var(--main-color, #e33e2b);
}

/* Location card */
.confirmation-card-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.confirmation-location-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.confirmation-location-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.confirmation-location-icon svg {
    width: 20px;
    height: 20px;
    color: #8a7260;
}

.confirmation-location-text {
    display: flex;
    flex-direction: column;
}

.confirmation-location-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.confirmation-location-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #181411;
}

.confirmation-map-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(245, 177, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.confirmation-map-btn svg {
    width: 20px;
    height: 20px;
    color: var(--main-color, #e33e2b);
}

/* Bottom bar */
.confirmation-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(230, 223, 219, 0.5);
    padding: 25px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.confirmation-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 448px;
}

.confirmation-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border: 2px solid var(--main-color, #e33e2b);
    border-radius: 16px;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-color, #e33e2b);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

.confirmation-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 16px;
    background-color: var(--main-color, #e33e2b);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
    color: white;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    width: 100%;
}


/* ==============================================================================
   PAYMENT (commun + tunnel shop)
   source: resources/js/Pages/Common/payment.css
   ============================================================================== */
/* --- Payment editor --- */
.payment-editor {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 0 120px;
    width: 100%;
}

.payment-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0;
}

/* Gateway buttons */
.payment-gateways-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-gw-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: border-color 0.15s;
    width: 100%;
    text-align: left;
}

.payment-gw-btn.selected {
    border: 2px solid var(--main-color, #e33e2b);
}

.payment-gw-icon {
    color: #1a1a73;
    font-size: 18px;
}

.payment-gw-label {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-gw-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--main-color, #e33e2b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.payment-no-gw {
    color: #8a7260;
    font-size: 14px;
}

/* Promo code */
.payment-promo-row {
    display: flex;
    gap: 8px;
}

.payment-promo-input {
    flex: 1;
    padding: 13px 17px;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.payment-promo-input::placeholder {
    color: #9ca3af;
}

.payment-promo-btn {
    padding: 12px 24px;
    background: var(--main-color, #e33e2b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Vouchers */
.payment-vouchers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-error {
    padding: 12px 16px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

/* Summary */
.payment-summary {
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-summary-label {
    font-size: 14px;
    color: #8a7260;
}

.payment-summary-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.payment-summary-line.discount .payment-summary-label,
.payment-summary-line.discount .payment-summary-value {
    font-weight: 700;
    color: #00c950;
}

.payment-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    border-top: 1px solid rgba(230, 223, 219, 0.3);
}

.payment-summary-total-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.45px;
}

.payment-summary-total-value {
    font-size: 18px;
    font-weight: 800;
    color: #d99a1e;
}

/* Payment footer */
.payment-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 17px 10px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(230, 223, 219, 0.5);
    z-index: 10;
}

.payment-footer-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    background: var(--main-color, #e33e2b);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.45px;
}

.payment-footer-amount {
    font-size: 20px;
    font-weight: 800;
}

/* --- Stripe payment form --- */
.stripe-pay {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 120px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.stripe-pay-express {
    border-radius: 12px;
    overflow: hidden;
}

.stripe-pay-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stripe-pay-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #8a7260;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0;
}

.stripe-pay-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stripe-pay-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: border-color 0.15s;
}

.stripe-pay-card.selected {
    border-color: var(--main-color, #e33e2b);
}

.stripe-pay-card-icon {
    color: #181411;
    font-size: 18px;
}

.stripe-pay-card-label {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.stripe-pay-card-exp {
    font-size: 12px;
    color: #8a7260;
}

.stripe-pay-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stripe-pay-radio.selected {
    border-color: var(--main-color, #e33e2b);
}

.stripe-pay-radio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--main-color, #e33e2b);
}

.stripe-pay-manage {
    font-size: 12px;
    color: #d99a1e;
    font-weight: 600;
    text-decoration: none;
    padding-top: 4px;
}

.stripe-pay-card-element {
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 12px;
    padding: 13px 17px;
}

.stripe-pay-save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.stripe-pay-save-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.stripe-pay-toggle {
    width: 44px;
    height: 24px;
    border-radius: 9999px;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.stripe-pay-toggle.active {
    background: var(--main-color, #e33e2b);
}

.stripe-pay-toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    transition: left 0.2s;
}

.stripe-pay-toggle.active .stripe-pay-toggle-knob {
    left: 22px;
}

.stripe-pay-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stripe-pay-error {
    padding: 12px 16px;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.stripe-pay-notice {
    font-size: 12px;
    color: #8a7260;
    line-height: 18px;
    margin: 0;
}

.stripe-pay-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
    height: 56px;
    background: var(--main-color, #e33e2b);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.45px;
}

.stripe-pay-btn-amount {
    font-size: 20px;
    font-weight: 800;
}


/* ==============================================================================
   HEADER — Bandeau point de vente (Trz)
   source: public/styles/custom-trz.css (refonte UI header)
   ============================================================================== */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    min-width: 0;
}

.header-brand .logo-wrapper {
    margin-right: 0;
    flex-shrink: 0;
}

.header-shop-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.33px;
    color: var(--text-primary, #181411);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-shop-name:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .header-shop-name {
        font-size: 22px;
    }
}

.header-brand-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

@media (min-width: 768px) {
    .header-brand-info {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }
}

/* Mobile : service sous le nom du point de vente */
.header-service-mobile {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--main-color);
    text-decoration: none;
    line-height: 1.2;
    display: block;
}

.header-service-mobile:hover {
    text-decoration: underline;
}

/* Desktop : service dans la nav à droite */
.header-service-wrapper {
    position: relative;
    display: none;
    align-items: center;
}

@media (min-width: 768px) {
    .header-service-mobile {
        display: none;
    }
    .header-service-wrapper {
        display: flex;
    }
}

.header-service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    background: transparent;
    border: none;
    padding: 0 6px;
    white-space: nowrap;
    line-height: 1.5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.header-service-name:hover {
    opacity: 0.8;
}

.header-service-chevron {
    font-size: 10px;
}

.header-brand-info .header-shop-name {
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header-brand-info .header-shop-name {
        font-size: 20px;
    }
}


/* ==============================================================================
   PAGE ADRESSE DE LIVRAISON
   source: public/styles/custom-trz.css (refonte UI page livraison)
   ============================================================================== */
.shops-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* Hero */
.shops-address-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 8px 0 4px;
}

.shops-address-wrapper::before {
    content: '';
    display: block;
    width: 52px;
    height: 52px;
    background: var(--main-color);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23181411' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.071 4.929C16.245 2.104 12 2 12 2S7.755 2.104 4.929 4.929C2.104 7.755 2 12 2 12s.104 4.245 2.929 7.071C7.755 21.896 12 22 12 22s4.245-.104 7.071-2.929C21.896 16.245 22 12 22 12s-.104-4.245-2.929-7.071z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    flex-shrink: 0;
}

.shops-address-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-text, #181411);
    line-height: 1.3;
}

.shops-address-title::after {
    content: 'Saisissez votre adresse pour savoir si nous livrons chez vous et découvrir les conditions applicables.';
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--shop-address, #8a7260);
    margin-top: 6px;
    line-height: 1.6;
}

/* Masquer le titre original, afficher notre override */
.shops-address-wrapper .shops-address-title {
    font-size: 20px;
    font-weight: 700;
}

/* Input card */
.shops-address-wrapper .address-input-wrapper {
    width: 100%;
    background: var(--content-bg-color, white);
    border: 1px solid var(--gray-light, #e5e7eb);
    border-radius: 15px 5px 15px 5px;
    padding: 20px;
}

/* Bouton vérifier — généré via le bouton submit s'il existe, sinon via le label */
.shops-address-wrapper .address-input-wrapper .address-input-geolocation-inside {
    color: var(--main-color);
}

/* Titre de section résultat */
.shops-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--shop-address, #8a7260);
    display: none;
}

/* ---- État éligible ---- */
.home-service-card {
    background: var(--content-bg-color, white) !important;
    border: 2px solid #97c459 !important;
    border-radius: 15px 5px 15px 5px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important;
    margin: 0 !important;
    cursor: pointer;
    transition: opacity 0.15s;
}

.home-service-card:hover {
    opacity: 0.92;
}

.home-service-image {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #eaf3de !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

.home-service-image img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: hue-rotate(0deg);
}

.home-service-card .home-service-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 0;
}

.home-service-card > .home-service-infos:first-child {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.home-service-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #3b6d11 !important;
}

.home-service-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--main-text, #181411) !important;
    border: none !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: var(--main-bg-color, #f8f7f6) !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-service-availability.available {
    color: #3b6d11 !important;
    background: #eaf3de !important;
}

.home-service-availability.available i,
.home-service-availability.available .fa-check {
    color: #3b6d11;
}

/* Grille des conditions */
.home-service-card .home-service-infos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.home-service-card .home-service-infos .home-service-name {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none !important;
    padding: 0 !important;
}

/* Bouton valider dans la carte */
.home-service-card .shop-link {
    background: var(--main-color);
    border: none;
    border-radius: 15px 5px 15px 5px;
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--main-text, #181411);
    cursor: pointer;
}

/* ---- État non éligible ---- */
.shops-results.not-deliverable {
    background: #fcebeb;
    border: 1px solid #f09595;
    border-radius: 15px 5px 15px 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shops-results.not-deliverable .alert {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #791f1f;
    line-height: 1.6;
    border-radius: 0;
}

.shop-address-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    background: var(--content-bg-color, white);
    border: 2px solid var(--main-text, #181411);
    border-radius: 15px 5px 15px 5px;
    font-size: 15px;
    font-weight: 700;
    color: var(--main-text, #181411);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.shop-address-change:hover {
    opacity: 0.8;
    text-decoration: none;
}

@media (min-width: 768px) {
    .shops-wrapper {
        padding: 32px 24px;
    }
    .home-service-card .home-service-infos {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==============================================================================
   APP PAGES (Compte, Commandes, Fidelite, Checkout legacy, Navigation mobile,
   Modales, Accueil PDV...)
   source: public/styles/custom-trz.css
   ============================================================================== */

/*
	Fonts
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,400;0,500;0,600;0,700;0,800;0,900;1,100&display=swap');

* {
	font-family : 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-page, #F8F7F6);
}

/* ========================================
    Back button (global, override-friendly)
    ======================================== */
.tz-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-ui, #e6dfdb);
    color: var(--text-primary, #181411);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    padding: 0;
}

.tz-back-btn:hover {
    background: var(--bg-page, #f8f7f6);
}

.tz-back-btn:active {
    transform: scale(0.96);
}

.tz-back-btn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.tz-back-btn svg {
    width: 16px;
    height: 16px;
}

.tz-back-btn.overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tz-back-btn.overlay:hover {
    background: rgba(255, 255, 255, 1);
}

/* Page toolbar: leading row holding the back button.
   Inherits its parent's width and padding so it aligns with the page
   content. Vertical spacing comes from the parent's flex gap. */
.page-back-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link {
    cursor : pointer;
}
.global-main-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
}

.global-loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-loader {
  font-size: 50px;
  color: var(--main-color);
}
/*
	Layout
*/ 
.header {
	background : var(--header-bg, white);
	height : 65px;
	position : sticky;
	top : 0px;
	z-index: 11000;
	max-width: 100%;
	border-bottom: 1px solid #e5e7eb;
}
.header-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	height: 100%;
}
@media (min-width: 1280px) {
	.header-inner { padding: 0 0; }
}
.header-shop-choice {
    display: inline-flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    height: 50px;
    margin-right: 20px;
    border: 1px solid var(--main-color);
    padding: 10px 30px;
    border-radius: 50px;
    margin: 5px;
    color: var(--main-color);
}
.header-shop-choice svg {
    margin-left: 15px;
}
.logo-wrapper {
    height: 45px;
    width: auto;
    display: flex;
    align-items: center;
    margin: 0;
    margin-right: auto;
    text-align: center;
    font-size : 10px;
    font-weight : 600;
}
.logo-wrapper img {
    margin-top: 0;
    max-height: 40px;
    width: auto;
}
.footer {
	background: white;
	border-top: 1px solid #e5e7eb;
	padding: 33px 24px 32px;
	width: 100%;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-logo {
	height: 32px;
	width: auto;
	object-fit: contain;
}
.footer-brand-name {
	font-size: 16px;
	font-weight: 700;
	color: #101828;
}
.footer-copyright {
	font-size: 14px;
	color: #6a7282;
	text-align: center;
}
.footer-copyright a {
	color: #6a7282;
	text-decoration: none;
}
.footer-copyright a:hover {
	text-decoration: underline;
}
.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}
.footer-social-link {
	color: #6a7282;
	font-size: 18px;
	transition: color 0.2s;
}
.footer-social-link:hover {
	color: #374151;
}
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    z-index: 9999;
	font-size: 12px;
}

.accept-button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
	border-radius: 10px;
	margin: 10px 0 10px 0;
}

[type=checkbox] {
	width: 15px !important;
    padding: 5px !important;
    height: 15px !important;
    border-radius: 5px !important;
    margin: 5px;
}
/*.logo {
    width: auto;
    height: auto;
}*/

.banner-wrapper{
	height: 200px;
	border-bottom-left-radius: 40px;
	border-bottom-right-radius: 40px;
	display : none;
	width: calc(100% - 260px);
	overflow : hidden;
	background-size: cover;
	margin-left: auto;
	background-position: center;
}

.center {
	text-align : center;
}

.logo {
	width : auto;
	height : auto;
}
.banner {
	width : 100%;
	height : auto;
	border-bottom-left-radius : 20px;
	border-bottom-right-radius : 20px;
}
.main-wrapper {
	opacity: 1;
	padding : 0 ;
	min-height : 100vh;
	display: flex;
	flex-direction: column;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    flex: 1 0 auto;
}

.footer {
    margin-top: auto;
}

/*
Menu
*/
.menu-wrapper {
    display: inline-block;
    position: fixed;
    bottom: 10px;
    left: 60px;
}
.menu-item {
	display : inline-block;
	margin : 5px;
	padding : 15px 5px;
	color : var(--main-color);
}
.menu-item:hover {
	background-color : var(--main-color);
	color : var(menu-item-hover);
	transition: all 1s ease-out;
}
.menu-list-item {
	margin : 15px;
}
.menu-list-item:hover {
	color : var(--main-color);
}
.menu-list-separator {
	margin : 25px 0px;
	display: none;
}

/* Header nav (desktop compact) */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.header-nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.header-nav-link:hover { background: #f3f4f6; }
.header-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #374151;
    font-size: 16px;
    transition: background 0.2s;
}
.header-nav-icon:hover { background: #f3f4f6; }

a.menu-list-item.menu-account {
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: space-around;
    background-color: var(--menu-item-background);
    color: black;
    padding: 10px 0px 10px 0;
    margin-top: 50px;
	width: 50%;
    border-radius: 30px;

}

a.menu-list-item.menu-logout {
    background-color: var(--logout-bg);
    display: flex;
    margin: auto;
    color: var(--logout-text);
    padding: 10px 0 10px 0;
    justify-content: space-around;
	width: 50%;
    border-radius: 30px;
}

/*
	General
*/
.main {
	background : var(--main-color);
	color : var(--main-text);
}
.slider-wrapper {
	display : flex;
	overflow-x : scroll;
	width : 100%;
}
.slider-item {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 50px;
    height: 40px !important;
    border-radius: 50px !important;
    padding: 5px 35px;
    text-align: center;
    width: max-content !important;
    flex-basis : 200px !important;
    flex : none;
}

.categories-wrapper {
            overflow-x: hidden;
            width: 250px;
            position: fixed;
            top: 250px;
            padding: 20px min(20px, 20%);
            z-index: 0;
            scroll-behavior: auto;
            left: 0px;
            display: flex;
            justify-content: flex-start;
	height: 550px;
        }

.products-list {
              width : 100%;
              margin-left : 275px;
	/*padding-right: 15px;*/
        }

.service-selector-wrapper {
    display: flex;
}
.categories-items-wrapper {
    display: flex;
	flex-direction: column;
	font-size: 14px;
}

.categories-wrapper.extended .categories-items-wrapper {
	flex-direction : column;
}
.categories-wrapper::-webkit-scrollbar {
  width: 0;
  background-color: transparent;
  -webkit-appearance: none;
}
::-webkit-scrollbar-track {
  -webkit-appearance: none;
}

::-webkit-scrollbar-thumb {
  -webkit-appearance: none;
}
.categories-arrow {
	position : fixed;
	color : var(--main-color);
	padding : 10px;
	height : 60px;
	background : white;
	top : 154px;
	display: none;
}
.categories-arrow.left {
	left : 0px;
	display: none;
}
.categories-arrow.right {
	right : 0px;
	display: none;
}

.categories-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border: none;
  cursor: pointer;
	display: none;
}

.categories-arrow.left {
  justify-self: start;
	display: none;
}

.categories-arrow.right {
  justify-self: end;
	display: none;
}

.categories-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--category-bg-color);
}
.categories-wrapper.extended {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    position : fixed;
    top : 0;
    left : 0;
    width : 100%;
    height : 100vh;
}
.category-item {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 50px!important;
    height: var(--category-item-height) !important;
    line-height: var(--category-item-line-height) !important;
/*    border-radius: 50px !important;*/
    padding: 5px 35px;
    text-align: center;
    width: 200px !important;
    overflow: hidden;
    white-space: pre;
    min-width : 220px;
    max-width : 220px;
    text-transform : uppercase;
    font-weight : 400;
    box-shadow: none !important;
    border: none !important;
	text-decoration: underline 1px dotted;
	text-underline-offset: 10px;
}
.category-item.selected {
	font-weight : 600;
	border : 1px solid var(--main-color);
	text-decoration: none;
}
.pill {
	border-radius : 50px;
}
.results-wrapper {
	width : 100%;
	max-width : 900px;
	margin : auto;
	text-align : center;
}
.results-line {
	float : left;
}
.results-line-title:before { 
	content: ' '; 
	display: block; 
}
.results-line-title {
    font-weight: 700;
    float: left;
    padding-top: 30px;
    margin-right: 15px;
    color : var(--main-color) !important;
    text-align : left;
    width : 100%;
}
.results-slots {
	display : inline-flex;
	padding : 10px;
}
.results-separator {
	margin : 15px 0;
}
.results-date {
	color : #000;
	font-weight : 200;
}
.results-slot-info {
	color : #000;
	font-weight : 700;
}
/*
	Products
*/
.product-card, .home-service-card {
	box-shadow: 0px 3px 20px var(--header-shadow);
	display : inline-block;
	width : 33%;
	min-width : 280px;
	padding : 15px 15px 15px 15px;
	border-radius : var(--border-radius);
	margin : 10px;
	position : relative;
	vertical-align : top;
}
.home-service-card {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 20px);
}
.home-service-card.active {
    border : 2px solid black;
    transition: border 0.1s ease-out;
}

.home-service-image i {
    color: white;
    width: 64px !important;
}
.home-services-wrapper {
    width: 100%;
}
.home-service-infos {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-end;
    align-items: flex-start;
    height: 100%;
    padding: 15px;
}
.product-card.disabled,.product-section-line.disabled {
    opacity: 0.4;
}
.product-card.selected .product-quantity-selector{
	background:var(--main-color);
}

.product-thumbnail {
    width: 150px;
    display: inline-block;
    height: 150px;
    border-radius: 20px;
    background-color: var(--main-bg-color);
    flex-grow: 1;
    min-width: 90px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    position : relative;
}
.product-allergens-btn {
    width: 40px; /* largeur du cercle */
    height: 40px; /* hauteur du cercle (Ã©gale Ã  la largeur) */
    border-radius: 50%; /* bordures arrondies pour crÃ©er un cercle */
    background-color: var(--allergens-bg-color); /* couleur de fond */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* taille du texte */
    font-weight: bold;
    border: none;
    cursor: pointer;
    position : absolute;
    bottom : -5px;
    right : -5px;
}
.product-allergens {
	background : white;
	color : black;
	border-radius : 20px;
	/* width : 100%; */
	/* height : 100%; */
	font-size : 12px;
	position: absolute;
	top: 0px;
	padding: 20px;
	display: flex;
	align-items: center;
	text-align:center;
	right: -264px;
	width: 300px;
	height: auto;
	z-index: 100;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
}

.product-allergens-btn span {
    display: inline-block;
    color: var(--allergens-color); /* couleur du texte */
}
.product-infos {
	display : inline-block;
	vertical-align : top;
	padding : 0 10px;
	width: calc(100% - 160px);
	
}
.product-quantity-selector {
	position : absolute;
	bottom : 0;
	right : 0;
	background : var(--product-qty-bg);
	color : var(--product-qty-text);
	border-top-left-radius : 30px;
	border-bottom-right-radius : 28px;
	display : inline-flex;
	height : 35px;
}
.product-quantity-selector * {
	width : 50px;
	text-align : center;
	margin : auto;
}
.product-plus-button{
	font-size: 40px;
	font-weight: 300;
	line-height: 0;
}

.product-description {
    font-weight: 600;
    font-size: 12px;
    font-style: italic;
    line-height: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 39px;
    margin-top: 5px;
    color: gray;
    display: -webkit-box;
    -webkit-line-clamp : 3;
    -webkity-box-orient: vertical;
}

.product-price {
    font-size: 10px;
	margin-top: 10px;
	position: absolute;
    bottom: 0;
    margin-bottom: 35px;
	font-style: italic;
    font-weight: 600;
}

.offer-price{

font-size: 11px;
	margin-top: 45px;
   
    font-weight: 800;

}

span.product-price-amount {
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
}

.product-container {
	
}
.product-overlay {
	position: fixed;
    width: 100%;
    height: 100vh;
    /* background-image: url(https://img.freepik.com/vecteurs-premium/pizza-vegetarienne-aux-legumes-frais-icone-dessin-anime-alimentaire_80590-13795.jpg); */
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -5;
}
.payment-component-legal {
	font-size : 12px;
}
.product-close-wrapper, .checkout-close-wrapper, .payment-close-wrapper, .order-close-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    padding: 10px 5px;
    background: var(--main-color);
    color: white;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 30px;
    text-align: center;
	z-index: 10000;
}
.product-single-title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    flex: 0 0 80%;
    text-transform: uppercase;
    font-size : 20px;
	text-align: center;
}

.product-single-price {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 20%;
    font-weight: 700;
    font-size : 24px;
}

.product-single-infos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 20px;
	border-bottom : 2px dashed var(--gray-light);
    margin-bottom: 10px;
}

.product-subtitle,.product-section-title {
	text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform : uppercase;
}
.product-single-description {
    display: block;
    flex: 0 0 100%;
    font-weight: 600;
    font-size : 15px;
	font-style: italic;
	line-height: 16px;
	text-align: center;
	color: grey;
}

.product-image {
	background-color: var(--main-bg-color);
	background-size : cover;
	background-position : center;
	width : 100%;
	height : 250px;
	border-top-left-radius:30px;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
	border-bottom-right-radius:30px;
	
}

.product-offer {
	width : 200px !important;
}
.product-offers-wrapper {
	text-align : center;
}
.product-section-info {
	font-weight : 400;
	text-align : center;
	font-size : 12px;
	color : gray;
}
.product-section-wrapper {
	scroll-margin-top : 200px;
}
.quantity-selector-wrapper {
	display : inline-flex;
}
.product-resume-quantity-wrapper {
	text-align : center;	
}
.product-section-line .quantity-selector-wrapper {
	float : right;
	display : inline-flex;
}

.product-section-line-image {
    width: 90%;
    height: 110px;
	margin-top:5%;
    background-size: cover;
    background-position:center;
	border-top-left-radius:20px;
	border-top-right-radius:20px;
	border-bottom-left-radius:20px;
	border-bottom-right-radius:20px;
	background-color: var(--main-bg-color);
}

.product-section-line.active {
	background : var(--main-color);
	color : white;
	border : 1px solid var(--main-color);
}
.product-resume-add-button-wrapper {
	text-align : center;
}
.product-gtns-section {
	width : 100%;
	text-align : center;
}
.quantity-selector-wrapper * {
	margin : 5px;
}
.quantity-selector-button {
    border-radius: 50%;
    background: var(--qty-selector-bg) !important;
    color: var(--qty-selector-text);
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 500;
}

.product-section-line.active .quantity-selector-button {
    background: var(--qty-selector-bg-active) !important;
	color: var (--qty-selector-text);
	font-size: 12px;
    font-weight: 500;
}
.quantity-selector-button.disabled {
	background : var(--disabled);
	color: var(--qty-selector-text);
	font-size: 12px;
    font-weight: 500;
}
.product-edit-section {
	float: right;
    font-size: 12px;
    color: var(--main-color);
}
.product-resume-detail-element {
    font-size: 12px;
    font-weight: 200;
    padding-left : 20px;
}

.products-cart {
    position: fixed;
    bottom: 0;
    /* left: 0; */
    background: none;
    width: auto;
    text-align: center;
    padding: 30px;
    /* z-index: -1; */
    margin: auto;
}

.product-section-wrapper.success.unique {
    display:none;
	}

.products-cart-button {
    display: flex;
    background: var(--main-color);
    width: 90px;
    margin: auto;
    border-radius: 50%;
    height: 90px;
    border: 4px solid var(--cart-border);
    box-shadow: 0px 3px 20px var(--header-shadow);
    color: white;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    position : relative;
}
span.cart-amount {
    position: absolute;
    font-size: 12px;
    top: -7px;
    right: -25px;
    background: var(--cart-amount-bg);
    border-radius: 5px;
    padding: 5px;
}
.products-header {
    height: 181px;
    margin: -10px -10px 0 -10px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-position-y: top; */
}

.content-wrapper:has(.product-container,.checkout-wrapper,.payment-wrapper,.order-wrapper) {
	margin-top : 30px;
	max-width:  800px;
	border-top-left-radius : 30px;
	border-top-right-radius : 30px;
	transition : all .5s ease;
	position : relative;
	padding-top: 30px;
	padding-left: 30px;
	padding-right: 30px;
}
.products-category-title {
  scroll-margin-top: 270px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-basis : 100%;
  font-size : 22px/27px;
  text-transform : uppercase;
  margin-bottom : 0px;
	margin-left:20px;
	margin-top:25px;
}
.products-service-warning-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    z-index: 12000;
    width: 100%;
    height: 100vh;
    padding: 50px;
}

.products-service-warning-footer {
    padding: 10px;
    text-align: center;
}

button.products-service-warning-button {
    padding: 15px;
    margin: 10px;
    background: var(--main-color);
    border-radius: 5px;
    width : 100%;
}

.products-service-warning-text {
    font-weight: 600;
}

.products-category {
    scroll-margin-top:200px;
}

.products-category-title::after {
  border: 1px solid var(--gray-light);
  content: '';
  flex-grow: 1;
  margin-left: 10px;
}

.product-quantity-editor-line,.order-product {
    margin-top: 20px;
    position: relative;
    display: inline-flex;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 15px;
    width : 100%;
}
.product-quantity-editor-line-detail,.order-product-details {
	font-weight : 600;
	display : inline-block;
	font-size: 12px;
    font-style: italic;
	color: grey;
	width: 100%;
}
.order-product-details span {
	margin-right : 10px;
}
.product-quantity-editor-line-quantity {
	margin-top : auto;
}

.product-section-lines-wrapper {
    text-align: center;
    border-bottom: 2px dashed var(--gray-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    flex-basis : 200px;
}

.product-section-line {
    border: 1px solid var(--product-section-line-border);
    border-radius: 30px;
    margin: 10px;
    text-align: center;
    position: relative;
    display: flex;
    flex-basis: 200px;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
	height:200px;
	width: 200px;
}

.product-section-line-price {
	font-size : 12px;
	font-weight : 600;
	margin-top: 28px;
}
.product-section-line-title {
	display : block;
	font-size : 11px;
	line-height: 11px;
	width : 100%;
	position: absolute;
    margin-top: 125px;
	padding-left: 10px;
	padding-right: 10px;
}
.product-section-line .quantity-selector-wrapper {
	float : none;
	position : absolute;
	bottom : 5px;
}
.product-section-line.active {
	background : var(--main-color);
	color : var(--product-section-line-active-text);
}

.product-quantity-editor-image,.order-product-image {
    min-width: 100px;
    display: inline-block;
    height: 100px;
    border-radius: 20px;
    background-color: var(--main-bg-color);
    flex-grow: 1;
    background-size: cover;
    background-position: center;
	
}

.product-quantity-editor-infos, .order-product-info {
    display: flex;
    margin-left: 20px;
    width: calc(100% - 140px);
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
}

.product-quantity-editor-amount,.order-product-amount {
    position: absolute;
    top: 0;
    right: 8px;
    color: var(--main-color);
	font-weight: 600;
}
.product-quantity-editor-right {
    display: flex;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-between;
    width : 85px;
}
.product-quantity-editor-right {
	
}
.product-footer {
    position: fixed;
    width: 500px;
    bottom: 0;
/*    left: calc(50% - 300px);*/
    background: rgba(255, 255, 255, 0.9);
/*    border-top: 1px solid var(--gray-light);*/
    padding: 15px;
	
    transition: all 1s ease;
	left: 50%;
    transform: translate(-50%, 0%);
	box-shadow: 0px 3px 20px var(--header-shadow);
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}
.product-quantity-editor-name,.order-product-name {
    width: 100%;
    top: 0;
}
	.product-quantity-edit-offer-name {
		font-size : 12px;
	}
.checkout-cart-amount-value {
    display: inline-block;
    float: right;
    padding-right: 11px;
    padding-top: 15px;
    font-size: 20px;
    color: var(--main-color);
}

.checkout-cart-title {
    margin : auto;
}
.checkout-cart-amount {
    margin-bottom: 20px;
    text-align : center;
}
.checkout-cart-amount-label {
    display: inline-block;
    padding-left: 75px;
    padding-top: 15px;
}
.checkout-delivery-error {
    text-align: center;
    color: var(--error);
}
.checkout-additionnal-product-button, .checkout-additionnal-product-input{
    padding : 5px 15px;
    border-radius : 50px;
    margin : 5px;
}
.checkout-additionnal-product-input input {
    background: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
    appearance: textfield;
    -webkit-appearance: none;
}

.checkout-additionnal-product-input input::-webkit-outer-spin-button,
.checkout-additionnal-product-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.checkout-additionnal-product-input input:focus {
    outline: none !important;
    -moz-appearance: textfield;
    appearance: textfield;
    -webkit-appearance: none;
}
.checkout-additionnal-product-button.selected, .checkout-additionnal-product-input.selected {
    background : var(--main-color);
    color : white;
}
.address-input-wrapper.fullpage {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98);
    z-index: 20000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
}
.address-input-wrapper.fullpage .address-input-geolocation-inside {
    left: 20px;
    font-size: 28px;
}
.address-input-wrapper.fullpage .address-input-items {
    width: 100vw;
    max-width: 500px;
    background: white;
    max-height: 50vh;
    overflow-y: auto;
}
.address-input-wrapper.fullpage .address-input-item {
    font-size: 14px;
    padding: 18px 20px;
    overflow-x: hidden;
    overflow-y:hidden;
    white-space: nowrap;
    text-overflow: ellipsis; 
    width: 100%; 
}
.address-input-items {
	background : var(--address-input-item-bg);
}
.address-input-item {
	border-bottom : 1px solid var(--address-input-border);
	font-weight : 400;
	cursor : pointer;
	height : 45px;
	padding : 10px;
}
.address-input-item:hover {
	background : var(--main-color);
	color : var(--address-input-text);
}
.checkout-service-details {
    display: block;
    width: 100%;
    position: relative;
    height: 40px;
}

.checkout-service-edit {
    padding-left: 75px;
    color: var(--main-color);
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.checkout-service-name {
    padding-left: 75px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.checkout-service-amount {
    position: absolute;
    right: 12px;
    bottom: 0;
}
.main.address-input-geolocation {
    display: inline-block;
    width: 40px;
    text-align: center;
    padding: 5px;
}
.selectable-button.pill {
    height: 40px;
    border-radius: var(--border-radius);
}
.checkout-slot-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.checkout-wrapper hr {
	/*margin : 20px 0 ;*/
}

.checkout-cart-extend {
    position: absolute;
    bottom: -9px;
    width: 100%;
    text-align: center;
}
.checkout-cart-extend.extended button.main {
	animation : all 1s ease-out;
	transform : rotate(180deg);
	
}

.checkout-cart-extend.extended {
	animation : all 1s ease-out;
	transform : rotate(180deg);
}
.checkout-cart-wrapper.extended {
	animation : all 1s ease-out;
	height : 100%;
}
.step-resume-edit-button {
	float : right;
}

.step-resume-wrapper {
    padding: 20px;
    border: 1px solid var(--main-color);
    border-radius: var(--border-radius);
    display: flex;
    margin : 15px auto 15px auto;
}
.checkout-resume-note {
    margin: auto;
    width: 100%;
    border: 1px var(--gray-light) solid;
    border-radius: 15px;
    font-size: 12px;
    resize: none;
}
.checkout-resume {
    width: 100%;
}
.checkout-slots hr {
	margin : 20px 0;
		
}
.checkout-resume-line {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    padding-left: 20px;
    padding-right: 20px;
}
.checkout-resume-line.total {
	font-size : 16px;
	color : var(--main-color);
	font-weight : 500;
}

.checkout-resume-line-amount {
    margin-left: auto;
}
.checkout-resume-validate {
	text-align : center;
	margin : auto;
}
.checkout-wrapper, .payment-wrapper {
	position : relative;
	width : 100%;
}

.selectable-button.stripe-card {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 40px;
}
.stripe-validation-wrapper {
    text-align: center;
    margin-top: 15px;
}

.stripe-new-card {
    margin-top: 15px;
}
.stripe-error {
    color: red;
    font-weight: 700;
}
.StripeElement {
    padding-top: 10px;
}
.stripe-loader-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.checkout-additionnal-products-list {
    display: flex
;
    flex-direction: column;
    align-items: center;
}

.checkout-additionnal-products {
    display: flex
;
    justify-content: center;
    flex-direction: column;
}

/*
	Navigation
*/
.navigation-button {
	background : var(--navigation-button-bg);
	color : var(--navigation-button-text);
	border-radius : 50px;
	padding : 5px;
}

/*
	Loader
*/
.loader {
  width: 16px;
  height: 16px;
  position: relative;
  left: -32px;
  border-radius: 50%;
  color: #fff;
  background: currentColor;
  box-shadow: 32px 0 , -32px 0 ,  64px 0;
}

.loader::after {
  content: '';
  position: absolute;
  left: -32px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background:#FF3D00;
  animation: move 3s linear infinite alternate;
}

@keyframes move {
  0% , 5%{
    left: -32px;
    width: 16px;
  }
  15% , 20%{
    left: -32px;
    width: 48px;
  }
  30% , 35%{
    left: 0px;
    width: 16px;
  }
  45% , 50%{
    left: 0px;
    width: 48px;
  }
  60% , 65%{
    left: 32px;
    width: 16px;
  }

  75% , 80% {
    left: 32px;
    width: 48px;
  }
  95%, 100% {
    left: 64px;
    width: 16px;
  }
}  
  
@-webkit-keyframes SHOW-BOX {
    0%   { top : 100vh; }
    100% { top: 0; }
}
@-moz-keyframes SHOW-BOX {
    0%   { top : 100vh; }
    100% { top: 0; }
}
@-o-keyframes SHOW-BOX {
    0%   { top : 100vh; }
    100% { top: 0; }
}
@keyframes SHOW-BOX {
    0%   { top : 100vh; }
    100% { top: 0; }
}

.fullpage {
	position : fixed;
	z-index : 100000;
	top : 0;
	left : 0;
	background : white;
	width : 100%;
	height : 100vh;
	padding: 20%;

}

.menu-full-wrapper{
	margin: auto;
	position : fixed;
	z-index : 100000;
	top : 0;
	left : 0;
	background : white;
	width : 100%;
	height : 100vh;
	overflow : scroll;
	padding-top: 15px;
}

.top-right {
	position : fixed;
	top : 10px;
	right : 10px;
	color: white;
    padding: 10px 15px 10px 15px;
	border-radius: 30px;
	background-color: black;
}
.top-left {
	position : absolute;
	top : 10px;
	left : 10px;
}
/*
	Text
*/
.title-1 {
	font-size : 22px;
	font-weight : 500;
	margin : 10px;
}
.title-2 {
	
}
.title-3 {
	
}

/*
	Buttons
*/
.selectable-button {
	background : transparent;
	border : 1px solid var(--main-color);
	border-radius : 10px;
	color : var(--selectable-button-text);
	width : 120px;
	height : 120px;
	margin : 3px;
	/*box-shadow: 0px 3px 20px var(--header-shadow);*/
	align-items: center;
	display: flex;
	flex-direction: row;
	padding: 2px;
	justify-content : center;
}
.selectable-button:hover, .selectable-button.selected{
	background : var(--main-color);
	color : var(--selectable-button-text);
	transition : all 0.5s ease;
	text-decoration: none;
/*	margin: 0px !important;
	padding: 5px;*/
}

.selectable-button.hour-slot, .date-slot {
    margin: 3px;
    width: auto;
    min-width: 80px;
    padding: 20px;
	line-height: 15px;
}

.selectable-button.hour-slot{
	width: 90px;
}

img {
	width : 100%;
}
input:focus {
	outline:none !important;
}
input {
	width: 100% !important;
	height: 40px !important;
	font-size: 16px !important;
}

button.main, a.main {
	box-shadow: 0px 3px 6px var(--header-shadow);
	border-radius : 50px;
	padding : 10px 40px;
	text-transform : uppercase;
	font-weight : 400;
	margin : 10px;
}
button.main:hover {
	transition : all 0.5s ease;
	background : var(--main-button-text);
	color : var(--main-color);
}
.circle-button {
    background: var(--main-color);
    color: var(--circle-button-text);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display : block;
    padding : 10px;
    text-align : center;
	line-height: 50px;
/*	position: fixed;
	bottom: 0;
	left: 0;
	
	.menu-wrapper a:not(.header-shop-choice) {

	
	margin-left:120px;
	margin-bottom: 20px;*/
}
.circle-button:hover {
	transition : all 0.5s ease;
	background : var(--circle-button-text);
	color : var(--main-color);
}
.menu-wrapper a:not(.header-shop-choice) {
    vertical-align: middle;
    line-height: 50px;
    margin-right: 20px;
    padding : 0px !important;
}
.circle-button:has(.fa-bars){
	line-height : 32px;
}

.menu-wrapper .circle-button {
	padding : 10px;
	display : inline-block;
	margin : 5px;
	vertical-align : top;
}
.buttons-wrapper {
	display : block;
	display: inline-flex;
	text-align: center;
	margin: auto;
	align-items: center;
	width: 100%;
	justify-content: center;
	flex-wrap : wrap;
	font-size: 14px;
}

.hour-slot, .date-slot {
box-shadow:Â unset;
}

.order-wrapper {
    padding: 15px;
    /* font-weight: 200; */
}

.order-totals {
    margin-top: 20px;
}

.order-total-line {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.order-total-label {
    margin-right: 15px;
}
.order-actions {
    margin-top: 10px;
    text-align: right;
}

.order-actions a {
    color: black;
    font-weight: 600;
}
/* Keep .product-title standalone */
.product-title {
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    text-align: left;
}

/*LOGIN*/

/*label.login-field-label{
	display: none;
}*/
.login-field-group{
	
	margin-bottom: 10px;
	width: 100%;

	
}

.login-field-group:has([name=remember]) {
    display: none;
}

button.profile-button {
    background-color: var(--menu-item-background);
    padding: 5px 10px 5px 10px;
    border-radius: 30px;
    margin: auto;
    width: 240px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

button.close-menu-button {
    background-color: var(--menu-item-background);
    padding: 5px 10px 5px 10px;
    border-radius: 30px;
    margin: auto;
	position: fixed;
	right : 30px;
    line-height : 42px;
}

.login-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
}

a.login-google-link {
    text-align: center;
    border-radius: 30px;
    background-color: var(--google-background);
    color: var(--google-text);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5px auto 10px auto;
}

img.login-google-image{
	width: 28px;
	height: 30px;
	margin-right: 10px;
}

.login-google-introduction {
	margin-top: 30px;
	text-align: center;
}

button.login-button{
	text-align: center;
    border-radius: 30px;
    background-color: var(--menu-item-background);
    color: white;
    padding: 10px;
    margin-top: 10px;
}

a.login-reset-button {
    text-align: center;
    border-radius: 30px;
    border: solid 1px var(--menu-item-background);
    /* background-color: var(--menu-item-background); */
    color: var(--menu-item-background);
    padding: 10px;
    margin-top: 10px;
}
.login-error-label{
	
	color: red;
	margin-top: 5px;
	font-size: 12px;
	font-style: italic;
	font-weight: 600;
}

a.login-register-link,.login-no-login-button {
	text-align: center;
	margin-top: 5px;
	font-style: italic;
	font-size: 14px;
	width: 100%;
	font-weight: 600;
	border: solid 1px;
	border-color: #ededed;
	background-color: #ededed;
	color: black;
	border-radius: 30px;
	padding: 10px;
}

.login-wrapper {
    width: 1000px;
	margin-left: 20px;
	margin-right: 20px;
}

.register-wrapper {
    width: 1000px;
	margin-left: 20px;
	margin-right: 20px;
}

button.inline-flex.items-center.px-4.py-2.bg-gray-800.border.border-transparent.rounded-md.font-semibold.text-xs.text-white.uppercase.tracking-widest.hover\:bg-gray-700.focus\:bg-gray-700.active\:bg-gray-900.focus\:outline-none.focus\:ring-2.focus\:ring-indigo-500.focus\:ring-offset-2.transition.ease-in-out.duration-150.false.login-button {
    background-color: var(--menu-item-background);
}

input.rounded.border-gray-300.text-indigo-600.shadow-sm.focus\:ring-indigo-500.login-field-checkbox {
    display: none;
}

button.inline-flex.items-center.px-4.py-2.bg-gray-800.border.border-transparent.rounded-md.font-semibold.text-xs.text-white.uppercase.tracking-widest.hover\:bg-gray-700.focus\:bg-gray-700.active\:bg-gray-900.focus\:outline-none.focus\:ring-2.focus\:ring-indigo-500.focus\:ring-offset-2.transition.ease-in-out.duration-150.false.profile-button {
    background-color: var(--menu-item-background);
	color: var(--button-text);
    display: flex;
    margin-left: auto;
	margin-right: auto;
	margin-top:15px;
	
}

.mt-6{
	margin-top: 5px;
}

.space-y-6>:not([hidden])~:not([hidden]){
	margin-top: 0px;
}

h2{
	font-weight: 700;
	font-size: 24px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
}

/*PAGE DE COMMANDE*/

.order-link {
    background-color: var(--menu-item-background);
    width: 40px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    padding: 10px 5px 10px 5px;
	margin-top: 10px;
}

.order-item-details {
    border: 1px solid var(--menu-item-background);
    border-radius: 30px;
    padding: 15px;
	margin-bottom: 10px;
}

.orders-wrapper {
    padding: 20px;
    border-radius: 30px;
	width: 1000px;
	display: inline-block;
}

a.order-item{
	
	padding: 10px;
	width: 25%;
	display: inline-grid;
	
}

.order-wrapper {
    padding: 50px 75px 50px 75px;
    /* font-weight: 200; */
}

.order-header {
    /*border-bottom: 1px solid black;*/
    margin: 15px 0;
}

.order-header-number {
    font-size: 20px;
}

.order-header-dates {display: flex;flex-direction: row;align-content: center;justify-content: flex-start;align-items: center;font-size:14px;}

.order-header-date-value {
    display: flex;
    align-self: flex-end;
    margin-left: auto;
    font-weight: 600;
	font-style: italic;
	color: grey;
}

.order-header-service {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: var(--main-color) 1px solid;
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0px 30px 0px;
}

.order-header-service-label {
    width: 100%;
    text-align: center;
    margin-right: auto;
    font-size: 18px;
}

.order-header-service-location {
    width: 100%;
    text-align: center;
    font-weight: 600 !important;
	font-style: italic;
	color: grey;
}

.order-header-service-date {
    width: 100%;
    min-width: 120px;
    text-align: center;
    margin-left: auto;
    font-size: 22px;
    color: var(--main-color);
    font-weight: 500;
}

.order-header-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
    font-size: 24px;
	text-transform: uppercase;
}

.order-info {
    font-size: 12px;
    font-weight: 600;
	font-style: italic;
    color: var(--order-info);
    margin-top: 25px;	
	text-align: center;

}

.order-total-amount {
    width: 25px;
    text-align : right;
}
.order-totals {
    margin-top: 25px;
	background-color: #EDEDED;
	padding: 15px;
	border-radius: 15px;
}

.order-total-line {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
		margin-right: 35px;

	
	
}
.order-total-line:not(.global){
	font-size: 14px;
    font-weight: 400;
	margin-right: 25px;
}

.order-total-label {
    margin-right: 15px;
	font-weight: 400;
}
.order-item-id {
    display: inline-flex;
    width: 40px;
	font-size: 16px;
	font-weight: 800;
}

.order-item-date {
    display: inline-flex;
    /* width: calc(100% - 50px); */
    text-align: right;
    margin-left: auto;
    font-weight: 600;
	font-size: 12px;
	font-style: italic;
	color: grey;
}

.order-item-header {
    display: flex;
}
.order-item-center {
    font-size: 18px;
	font-weight: 800;
}
.order-item-products {
	font-size: 14px;
    font-weight: 400;
}

.order-item-amount {
	font-size: 14px;
    font-weight: 600;
}

span.order-item-label {
	font-size: 14px;
    font-weight: 400;
}

.account-item {
    width: 200px;
    height: 200px;
    min-width : 150px;
    min-height : 150px;
/*    border: 1px var(--main-color) solid;*/
	background-color: var(--menu-item-background);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    margin: 10px;
	
}
.mobile-app .account-item {
    width : 45vw;
    height : 45vw;
}

/*.account-item-icon path, .account-item-icon line {
   stroke : black;
	fill: transparent;
}*/

.account-item-icon {
    width: 50px;
    margin-bottom: 15px;
}

.account-wrapper {
    display: flex;
	flex-wrap: wrap;
/*    flex-direction: column;*/
    align-content: center;
    justify-content: center;
    align-items: center;
	padding-bottom: 250px;

}

.account-item-title {
    text-align: center;
}

.address-input-wrapper {
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
}

.address-input-geolocation-inside {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    color: var(--main-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.address-input-geolocation-inside:focus {
    outline: none;
}
/* Pour éviter la double bordure sur l'input */
.address-input-element:focus {
    outline: none !important;
    box-shadow: none !important;
}
.address-input-element {
    border : none !important;
    width : 100% !important;
    padding : 5px 10px !important;
}
.address-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border: 1px solid var(--gray-light);
    padding: 5px 10px;
}
@media (min-width : 1400px){
	.product-card {
		width : 31%;
		
	}
	.content-wrapper:has(.product-container,.checkout-wrapper,.payment-wrapper,.order-wrapper) {
		width : 1000px;
		padding-right: 30px;
		padding-bottom: 120px;
	}
	
	.order-wrapper {
	    padding: 20px;
	}
	
	.address-input-wrapper.fullpage {
	    padding: 20% !important;
	    width: 100%;
	}

}
@media (max-width : 1399px){
	.product-card {
		width : 47%;
	}
	.product-card.promo-card {
    height: 160px!important;

}
	.product-thumbnail {
		width : 130px;
		height : 130px;
	}
	.content-wrapper:has(.product-container,.checkout-wrapper,.payment-wrapper,.order-wrapper) {
		width : 1000px;
		padding-right: 30px;
		padding-bottom: 120px;
	}
	.order-wrapper {
	    padding: 20px;
	}
	.address-input-wrapper.fullpage {
	    padding: 20% !important;
	    width: 100%;
	}

}
@media (max-width : 1026px){
	.header{
		height: 65px;
		padding: 0 10px;
		display: flex;
	}

	.logo-wrapper {
	    height : 45px;
	}
	.logo-wrapper .logo{
		width: auto;
		height: 40px;
		margin: auto;
		padding-top: 0;
	}
	.banner-wrapper {
        display : none;
    }
	
	.product-description {
		font-size: 11px;
		font-weight: 600;
	}
	.product-title {
		font-size: 13px;
	}
	
	
	.products-list {
	    width: 100%;
	    margin-left: 10px;
	}
	.product-card {
		width : 47%;
	}
	.categories-wrapper{
		margin: auto;
		position: relative;
		top: 0;
		border-bottom: none;
		height: auto;
	}
	.menu-wrapper {
		top : 2px;
		right : 10px;
		left : unset;
		bottom : unset;
	}
	
	a.order-item{
		padding: 10px;
		width: 33%;
		display: inline-grid;
	}
	
	.account-wrapper {
	    display: flex;
		flex-wrap: wrap;
	    align-content: center;
	    justify-content: center;
	    align-items: center;
		padding-bottom: 290px;
	
	}
	
	.order-wrapper {
    	padding: 10px;
		width: 100%;
		margin: 0px;
	}
	.address-input-wrapper.fullpage {
	    padding: 10% !important;
	    width: 100%;
	}
	.footer-inner {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
	.footer-copyright {
		order: 2;
	}
	.footer-social {
		order: 1;
	}
}

@media (max-width : 700px){
	.product-card {
		width : 95%;
	}
	.content-wrapper:has(.product-container,.checkout-wrapper,.payment-wrapper,.order-wrapper) {
		width : 100%;
		padding-bottom: 120px;
	}
	.menu-wrapper {
		margin-left : -30px;
	}
	.product-resume-add-button-wrapper button.main{
		padding: 10px;
		font-size : 12px;
	}
	.product-footer {
		width: 300px;
	}
	
	.promo-card .product-infos .product-title {
        font-size: 20px!important;
    }
        
	a.order-item{
        
        padding: 10px;
        width: 33%;
        display: inline-grid;
    }
	
	.account-wrapper {
        display: flex;
        flex-wrap: wrap;
    /*    flex-direction: column;*/
        align-content: center;
        justify-content: center;
        align-items: center;
        padding-bottom: 80px;

    }
    .order-wrapper {
        padding: 10px;
			width: 100%;
			margin: 0px;
    }
	
    .address-input-wrapper.fullpage {
        padding: 100px 25px 0px 25px !important;
        width: 100%;
    }
	
}
	

@media (max-width : 560px){
	
	.product-allergens {
	background : white;
	color : black;
	border-radius : 20px;
	/* width : 100%; */
	/* height : 100%; */
	font-size : 12px;
	position: absolute;
	top: 0px;
	padding: 20px;
	display: flex;
	align-items: center;
	text-align:center;
	right: -200px;
	width: 300px;
	height: auto;
	z-index: 100;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
}

button.voucher-input-button {
    border: solid 1px var(--main-color);
    background-color: var(--main-color);
    color: white;
    padding: 0px 0px!important;
    border-radius: 30px;
    margin-left: 5px!important;
    width: 100%;
    height:40px;
}

.voucher-code {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
}
.reward-confirmation-wrapper {
	width : 80% !important;
	height : 58vh !important;
	top : calc(50% - 29vh) !important;
	left : 10% !important;
}
.reward-picture {
	height : 200px !important;
}
}

	

	
.content-wrapper:has(.product-container,.checkout-wrapper,.payment-wrapper,.order-wrapper) {
    width: 100%;
    padding: 15px;
    padding-bottom: 120px;
}

.product-card.promo-card.product-description {
    height: auto!important;
}
.product-card.promo-card {
    height: 150px!important;
}

.product-title{ 
    font-size: 11px;
    line-height: 13px;
}
.product-description{
    font-size: 10px;
    line-height: 11px;
    height: 33px;
    font-weight: 600; 
}

.product-section-line {
    flex-basis: 150px;
    height:150px;
    width : 150px;
    margin : 5px;
}

.product-section-line-title {
font-size: 10px;
margin-top: 82px;
line-height: 10px;
text-transform: uppercase;
}

.product-section-line-price {
font-size: 11px;
font-weight: 600;
margin-top: 24px;
}

.product-thumbnail {
    width: 120px;
    height: 120px;
}
	
.product-section-line-image {
    width: 90%;
    height: 70px;
    margin-top: 5%;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: var(--main-bg-color);
}
	
	.product-quantity-editor-name {
		font-size: 12px;
		line-height: 13px;
	}
	
	
	.product-quantity-edit-offer-name {
		font-size : 9px;
	}
	
	.product-quantity-editor-amount {
		font-size: 12px;
		line-height: 13px;
		font-weight: 500;
	}
	
	.product-quantity-editor-line-detail,.order-product-details {
		font-weight : 600;
		font-size: 10px;
		line-height: 11px;
	    font-style: italic;
		color: grey;
	}
	.product-quantity-editor-image,.order-product-image {
		min-width : 60px;
		height : 60px;
	}

	
button.main, a.main {
    box-shadow: 0px 3px 6px var(--header-shadow);
    border-radius: var(--border-radius);
    padding: 10px 40px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 10px;
	font-size: 14px;
}
	
h2 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}
	a.order-item{
	
	padding: 10px;
	width: 100%;
	display: inline-grid;
	
}
	
		.account-wrapper {
    display: flex;
	flex-wrap: wrap;
/*    flex-direction: column;*/
    align-content: center;
    justify-content: center;
    align-items: center;
	padding-bottom: 80px;

}
	
		.order-wrapper {
    padding: 10px;
			width: 100%;
			margin: 0px;
}
	

	.order-header-number {
    font-size: 16px;
}
	
	.order-header-dates {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    font-size: 11px;
}
	
	.order-header-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
    font-size: 18px;
    text-transform: uppercase;
}
	
	.order-header-service-date {
    width: 100%;
    min-width: 120px;
    text-align: center;
    margin-left: auto;
    font-size: 15px;
    color: var(--main-color);
    font-weight: 500;
}
	
	.order-header-service-location {
    width: 100%;
    text-align: center;
    font-weight: 600 !important;
    font-style: italic;
    color: grey;
	font-size: 11px;
}
	
	.order-header-service {
  
    padding: 10px;
}
		.address-input-wrapper.fullpage {
    padding: 100px 15px 0px 15px !important;
    width: 100%;
}
}
	
.order-wrapper .order-title {
    font-size: 36px;
    color: var(--main-color);
}
.cf-wrapper {
    /* padding: 0px 20px; */
}

.cf {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    margin: 11px 0;
}

.cf-label {
    width: 100%;
}

.cf-control {
    border-radius: 50px;
    width: 100%;
    border: 1px solid var(--main-color);
}
.order-other {
    margin: 16px 0px;
    border-bottom: 1px solid var(--gray-light);
    padding: 10px 0px;
    font-size: 12px;
}

.order-other-label {
    font-weight: 600;
    font-size: 14px;
}
.voucher-title,.stripe-cards-title {font-weight: 500;margin: 15px 0;width: 100%;}

.voucher-wrapper {
    width: 180px;
    border: 1px solid var(--main-color);
    margin: 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    border-radius: 5px;
    border-radius: 25px;
    padding: 5px 10px;
    height: 50px;
}

.vouchers-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
}
.vouchers-wrapper:hover{
	cursor : pointer;
}

.voucher-wrapper.is-active {
    background: var(--main-color);
    color: white;
    font-weight: 500;
}

.product-toggle-wrapper {
    position: absolute;
    bottom: 80px;
    left: 19px;
    /* width: 60px; */
}

.product-toggle-wrapper .bo-switch {
  position: relative;
  display: flex;
  width: 100px;
  height: 25px;
  margin : 0 5px;
}

.product-toggle-wrapper .bo-switch input {
  opacity: 1;
  width: 0;
  height: 0;
}
.product-toggle-wrapper .bo-switch-label {
    z-index: 10;
    width : 100%;
    padding: 0px 15px;
    margin : auto;
    overflow: hidden;
    text-overflow: ellipsis;
    /* height: 34px; */
    text-wrap: nowrap;
}
.product-toggle-wrapper .bo-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.product-toggle-wrapper .bo-slider:before {
  position: absolute;
  content: attr(data-label);
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.product-toggle-wrapper .bo-switch input:checked + .bo-slider {
  background-color: var(--main-bo-color);
}

.product-toggle-wrapper .bo-switch input:checked + .bo-slider:before {
  transform: translateX(75px);
}

/* Rounded sliders */
.product-toggle-wrapper .bo-slider.round {
  border-radius: 20px;
}

.product-toggle-wrapper .bo-slider.round:before {
  border-radius: 50%;
}
.products-categories {
    position: relative;
}

.product-service-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 11000;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.modal-content-wrapper {
    width: 50%;
    background: white;
    max-width: 500px;
    border-radius: 10px;
    padding: 10px;
    min-width : 300px;
}

.modal-content-header {
    text-align: right;
}

button.modal-content-header-button {
    width: 20px;
    height: 20px;
    font-weight: 500;
}
.promo-wrapper img {
    width: 120px;
    margin: auto;
}

.promo-wrapper {
    text-align: center;
}

.promo-title {
    text-transform: uppercase;
    margin: 15px;
    background: var(--main-promo-color);
    color: white;
    font-weight: 500;
    border-radius: 25px;
    padding: 10px;
}

.promo-description {
    font-style: italic;
    font-weight: 500;
    margin: 10px;
}
.promo-home-title {
    /* position: absolute; */
    right: -9px;
    bottom: 10px;
    /* transform-origin: right bottom; */
    transform: rotate(270deg)  translateX(-160%);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-promo-color);
    width: 26px;
    /* display: flex; */
    align-items: stretch;
    align-content: flex-end;
    justify-content: space-between;
    height: 30px;
}
.promo-actions {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

a.promo-cta {
    width: 100%;
    margin: 5px;
    padding: 10px;
    border-radius: 25px;
    text-align: center !important;
}
.promo-card {
    border: 1px solid var(--main-promo-color);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor : pointer;
    /* padding-right: 26px; */
}
.product-card.promo-card {
    display: flex;
    align-items: center;
    height: 180px;
    justify-content: space-evenly;
    padding-right: 0;
    transition: all 1s ease;
}

.promo-card .product-infos .product-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--main-promo-color);
	line-height: 28px;
 
}

.promo-home-main {
    width: calc(100% - 30px);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 135px;
}

.promo-home-header {
    font-size: 17px;
    font-weight: 500;
}

.promo-home-amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--main-promo-color);
}

.promo-home-vouchers {
    border: 1px solid var(--main-promo-color);
    padding: 5px;
    border-radius: 10px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* margin-right: 26px; */
    max-width: calc(50% - 26px);
    width: 45%;
}

.promo-home-vouchers-title {
    font-size: 12px;
    text-align: center;
}

.home-pdv-promo-wrapper {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0;
    width: 100%;
    cursor: grab;
    scroll-behavior: smooth;
    align-items: center;
    justify-content: flex-start;
}

.home-pdv-promo-item {
    flex: 0 0 75%;
    height: 60vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    margin: 0 5px;
}

.home-pdv-promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-pdv-promo-wrapper:active {
    cursor: grabbing;
}

.voucher-edit-title {
    font-size: 20px;
    text-align: center;
    font-style: italic;
}

.voucher-edit-amount-available {
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

.voucher-edit-amout-input input {
    margin-top: 5px;
    border: 0px solid black !important;
    text-align: center;
    font-size: 33px !important;
    FONT-WEIGHT: 700;
    color: var(--main-color);
    border-bottom: 1px dashed black !important;
    border-radius: 0px !important;
    width: 60% !important;
}

.voucher-edit-amout-input input:focus {
    box-shadow: unset !important;
}

.voucher-edit-amout-input:after {
  content: '€';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--main-color);
}

.voucher-edit-amout-input {
    position: relative;
}

.voucher-code {
    display: flex;
    width: 100%;
    margin: 20px 0px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
}

button.voucher-edit-button {
    margin: 30px;
    padding: 10px;
    border-radius: 25px;
    width: 120px;
    background: var(--main-promo-color);
    color: white;
}

button.voucher-input-button{
    border: solid 1px var(--main-color);
    background-color: var(--main-color);
    color: white;
    border-radius: var(--border-radius);
    margin-left: 20px;
    width : 20%;
    height : 40px;
}
input.voucher-input-code {
    width: 80% !important;
}

.voucher-edit-wrapper {
    text-align: center;
}

.promo-img img {
    width: 100%;
}
.promo-home-voucher {
    font-size: 14px;
    line-height: 12px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.product-card.promo-card.extended {
    height: unset;
    min-height: 180px;
    transition: all 1s ease;
}
.promos-wrapper {
	display : flex;
	flex-wrap : wrap;
}
.vouchers-items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.vouchers-offline-message {
    margin: 10px;
    font-size: 10px;
}
.vouchers-error {
    width: 100%;
    margin-top: 15px;
    text-align: center;
    color: red;
    font-weight: 600;
}
.vouchers-selected-wrapper {
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    background: #EDEDED;
    border-radius: 50px;
}

.voucher-selected-item {
    width: 100%;
    /*border: 1px solid var(--main-promo-color);*/
    color: black;
    font-weight: 600;
    padding: 10px;
    border-radius: 25px;
}
a.promo-cta.main {}

.promo-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

a.promo-cta.secondary {
    background: black;
    color: white;
    /*padding: 0px 5px;*/
    text-transform: uppercase;
	font-size: 14px;
	line-height: 14px;
}

a.promo-cta.secondary span {
    font-style: italic;
    text-transform: none;
}
.reward-confirmation-wrapper {
    position: absolute;
    width: 500px;
    /* max-width: 600px; */
    margin: auto;
    background: white;
    left: calc(50% - 250px);
    padding: 20px;
    /* border: 1px solid black; */
    border-radius: 20px;
    height: 70vh;
    z-index: 10;
    top: calc(50% - 35vh);
    box-shadow: var(--shadow);
}

.reward-picture {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    background-position: center;
    background-size: cover;
}

h3.reward-title {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0px;
}

p.reward-price {
    text-align: center;
    font-size: 18px;
}

.reward-confirmation-footer {
    position: relative;
    bottom: 0;
    padding: 20px;
    width: 100%;
    text-align: center;
    left: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.reward-confirmation-overlay {
	position : fixed;
	width : 100vw;
	height : 100vh;
	z-index : 100000000;
	top : 0;
	left : 0;
	background: rgba(255,255,255,0.8);
}
.reward-confirmation-button {
    background: var(--main-color);
    padding: 10px 30px;
    border-radius: 50px;
}
.reward-cancel-button {
    margin-top: 10px;
}
.product-plus-button.free-product {
    width: 100px;
    font-size: 20px;
}
.product-section-line-loader {
    width: 100%;
    margin-top: 20px;
}
.promo-error {
    color: red;
    font-weight: 700;
}

.promo-phone input {
    margin: 20px auto;
}

.promo-phone button {
    background-color: var(--main-color);
    padding: 10px 30px;
    border-radius: 50px;
}
/* Style pour le parent */
.placeholder-parent {
  position: relative;
  overflow: hidden; /* Assurez-vous que les placeholders restent dans les limites du parent */
}

/* Style pour le placeholder */
.placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 1;
  pointer-events: none; /* Ignore les interactions utilisateur */
}

/* Animation shimmer */
@keyframes shimmer {
  from {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}

/* Payplug */
#my-payment-form {
	display : flex;
	flex-wrap: wrap;
    margin: auto;
    justify-content: space-evenly;
}
#my-payment-form iframe {
	height : 50px !important;
	border: 1px solid var(--gray-light) !important;
    padding: 5px;
    border-radius: 15px;
    margin : 5px;
}

#scheme {
	width : 100%;
}
.language-switcher {
    position: fixed;
}

button.language-switcher-button {
    margin: 5px;
    text-transform: uppercase;
}
button.language-switcher-button img {
    width : 24px;
}
.language-switcher-button:not(.selected) {
    opacity : .6;
}

.language-switcher-button:hover {
    opacity : 1;
}

/* SplashScreen.css */
.splash-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  overflow: hidden;
}

.splash-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cela garantit que l'image couvre tout l'Ã©cran */
}

.home-wrapper {
    width : 100%;   
    padding-bottom : 90px;
    height : 100vh;
}
/* Header Styles */
.home-header {

}

/*.home-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}*/

/* PDV Default Styles */
.home-pdv-default {
    margin: 20px auto;
    width: 90vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius : var(--border-radius);
    box-shadow: var(--shadow);
}

.home-pdv-data {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 20px);
    padding-left : 10px;
}

.home-pdv-data i {
    margin-right: 10px;
}

.home-pdv-actions {
    background: black;
    color: white;
    width: 40px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius : var(--border-radius);
}

.home-pdv-title {

}

.home-pdv-actions a {
    color: white;
    text-decoration: none;
}
.home-pdv-actions i {
    font-size : 16px;
    color : white;
}

.nav-dd-default {
    margin: 5px;
    width: calc(50% - 10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: var(--border-radius);
    /* box-shadow: var(--shadow); */
    border: 1px solid var(--gray-light);
}

.nav-dd-data {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 40px);
    padding-left : 10px;
}

.nav-dd-data i {
    margin-right: 10px;
}

.nav-dd-actions {
    background: white;
    color: black;
    width: 40px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: var(--border-radius);
}
.nav-dd-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size : 10px;
}
.home-pdv-title {

}

.home-pdv-actions a {
    color: white;
    text-decoration: none;
}
.home-pdv-actions i {
    font-size : 16px;
    color : white;
}

.home-permissions-wrapper {
    background-color: white;
    border: none;
    padding: 5%;
    text-align: center;
    box-shadow: var(--shadow);
    position: fixed;
    width: calc(100% - 5px);
    bottom: 75px;
    z-index: 100;
    border-radius: var(--border-radius);
    animation: slideUp 0.2s ease-out forwards;
    transform: translateY(100%);
}
.home-permissions-header {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: flex-end;
}

.home-permissions-content {
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.home-permissions-button {
    background-color: #FF8C00; /* Couleur orange un peu plus foncÃ©e pour le bouton */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 3% 6%;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Ajoute une transition pour le survol */
}

.home-permissions-button {
    background-color: var(--main-color);
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius : var(--border-radius);
    border: 1px solid white;
}

.home-permissions-button:hover {
    background-color: #FF4500; /* Couleur orange plus foncÃ©e au survol */
}

/* Account Items Styles */
.home-pdv-account-wrapper {
    margin-top: 5%;
}

.home-pdv-account-items {
    display: flex;
    flex-wrap: wrap;
}

.home-pdv-account-item {
    position: relative; /* NÃ©cessaire pour positionner l'overlay correctement */
    flex: 1 1 calc(50% - 5%);
    margin: 2.5%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 5%;
    color: white;
    height : 80px;
    text-align: center;
    overflow: hidden; /* Assure que l'overlay reste Ã  l'intÃ©rieur du bloc */
}

.home-pdv-promo-wrapper::-webkit-scrollbar {
    display: none; /* Masque la barre de dÃ©filement sur Chrome, Safari et Opera */
}

.home-pdv-account-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.home-pdv-account-item:hover::after {
    opacity: 1;
}

.home-pdv-account-item:hover {
    color: white; /* Assurez-vous que le texte reste visible lors du survol */
}

.home-order-wrapper {
    margin-top: 5%;
    text-align: center;
}

.home-order-button {
    display: flex;
    color: white;
    background-color: black;
    border: none;
    border-radius: 5px;
    padding: 3% 6%;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.home-order-button:hover {
    background-color: var(--main-color); /* Couleur orange plus foncÃ©e au survol */
}

.home-services-header {
    text-align: center;
    background: white;
    margin: 10px;
    border-radius: 5px;
}

.home-services-header h2 {
    font-size: 1.8rem;
    color: var(--main-color);
}

.home-services-header h3 {
    font-size: 1.4rem;
    color: grey;
}

.home-services-header p {
    font-size: 1rem;
    color: #555;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {

    .home-pdv-account-item {
        flex: 1 1 100%;
        margin: 5% 0;
    }
}

.content-wrapper.mobile-app {
    padding : 0px !important;
    min-height : 100vh;
    padding-bottom : 120px !important;
}
.bottom-nav-bar {
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    align-items: center;
    height : 55px;
    bottom : 0;
    left : 0;
}

.nav-item {
    text-align: center;
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 17%;
}

.nav-item-main {
    color: white;
    background-color: black;
    position: relative; /* Position relative pour permettre le dÃ©passement */
    width : 20vw;
    padding: 10px 5px; /* Ajoutez un padding pour agrandir l'Ã©lÃ©ment */
    border-radius: var(--border-radius); /* Pour rendre l'Ã©lÃ©ment circulaire */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoutez une ombre pour un effet visuel */
    margin : 0px 10px;
    height: 70px;
    bottom: 10px;
}

.nav-item.nav-item-main .fas {
    font-size : 2rem; 
}
.nav-item-main .st0,.nav-item-main .st1 {
    stroke : white;
}
.nav-item-main .nav-icon {
    width : 32px;
}
.nav-label {
    font-size: 0.6rem;
    margin-top: 5px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--main-color);
}
.home-account, .home-fidelity {
    position: absolute;
    top: 20px; /* Ajustez la distance par rapport au haut */
    color: white; /* Couleur du texte pour contraster avec l'image */
    text-align: center;
    border-radius : var(--border-radius-sm);
}

.home-account {
    left: 20px; /* Positionne Ã  gauche */
}

.home-fidelity {
    right: 20px; /* Positionne Ã  droite */
}

.account-link, .fidelity-info {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-radius : var(--border-radius-sm);
    padding : 5px;
    background : black;
}

.account-link:hover, .fidelity-info:hover {
    color: var(--main-color); /* Couleur dorÃ©e pour les Ã©lÃ©ments survolÃ©s */
}

.account-name, .fidelity-points {
    margin-left: 5px;
    font-size: 0.6rem;
}

.fidelity-card-wrapper {
    margin: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--gray-light);
}

.fidelity-wrapper {
    width: 100%;
    padding : 10px;
}
.fidelity-tabs {
    display: flex;
    border-bottom : 1px solid var(--gray-light);
}

.fidelity-tabs button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
    transition: border 0.3s;
}

.fidelity-tabs button.active {
    border-bottom : 3px solid var(--main-color);
}

.fidelity-tab-content {
    padding: 20px;
}
.fidelity-submit {
    text-align : center;
}

.account-invite, .fidelity-invite {
    font-size: 0.9rem;
    color: #FFF; /* Couleur blanche pour le texte */
}

.login-link {
    color: #FFD700; /* Couleur dorÃ©e pour les liens */
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}
.home-header-user-wrapper {
    position: absolute;
    width: 100%;
    padding: 20px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top : 0;
}
.home-logo-wrapper {
    box-shadow: var(--shadow);
    padding-top : 20px;
}
.home-logo {
    width: 130px;
    margin: auto;
}
.home-pdv-promo-grid-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.home-pdv-promo-grid-item {
    width: calc(50% - 10px);
    margin: 5px;
    
}
.home-pdv-promo-grid-item img {
    border-radius : var(--border-radius);
}
.home-content-wrapper {
    margin-top: 20px;
}
.header-mobile-top-navbar {
    display: flex;
    align-content: center;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.header.mobile-app,.header.mobile-web{
    padding : 10px;
}
.header.mobile-app .logo-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.header.mobile-app .logo-wrapper .logo {
    width : 80px;
    height : auto;
    min-width : 70px;
}
.header.mobile-app .logo-link {
    margin-right : 10px;
}
.header-mobile-selectors {
    display : flex;
    width: 100%;
}
.header-mobile-selector {
    border: 1px solid var(--main-color);
    padding: 10px;
    border-radius: 5px;
    margin : 10px;
}
.header-mobile-selector {
    border: 1px solid var(--main-color);
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap; /* EmpÃªche le texte de passer Ã  la ligne */
    overflow: hidden;    /* Cache le dÃ©bordement de texte */
    text-overflow: ellipsis; /* Ajoute des points de suspension pour le texte tronquÃ© */
    max-width: 100%; /* Assurez-vous que le bouton ne dÃ©passe pas la largeur de son conteneur */
}

.header-mobile-selector i {
    margin-left: auto; /* Aligne l'icÃ´ne Ã  droite */
    padding-left: 5px; /* Ajoute un espace entre le texte et l'icÃ´ne */
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal-content p {
  margin-bottom: 20px;
}

.modal-content button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-width : 1px solid white;
}
.modal-content button:hover {
  border: 1px solid var(--main-color);
}

.modal-content button:first-child {
  background-color: #007bff;
  color: white;
}

.modal-content button:last-child {
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  color: white;
}
.header-transition {
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.header-enter {
  opacity: 0;
  transform: translateY(100%);
}

.header-enter-active {
  opacity: 1;
  transform: translateY(0);
}

.header-exit {
  opacity: 1;
  transform: translateY(0);
}

.header-exit-active {
  opacity: 0;
  transform: translateY(100%);
}
.mobile-app.content-wrapper {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(-1);
}

.mobile-app..content-wrapper.transitioning {
  opacity: 0;
  transform: translateY(20px);
}

.header-mobile-top-navbar-title {
    text-transform: uppercase;
}

/* Styles pour le conteneur principal */
.preferences-container {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

/* Styles pour les titres */
.preferences-title {
  color: #2c3e50;
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

/* Styles pour les sections */
.preferences-section {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Styles pour les sous-titres */
.preferences-subtitle {
  color: #34495e;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-size: 1.5em;
  margin-bottom: 20px;
}

/* Styles pour les blocs de permission */
.preferences-permission-block {
  margin : 10px 20px;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border-radius : var(--border-radius);
}

.preferences-permission-block.selected {
  background-color: var(--main-color);
  color: white;
  border: 2px solid var(--main-color);
}

.preferences-permission-block.inactive {
  background-color: #ecf0f1;
  color: #7f8c8d;
  border: 2px solid #bdc3c7;
}

/* Styles pour les titres de permission */
.preferences-permission-title {
  margin-bottom: 10px;
  font-size: 1.2em;
}

/* Styles pour les textes de permission */
.preferences-permission-text {
  margin: 0;
  line-height: 1.5;
}

/* Styles pour le statut de permission */
.preferences-permission-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8em;
  margin-top: 10px;
  font-weight: bold;
}

.preferences-permission-block.selected .preferences-permission-status {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.preferences-permission-block.inactive .preferences-permission-status {
  background-color: rgba(127, 140, 141, 0.2);
  color: #7f8c8d;
}

.payment-gateways {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gateway-button {
    width: 100%;
    text-align: left;
    border-radius: var(--border-radius);
    border: 1px solid var(--main-color);
    padding: 10px;
    margin : 5px 0;
}
.gateway-button.selected {
    transition : all 0.2s ease;;
    background : var(--main-color);
}
.categories-items-wrapper.mobile-app {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 15px 0px 15px;
    position: fixed;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--gray-light);
}

.categories-items-wrapper.mobile-app::-webkit-scrollbar {
    display: none; 
}

.category-item-mobile-app {
    flex: 0 0 auto;
    padding: 10px;
    text-transform: uppercase;
    box-sizing: border-box; 
    padding-bottom: 14px; 
    /* transition: border-bottom 0.3s ease; */
}

.category-item-mobile-app.selected {
    border-bottom: 4px solid var(--main-color);
    padding-bottom: 10px; 
    color : var(--main-color);
    font-weight : 700;
}

.content-wrapper.mobile-app {
    flex-wrap: wrap;
}
.content-wrapper.mobile-app:has(.categories-items-wrapper.mobile-app) .products-list{
    padding-top : 60px;   
}
.content-wrapper.mobile-app:has(.categories-items-wrapper.mobile-app) .products-category {
    scroll-margin-top: 250px;
}

/* --- Order cards (new layout) --- */
.orders-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

a.order-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-card-id {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary, black);
}

.order-card-date {
    font-size: 12px;
    font-weight: 400;
    color: #8a7361;
}

.order-card-divider {
    height: 1px;
    background: rgba(230, 223, 219, 0.3);
}

.order-card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-card-center {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, black);
}

.order-card-products {
    font-size: 12px;
    font-weight: 400;
    color: #8a7361;
}

.order-card-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--main-color, #e33e2b);
    white-space: nowrap;
}

.order-card-arrow {
    font-size: 18px;
    font-weight: 700;
    color: #8a7361;
}

/* Orders empty state */
.orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    gap: 16px;
}

.orders-empty-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orders-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary, black);
}

.orders-empty-text {
    font-size: 14px;
    color: #8a7361;
    line-height: 22px;
}

/* --- Payment methods (new layout) --- */
.pm-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pm-list {
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pm-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.pm-card-icon {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    color: #4a5565;
}

.pm-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pm-card-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, black);
}

.pm-card-expiry {
    font-size: 12px;
    color: #8a7361;
}

.pm-divider {
    height: 1px;
    margin: 0 16px;
    background: rgba(230, 223, 219, 0.3);
}

.pm-btn-delete {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    background: #f3f4f6;
    border: none;
    color: #8a7361;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.pm-btn-delete:hover {
    background: #e5e7eb;
}

.pm-confirm {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.pm-btn-confirm,
.pm-btn-cancel {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.pm-btn-confirm {
    background: var(--main-color, #e33e2b);
    color: white;
}

.pm-btn-cancel {
    background: #f3f4f6;
    color: #8a7361;
}

.pm-hint {
    font-size: 12px;
    color: #8a7361;
    text-align: center;
    line-height: 18px;
}

.pm-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.pm-alert-error {
    background: #fef2f2;
    color: #dc2626;
}

.pm-alert-success {
    background: #f0fdf4;
    color: #16a34a;
}

.pm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    gap: 16px;
}

.pm-empty-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary, black);
}

.pm-empty-text {
    font-size: 14px;
    color: #8a7361;
    line-height: 22px;
}

.pm-footer {
    text-align: center;
    padding-top: 8px;
}

.pm-back-link {
    font-size: 13px;
    font-weight: 500;
    color: #8a7361;
    text-decoration: none;
}

.pm-back-link:hover {
    color: var(--text-primary, black);
}

/* --- Fidelity card (compact) --- */
.fidelity-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.fidelity-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fidelity-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--main-color-rgb, 227, 62, 43), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--main-color, #e33e2b);
    flex-shrink: 0;
}

.fidelity-card-text {
    flex: 1;
    min-width: 0;
}

.fidelity-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, black);
}

.fidelity-card-desc {
    font-size: 12px;
    color: #8a7361;
}

.fidelity-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--main-color, #e33e2b);
    color: white;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
}

.fidelity-card-cta:hover {
    opacity: 0.9;
}

.fidelity-card-login {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #8a7361;
    text-decoration: none;
}

.fidelity-card-login:hover {
    color: var(--text-primary, black);
}


/* ==============================================================================
   ACCOUNT (page Mon compte)
   source: resources/css/account.css
   ============================================================================== */
.account-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px 32px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.account-nav-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
}

.account-nav-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 16px;
    background: rgba(var(--main-color-rgb, 245, 177, 48), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--menu-item-background, #e33e2b);
    font-size: 20px;
}

.account-nav-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.account-nav-desc {
    font-size: 11px;
    line-height: 16px;
    color: #8a7260;
}

.account-nav-arrow {
    font-size: 24px;
    color: #8a7260;
    flex-shrink: 0;
}

.account-logout-wrap {
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.account-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid rgba(var(--main-color-rgb, 227, 62, 43), 0.3);
    border-radius: 9999px;
    color: var(--menu-item-background, #e33e2b);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}

.account-logout-btn:hover {
    background: #fef2f2;
}

.account-logout-btn:hover,
.account-logout-btn:visited {
    color: var(--menu-item-background, #e33e2b);
}


/* ==============================================================================
   PROFILE (page Mon profil)
   source: resources/css/profile.css
   ============================================================================== */
.profile-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 32px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-section-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.profile-field-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.profile-field-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e6dfdb;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    outline: none;
    box-shadow: none;
}

.profile-field-input:focus {
    border-color: var(--menu-item-background, #e33e2b);
    box-shadow: 0 0 0 1px var(--menu-item-background, #e33e2b);
}

.profile-field-error {
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    color: #dc2626;
}

.profile-btn-wrap {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.profile-btn-save {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 24px;
    background-color: var(--menu-item-background, #e33e2b);
    color: var(--button-text, #fff);
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    min-width: 240px;
    transition: opacity 0.15s ease;
}

.profile-btn-save:hover {
    opacity: 0.9;
}

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

.profile-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(230, 223, 219, 0.3);
}

.profile-card {
    background: #fff;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.profile-card-desc {
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.profile-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.profile-btn-dark:hover {
    opacity: 0.9;
}

.profile-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 10px 20px;
    background-color: var(--error, #e33e2b);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.profile-btn-delete:hover {
    opacity: 0.9;
}

.profile-feedback {
    font-size: 14px;
    color: #16a34a;
    font-weight: 500;
}

.profile-phone-warning {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
}

.profile-delete-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
}

.profile-delete-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    overflow: hidden;
}

.profile-delete-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-delete-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-delete-modal-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.profile-delete-modal-text {
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.profile-delete-modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.profile-delete-modal-checkbox input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--menu-item-background, #e33e2b);
}

.profile-delete-modal-checkbox span {
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.profile-delete-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid rgba(230, 223, 219, 0.3);
}

.profile-btn-cancel {
    height: 40px;
    padding: 8px 16px;
    background: #fff;
    color: #000;
    border: 1px solid #e6dfdb;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.profile-btn-cancel:hover {
    background: #f9fafb;
}

.profile-btn-confirm-delete {
    height: 40px;
    padding: 8px 16px;
    background-color: var(--menu-item-background, #e33e2b);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.profile-btn-confirm-delete:hover {
    opacity: 0.9;
}

.profile-btn-confirm-delete:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ==============================================================================
   ORDER DETAIL (Mes commandes / detail commande)
   source: resources/css/order-detail.css
   ============================================================================== */
.od-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.od-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px 32px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header ===== */

.od-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 4px 12px;
}

.od-header-number {
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.01em;
    color: #181411;
}

.od-header-date {
    font-size: 13px;
    line-height: 18px;
    color: #8a7361;
}

/* ===== Cards ===== */

.od-card {
    background: #fefdfc;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.od-card-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a7361;
}

/* ===== Pickup card ===== */

.od-pickup-center {
    font-weight: 800;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #181411;
}

.od-pickup-service-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 4px;
}

.od-pickup-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(var(--main-color-rgb, 227, 62, 43), 0.08);
    color: var(--menu-item-background, #e33e2b);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.od-pickup-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: var(--menu-item-background, #e33e2b);
}

.od-pickup-when {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #181411;
}

.od-pickup-address {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.od-pickup-address-icon {
    color: #8a7361;
    font-size: 14px;
    padding-top: 3px;
    flex-shrink: 0;
}

.od-pickup-instruction {
    margin-top: 4px;
    padding: 12px 14px;
    background: rgba(217, 154, 30, 0.08);
    border-radius: 10px;
    font-size: 13px;
    line-height: 19px;
    color: #181411;
}

.od-pickup-tracking {
    margin-top: 4px;
}

.od-pickup-tracking-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--menu-item-background, #e33e2b);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.od-pickup-tracking-link:hover {
    text-decoration: underline;
}

/* ===== Products list ===== */

.od-products {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px;
}

.od-product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(230, 223, 219, 0.4);
}

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

.od-product-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: #f5f1ee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.od-product-image.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8a99c;
    font-size: 18px;
}

.od-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.od-product-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #181411;
}

.od-product-details {
    font-size: 12px;
    line-height: 16px;
    color: #8a7361;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.od-product-details span:not(:last-child)::after {
    content: '·';
    margin-left: 8px;
    color: #c8bcb3;
}

.od-product-amount {
    font-weight: 700;
    font-size: 14px;
    color: #181411;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ===== Totals ===== */

.od-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.od-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.od-total-line .od-total-amount {
    font-variant-numeric: tabular-nums;
    color: #181411;
    font-weight: 500;
}

.od-total-line.is-global {
    padding-top: 12px;
    border-top: 1px solid rgba(230, 223, 219, 0.6);
    margin-top: 4px;
}

.od-total-line.is-global .od-total-label {
    font-weight: 800;
    font-size: 16px;
    color: #181411;
}

.od-total-line.is-global .od-total-amount {
    font-weight: 800;
    font-size: 20px;
    color: #181411;
}

/* ===== Notes / customs ===== */

.od-note {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.od-note-label {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a7361;
}

.od-note-value {
    font-size: 14px;
    line-height: 20px;
    color: #181411;
}

.od-note + .od-note {
    padding-top: 12px;
    border-top: 1px solid rgba(230, 223, 219, 0.4);
}

/* ===== Invoice action ===== */

.od-invoice {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.od-invoice-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #181411;
    color: #fff;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: opacity 0.15s ease;
}

.od-invoice-link:hover {
    opacity: 0.9;
    color: #fff;
}

.od-invoice-link:visited {
    color: #fff;
}

.od-invoice-hint {
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    color: #8a7361;
    padding: 8px 12px;
}

/* ===== Footer info ===== */

.od-footer {
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #8a7361;
    padding-top: 8px;
}

.od-footer-phone {
    font-weight: 700;
    color: #181411;
    white-space: nowrap;
}


/* ==============================================================================
   FIDELITE (inscription + carte de fidelite)
   source: resources/css/fidelity.css
   ============================================================================== */
.fidelity-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.fidelity-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 32px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Inscription form ===== */

.fidelity-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fidelity-intro-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.fidelity-intro-desc {
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.fidelity-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fidelity-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.fidelity-field-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
}

.fidelity-field-label .required {
    font-weight: 700;
    color: var(--menu-item-background, #e33e2b);
}

.fidelity-field-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e6dfdb;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    outline: none;
    box-shadow: none;
}

.fidelity-field-input:focus {
    border-color: var(--menu-item-background, #e33e2b);
    box-shadow: 0 0 0 1px var(--menu-item-background, #e33e2b);
}

.fidelity-field-input::placeholder {
    color: #999;
}

.fidelity-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
    cursor: pointer;
}

.fidelity-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 1.5px solid #e6dfdb;
    border-radius: 6px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
}

.fidelity-checkbox input[type="checkbox"]:checked {
    background-color: var(--menu-item-background, #e33e2b);
    border-color: var(--menu-item-background, #e33e2b);
}

.fidelity-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.fidelity-checkbox-label {
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.fidelity-btn-wrap {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.fidelity-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 24px;
    background-color: var(--menu-item-background, #e33e2b);
    color: var(--button-text, #fff);
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    min-width: 240px;
    transition: opacity 0.15s ease;
}

.fidelity-btn-submit:hover {
    opacity: 0.9;
}

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

.fidelity-required-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    line-height: 16px;
}

.fidelity-required-hint .required {
    font-weight: 700;
    color: var(--menu-item-background, #e33e2b);
}

.fidelity-required-hint span {
    color: #8a7361;
}

/* ===== Loyalty Card Component (shared between Products + Avomark) ===== */

.loyalty-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}


.loyalty-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.loyalty-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(var(--main-color-rgb, 227, 62, 43), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--menu-item-background, #e33e2b);
    font-size: 20px;
}

.loyalty-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loyalty-card-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.loyalty-card-desc {
    font-size: 12px;
    line-height: 16px;
    color: #8a7361;
}

.loyalty-card-amount {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.loyalty-card-amount-value {
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    color: #000;
}

.loyalty-card-amount-unit {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.loyalty-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    padding: 10px 16px;
    background: var(--menu-item-background, #e33e2b);
    color: var(--button-text, #fff);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.loyalty-card-cta:hover {
    opacity: 0.9;
    color: var(--button-text, #fff);
}

.loyalty-card-login {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #8a7361;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.loyalty-card-login:hover {
    color: #000;
}

/* ===== Card state (tabs) ===== */

.fidelity-card-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
}

.fidelity-card-section .fidelity-intro-title {
    text-align: center;
}

.fidelity-tabs-nav {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(230, 223, 219, 0.3);
}

.fidelity-tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #8a7361;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fidelity-tab-btn.active {
    color: #000;
    border-bottom-color: var(--menu-item-background, #e33e2b);
}

.fidelity-tab-panel {
    width: 100%;
}

.fidelity-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fidelity-order-item {
    background: #fff;
    border: 1px solid rgba(230, 223, 219, 0.5);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fidelity-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fidelity-order-id {
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    color: #000;
}

.fidelity-order-date {
    font-size: 12px;
    line-height: 16px;
    color: #8a7361;
}

.fidelity-order-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fidelity-order-center {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.fidelity-order-products {
    font-size: 12px;
    line-height: 16px;
    color: #8a7361;
}


/* ==============================================================================
   CALENDAR SLOT PICKER (recherche de creneaux - Booking)
   source: resources/css/calendar.css
   ============================================================================== */
/* ==========================================================
   Calendar Slot Picker — Booking Search
   ========================================================== */

.calendar-slot-picker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* --- Date picker trigger button --- */
.calendar-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--bg-surface, #fff);
    cursor: pointer;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.calendar-trigger-btn:hover {
    border-color: var(--primary, #4f46e5);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

/* --- Popup wrapper for the DatePicker --- */
.calendar-popup {
    position: absolute;
    z-index: 100;
    margin-top: 0.25rem;
}

.calendar-date-picker-wrapper {
    position: relative;
}

/* --- Horizontal date slider --- */
.calendar-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.calendar-slider {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    padding: 0.25rem 0;
}

.calendar-slider::-webkit-scrollbar {
    display: none;
}

.calendar-slider-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: var(--bg-surface, #f3f4f6);
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-slider-arrow:hover {
    background: var(--bg-hover, #e5e7eb);
}

/* --- Individual date button in the slider --- */
.calendar-date-btn {
    scroll-snap-align: center;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--bg-surface, #fff);
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.calendar-date-btn:hover {
    border-color: var(--primary, #4f46e5);
}

.calendar-date-btn.selected {
    background: var(--primary, #4f46e5);
    color: #fff;
    border-color: var(--primary, #4f46e5);
}

/* --- Slot list results --- */
.calendar-slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-slot-list .results-line-title {
    width: 100%;
    font-weight: 600;
    padding: 0.5rem 0 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #555);
}

.calendar-slot-list .results-slots {
    flex-shrink: 0;
}

.calendar-slot-list .results-separator {
    width: 100%;
    border: none;
    border-top: 1px solid var(--border-color, #eee);
    margin: 0.25rem 0;
}

/* --- Loading state --- */
.calendar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-secondary, #888);
    font-size: 0.9rem;
}

/* --- Empty state --- */
.calendar-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary, #888);
    font-size: 0.9rem;
}
