/*
Theme Name: ChiwaCore Child
Theme URI: https://chiwacloud.com/
Description: Official customization layer for the ChiwaCore WordPress theme — Les Comptoirs de Provence.
Author: ChiwaCloud
Author URI: https://chiwacloud.com/
Template: chiwacore
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: chiwacore-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/wp-content/fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
}

/* ==============================================================================
 * 1. DESIGN TOKENS & PALETTE PROVENÇALE (HARMONISÉS & SOULIGNÉS AAA)
 * ============================================================================== */
:root {
  --now-basilic: #15803d;
  --now-basilic-dark: #166534;
  --now-basilic-light: #22c55e;
  --now-basilic-bg: #ecfdf5;
  --now-miel: #b45309;
  --now-miel-hover: #92400e;
  --now-miel-bg: #fef3c7;
  --now-ambre: #f59e0b;
  --now-rouge: #991b1b;
  --now-rouge-hover: #7f1d1d;
  --now-rouge-bg: #fef2f2;
  --now-fond-frais: #fdfbf7;
  --now-fond-zinc: #f7f3ea;
  --now-card-bg: #ffffff;
  --now-texte: #1f2937;
  --now-texte-muted: #4b5563;
  --now-texte-light: #9ca3af;
  --now-border: #e6e0d2;
  --now-radius: 12px;
  --now-radius-sm: 8px;
  --now-shadow: 0 10px 30px -5px rgba(21, 128, 61, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --now-shadow-hover: 0 20px 35px -8px rgba(21, 128, 61, 0.15), 0 8px 12px -3px rgba(0, 0, 0, 0.05);
}

/* ==============================================================================
 * 2. STRUCTURE & TYPOGRAPHIE RESPONSIVE SOUVERAINE
 * ============================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--now-texte) !important;
  background-color: var(--now-fond-frais) !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#wrapper, #main, .content-area {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

h1, h2, h3, h4, h5, h6,
.alt-font,
.site-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--now-texte);
}

/* ==============================================================================
 * 3. HEADER, TOP BAR & NAVIGATION CALIBRÉE
 * ============================================================================== */
#top-bar {
  background-color: #0f172a !important;
  border-bottom: 2px solid var(--now-miel) !important;
  height: auto !important;
  min-height: 40px;
  white-space: nowrap !important;
  overflow: hidden !important;
}

#top-bar .nav,
#top-bar .nav > li,
#top-bar .html_topbar_left,
#top-bar .mobile-nav,
#top-bar .mobile-nav > li {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  max-width: 100% !important;
}

@media (max-width: 549px) {
  #top-bar {
    height: 30px !important;
    min-height: 30px !important;
    line-height: 30px !important;
    font-size: 0.72rem !important;
    padding: 0 8px !important;
  }
  #top-bar .container {
    padding: 0 !important;
    justify-content: center !important;
  }
  #top-bar .mobile-nav {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .chiwa-demo-banner,
  #chiwa-demo-banner {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.68rem !important;
    line-height: 24px !important;
    padding: 0 6px !important;
    text-align: center !important;
    display: block !important;
  }
}

.chiwa-demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  color: #f1f5f9;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
}
.chiwa-demo-banner a {
  color: #fde68a !important;
  text-decoration: underline;
  font-weight: 600;
}
.chiwa-demo-badge {
  background: var(--now-miel);
  color: #fff;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#header {
  background-color: rgba(253, 251, 247, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--now-border);
}

.header-inner {
  align-items: center !important;
}

.header_logo, .header-logo, .header-logo-dark {
  max-height: 52px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  border-radius: 6px;
  object-fit: contain;
}

/* Règle de sécurité logo unique */
#logo .header-logo-dark, .header-inner .header-logo-dark {
  display: none !important;
}

.header-nav a {
  color: var(--now-texte) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 8px 12px !important;
  transition: color 0.2s ease;
}

.header-nav > li > a,
.header-nav.nav > li > a,
.header-nav.nav-line-bottom > li > a,
.header-nav .nav > li > a {
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 0.88rem !important;
  white-space: nowrap !important;
}

.header-nav {
  flex-wrap: nowrap !important;
}

.header-nav a:hover,
.header-nav .current-menu-item > a {
  color: var(--now-basilic) !important;
}

