/*
Theme Name:  RoulementCasting
Theme URI:   https://roulementcasting.com
Description: Thème standalone RoulementCasting — WooCommerce + moulinets. Aucune dépendance Elementor ou thème parent.
Version:     1.0.0
Author:      RoulementCasting
Author URI:  https://roulementcasting.com
Text Domain: rc-theme
License:     Proprietary
*/

/* Fonts chargées via <link rel="preload"> dans header.php (non-render-blocking)
   Voir wp_head action 'rc_preconnect_hints' dans functions.php */

/* ===========================================================
   CSS RESET MINIMAL
=========================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  /* Police globale — Poppins chargée en async via header.php + fallback système immédiat */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@supports (overflow-x: clip){ body{ overflow-x: clip; } }

/* Wrappers <main> selon le type de page */
.rc-main--woo  { /* WooCommerce gère son propre padding/layout */ }
.rc-main--page { /* Pages avec shortcode — pas de padding global, le shortcode gère */ }
.rc-main--generic { /* Blog / archives */ padding: 40px 24px; max-width: 1200px; margin: 0 auto; }

/* ===========================================================
   DESIGN TOKENS
=========================================================== */
:root{
  --rc-primary:#004E66;
  --rc-accent:#FF5C1B;
  --rc-ink:#10242C;
  --rc-line:#D9E2E6;
  --rc-bg:#F6FAFB;
  --rc-surface:#FFFFFF;
  --rc-soft:#ECF5F7;
  --rc-radius:16px;
  --rc-gap:18px;
  --rc-shadow:0 10px 28px rgba(0,0,0,.06);
  --rc-shadow-soft:0 10px 22px rgba(2,8,23,.04);
}

@media (prefers-color-scheme: dark){
  :root{
    --rc-ink:#E6EDF2;
    --rc-line:#2A3A42;
    --rc-bg:#0E1A1F;
    --rc-surface:#0B1418;
    --rc-soft:#0F1C22;
    --rc-shadow:0 12px 32px rgba(0,0,0,.5);
    --rc-shadow-soft:0 12px 32px rgba(0,0,0,.5);
  }
}

/* ===========================================================
   MODULE RC — STRUCTURE & UI
=========================================================== */
.rc{
  max-width:1100px;
  margin:0 auto;
  padding:24px 24px 64px;
  color:var(--rc-ink);
}

.rc-grid{
  display:grid;
  gap:24px;
  grid-template-columns:1fr;
}
@media(min-width:960px){
  .rc-grid{ grid-template-columns:1fr 1fr; }
}

/* Cartes */
.rc-card{
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  padding:22px;
  box-shadow:var(--rc-shadow);
}
#bloc-casting.rc-card,
#bloc-spinning.rc-card{ grid-column:1 / -1; }

.rc-card h3{
  margin:0 0 14px;
  font-size:clamp(18px,2vw,22px);
  font-weight:600;
}

/* Lignes de champs */
.rc-row{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.rc-field{
  flex:1 1 260px;
  min-width:220px;
  position:relative;
}

/* Label + icône */
.rc-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  margin-bottom:6px;
}
.rc-ico{
  width:18px;
  height:18px;
  color:var(--rc-primary);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Inputs + selects */
.rc-input,
.rc-select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--rc-line);
  border-radius:12px;
  background:#fff;
  color:#0f222a;
  outline:none;
  transition:.15s border,.15s box-shadow;
}
.rc-input:focus,
.rc-select:focus{
  border-color:var(--rc-primary);
  box-shadow:0 0 0 4px rgba(0,78,102,.12);
}
.rc-select:disabled,
.rc-input:disabled{
  background:var(--rc-soft);
  color:#8AA0A9;
}

.rc-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rc-primary) 50%),
    linear-gradient(135deg, var(--rc-primary) 50%, transparent 50%);
  background-repeat:no-repeat,no-repeat;
  background-size:6px 6px,6px 6px;
  background-position:calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  padding-right:42px;
}

