.custom-checkbox-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 15px;
    width: 300px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
}

.not-selected {
    background-color: #004a98;
    color: white;
}

.not-selected .circle {
    border-color: white;
}

.selected {
    background-color: #00b8e6;
    color: white;
}

.selected .circle {
    border-color: white;
    position: relative;
}

.selected .circle::after {
    content: "o";
    font-size: 14px;
    color: white;
    font-weight: bold;
    position: absolute;
}

.custom-checkbox .disabled {
    background-color: #d3d3d3;
    color: #ffffff90;
    cursor: not-allowed;
}

.custom-checkbox .disabled .circle {
    border-color: white;
}

.bg-airtel {
    background-color: #e80000;
}

.bg-moov {
    background-color: #e9670f;
}

#magasins-cards>div {
    text-align: center !important;
}


/* Cache proprement le radio mais laisse-le focusable pour l'accessibilité */
#magasins-cards .magasin-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Style de base de la carte */
#magasins-cards .magasin-card {
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    display: block;
    transition: box-shadow .2s, border-color .2s, transform .05s;
}

/* Etat sélectionné */
#magasins-cards .magasin-input:checked+label.magasin-card {
    border-color: #1d70b8 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10) !important;
}

/* Focus clavier visible */
#magasins-cards .magasin-card:focus {
    outline: 3px solid rgba(29, 112, 184, .35);
    outline-offset: 2px;
}

/* Modern Store Cards V2 - Refined */
.magasin-card-v2 {
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.magasin-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #1d70b8;
}

/* Centered checkmark feedback */
.circle-icon-v2 {
    font-size: 24px;
    color: #1d70b8;
    opacity: 0;
    background: #f0f7ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 1px solid #1d70b8;
}

.magasin-input:checked+.magasin-card-v2 {
    border-color: #1d70b8;
    border-width: 2px;
    background: #f0f7ff;
}

.magasin-input:checked+.magasin-card-v2 .circle-icon-v2 {
    opacity: 1;
    transform: scale(1.1);
}

.store-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.store-content h4 {
    color: #253D4E;
    margin-bottom: 10px;
    font-weight: 700;
}

.store-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    min-height: 40px;
}

.store-info {
    font-size: 0.85rem;
    color: #7E7E7E;
    margin-top: 10px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: #1d70b8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
}

.map-link:hover {
    color: #fff;
    background: #1d70b8;
}

/* Nos Magasins Page Styles */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.store-card-full {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f1f1f1;
}

.store-banner {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.store-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1d70b8;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.store-details {
    padding: 30px;
}

.store-details h3 {
    font-size: 1.5rem;
    color: #253D4E;
    margin-bottom: 10px;
}

.store-specialty {
    color: #1d70b8;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.store-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #7E7E7E;
    font-size: 0.95rem;
}

.store-info-item i {
    color: #1d70b8;
    font-size: 1.1rem;
    width: 20px;
}

.store-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: center;
}

.btn-gps {
    background: #1d70b8;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-gps:hover {
    background: #154e82;
    transform: scale(1.05);
}

.city-section {
    margin-bottom: 60px;
}

.city-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #253D4E;
}

.city-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #1d70b8;
    border-radius: 2px;
}


/* Delivery Notice Styling */
.delivery-notice {
    background: #f0f7ff;
    border-left: 4px solid #1d70b8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.delivery-notice p {
    margin-bottom: 10px;
    color: #253D4E;
}

.delivery-notice .highlight {
    font-weight: 700;
    color: #1d70b8;
}

.delivery-notice .icon-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.delivery-notice .icon-box i {
    font-size: 20px;
    color: #1d70b8;
    margin-top: 3px;
}

/* Informational Pages Styles */
.info-page-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f1f1;
}

.info-header-box {
    padding: 60px 40px;
    border-radius: 24px;
    color: #fff;
    margin-bottom: -40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.info-header-box h1,
.info-header-box h2 {
    color: #fff !important;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.info-header-box .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.info-body {
    padding-top: 80px;
    color: #4f5e64;
    font-size: 1.1rem;
    line-height: 1.8;
}

.info-body h3 {
    color: #253D4E;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    padding-left: 20px;
}

.info-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #1d70b8;
    border-radius: 2px;
}