.header-nav .header-button-1 a,
.header_elements_right .button {
  background-color: var(--now-basilic) !important;
  color: #ffffff !important;
  border-radius: var(--now-radius-sm) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
}

@media (max-width: 850px) {
  .header_logo, .header-logo, .header-logo-dark {
    max-height: 44px !important;
  }
  .chiwa-demo-banner {
    font-size: 11px;
    padding: 0.3rem 0.5rem;
  }
}

.mfp-content {
  background-color: #0f172a !important;
}
.mfp-content #main-menu {
  background-color: #0f172a !important;
  min-height: 100vh !important;
}
#main-menu ul.nav-vertical {
  background-color: #0f172a !important;
}

#main-menu {
  background-color: #0f172a !important;
}
#main-menu .sidebar-menu a {
  color: #f1f5f9 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#main-menu .sidebar-menu a:hover {
  color: #fde68a !important;
}

/* Action 10 : Feedback visuel page courante dans le tiroir mobile */
#main-menu .current-menu-item > a {
  color: #fde68a !important;
  background-color: rgba(245, 158, 11, 0.1) !important;
  border-left: 4px solid var(--now-ambre) !important;
  padding-left: 24px !important;
}

/* ==============================================================================
 * 4. ACTION 5 : CIBLES TACTILES MOBILES >= 44x44px (WCAG 2.5.5 / 2.5.8)
 * ============================================================================== */
.mobile-nav .nav-icon > a {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header-main .cart-item > a,
.header-cart-link,
.mobile-nav .header-cart-link {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.chiwa-now-card .button.is-small,
.button.primary.is-small.expand {
  min-height: 44px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
}

.accordion-title {
  min-height: 48px !important;
  padding: 14px 20px 14px 44px !important;
  display: flex !important;
  align-items: center !important;
  border-color: #cbd5e1 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: var(--now-texte) !important;
}

.accordion-title:hover {
  background-color: #f1f5f9 !important;
}

.accordion .toggle {
  width: 36px !important;
  height: 36px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 8px !important;
}

.mfp-close {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  color: #f1f5f9 !important;
}

#section_1006123888 ul li a {
  display: inline-block !important;
  padding: 6px 0 !important;
  min-height: 36px !important;
}

/* ==============================================================================
 * 5. BANNIÈRE HERO, BADGE PILULE & EMPILAGE MOBILE (ACTIONS 3 & 7)
 * ============================================================================== */
/* Action 3 : Correction du Badge Pilule Hero (Contraste 2.48:1 -> 15.2:1 AAA) */
.chiwa-now-badge-pill,
#text-1697460304 .chiwa-now-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid #f59e0b !important;
  color: #fef3c7 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border-radius: 40px;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  max-width: 100%;
  box-sizing: border-box;
}

.chiwa-now-hero-title,
h1.chiwa-now-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem) !important;
  line-height: 1.15 !important;
  margin: 12px 0 16px 0 !important;
  letter-spacing: -0.5px !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.chiwa-now-hero-sub {
  max-width: 760px;
  margin: 0 auto 22px auto;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: #f1f5f9;
}

.chiwa-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.chiwa-now-reassurance-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.chiwa-now-reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chiwa-now-reassurance-item i {
  color: var(--now-ambre);
}

/* Action 7 : Empilement Mobile des Boutons CTA du Hero */
@media (max-width: 550px) {
  .chiwa-now-badge-pill {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
  }
  .chiwa-now-hero-title,
  h1.chiwa-now-hero-title {
    font-size: 1.48rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
    margin: 8px 0 12px 0 !important;
  }
  .chiwa-now-hero-sub {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
    padding: 0 4px !important;
  }
  .chiwa-now-reassurance-bar {
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
  }
  .chiwa-hero-cta {
    gap: 8px !important;
  }
  #text-box-1508269718 .button,
  .chiwa-hero-cta .button {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }
}

/* ==============================================================================
 * 6. ACTION 8 : TYPOGRAPHIE FLUIDE CLAMP() SUR SECTION HEADING
 * ============================================================================== */
.chiwa-now-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--now-miel);
  margin-bottom: 8px;
}
.chiwa-now-eyebrow.light {
  color: #fde68a;
}
.chiwa-now-eyebrow.gold {
  color: var(--now-ambre);
}