/* Barre de recherche avec icône loupe */
.rc-searchwrap{ position:relative; }
.rc-searchwrap .rc-input{ padding-left:40px; }
.rc-searchwrap svg{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  color:var(--rc-primary);
}

/* Autocomplete (module RC) */
.rc-suggest{
  position:absolute;
  z-index:9999;
  top:calc(100% + 6px);
  left:0; right:0;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:14px;
  max-height:280px;
  overflow:auto;
  display:none;
  box-shadow:var(--rc-shadow);
}
.rc-suggest .sg-item{
  padding:12px 14px;
  cursor:pointer;
  display:flex;
  gap:8px;
  align-items:center;
}
.rc-suggest .sg-item:hover{ background:rgba(0,78,102,.06); }

/* Spinner loading */
.rc-field.is-loading::after{
  content:"";
  position:absolute;
  right:12px;
  bottom:12px;
  width:16px;
  height:16px;
  border-radius:50%;
  border:2px solid rgba(0,78,102,.25);
  border-top-color:var(--rc-primary);
  animation:rcspin .7s linear infinite;
}
@keyframes rcspin{ to{ transform:rotate(360deg); } }

/* Zone info */
.rc-info{
  margin-top:14px;
  border:1px solid var(--rc-line);
  background:linear-gradient(180deg,#fff 0%, var(--rc-bg) 160%);
  border-radius:14px;
  padding:14px;
}

.rc-media{ text-align:center; margin-top:10px; }
.rc-media img{ width:100%; max-width:320px; border-radius:12px; }

/* Résultats / cartes */
.rc-list{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media(min-width:720px){ .rc-list{ grid-template-columns:1fr 1fr; } }
.rc-list--single{ grid-template-columns:1fr; }

.rc-item{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:14px;
  align-items:center;
  border:1px solid var(--rc-line);
  border-radius:16px;
  padding:14px;
  background:var(--rc-surface);
  transition: box-shadow .2s, transform .12s, border-color .2s;
}
.rc-item:hover{
  box-shadow:var(--rc-shadow);
  transform:translateY(-1px);
  border-color: rgba(0,78,102,.25);
}
@media(hover:none){
  .rc-item:hover{ box-shadow:none; transform:none; }
}

.rc-thumb{
  width:120px;
  height:120px;
  border-radius:14px;
  background:var(--rc-soft);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rc-thumb img{ width:100%; height:100%; object-fit:cover; }

.rc-body{ min-width:0; }

.rc-title{
  font-weight:600;
  margin:0 0 6px;
  font-size:16px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rc-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color:#4f6770;
  font-size:13.5px;
  margin-bottom:8px;
}
@media(prefers-color-scheme: dark){ .rc-meta{ color:#98ADBA; } }

.rc-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.rc-badge-chip{
  font-size:12px;
  font-weight:600;
  color:var(--rc-primary);
  background: rgba(0,78,102,.10);
  border:1px solid rgba(0,78,102,.22);
  padding:5px 10px;
  border-radius:999px;
}

.rc-actions{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.rc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  border:1px solid var(--rc-primary);
  color:var(--rc-primary);
  background:#fff;
  transition:background .15s, transform .12s;
}
.rc-btn:hover{ background:rgba(0,78,102,.08); transform:translateY(-1px); }
.rc-btn--primary{
  background:var(--rc-primary);
  color:#fff;
  border-color:var(--rc-primary);
}
.rc-btn--primary:hover{ background:#003646; border-color:#003646; }

.rc-empty{
  padding:16px;
  border:1px dashed var(--rc-line);
  border-radius:14px;
  text-align:center;
  color:#5b7280;
}
.rc-empty::before{ content:"🔎 "; }

/* Correctifs bloc "Roulement par dimensions" */
#bloc-roulements #resultat-roulement{
  border:none;
  background:transparent;
  padding:0;
}
#bloc-roulements #resultat-roulement .rc-list{ display:block; }
#bloc-roulements #resultat-roulement .rc-item{
  width:100%;
  box-shadow:var(--rc-shadow);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
}
#bloc-roulements #resultat-roulement .rc-title{ font-size:17px; }
#bloc-roulements #resultat-roulement .rc-meta{ font-size:14px; }

/* ===========================================================
   CORE WEB VITALS — FIX CLS (WooCommerce / pages produit)
=========================================================== */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper{
  width: 100%;
  aspect-ratio: 1 / 1;
}
.single-product .woocommerce-product-gallery__image img{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
.single-product .flex-control-thumbs li img,
.single-product .flex-control-thumbs img{
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.single-product .summary{ min-height: 420px; }
@media (max-width: 767px){
  .single-product .summary{ min-height: 520px; }
}
.single-product img{ display:block; }

/* ===========================================================
   RC — Boutons WooCommerce (Ajouter au panier) — charte
   (SCOPÉ: uniquement sur les fiches produit)
=========================================================== */
.single-product .woocommerce a.button,
.single-product .woocommerce button.button,
.single-product .woocommerce input.button,
.single-product .woocommerce #respond input#submit,
.single-product .woocommerce button.alt,
.single-product .woocommerce a.button.alt,
.single-product .woocommerce input.button.alt{
  background: var(--rc-accent) !important;
  color: #fff !important;
  border: 1px solid var(--rc-accent) !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
  padding: 12px 18px !important;
  min-height: 46px;
  box-shadow: 0 10px 22px rgba(255,92,27,.18);
  text-transform: none !important;
}

.single-product .woocommerce a.button:hover,
.single-product .woocommerce button.button:hover,
.single-product .woocommerce input.button:hover,
.single-product .woocommerce #respond input#submit:hover,
.single-product .woocommerce button.alt:hover,
.single-product .woocommerce a.button.alt:hover,
.single-product .woocommerce input.button.alt:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
}

.single-product .woocommerce a.button:focus,
.single-product .woocommerce button.button:focus,
.single-product .woocommerce input.button:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,92,27,.22);
}

.single-product .woocommerce a.button.disabled,
.single-product .woocommerce button.button:disabled,
.single-product .woocommerce input.button:disabled{
  opacity: .55 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Produit variable : bouton + select */
.single-product .woocommerce div.product form.cart .single_add_to_cart_button{ width: 100%; }

.single-product .woocommerce div.product form.cart .variations select{
  border-radius: 12px;
  border: 1px solid #E9EEF1;
  padding: 10px 12px;
  min-height: 44px;
}
/* ===========================================================
   RC — Description produit
=========================================================== */
.rc-product-desc{
  font-family:Poppins,sans-serif;
  color:#002833;
  line-height:1.6;
}

.rc-product-desc .rc-intro{
  font-size:1.1rem;
  margin-bottom:20px;
}

.rc-product-desc .rc-grid-3{
  grid-template-columns: repeat(2, 1fr);
}

.rc-product-desc .rc-card{
  background:#f4f7f9;
  padding:15px;
  border-radius:10px;
  border:1px solid #d6dbdf;
  box-shadow:none;
}

.rc-product-desc .rc-card h3{
  margin:0 0 8px;
  color:#004E66;
  font-size:1.05rem;
  font-weight:600;
}

.rc-product-desc .rc-performance,
.rc-product-desc .rc-specs,
.rc-product-desc .rc-usage,
.rc-product-desc .rc-tip{
  margin:25px 0;
}

.rc-product-desc h2{
  font-size:1.2rem;
  margin-bottom:10px;
  color:#004E66;
}

.rc-product-desc ul{
  padding-left:18px;
}

.rc-product-desc li{
  margin-bottom:5px;
}
.rc-product-desc{
  font-size:16px;
}

.rc-product-desc p{
  max-width: 60ch;
}

/* =========================
   RC HEADER — VERSION SOBRE / SITE CONSISTENT
========================= */

:root{
  --rc-header-bg: #002833;
  --rc-header-bg-2: #004E66;
  --rc-header-border: rgba(255,255,255,.08);
  --rc-header-text: #ffffff;
  --rc-header-muted: rgba(255,255,255,.78);
  --rc-header-accent: #FF5C1B;
  --rc-header-max: 1320px;
  --rc-header-height: 78px;
  --rc-logo-max: 250px;
  --rc-logo-max-mobile: 170px;
}

/* barre globale */
.rc-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--rc-header-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  pointer-events: auto;
}

/* container */
.rc-header__container{
  max-width: var(--rc-header-max);
  min-height: var(--rc-header-height);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 28px;
}

/* colonnes */
.rc-header__left,
.rc-header__center,
.rc-header__right{
  min-width: 0;
}

.rc-header__left{
  display: flex;
  align-items: center;
}

/* logo */
.rc-header__brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  max-width: var(--rc-logo-max);
  width: auto;
}

.rc-header__brand img,
.rc-header__logo,
img.rc-header__logo,
a.rc-header__brand img{
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--rc-logo-max) !important;
  max-height: 50px !important;
  object-fit: contain;
  object-position: left center;
  border: 0;
  box-shadow: none;
}

.rc-header__brand-text{
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* navigation centre */
.rc-header__center{
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-nav--desktop{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.rc-nav__menu{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc-nav__menu > li{
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-nav__menu > li > a,
.rc-nav__garage-link{
  display: inline-flex;
  align-items: center;
  color: var(--rc-header-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 0;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}

.rc-nav__menu > li > a:hover,
.rc-nav__garage-link:hover{
  color: var(--rc-header-accent);
}

.rc-nav__garage-link{
  color: var(--rc-header-accent);
  font-weight: 700;
  margin-left: 8px;
}

/* état courant */
.rc-nav__menu > li.current-menu-item > a,
.rc-nav__menu > li.current-menu-ancestor > a{
  color: var(--rc-header-accent);
}

/* sous-menu desktop */
.rc-nav__menu .sub-menu{
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #003748;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0,0,0,.20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 10001;
}

.rc-nav__menu li:hover > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rc-nav__menu .sub-menu li{
  list-style: none;
}

.rc-nav__menu .sub-menu li a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.rc-nav__menu .sub-menu li a:hover{
  background: rgba(255,255,255,.06);
  color: var(--rc-header-accent);
}

/* droite */
.rc-header__right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.rc-header__iconlink,
.rc-header__cart,
.rc-nav__garage-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rc-header-accent) !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}

.rc-header__iconlink:visited,
.rc-header__cart:visited,
.rc-nav__garage-link:visited{
  color: var(--rc-header-accent) !important;
}

.rc-header a.rc-header__iconlink,
.rc-header a.rc-header__cart,
.rc-header a.rc-nav__garage-link{
  color: var(--rc-header-accent) !important;
}

.rc-header a.rc-header__iconlink svg,
.rc-header a.rc-header__cart svg{
  fill: var(--rc-header-accent) !important;
}

.rc-header__iconlink:hover,
.rc-header__cart:hover{
  opacity: .82;
}

.rc-header__iconlink svg,
.rc-header__cart svg{
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 17px;
}

.rc-header__cart{
  position: relative;
}

.rc-header__cart-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rc-header-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* =========================
   RC HEADER SEARCH DROPDOWN — DARK RC STYLE
========================= */

.rc-header-search{
  position:relative;
  display:flex;
  align-items:center;
}

.rc-header-search__toggle{
  appearance:none;
  border:1px solid rgba(255,92,27,.55);
  background:linear-gradient(135deg,#FF5C1B,#e84e10);
  color:#fff;
  width:42px;
  height:42px;
  padding:0;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(255,92,27,.24);
  transition:transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.rc-header-search__toggle svg{
  width:19px;
  height:19px;
  fill:currentColor;
}

.rc-header-search__toggle:hover{
  opacity:.92;
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(255,92,27,.32);
}

.rc-header-search__panel{
  position:absolute;
  top:calc(100% + 18px);
  right:0;
  width:min(520px, calc(100vw - 28px));
  background:rgba(0,40,51,.98);
  border:1px solid rgba(0,126,153,.55);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.38);
  overflow:hidden;
  z-index:10002;
}

.rc-header-search__panel::before{
  content:"";
  position:absolute;
  top:-7px;
  right:18px;
  width:14px;
  height:14px;
  background:#002833;
  border-left:1px solid rgba(0,126,153,.55);
  border-top:1px solid rgba(0,126,153,.55);
  transform:rotate(45deg);
}

.rc-header-search__form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
}

.rc-header-search__input{
  width:100%;
  min-height:46px;
  border:1px solid rgba(0,126,153,.55);
  border-radius:14px;
  padding:0 15px;
  background:rgba(0,24,38,.82);
  color:#fff;
  font-size:15px;
  outline:none;
}

.rc-header-search__input::placeholder{
  color:rgba(255,255,255,.48);
}

.rc-header-search__input:focus{
  border-color:#FF5C1B;
  box-shadow:0 0 0 4px rgba(255,92,27,.14);
}

.rc-header-search__results{
  max-height:390px;
  overflow:auto;
  padding:8px;
}

.rc-header-search__empty,
.rc-header-search__loading{
  padding:15px;
  color:rgba(255,255,255,.62);
  font-size:13px;
}

.rc-header-search__item{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid transparent;
  transition:background .16s ease, border-color .16s ease;
}

.rc-header-search__item:hover{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.08);
  transform:translateX(2px);
}


.rc-header-search__name{
  display:block;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.01em;
}

.rc-header-search__meta{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.55);
  font-size:12px;
  letter-spacing:.02em;
}

.rc-header-search__all{
  display:block;
  margin:8px;
  padding:12px;
  border-radius:12px;
  background:#FF5C1B;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}

.rc-header-search__all:hover{
  background:#e84e10;
  color:#fff;
}

@media(max-width:980px){
  .rc-header-search__panel{
    right:-92px;
  }

  .rc-header-search__form{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .rc-header-search__panel{
    right:-104px;
    width:calc(100vw - 20px);
  }
}

/* =========================
   RC HEADER — FIX TABLETTE / MOBILE
========================= */

@media (max-width: 1180px){

  .rc-header__container{
    grid-template-columns: 170px 1fr auto !important;
    min-height: 72px;
    gap: 12px;
    padding: 0 14px;
  }

  .rc-header__center{
    display: none !important;
  }

  .rc-header__brand{
    max-width: 170px !important;
  }

  .rc-header__brand img,
  .rc-header__logo,
  img.rc-header__logo,
  a.rc-header__brand img{
    max-width: 170px !important;
    max-height: 40px !important;
  }

  .rc-header__right{
    gap: 12px;
  }

  .rc-header__iconlink span,
  .rc-header__cart span:not(.rc-header__cart-count){
    display: none !important;
  }

  .rc-header-search__toggle{
    width: 42px;
    height: 42px;
  }
}

/* =========================
   BURGER — STYLE + LOGIQUE
========================= */

/* Style du bouton burger */
.rc-header__toggle{
  display:none !important;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(255,92,27,.55);
  background:linear-gradient(135deg,#FF5C1B,#e84e10);
  width:42px;
  height:42px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(255,92,27,.24);
}

.rc-header__toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  border-radius:999px;
}

/* Mobile uniquement */
@media (max-width: 980px){
  body .rc-header .rc-header__toggle{
    display:inline-flex !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
}

/* Desktop : JAMAIS visible */
@media (min-width: 981px){
  body .rc-header .rc-header__toggle{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  body .rc-header .rc-mobile-drawer{
    display:none !important;
    visibility:hidden !important;
  }
}

/* =========================
   MOBILE SMALL
========================= */

@media (max-width: 640px){

  .rc-header__container{
    grid-template-columns: 140px 1fr auto !important;
    min-height: 66px;
    padding: 0 12px;
  }

  .rc-header__brand{
    max-width: 140px !important;
  }

  .rc-header__brand img,
  .rc-header__logo,
  img.rc-header__logo,
  a.rc-header__brand img{
    max-width: 140px !important;
    max-height: 34px !important;
  }

  .rc-header__right{
    gap: 9px;
  }

  .rc-header-search__toggle,
  .rc-header__cart,
  .rc-header__iconlink,
  .rc-header__toggle{
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

/* =========================
   RC FOOTER — MINIMAL PREMIUM
========================= */

.rc-footer--minimal{
  background: linear-gradient(180deg, #002833 0%, #001e27 100%);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
}

.rc-footer__container{
  max-width:1320px;
  margin:0 auto;
  padding:0 20px;
}

/* MAIN */
.rc-footer__main{
  padding:58px 0 34px;
}

.rc-footer__grid{
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr;
  gap:44px;
}

/* BRAND */
.rc-footer__brand{
  display:inline-flex;
  margin-bottom:22px;
}

.rc-footer__logo{
  max-width:250px;
  max-height:56px;
}

.rc-footer__intro{
  margin:0 0 20px;
  color:rgba(255,255,255,.8);
  font-size:14px;
  line-height:1.8;
  max-width:46ch;
}

.rc-footer__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-bottom:18px;
}

.rc-footer__meta span{
  color:#FF5C1B;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
}

/* SOCIALS */
.rc-footer__socials{
  display:flex;
  gap:12px;
}

.rc-footer__socials a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:.2s;
}

.rc-footer__socials svg{
  width:16px;
  height:16px;
  fill:#fff;
  opacity:.85;
}

.rc-footer__socials a:hover{
  background:#FF5C1B;
  border-color:#FF5C1B;
}

/* NAV */
.rc-footer__title{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:16px;
}

.rc-footer__links{
  list-style:none;
  padding:0;
  margin:0;
}

.rc-footer__links li{
  margin-bottom:12px;
}

.rc-footer__links a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-size:14px;
  transition:.2s;
}

.rc-footer__links a:hover{
  color:#fff;
}

/* BOTTOM */
.rc-footer__bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
}

.rc-footer__bottombar{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.rc-footer__copy{
  font-size:13px;
  color:rgba(255,255,255,.55);
}

.rc-footer__legal{
  display:flex;
  gap:14px;
}

.rc-footer__legal a{
  font-size:13px;
  color:rgba(255,255,255,.6);
}

.rc-footer__legal a:hover{
  color:#FF5C1B;
}

/* RESPONSIVE */
@media (max-width:980px){
  .rc-footer__grid{
    grid-template-columns:1fr 1fr;
  }

  .rc-footer__brandcol{
    grid-column:1 / -1;
  }
}

@media (max-width:640px){
  .rc-footer__grid{
    grid-template-columns:1fr;
  }

  .rc-footer__bottombar{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
}

body.page-id-30856 h1.entry-title,
body.page-id-21136 h1.entry-title,
body.page-id-2215 h1.entry-title {
  display: none;
}

/* =========================
   RC HEADER — SEARCH PANEL MOBILE HARD FIX
========================= */
@media (max-width: 640px){
  body .rc-header .rc-header-search{
    position: static !important;
  }

  body .rc-header .rc-header-search__panel{
    position: fixed !important;
    top: 74px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    z-index: 100000 !important;
  }

  body .rc-header .rc-header-search__panel::before{
    display: none !important;
  }

  body .rc-header .rc-header-search__form{
    grid-template-columns: 1fr !important;
    padding: 10px !important;
  }

  body .rc-header .rc-header-search__input{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 44px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
  }

  body .rc-header .rc-header-search__results{
    max-height: 52vh !important;
    overflow: auto !important;
  }
}

@media (max-width: 390px){
  body .rc-header .rc-header-search__panel{
    top: 70px !important;
    left: 8px !important;
    right: 8px !important;
  }
}