/* ===== Sélecteur de langue ===== */
.lang-switch { display: inline-flex; align-items: center; padding: 2px; border: 1px solid currentColor; border-radius: 20px; }
.lang-switch__btn, .lang-switch__btn:hover, .lang-switch__btn:focus { min-width: 30px; height: 26px; padding: 0 7px; background: transparent !important; border: 0; border-radius: 16px; color: inherit !important; font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .5px; line-height: 1; cursor: pointer; box-shadow: none; }
.lang-switch__btn.is-active, .lang-switch__btn.is-active:hover, .lang-switch__btn.is-active:focus { background: var(--gold) !important; color: #0a0a0a !important; }
.lang-switch__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.home .site-header .lang-switch { color: #fff; }
body.home .site-header.scrolled .lang-switch { color: var(--black); }
body:not(.home) .site-header .lang-switch { color: var(--black); }
body:not(.home) .site-header.scrolled .lang-switch { color: #fff; }
.mobile-menu .lang-switch, .site-footer .lang-switch { color: var(--gold-light); }
.mobile-lang { display: flex; justify-content: center; padding: 16px 0 0; }
.footer-lang { margin-top: 18px; }
/* La barre Google Translate ne doit jamais décaler la page. */
body { top: 0 !important; }
.skiptranslate iframe, #goog-gt-tt { display: none !important; }

@media (max-width: 480px) {
    .header-actions { gap: 12px !important; }
    .header-icon { font-size: 16px !important; }
    .logo-wrapper img { max-height: 44px; max-width: 100px; width: auto; }
    .lang-switch--header .lang-switch__btn { min-width: 26px; padding: 0 4px; }
}

/* ===== Cartes produits : carrousel utilisable au doigt ===== */
.product-card .swiper, .collection-product-image .swiper { touch-action: pan-y; }
.product-card .swiper-slide img, .collection-product-image .swiper-slide img { -webkit-user-drag: none; user-select: none; }
@media (hover: none) {
    /* Pas de survol sur mobile : les flèches restent visibles et assez grandes. */
    .product-image .swiper-button-next, .product-image .swiper-button-prev,
    .collection-product-image .swiper-button-next, .collection-product-image .swiper-button-prev { opacity: 1 !important; width: 28px !important; height: 28px !important; }
    .product-image .swiper-button-next::after, .product-image .swiper-button-prev::after,
    .collection-product-image .swiper-button-next::after, .collection-product-image .swiper-button-prev::after { font-size: 11px !important; }
    .product-card:hover { transform: none !important; }
    .product-card:hover .product-image .swiper-slide img, .product-card:hover .collection-product-image .swiper-slide img { transform: none !important; }
}
.product-image .swiper-pagination, .collection-product-image .swiper-pagination { left: 0 !important; right: 0; width: 100% !important; transform: none !important; display: flex; justify-content: center; gap: 4px; pointer-events: none; }

/* ===== Curseur de prix (mobile) ===== */
.price-slider { height: 4px !important; margin: 26px 12px !important; width: auto !important; touch-action: none; border: 0 !important; background: var(--gold-light, #d4b85c); }
.price-slider .ui-slider-range { background: var(--gold) !important; }
.price-slider .ui-slider-handle { width: 26px !important; height: 26px !important; top: -11px !important; margin-left: -13px !important; background: var(--gold) !important; border: 3px solid #fff !important; border-radius: 50% !important; box-shadow: 0 1px 6px rgba(0,0,0,.25) !important; touch-action: none; cursor: grab; }
.price-slider .ui-slider-handle:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 2px; }

/* ===== Card Fidélité de l'accueil ===== */
.loyalty-section { padding: 88px clamp(16px, 5vw, 48px); background: var(--gold-pale, #faf6ec); }
.loyalty-card { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; max-width: 1140px; margin: 0 auto; overflow: hidden; background: radial-gradient(circle at 88% 20%, rgba(198,164,59,.26), transparent 52%), #0d0d0d; border: 1px solid rgba(198,164,59,.45); border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(10,10,10,.55); color: #fff; }
.loyalty-card__body { padding: clamp(32px, 5vw, 64px); }
.loyalty-card__tag { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border: 1px solid rgba(198,164,59,.55); border-radius: 30px; font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-light); }
.loyalty-card h2 { margin: 0 0 14px; font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.12; color: #fff; }
.loyalty-card .gold-text { color: var(--gold-light); }
.loyalty-card p { margin: 0 0 26px; font-size: 14px; line-height: 1.8; color: #cfc9b8; }
.loyalty-card__perks { display: grid; gap: 12px; margin: 0 0 32px !important; padding: 0 !important; list-style: none; }
.loyalty-card__perks li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #fff; }
.loyalty-card__perks span { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(198,164,59,.16); border-radius: 50%; color: var(--gold-light); font-size: 12px; }
.loyalty-card__btn, .loyalty-card__btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 30px; background: var(--gold); border-radius: 40px; color: #0a0a0a !important; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-decoration: none; text-transform: uppercase; transition: background .25s ease, gap .25s ease; }
.loyalty-card__btn:hover { background: var(--gold-light); gap: 14px; }
.loyalty-card__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.loyalty-card__visual { display: flex; align-items: center; justify-content: center; align-self: stretch; padding: 40px 48px 40px 0; }
.loyalty-card__photo { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; }
.member-card { display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 400px; aspect-ratio: 1.586; padding: 26px 28px; background: linear-gradient(135deg, #e6d08a 0%, #c6a43b 48%, #a5862a 100%); border-radius: 18px; box-shadow: 0 24px 44px -14px rgba(0,0,0,.75); color: #0a0a0a; transform: rotate(-4deg); transition: transform .5s ease; }
.member-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.member-card__logo { width: 112px; height: auto; }
.member-card__top i { font-size: 20px; opacity: .75; }
.member-card__chip { width: 42px; height: 30px; background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,.2)); border: 1px solid rgba(10,10,10,.25); border-radius: 6px; }
.member-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.member-card__bottom span { font-size: 9px; font-weight: 600; letter-spacing: 1.2px; line-height: 1.4; text-transform: uppercase; }
.member-card__bottom strong { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 500; line-height: 1; white-space: nowrap; }
.member-card__bottom small { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
@media (hover: hover) { .loyalty-card:hover .member-card { transform: rotate(0deg) scale(1.02); } }
@media (max-width: 860px) {
    .loyalty-section { padding: 56px 16px; }
    .loyalty-card { grid-template-columns: 1fr; gap: 0; border-radius: 20px; }
    .loyalty-card__visual { order: -1; padding: 36px 28px 0; }
    .loyalty-card__btn { width: 100%; }
    .member-card { max-width: 320px; padding: 20px 22px; }
    .member-card__logo { width: 92px; }
    .member-card__bottom strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .member-card, .loyalty-card__btn { transition: none; } }

/* ===== Réponse du formulaire newsletter ===== */
.newsletter-message { margin: 14px 0 0; font-size: 13px; }
.newsletter-message.is-error { color: #b3261e; }

/* ===== Corrections d'en-tête et de pied de page ===== */
.mobile-menu { box-shadow: none !important; }
.mobile-menu.open { box-shadow: -5px 0 30px rgba(0,0,0,.1) !important; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.footer-copyright p, .footer-payment span, .footer-legal a, .opening-hours-list.closed span { color: #a8a296 !important; }
.footer-col ul a, .contact-col address, .footer-phone, .footer-email, .footer-description { color: #c9c4b6 !important; }
.footer-col ul a:hover, .footer-phone:hover, .footer-email:hover { color: var(--gold-light) !important; }

/* ===== Lisibilité : contraste d'au moins 4.5:1 sur les textes ===== */
.mobile-menu .lang-switch { color: var(--black); }
.cart-drawer { box-shadow: none !important; }
.cart-drawer.open { box-shadow: -5px 0 30px rgba(0,0,0,.15) !important; }
.btn-hero:not(:hover), .gender-btn.active:not(:hover), .gender-btn-widget.active:not(:hover),
.choose-options-btn:not(:hover), .newsletter-btn:not(:hover), .price-apply:not(:hover),
.page-numbers.current { color: #0a0a0a !important; }
.section-tag, .editorial-label, .filter-count, .results-count strong,
.btn-view-more:not(:hover), .btn-primary:not(:hover), .collection-link:not(:hover) { color: #7a5f12 !important; }
.ep-hero:not(.ep-hero--image) .gold-text, .ep-faq-head .gold-text, .ep-story__num { color: #8f7218; }
.required { color: #b3261e !important; }

/* Les deux champs de prix tiennent dans la colonne de filtres, quelle que soit sa largeur. */
.price-values input { flex: 1 1 0; width: 0 !important; min-width: 0; }
.site-footer a.footer-phone, .site-footer a.footer-email { color: #c9c4b6 !important; }
.edimo-page .ep-story__num { color: #8f7218; }

/* ===== Coins légèrement arrondis sur tout le site ===== */
:root { --edimo-radius: 14px; --edimo-radius-sm: 10px; }
.ep-step, .ep-metric, .ep-reward, .sm-card, .ep-story__image, .ep-masonry__item, .ep-guide img, .wls-dashboard-card { border-radius: var(--edimo-radius) !important; overflow: hidden; }
.sm-card { overflow: visible; }
.ep-lightbox-open img, .ep-lightbox img { border-radius: var(--edimo-radius); }
.ep-faq details { border-radius: var(--edimo-radius-sm); overflow: hidden; }
.editorial-image, .editorial-image img, .editorial-img, .editorial-img img, .cart-item-image, .cart-item-image img { border-radius: var(--edimo-radius) !important; }
.category-card, .category-card img { border-radius: var(--edimo-radius) !important; }
.edimo-preview-notice { border-radius: 0 0 var(--edimo-radius-sm) var(--edimo-radius-sm); }