.chiwa-now-section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--now-texte) !important;
  margin-bottom: 8px !important;
}
.chiwa-now-section-heading.light {
  color: #ffffff !important;
}

.chiwa-now-divider {
  width: 60px;
  height: 3px;
  background: var(--now-miel);
  margin: 12px auto 18px;
  border-radius: 2px;
}
.chiwa-now-divider.light {
  background: rgba(255, 255, 255, 0.4);
}
.chiwa-now-divider.gold {
  background: var(--now-ambre);
}

.chiwa-section-lead {
  font-size: 1.05rem;
  color: var(--now-texte-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==============================================================================
 * 7. CARTES PRODUITS TERROIR & GRILLE TABLETTE (ACTIONS 6 & 10)
 * ============================================================================== */
.chiwa-now-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Action 10 : Transition soignée sur les cartes produits */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.chiwa-now-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(21, 128, 61, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(21, 128, 61, 0.4) !important;
}

.chiwa-now-card.highlighted {
  border: 2px solid var(--now-basilic);
  box-shadow: 0 8px 30px rgba(21, 128, 61, 0.15);
}

.chiwa-now-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--now-texte);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.chiwa-now-card-badge.gold {
  background: var(--now-basilic);
  color: #ffffff;
}

.chiwa-now-card-header h3 {
  font-size: 1.45rem;
  color: var(--now-texte);
  margin-bottom: 6px;
}

.chiwa-now-card-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--now-basilic);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.chiwa-now-card-desc {
  font-size: 0.92rem;
  color: var(--now-texte-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.chiwa-now-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  font-size: 0.88rem;
  color: var(--now-texte);
  flex-grow: 1;
}

.chiwa-now-card-features li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chiwa-now-card-features li::before {
  content: "✦";
  color: var(--now-basilic);
  font-size: 0.85rem;
}

/* Action 6 : Optimisation Grille Tablette (768px) */
@media (min-width: 550px) and (max-width: 849px) {
  #row-254522702 > .col.medium-3,
  .chiwa-now-card-row > .col.medium-3 {
    flex-basis: 50% !important;
    max-width: 50% !important;
    margin-bottom: 24px !important;
  }
}

/* Cartes Produits Compatibilité */
.chiwa-now-product-card {
  background: #ffffff;
  border-radius: var(--now-radius);
  padding: 24px 20px;
  border: 1px solid var(--now-border);
  box-shadow: var(--now-shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.chiwa-now-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--now-shadow-hover);
}
.chiwa-now-product-card .badge-pill {
  align-self: center;
  background: var(--now-fond-zinc);
  color: var(--now-miel);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.chiwa-now-product-card .product-emoji {
  font-size: 42px;
  margin-bottom: 10px;
}
.chiwa-now-product-card .product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--now-texte);
}
.chiwa-now-product-card .product-desc {
  font-size: 0.88rem;
  color: var(--now-texte-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}
.chiwa-now-product-card .product-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--now-basilic);
  margin-bottom: 14px;
}
.chiwa-now-product-card .product-price span {
  font-size: 0.85rem;
  color: var(--now-texte-muted);
  font-weight: 400;
}

/* ==============================================================================
 * 8. TABLEAU TECHNIQUE, FEATURES, COMMANDE & AVIS CLIENTS (ACTION 4)
 * ============================================================================== */
.chiwa-now-tech-board {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  padding: 45px 35px;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.chiwa-now-tech-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  color: #fef3c7;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding-bottom: 15px;
}

.chiwa-now-tech-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chiwa-now-tech-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--now-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.chiwa-now-tech-item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  color: var(--now-ambre);
  margin-bottom: 4px;
}
.chiwa-now-tech-item span {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.chiwa-now-feature-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: center;
  height: 100%;
}
.chiwa-now-icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: var(--now-basilic);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}
.chiwa-now-feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--now-texte);
}
.chiwa-now-feature-box p {
  font-size: 0.92rem;
  color: var(--now-texte-muted);
  margin: 0;
  line-height: 1.5;
}

.chiwa-now-booking-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(21, 128, 61, 0.08);
  border: 1px solid #e2e8f0;
}
@media (max-width: 550px) {
  .chiwa-now-booking-container {
    padding: 16px 12px;
  }
}