.info-body p {
    margin-bottom: 25px;
}

.info-body strong {
    color: #253D4E;
}

.info-body ul {
    margin-bottom: 30px;
}

.info-body li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.info-body li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #1d70b8;
    font-size: 0.9rem;
}

.reading-container {
    max-width: 850px;
    margin: 0 auto;
}

/* Sticky TOC Icon Spacing */
.sticky-toc .nav-link {
    display: flex;
    align-items: center;
}

/* Anchor Scroll Offset */
.scroll-mt,
.scroll-margin-top,
.cgv-section,
section[id],
div[id].scroll-mt {
    scroll-margin-top: 120px !important;
}

.sticky-toc .nav-link i,
.sticky-toc .nav-link .article-num {
    margin-right: 12px;
    width: auto;
    min-width: 20px;
    text-align: center;
    color: #1d70b8;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    font-weight: 700;
}

/* Spacing Sidebar Widgets Aggressive */
.sidebar-widget {
    padding: 10px 18px !important;
    margin-bottom: 20px !important;
}

/* suppression marges hautes */
.sidebar-widget > :first-child,
.sidebar-widget .section-title,
.sidebar-widget .widget-header,
.sidebar-widget .widget-header h5,
.sidebar-widget h5 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* reduction espace sous titre */
.sidebar-widget .section-title.style-1 {
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
}

/* Magasins - Livraison Selection REFINED */
.magasin-card-v2 i, 
.magasin-card-v2 .map-link,
.magasin-card-v2 h4 {
    color: #1d70b8 !important;
}

.magasin-card-v2 .map-link {
    background: #f8f9fa !important;
    border: 1px solid #1d70b8 !important;
}

/* State: Checked (Active) */
.magasin-input:checked + .magasin-card-v2 {
    background-color: #1d70b8 !important;
    border-color: #1d70b8 !important;
}

.magasin-input:checked + .magasin-card-v2 h4,
.magasin-input:checked + .magasin-card-v2 .store-desc,
.magasin-input:checked + .magasin-card-v2 i,
.magasin-input:checked + .magasin-card-v2 .store-info,
.magasin-input:checked + .magasin-card-v2 .map-link {
    color: #ffffff !important;
}

.magasin-input:checked + .magasin-card-v2 .map-link {
    background-color: transparent !important;
    border-color: #ffffff !important;
}
/* REPARATION FINALE VISIBILITE LIVRAISON */
.magasin-card-v2 {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.magasin-card-v2 i, 
.magasin-card-v2 .map-link,
.magasin-card-v2 h4,
.magasin-card-v2 .store-desc {
    color: #1d70b8 !important;
    opacity: 1 !important;
}
.magasin-card-v2 .circle-icon-v2 {
    opacity: 1 !important; /* Force visibility always */
    background: #f0f7ff !important;
    border: 1px solid #1d70b8 !important;
}

/* ACTIVE STATE - SELECTIONNE */
.magasin-input:checked + .magasin-card-v2 {
    background-color: #1d70b8 !important;
    border-color: #1d70b8 !important;
}
.magasin-input:checked + .magasin-card-v2 i,
.magasin-input:checked + .magasin-card-v2 h4,
.magasin-input:checked + .magasin-card-v2 .store-desc,
.magasin-input:checked + .magasin-card-v2 .map-link,
.magasin-input:checked + .magasin-card-v2 .store-info {
    color: #ffffff !important;
}
.magasin-input:checked + .magasin-card-v2 .circle-icon-v2 {
    background: #ffffff !important;
    color: #1d70b8 !important; /* Checkmark becomes blue on white circle */
}
.magasin-input:checked + .magasin-card-v2 .map-link {
    background: transparent !important;
    border-color: #ffffff !important;
}

/* Global Label Spacing */
h5, label {
    margin-bottom: 12px !important;
    display: block;
}

/* Global Premium Select Styling - Text Input Aspect */
select.form-control, .select-active {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    border: 1px solid #ececec !important;
    border-radius: 10px !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    color: #253D4E !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 14px !important;
    padding-right: 45px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

/* Input Focus Glow */
.form-control:focus {
    border-color: #00BAE3 !important;
    box-shadow: 0 0 0 4px rgba(0, 186, 227, 0.1) !important;
    outline: none !important;
}