/* Action 4 : Résolution Critique des Cartes Avis Clients (Section 6 - Contraste AAA 7.68:1) */
.chiwa-now-review {
  background: rgba(15, 23, 42, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--now-radius) !important;
  padding: 28px 24px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  color: #ffffff !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chiwa-now-review p {
  color: #ffffff !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.chiwa-now-review .stars {
  color: #fde68a !important;
  font-size: 1.15rem !important;
  margin-bottom: 12px;
}

.chiwa-now-review .author strong {
  display: block;
  color: #ffffff !important;
  font-size: 1rem;
}

.chiwa-now-review .author span {
  color: #e2e8f0 !important;
  font-size: 0.85rem !important;
}

/* ==============================================================================
 * 9. BOUTONS & ACCESSIBILITÉ CLAVIER (ACTION 10)
 * ============================================================================== */
.chiwa-now-btn-green,
.button.primary {
  background-color: var(--now-basilic) !important;
  border-color: var(--now-basilic) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  border-radius: var(--now-radius-sm) !important;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4) !important;
  transition: all 0.25s ease !important;
}

.chiwa-now-btn-green:hover,
.button.primary:hover {
  background-color: var(--now-basilic-dark) !important;
  border-color: var(--now-basilic-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.6) !important;
}

.chiwa-btn-outline {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  border-radius: var(--now-radius-sm) !important;
  transition: all 0.25s ease !important;
}

.chiwa-btn-outline:hover {
  background: #ffffff !important;
  color: var(--now-texte) !important;
}

/* Action 10 : Accessibilité Clavier (Focus Visible conforme WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--now-basilic) !important;
  outline-offset: 3px !important;
}

/* ==============================================================================
 * 10. ACTION 2 : RESTAURATION DES PADDINGS & RYTHME VERTICAL DES SECTIONS
 * ============================================================================== */
/* Section 2 : Nos Paniers */
#section_1512564693 {
  padding-top: 85px !important;
  padding-bottom: 85px !important;
  background-color: var(--now-fond-frais) !important;
}

/* Section 3 : Épicerie Réinventée (Sombre) */
#section_1110127333 {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
  background-color: #0f172a !important;
}

/* Section 4 : Reassurance 3 colonnes */
#section_2137958189 {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  background-color: #f1f5f9 !important;
}

/* Section 5 : Commande en ligne / Chiwaty GO */
#section_1012026775 {
  padding-top: 85px !important;
  padding-bottom: 95px !important;
  background-color: var(--now-fond-frais) !important;
}

/* Section 6 : Avis de Gourmets (Vert Basilic) */
#section_1029514889 {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background-color: #15803d !important;
}

/* Section 7 : FAQ */
#section_1862585444 {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background-color: var(--now-fond-frais) !important;
}

/* Section 8 : Bannière Terroir Express */
#section_785224903 {
  padding-top: 75px !important;
  padding-bottom: 75px !important;
  background-color: #0f172a !important;
}

/* Section 9 : Footer Métier */
#section_1006123888 {
  padding-top: 60px !important;
  padding-bottom: 45px !important;
  background-color: #0f172a !important;
}

/* Responsive Mobile Paddings (< 550px) */
@media (max-width: 550px) {
  #section_1512564693,
  #section_1110127333,
  #section_1012026775,
  #section_1029514889,
  #section_1862585444,
  #section_785224903 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  #section_2137958189 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #section_1006123888 {
    padding-top: 36px !important;
    padding-bottom: 24px !important;
  }
}

/* ==============================================================================
 * 11. ACTION 9 : FOOTER ABSOLU & SOUVERAIN
 * ============================================================================== */
.absolute-footer,
.footer-absolute {
  background-color: #090d16 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  padding: 16px 0 !important;
}

.absolute-footer a,
.footer-absolute a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease !important;
}

.absolute-footer a:hover,
.footer-absolute a:hover {
  color: #f59e0b !important;
}

.absolute-footer .copyright-footer,
.footer-absolute .copyright-footer {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

/* Purge des widgets WordPress par défaut */
.footer-widgets.footer-1,
.footer-widgets.footer-2,
.footer-widgets {
  display: none !important;
}

/* Widget Search Safety */
.widget_search .wp-block-search__inside-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Fix contrast outline button and orders buttons */
.button.is-outline.white,
.button.white.is-outline,
.chiwa-btn-outline.white,
.chiwa-btn-outline.white span,
.button.is-outline.white span {
  color: #ffffff !important;
  border-color: #ffffff !important;
}
.button.is-outline.white:hover,
.button.white.is-outline:hover,
.chiwa-btn-outline.white:hover {
  background-color: #ffffff !important;
  color: #0f172a !important;
}
.button.is-outline.white:hover span,
.button.white.is-outline:hover span,
.chiwa-btn-outline.white:hover span {
  color: #0f172a !important;
}
.light.chiwa-now-eyebrow {
  color: #ffffff !important;
}
.chiwaty-go-orders__btn-add {
  background-color: #0369a1 !important;
  color: #ffffff !important;
}

/* Police locale OFL 1.1 — Fontsource variable 5.3.0. */
/* plus-jakarta-sans-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/fonts/plus-jakarta-sans/plus-jakarta-sans-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* plus-jakarta-sans-vietnamese-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/fonts/plus-jakarta-sans/plus-jakarta-sans-vietnamese-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* plus-jakarta-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* ==============================================================================
 * TOP BAR OFFICIELLE MONO-LIGNE & GABARIT COMPACT (ALIGNEMENT MÉDIAN <= 1.0px)
 * ============================================================================== */
#top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  line-height: 32px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#top-bar .flex-row {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  line-height: 32px !important;
  align-items: center !important;
}

#top-bar .flex-col {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  line-height: 32px !important;
  align-items: center !important;
}

@media (min-width: 850px) {
  #top-bar .flex-col.hide-for-medium {
    display: flex !important;
  }
  #top-bar .show-for-medium {
    display: none !important;
  }
}

@media (max-width: 849px) {
  #top-bar .hide-for-medium {
    display: none !important;
  }
  #top-bar .flex-col.show-for-medium {
    display: flex !important;
  }
}

#top-bar .nav,
#top-bar .nav > li {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  line-height: 32px !important;
  display: flex !important;
  align-items: center !important;
}

#top-bar .html,
#top-bar .top-bar-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #cbd5e1 !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1 !important;
}

.chiwa-topbar-text {
  display: inline-block !important;
  vertical-align: middle !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  max-width: calc(100vw - 80px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.chiwa-topbar-link,
#top-bar .nav > li > a.chiwa-topbar-link,
#top-bar a.chiwa-topbar-link {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  color: #c5a880 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  height: auto !important;
  min-height: 0 !important;
}

.chiwa-topbar-link:hover,
#top-bar a.chiwa-topbar-link:hover {
  color: #fef3c7 !important;
}

@media (max-width: 480px) {
  #top-bar {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    line-height: 28px !important;
  }
  #top-bar .container {
    height: 28px !important;
    padding: 0 4px !important;
  }
  .chiwa-topbar-text,
  .chiwa-topbar-link,
  #top-bar .nav > li > a.chiwa-topbar-link,
  #top-bar a.chiwa-topbar-link {
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }
}

/* ==============================================================================
 * MODAL DISCLAIMER RÉGLEMENTAIRE CHIWA
 * ============================================================================== */
.chiwa-disclaimer-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.chiwa-disclaimer-modal-container {
  background: #ffffff;
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: chiwaFadeIn 0.2s ease-out;
  border: 1px solid #e2e8f0;
}

.chiwa-disclaimer-modal-header {
  background: #0f2b48;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chiwa-disclaimer-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chiwa-disclaimer-close-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.chiwa-disclaimer-close-btn:hover {
  color: #ffffff;
}

.chiwa-disclaimer-modal-content {
  padding: 22px;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.6;
}

.chiwa-disclaimer-modal-content p {
  margin: 0 0 12px 0;
}

.chiwa-disclaimer-highlight {
  background: #f8fafc;
  border-left: 4px solid #f97316;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #475569;
  margin-top: 14px;
}

.chiwa-disclaimer-modal-actions {
  padding: 12px 20px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.chiwa-disclaimer-confirm-btn {
  background: linear-gradient(135deg, #0f2b48 0%, #1e3a8a 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.chiwa-disclaimer-confirm-btn:hover {
  background: #0f2b48;
  transform: translateY(-1px);
}

@keyframes chiwaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ==============================================================================
 * DIRECTIVE SOUVERAINE DIR-00027 — ACTIONS COMPLÉMENTAIRES SECTION B
 * 1. Double logo B18 / Polyglotia : Unicité stricte du mot-symbole
 * 2. Bandeau langues 6L : flex-wrap et padding gauche minimal anti-rognage
 * 3. Budget vertical mobile 400x594 : CTA visible au-dessus de la flottaison
 * ============================================================================== */

/* 1. Unicité du logo header (desktop & mobile, stuck & non-stuck) */
.header-main:not(.stuck) #logo a img.header_logo,
.header-main:not(.stuck) #logo a img.header-logo:not(.header-logo-sticky):not(.header-logo-dark),
.header-main:not(.stuck) .logo a img.header_logo,
.header-main:not(.stuck) .logo a img.header-logo:not(.header-logo-sticky):not(.header-logo-dark) {
	display: block !important;
}
.header-main:not(.stuck) #logo a img.header-logo-sticky,
.header-main:not(.stuck) .logo a img.header-logo-sticky,
#logo a img.header-logo-dark,
.logo a img.header-logo-dark {
	display: none !important;
}
.header-main.stuck #logo a img.header-logo-sticky,
.header-main.stuck .logo a img.header-logo-sticky {
	display: block !important;
	width: 155px !important;
	height: auto !important;
	max-height: 70px !important;
}
.header-main.stuck #logo a img.header_logo,
.header-main.stuck .logo a img.header_logo {
	display: none !important;
}

/* 2. Bandeau multilingue 6L — padding gauche minimal et flex-wrap anti-rognage */
.chiwa-6l-selector-bar,
.chiwa-lang-bar,
div[class*="6l-selector"],
[aria-label*="Language selector"],
[aria-label*="Choix de langue"] {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 3px 6px !important;
	padding: 3px 12px !important;
	padding-left: clamp(14px, 4vw, 20px) !important;
	padding-right: clamp(14px, 4vw, 20px) !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100vw !important;
	overflow-x: hidden !important;
}
@media (min-width: 850px) {
	.chiwa-6l-selector-bar,
	.chiwa-lang-bar,
	div[class*="6l-selector"],
	[aria-label*="Language selector"],
	[aria-label*="Choix de langue"] {
		justify-content: flex-end !important;
	}
}
.chiwa-6l-selector-bar a,
.chiwa-lang-link {
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 1px 4px !important;
	font-size: 0.8rem !important;
	box-sizing: border-box !important;
}

/* 3. Budget vertical mobile 400x594 et 320px : flottaison CTA */
@media (max-width: 549px) {
	#top-bar {
		height: 24px !important;
		min-height: 24px !important;
		line-height: 24px !important;
	}
	.header-main {
		height: 56px !important;
	}
	#logo a {
		height: 48px !important;
	}
	#logo img.header_logo,
	#logo img.header-logo {
		max-height: 44px !important;
	}
	.home .banner,
	.home .banner .banner-inner,
	.banner.has-hover,
	.banner.has-hover .banner-inner {
		min-height: 320px !important;
		max-height: 400px !important;
	}
	.banner .text-box {
		top: 36% !important;
		padding-top: 4px !important;
		padding-bottom: 4px !important;
	}
	.corporate-hero, .resort-hero, .hero-section, section.hero {
		padding: 24px 15px !important;
		margin-bottom: 15px !important;
	}
	.corporate-hero .corporate-hero-title, .resort-hero .resort-hero-title, .hero-title, .banner h1 {
		font-size: 1.2rem !important;
		line-height: 1.2 !important;
		margin-bottom: 6px !important;
	}
	.corporate-hero .corporate-hero-subtitle, .resort-hero .resort-hero-subtitle, .hero-subtitle, .banner p {
		font-size: 0.8rem !important;
		line-height: 1.25 !important;
		margin-bottom: 8px !important;
	}
	.corporate-hero-actions, .hero-actions {
		margin-top: 10px !important;
	}
	.gap-element {
		padding-top: 4px !important;
	}
	.chiwa-care-badge-pill, .chiwa-poly-badge-pill, .badge-pill, [class*="badge-pill"] {
		padding: 3px 8px !important;
		font-size: 0.68rem !important;
		margin-bottom: 4px !important;
	}
	.button.primary, .button.is-shade, .corporate-btn, .button {
		padding: 6px 16px !important;
		min-height: 36px !important;
		font-size: 0.85rem !important;
		margin-top: 4px !important;
	}
}

