/* La Route des Indes : mise en page du site (en-tête, pied, pages, WooCommerce).
   S'appuie sur tokens.css et bundle.css (design system). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/dm-sans.woff2") format("woff2"); }

:root { --border-inverse: #2a2a2a; --gutter: max(16px, 4vw); --wrap: 1360px; }

/* ---------- Remise à zéro de Divi ---------- */
body.rdi, body.rdi #page-container { background: var(--surface); }
body.rdi { color: var(--ink); font-family: var(--font-text); font-size: 15px; line-height: 26px; font-weight: 400; -webkit-font-smoothing: antialiased; }
body.rdi #page-container { padding-top: 0 !important; margin-top: 0 !important; overflow: visible; }
body.rdi #main-content { background: transparent; }
body.rdi #main-content .container { width: 100%; max-width: none; padding-top: 0; }
body.rdi #main-content .container::before { display: none; }
body.rdi #left-area { width: 100%; padding: 0; float: none; }
body.rdi #sidebar { display: none; }
body.rdi .entry-content, body.rdi article.page { padding: 0; margin: 0; }
body.rdi :where(h1, h2, h3, h4, h5, h6) { padding-bottom: 0; color: var(--ink-strong); font-weight: 500; line-height: 1.15; font-family: var(--font-display); }
body.rdi p { padding-bottom: 0; }
:where(body.rdi) a { color: var(--ink-strong); }
:where(body.rdi) a:hover { color: var(--ink); }
body.rdi img { max-width: 100%; }
body.rdi ul, body.rdi ol { padding: 0; }
body.rdi .entry-content ul, body.rdi .entry-content ol { list-style: none; padding: 0; line-height: inherit; }
body.rdi button, body.rdi input, body.rdi select, body.rdi textarea { font-family: var(--font-text); }
body.rdi .et_pb_post_content, body.rdi .et_builder_inner_content { font-size: inherit; }
/* Pages Divi en modules natifs (classe rdi-n sur les sections) : seuls les effets que Divi ne sait pas faire sont ici. */
.rdi-n .et_pb_module:last-child { margin-bottom: 0; }
@media (min-width: 981px) { .rdi-va-center, .rdi-va-bottom { display: flex !important; flex-wrap: wrap; } .rdi-va-center { align-items: center; } .rdi-va-bottom { align-items: flex-end; } .rdi-va-center > .et_pb_column, .rdi-va-bottom > .et_pb_column { float: none; } }
.rdi-n .et_pb_text p:last-of-type { padding-bottom: 0; }
.rdi-n .et_pb_button_module_wrapper { display: inline-block; margin-right: 8px; }
.rdi-n .et_pb_heading_container h1, .rdi-n .et_pb_heading_container h2, .rdi-n .et_pb_heading_container h3 { padding-bottom: 0; }
.rdi-n .rdi-img img, .rdi-n .rdi-img .et_pb_image_wrap { width: 100%; display: block; }
.rdi-n .rdi-sq img { aspect-ratio: 1; object-fit: cover; }
.rdi-n .rdi-img .et_pb_image_wrap { overflow: hidden; }
.rdi-hero-row .rdi-leaf-tile { margin-bottom: 8px !important; }
.rdi-leaf-tile { position: relative; }
.rdi-leaf-tile .et_pb_main_blurb_image { margin: 0 !important; width: 100%; }
.rdi-leaf-tile .et_pb_image_wrap { display: block; width: 100%; aspect-ratio: 1; border-radius: 48px 12px; overflow: hidden; background: #000; }
.rdi-leaf-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-leaf-tile:hover img { transform: scale(1.04); }
.rdi-leaf-tile .et_pb_blurb_container { position: absolute; left: 10px; bottom: 10px; padding: 0 !important; }
.rdi-leaf-tile .et_pb_module_header { margin: 0; padding: 5px 9px !important; background: #fff; border-radius: 999px; line-height: 16px !important; }
.rdi-leaf-tile .et_pb_module_header a { color: #000 !important; }
.rdi-leaf-tile .et_pb_blurb_description { display: none; }
.rdi-more-txt a { text-decoration: none; background-image: linear-gradient(var(--border), var(--border)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px; padding-bottom: 2px; }
.rdi-more-txt a:hover { background-image: linear-gradient(#000, #000); }
.rdi-tags-txt a, .rdi-tags-txt .rdi-tag { display: inline-block; color: #000 !important; border: 1px solid var(--border); padding: 2px 10px; border-radius: 999px; text-decoration: none; margin: 0 4px 6px 0; line-height: 20px; }
.rdi-tags-txt a:hover { border-color: #000; }
.rdi-banner-sec .rdi-banner-row { position: relative; min-height: 460px; display: flex !important; align-items: flex-end; overflow: hidden; }
.rdi-banner-sec .rdi-banner-row::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.rdi-banner-sec .rdi-banner-row > .et_pb_column { position: relative; z-index: 1; }
.rdi-contact-infos em.rdi-k { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 30px; color: var(--ink); }
.rdi-contact-infos p { padding-bottom: 24px !important; }
.rdi-pro-box { background: var(--surface-muted); padding: 24px; border-radius: 16px; }
@media (max-width: 980px) { .rdi-n .et_pb_button_module_wrapper { margin-bottom: 8px; } .rdi-n [style*="text-align: right"], .rdi-n .et_pb_text_align_right { text-align: left !important; } }

.rdi-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rdi-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #000; color: #fff !important; padding: 10px 16px; border-radius: 999px; }
.rdi-skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Utilitaires ---------- */
.rdi-wrap { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 112px; box-sizing: border-box; }
.rdi-sec { max-width: var(--wrap); margin: 0 auto; padding: 112px var(--gutter) 0; box-sizing: border-box; }
.rdi-sec--last { padding-bottom: 112px; }
.rdi-h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1.06; letter-spacing: -0.01em; color: var(--ink-strong); }
.rdi-h1--xl { font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.rdi-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.01em; color: var(--ink-strong); }
.rdi-h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 34px; color: var(--ink-strong); }
.rdi-quote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; color: var(--ink-strong); text-wrap: balance; }
.rdi-lead { margin: 0; font-size: 17px; line-height: 28px; }
.rdi-muted { color: var(--ink-muted); }
.rdi-num { font-variant-numeric: tabular-nums; }
.rdi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.rdi-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.rdi-card-box { border: 1px solid var(--border); border-radius: 28px; background: var(--surface); }
.rdi-card-muted { background: var(--surface-muted); border-radius: 28px; }
.rdi-fili { background: #000 url("../img/filigrane.webp") center 30% / cover no-repeat; color: var(--on-inverse); }
.rdi-fili .rdi-kicker { color: var(--on-inverse-muted); }
.rdi-fili h1, .rdi-fili h2, .rdi-fili p { color: var(--on-inverse); }
.rdi-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; color: var(--on-inverse-muted); font-size: 12px; line-height: 16px; background: #000 url("../img/filigrane.webp") center / 170% auto; place-items: initial; border-radius: 0; }
.rdi-todo { display: inline-block; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--danger-ink); border: 1px dashed var(--danger); border-radius: 6px; padding: 2px 6px; vertical-align: middle; }
.rdi-media { position: relative; overflow: hidden; background: var(--surface-muted); border-radius: 16px; }
.rdi-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rdi-media--sq { aspect-ratio: 1; }
.rdi-media--lg { border-radius: 28px; }

/* ---------- Bandeau d'annonce et en-tête ---------- */
.rdi-announce { justify-content: space-between; padding: 10px var(--gutter); }
.rdi-announce__right { display: flex; gap: 16px; }
.rdi-announce a.rdi-en { color: var(--on-inverse-muted); }
.rdi-header { position: relative; z-index: 40; background: var(--surface); }
.rdi-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); }
.rdi-header__side { display: flex; gap: 8px; flex: 1 1 0; min-width: 0; }
.rdi-header__side--end { justify-content: flex-end; }
.rdi-header .rdi-icon-btn { border-color: transparent; text-decoration: none; }
.rdi-logo { display: block; flex: 0 1 260px; min-width: 0; }
.rdi-logo img { display: block; width: 100%; height: auto; }
.rdi-cart-btn { overflow: visible !important; }
.rdi-cart-n { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: #000; color: #fff; font: 600 10px/16px var(--font-text); text-align: center; z-index: 1; }
.rdi-cart-n:empty { display: none; }
a.rdi-icon-btn:hover .rdi-cart-n { background: #fff; color: #000; }
.rdi-mainnav { background: var(--surface-inverse); display: flex; justify-content: safe center; gap: 4px 40px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding: 16px var(--gutter); }
.rdi-mainnav a, .rdi-mainnav button { color: var(--on-inverse) !important; background-color: transparent; border: 0; padding: 0 0 2px; cursor: pointer; }
.rdi-mainnav [aria-current="page"], .rdi-mainnav [aria-expanded="true"] { background-size: 100% 1px; }

/* Méga-menu */
.rdi-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 41; background: var(--surface); border-bottom: 1px solid var(--border); padding: 40px var(--gutter) 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 300px; gap: 32px; font-size: 14px; line-height: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.rdi-mega[hidden] { display: none; }
.rdi-mega__col { display: flex; flex-direction: column; gap: 18px; }
.rdi-mega__grp { display: flex; flex-direction: column; gap: 6px; }
.rdi-mega__grp > .rdi-label { color: var(--ink-strong) !important; margin-bottom: 4px; text-decoration: none; }
.rdi-mega a { color: var(--ink); text-decoration: none; }
.rdi-mega a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.rdi-mega__feat { display: flex; flex-direction: column; gap: 10px; text-decoration: none !important; }
.rdi-mega__feat .rdi-media { aspect-ratio: 1; }
.rdi-mega__feat b { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 26px; color: var(--ink-strong); }
.rdi-mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 18px; display: flex; gap: 32px; align-items: center; font-size: 13px; }
.rdi-veil { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 39; }
.rdi-veil[hidden] { display: none; }
.rdi-badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--surface); border-radius: 999px; color: var(--ink-strong); padding: 6px 10px; }

/* Tiroirs (menu mobile, mini-panier) */
.rdi-drawer { position: fixed; top: 0; bottom: 0; z-index: 80; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: transform var(--dur-base) var(--ease-rdi); }
.rdi-drawer--right { right: 0; border-radius: 28px 0 0 28px; transform: translateX(102%); }
.rdi-drawer--left { left: 0; border-radius: 0 28px 28px 0; transform: translateX(-102%); width: min(400px, 100%); }
.rdi-drawer.is-open { transform: none; }
.admin-bar .rdi-drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .rdi-drawer { top: 46px; } }
.rdi-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 79; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-rdi); }
.rdi-scrim.is-open { opacity: 1; pointer-events: auto; }
.rdi-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 20px 28px; border-bottom: 1px solid var(--border); }
.rdi-drawer__head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 26px; line-height: 30px; color: #000; }
.rdi-drawer__body { flex: 1; overflow-y: auto; padding: 20px 28px; display: flex; flex-direction: column; gap: 20px; }
.rdi-drawer__foot { padding: 20px 28px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.rdi-drawer .rdi-icon-btn { border-color: transparent; }
.rdi-ok { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #000; }
.rdi-ok svg { width: 14px; height: 14px; fill: #fff; }
.rdi-mini { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rdi-mini .rdi-media { width: 56px; flex: none; aspect-ratio: 1; border-radius: 12px; }
.rdi-mini__name { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 24px; color: #000; text-decoration: none; }
.rdi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: nowrap; }
.rdi-ship { display: flex; flex-direction: column; gap: 8px; }
.rdi-ship span { font-size: 14px; line-height: 20px; color: #000; }
.rdi-ship-bar { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.rdi-ship-bar i { display: block; height: 100%; border-radius: 4px; background: #000; transition: width .35s var(--ease-rdi); }
.rdi-mmenu nav { flex: 1; overflow-y: auto; padding: 0 16px; }
.rdi-mmenu__ray { border-bottom: 1px solid var(--border); }
.rdi-mmenu__ray > button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0; border: 0; background: transparent; color: var(--ink-strong); cursor: pointer; }
.rdi-mmenu__ray > button span:first-child { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.rdi-mmenu__ray ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rdi-mmenu__ray ul[hidden] { display: none; }
.rdi-mmenu__ray ul a { display: block; padding: 8px 0 8px 12px; color: var(--ink); text-decoration: none; border-left: 1px solid var(--border); }
.rdi-mmenu__links { display: flex; flex-direction: column; padding: 16px 0; }
.rdi-mmenu__links a { color: var(--ink-strong); padding: 12px 0; text-decoration: none; }
.rdi-mmenu__bottom { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #000; color: #fff; font-size: 13px; }
.rdi-mmenu__bottom a { color: #fff !important; }

/* Champ de recherche */
.rdi-input input[type="search"] { -webkit-appearance: none; }
.rdi-sbar { display: flex; align-items: center; gap: 12px; border: 1px solid #000; border-radius: 999px; padding: 0 8px 0 24px; height: 64px; max-width: 760px; margin: 0 auto; background: #fff; box-sizing: border-box; }
.rdi-sbar svg { width: 18px; height: 18px; fill: #000; flex: none; }
.rdi-sbar input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 20px/1 var(--font-text); color: #000; background: transparent; }

/* ---------- En-tête et pied du Theme Builder ---------- */
.et-l--header { position: relative; z-index: 60; }
.et-l--header .et_builder_inner_content { z-index: 60; }
.rdi-tb-icons .et_pb_code_inner { display: flex; }
.rdi-tb-icons--end .et_pb_code_inner { justify-content: flex-end; }
.rdi-tb-icons .rdi-icon-btn { border-color: transparent; }
.rdi-tbmenu .et-menu > li { padding-left: 20px !important; padding-right: 20px !important; }
.rdi-tbmenu .et-menu > li > a { padding-bottom: 0 !important; }
.rdi-tbmenu .et_pb_menu__menu > nav > ul > li > a:hover { opacity: 1; background-size: 100% 1px; }
.rdi-tbmenu .et-menu > li > a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size var(--dur-base) var(--ease-rdi); }
.rdi-tbmenu .et-menu > li.current-menu-item > a, .rdi-tbmenu .et-menu > li.current-menu-ancestor > a, .rdi-tbmenu .et-menu > li > a:hover { background-size: 100% 1px; opacity: 1 !important; }
.rdi-tbmenu li.mega-menu > ul { padding: 40px max(16px, 4vw) 44px !important; border-top: 0 !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25) !important; }
.rdi-tbmenu li.mega-menu > ul { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 24px; }
.rdi-tbmenu li.mega-menu > ul > li { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.rdi-tbmenu li.mega-menu > ul > li > ul { position: static !important; }
.rdi-tbmenu li.mega-menu > ul > li > a { font: 600 12px/16px var(--font-text) !important; letter-spacing: .16em !important; text-transform: uppercase; color: #000 !important; }
.rdi-tbmenu li.mega-menu li li a { text-transform: none !important; letter-spacing: 0 !important; font: 400 14px/22px var(--font-text) !important; color: var(--ink) !important; padding: 3px 0 !important; }
.rdi-tbmenu li.mega-menu li li a:hover { color: #000 !important; text-decoration: underline; text-underline-offset: 3px; background: none !important; }
.rdi-nl { display: flex; gap: 8px; width: 100%; max-width: 460px; margin-left: auto; }
.rdi-nl input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--on-inverse-muted); background: transparent; color: #fff; font: inherit; border-radius: 999px; box-sizing: border-box; }
.rdi-nl input::placeholder { color: var(--on-inverse-muted); }
.rdi-tbfoot ul { list-style: none !important; padding: 0 !important; margin: 0; }
.rdi-tbfoot ul li { padding: 2px 0; }
.rdi-tbfoot a { color: var(--on-inverse-muted) !important; text-decoration: none; }
.rdi-tbfoot a:hover { color: #fff !important; }
.rdi-tbfoot h2 { font: 600 12px/16px var(--font-text) !important; letter-spacing: .16em; text-transform: uppercase; color: #fff !important; margin: 0 0 12px !important; padding: 0 !important; }
@media (max-width: 980px) {
  .rdi-nl { margin-left: 0; }
  .rdi-tb-bar { display: flex !important; align-items: center; flex-wrap: nowrap; }
  .rdi-tb-bar > .et_pb_column { margin-bottom: 0 !important; width: auto !important; flex: 0 0 auto; }
  .rdi-tb-bar > .et_pb_column:nth-child(2) { flex: 1 1 auto; min-width: 0; padding: 0 4px; }
  .rdi-tb-logo, .rdi-tb-logo .et_pb_image_wrap { max-width: 190px !important; margin: 0 auto !important; display: block; }
  .rdi-tb-icons .rdi-header__side { gap: 0; }
}
@media (max-width: 760px) { .rdi-desk-only { display: none !important; } .et-l--header .et_pb_section:first-child .et_pb_text { text-align: center !important; } .et-l--header .et_pb_section:first-child .et_pb_column { margin-bottom: 0 !important; } }

/* ---------- Pied de page ---------- */
.rdi-foot { background: var(--surface-inverse); color: var(--on-inverse-muted); font-size: 13px; line-height: 22px; }
.rdi-foot a { color: var(--on-inverse-muted) !important; }
.rdi-foot a:hover { color: var(--on-inverse) !important; }
.rdi-foot__nl { border-bottom: 1px solid var(--border-inverse); padding: 48px var(--gutter); }
.rdi-foot__nl form { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.rdi-foot__nl input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--on-inverse-muted); background: transparent; color: var(--on-inverse); font: inherit; border-radius: 999px; box-sizing: border-box; }
.rdi-foot__nl input::placeholder { color: var(--on-inverse-muted); }
.rdi-foot__cols { max-width: 1280px; margin: 0 auto; padding: 48px var(--gutter); box-sizing: content-box; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.rdi-foot__cols > img { grid-column: 1 / -1; width: 240px; max-width: 100%; height: auto; }
.rdi-foot h2 { margin: 0 0 12px; color: var(--on-inverse) !important; font-family: var(--font-text) !important; }
.rdi-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rdi-foot p { margin: 0; }
.rdi-foot__legal { border-top: 1px solid var(--border-inverse); padding: 20px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; font-size: 12px; }

/* ---------- Accueil ---------- */
.rdi-hero { padding: 72px max(16px, 5vw); }
.rdi-hero__in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.rdi-hero__txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.rdi-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(56px, 8vw, 120px); line-height: 1.06; letter-spacing: -0.01em; color: var(--on-inverse); }
.rdi-hero p { margin: 0; max-width: 460px; font-size: 17px; line-height: 28px; color: var(--on-inverse-muted) !important; }
.rdi-hero .rdi-btn:not(.rdi-btn--on-inverse) { border-color: var(--on-inverse); }
.rdi-hero__tiles { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 600px; }
.rdi-leaf { position: relative; display: block; aspect-ratio: 1; border-radius: 48px 12px; overflow: hidden; text-decoration: none; background: #000; }
.rdi-leaf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-leaf:hover img { transform: scale(1.04); }
.rdi-leaf .rdi-label { position: absolute; left: 10px; bottom: 10px; background: var(--surface); border-radius: 999px; color: var(--ink-strong); padding: 5px 9px; font-size: 12px; }
.rdi-rayons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rdi-rayon { position: relative; aspect-ratio: 1; border-radius: 48px 12px; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--on-inverse) !important; overflow: hidden; scroll-snap-align: start; }
.rdi-rayon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-rayon:hover img { transform: scale(1.05); }
.rdi-rayon::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.rdi-rayon b { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 24px; line-height: 28px; text-align: center; padding: 0 8px; }
.rdi-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rdi-split > * { min-width: 0; }
.rdi-stack { display: flex; flex-direction: column; gap: 18px; }
.rdi-recipes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 16px; }
.rdi-recipe { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rdi-recipe h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 32px; color: var(--ink-strong); }
.rdi-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.rdi-tags a, .rdi-tags span.rdi-tag { color: var(--ink-strong); border: 1px solid var(--border); padding: 2px 10px; border-radius: 999px; text-decoration: none; }
.rdi-banner { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--on-inverse); }
.rdi-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rdi-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); z-index: 1; }
.rdi-banner__in { position: relative; z-index: 2; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; width: 100%; box-sizing: border-box; }
.rdi-banner .rdi-quote { color: var(--on-inverse); }

/* ---------- Cartes produit ---------- */
.rdi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 42vw), 1fr)); gap: 40px 12px; margin: 0; padding: 0; list-style: none; }
.rdi-grid--fit { grid-template-columns: repeat(auto-fit, minmax(min(240px, 42vw), 1fr)); gap: 32px 12px; }
.rdi-pcard { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rdi-pcard__img { position: relative; aspect-ratio: 1; border-radius: 16px; background: var(--surface-muted); margin-bottom: 14px; display: block; overflow: hidden; }
.rdi-pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-pcard:hover .rdi-pcard__img img { transform: scale(1.04); }
.rdi-pcard__name { margin: 0; font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 22px !important; line-height: 26px !important; color: var(--ink-strong); }
.rdi-pcard__name a { color: inherit !important; text-decoration: none; }
.rdi-pcard__line { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.rdi-pcard__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.rdi-pcard__price { font-variant-numeric: tabular-nums; }
.rdi-pcard__price .woocommerce-Price-amount, .rdi-pcard__price > b { color: var(--ink-strong); font-weight: 700; }
.rdi-pcard__price .rdi-price-unit, .rdi-pcard__price .rdi-price-from { font-size: 13px; color: var(--ink-muted); white-space: nowrap; font-weight: 400; }
.rdi-pcard .rdi-icon-btn { text-decoration: none; }
.rdi-pcard .rdi-icon-btn.loading { opacity: .5; }
.rdi-pcard .rdi-icon-btn.added::after { display: none; }
.rdi-pcard .added_to_cart { display: none !important; }
.rdi-avail { font-size: 12px; color: var(--ink); }

/* ---------- Boutique et rayons ---------- */
.rdi-crumbs-bar { padding: 16px var(--gutter); }
.rdi-crumbs-bar--line { border-bottom: 1px solid var(--border); }
.rdi-cat-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 56px 0 40px; }
.rdi-cat-head p { margin: 0; max-width: 620px; font-size: 16px; line-height: 27px; }
.rdi-subtabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.rdi-subtab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 160px; height: 96px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-muted); color: var(--ink-strong) !important; text-decoration: none; text-align: center; padding: 0 8px; box-sizing: border-box; transition: background .3s, color .3s, border-color .3s; }
.rdi-subtab:hover { border-color: #000; }
.rdi-subtab[aria-current="page"] { background: #000; border-color: #000; color: #fff !important; }
.rdi-subtab small { font-size: 12px; opacity: .7; }
.rdi-tiles8 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 4px; }
.rdi-tile8 { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 48px 12px; background: #000; display: block; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .35s var(--ease-rdi); text-decoration: none; }
.rdi-tile8 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-tile8:hover img { transform: scale(1.05); }
.rdi-tile8::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.18) 70%); }
.rdi-tile8 span { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 1; padding: 0 12px; text-align: center; color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; line-height: 24px; }
.rdi-tile8[aria-current="page"] { outline-color: #000; }
.rdi-tile8 .rdi-ph { background-size: 160% auto; }
@media (max-width: 900px) { .rdi-tiles8 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; } .rdi-tile8 { scroll-snap-align: start; } }
.rdi-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0 32px; }
.rdi-toolbar .rdi-count { font-size: 13px; color: var(--ink-muted); }
.rdi-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.rdi-toolbar select, .rdi-sort select { font: inherit; font-size: 13px; border: 0; border-bottom: 1px solid #000; background: transparent; padding: 4px 0; color: #000; border-radius: 0; }
.rdi-chip { text-decoration: none; display: inline-flex; align-items: center; }
a.rdi-chip { color: var(--ink-strong) !important; }
a.rdi-chip[aria-pressed="true"] { color: var(--on-inverse) !important; }
.rdi-more-filters { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #000; background: #fff; color: #000; border-radius: 999px; padding: 9px 18px; font: 500 13px/18px var(--font-text); cursor: pointer; transition: background .3s, color .3s; }
.rdi-more-filters:hover, .rdi-more-filters[aria-expanded="true"] { background: #000; color: #fff; }
.rdi-more-filters svg { width: 14px; height: 14px; fill: currentColor; }
.rdi-panel { margin-top: 16px; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: #fff; }
.rdi-panel[hidden] { display: none; }
.rdi-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 32px; background: #000 url("../img/filigrane.webp") center 40% / cover; color: #fff; }
.rdi-panel__head h2 { margin: 0; color: #fff !important; font-style: italic; font-size: 26px; }
.rdi-panel__head .rdi-icon-btn { background: #fff; border-color: #fff; }
.rdi-panel__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 32px; padding: 28px 32px; }
.rdi-panel__col h3 { margin: 0 0 10px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; line-height: 26px; color: #000; }
.rdi-panel__list { display: flex; flex-direction: column; gap: 2px; max-height: 232px; overflow-y: auto; padding-right: 4px; }
.rdi-opt { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; line-height: 20px; cursor: pointer; color: var(--ink-strong); }
.rdi-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rdi-box { flex: none; width: 18px; height: 18px; border: 1px solid #69727d; border-radius: 5px; display: grid; place-items: center; transition: background .2s, border-color .2s; box-sizing: border-box; }
.rdi-box svg { width: 12px; height: 12px; fill: #fff; opacity: 0; }
.rdi-opt input:checked + .rdi-box { background: #000; border-color: #000; }
.rdi-opt input:checked + .rdi-box svg { opacity: 1; }
.rdi-opt input[type="radio"] + .rdi-box { border-radius: 50%; }
.rdi-opt input:focus-visible + .rdi-box { outline: 2px solid #000; outline-offset: 2px; }
.rdi-opt:hover .rdi-box { border-color: #000; }
.rdi-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 32px 20px; border-top: 1px solid var(--border); }
.rdi-x { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--surface-muted); color: #000 !important; border-radius: 999px; padding: 6px 12px 6px 14px; font: 13px/18px var(--font-text); text-decoration: none; }
.rdi-x:hover { background: #e9e9e9; }
@media (max-width: 700px) {
  .rdi-panel { position: fixed; inset: 0; z-index: 90; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; }
  .rdi-panel form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .rdi-panel__cols { flex: 1; overflow-y: auto; grid-template-columns: 1fr; gap: 0; padding: 8px 20px; }
  .rdi-panel__col { border-bottom: 1px solid var(--border); padding: 18px 0; }
  .rdi-panel__list { max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .rdi-panel__head { padding: 16px 16px 16px 20px; }
  .rdi-panel__foot { padding: 14px 20px 20px; }
}
.rdi-pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 56px; }
.rdi-pager .page-numbers { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.rdi-pager .page-numbers a, .rdi-pager .page-numbers span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; box-sizing: border-box; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; font-size: 14px; color: #000; }
.rdi-pager .page-numbers .current { background: #000; color: #fff; border-color: #000; }
.rdi-note { margin: 48px 0 0; font-size: 13px; color: var(--ink-muted); text-align: center; }
.rdi-guide { border-top: 1px solid var(--border); max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter); box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.rdi-guide h2 { margin: 0; flex: 1 1 280px; font-size: 36px; line-height: 42px; }
.rdi-guide__txt { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; font-size: 14px; line-height: 22px; }
.rdi-guide__txt p { margin: 0; }
.rdi-empty { text-align: center; padding: 48px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* ---------- Fiche produit ---------- */
.rdi-product { display: flex; flex-wrap: wrap; align-items: flex-start; }
.rdi-product__media { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rdi-product__media .rdi-media { aspect-ratio: 1; }
.rdi-product__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.rdi-product__thumbs > div { aspect-ratio: 1; border-radius: 16px; background: var(--surface-muted); display: flex; align-items: flex-end; padding: 10px; box-sizing: border-box; color: var(--ink-muted); font-size: 12px; line-height: 16px; }
.rdi-product__buy { flex: 1 1 420px; min-width: 0; box-sizing: border-box; padding: 48px max(16px, 5vw) 56px; display: flex; flex-direction: column; gap: 28px; }
.rdi-product__buy h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.01em; color: var(--ink-strong); text-wrap: balance; }
.rdi-product__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.rdi-product__buy form.cart { margin: 0 !important; display: flex; flex-direction: column; gap: 28px; }
.rdi-product__buy table.variations { display: none; }
.rdi-formats legend { padding: 0; margin-bottom: 12px; color: var(--ink-strong); }
.rdi-formats fieldset { border: 0; margin: 0; padding: 0; }
.rdi-formats__list { display: flex; gap: 8px; flex-wrap: wrap; }
.rdi-fmt { min-width: 96px; height: 44px; padding: 0 20px; font: 600 14px/1 var(--font-text); cursor: pointer; border-radius: 999px; border: 1px solid var(--border-input); background: var(--surface); color: var(--ink-strong); font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.rdi-fmt:hover { border-color: #000; }
.rdi-fmt[aria-pressed="true"] { background: #000; border-color: #000; color: #fff; }
.rdi-fmt:disabled { opacity: .4; cursor: not-allowed; }
.rdi-buyrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; width: 100%; }
.rdi-product__buy form.cart { align-items: stretch; width: 100%; }
.rdi-product__buy .single_variation_wrap { display: flex; flex-direction: column; gap: 12px; }
.rdi-product__buy .woocommerce-variation-price, .rdi-product__buy .woocommerce-variation-availability { display: none; }
.rdi-qty { display: flex; align-items: center; border-bottom: 1px solid #000; height: 48px; }
.rdi-qty button { width: 44px; height: 46px; border: 0; background: transparent; font-size: 18px; cursor: pointer; color: #000; }
.rdi-qty .quantity { margin: 0 !important; float: none !important; }
.rdi-qty input.qty { width: 40px !important; min-width: 32px; text-align: center; font-weight: 600 !important; color: #000 !important; border: 0 !important; background: transparent !important; padding: 0 !important; font-size: 15px !important; -moz-appearance: textfield; box-shadow: none !important; }
.rdi-qty input.qty::-webkit-inner-spin-button, .rdi-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rdi-product__buy button.single_add_to_cart_button { flex: 1 1 220px; height: 48px; gap: 12px; float: none !important; margin: 0 !important; }
.rdi-product__buy button.single_add_to_cart_button.disabled { opacity: 1; background: #000 !important; }
.rdi-product__buy button.single_add_to_cart_button .rdi-total { letter-spacing: 0; font-size: 14px; font-variant-numeric: tabular-nums; text-transform: none; }
.rdi-product__buy .reset_variations { display: none !important; }
.rdi-prix-provisoire { margin: -12px 0 0 !important; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.rdi-avail-line { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--ink-strong); }
.rdi-desc { display: flex; flex-direction: column; gap: 12px; }
.rdi-desc h2 { margin: 0; font-family: var(--font-text) !important; color: var(--ink-strong); }
.rdi-desc__txt { font-size: 16px; line-height: 27px; }
.rdi-desc__txt p { margin: 0 0 12px; }
.rdi-acc { border-top: 1px solid var(--border); }
.rdi-acc details { border-bottom: 1px solid var(--border); }
.rdi-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; color: var(--ink-strong); }
.rdi-acc summary::-webkit-details-marker { display: none; }
.rdi-acc summary span { transition: transform .2s; font-size: 16px; letter-spacing: 0; }
.rdi-acc details[open] summary span { transform: rotate(90deg); }
.rdi-acc dl { margin: 0 0 20px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 14px; line-height: 22px; }
.rdi-acc dt { color: var(--ink-muted); }
.rdi-acc dd { margin: 0; color: var(--ink-strong); }
.rdi-acc details > p, .rdi-acc details > div { margin: 0 0 20px; font-size: 14px; line-height: 22px; }
.rdi-heat { display: flex; align-items: center; gap: 5px; }
.rdi-heat i { width: 16px; height: 5px; background: var(--border); }
.rdi-heat i.on { background: #000; }
.rdi-allerg { padding: 12px 14px; font-size: 13px; line-height: 20px; color: var(--danger-ink); border: 1px dashed var(--danger); }
.rdi-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.rdi-uses article { display: flex; flex-direction: column; gap: 12px; }
.rdi-uses h3 { margin: 4px 0 0; font-family: var(--font-text) !important; color: var(--ink-strong); }
.rdi-uses p { margin: 0; font-size: 14px; line-height: 22px; }
.rdi-brand { padding: 88px var(--gutter); }
.rdi-brand__in { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.woocommerce-notices-wrapper:empty { display: none; }
body.rdi .woocommerce-message, body.rdi .woocommerce-info, body.rdi .woocommerce-error { background: var(--surface-muted); color: #000; border: 0; border-radius: 16px; padding: 16px 20px 16px 52px; font-size: 14px; margin: 0 0 24px; list-style: none; }
body.rdi .woocommerce-message::before, body.rdi .woocommerce-info::before { color: #000; top: 16px; }
body.rdi .woocommerce-error { color: var(--danger-ink); }
body.rdi .woocommerce-message .button, body.rdi .woocommerce-info .button { float: right; }


/* ---------- Fiche produit en modules WooCommerce de Divi (Theme Builder) ---------- */
.rdi-wc-crumbs-sec { border-bottom: 1px solid var(--border); }
.rdi-wc-crumbs a { color: var(--ink-muted) !important; }
.rdi-wc-main > .et_pb_column:last-child { padding: 48px max(16px, 5vw) 56px; box-sizing: border-box; }
.rdi-wc-images .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.rdi-wc-images .woocommerce-product-gallery__image img, .rdi-wc-images img.wp-post-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--surface-muted); }
.rdi-wc-images .flex-control-thumbs, .rdi-wc-images .woocommerce-product-gallery__trigger { display: none !important; }
.rdi-wc-cart form.cart { display: flex; flex-direction: column; gap: 28px; margin: 0 !important; }
.rdi-wc-cart form.cart:not(.variations_form), .rdi-wc-cart .woocommerce-variation-add-to-cart { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
.rdi-wc-cart table.variations, .rdi-wc-cart .reset_variations, .rdi-wc-cart .woocommerce-variation-price, .rdi-wc-cart .woocommerce-variation-availability, .rdi-wc-cart .woocommerce-variation-description { display: none !important; }
.rdi-wc-cart .single_variation_wrap { display: flex; flex-direction: column; gap: 12px; }
.rdi-wc-cart .quantity { margin: 0 !important; float: none !important; }
.rdi-wc-cart .rdi-qty input.qty { width: 40px !important; }
.rdi-wc-cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 48px; justify-content: center; display: inline-flex !important; align-items: center; gap: 12px; margin: 0 !important; float: none !important; }
.rdi-wc-cart .single_add_to_cart_button.disabled { opacity: 1 !important; }
.rdi-wc-cart .rdi-total { letter-spacing: 0; font-size: 14px; font-variant-numeric: tabular-nums; text-transform: none; }
.rdi-wc-cart .rdi-prix-provisoire { margin: 12px 0 0 !important; }
.et_pb_text .rdi-prix-provisoire { margin: 0 !important; }
.rdi-wc-toggle .et_pb_toggle_title { padding-right: 32px; }
.rdi-wc-toggle .et_pb_toggle_content { padding-top: 14px !important; }
.rdi-dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 14px; line-height: 22px; }
.rdi-dl dt { color: var(--ink-muted); }
.rdi-dl dd { margin: 0; color: #000; }
.rdi-wc-related ul.products, .rdi-wc-shop ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 12px; margin: 0 !important; padding: 0 !important; }
.rdi-wc-related ul.products::before, .rdi-wc-related ul.products::after, .rdi-wc-shop ul.products::before, .rdi-wc-shop ul.products::after { display: none !important; }
.rdi-wc-related ul.products li.product, .rdi-wc-shop ul.products li.product { position: relative; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.rdi-wc-related li.product a img, .rdi-wc-shop li.product a img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--surface-muted); margin: 0 0 14px !important; transition: transform .6s var(--ease-rdi); }
.rdi-wc-related li.product .et_shop_image, .rdi-wc-shop li.product .et_shop_image { display: block; overflow: hidden; border-radius: 16px; margin-bottom: 14px; }
.rdi-wc-related li.product .et_shop_image img, .rdi-wc-shop li.product .et_shop_image img { margin: 0 !important; }
.rdi-wc-shop li.product:hover a img { transform: scale(1.04); }
.rdi-wc-related li.product .woocommerce-loop-product__title, .rdi-wc-shop li.product .woocommerce-loop-product__title { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 22px !important; line-height: 26px !important; color: #000 !important; padding: 0 !important; margin: 0 !important; }
.rdi-wc-related li.product .rdi-pcard__line, .rdi-wc-shop li.product .rdi-pcard__line { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdi-wc-related li.product .price, .rdi-wc-shop li.product .price { color: #000 !important; font-size: 15px !important; margin: 4px 0 0 !important; padding-right: 52px; min-height: 40px; display: flex !important; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.rdi-wc-related li.product .price .woocommerce-Price-amount, .rdi-wc-shop li.product .price .woocommerce-Price-amount { font-weight: 700; }
.rdi-loop-add { position: absolute !important; right: 0; bottom: 0; }
.rdi-wc-related section.related > h2, .rdi-wc-related li.product .button, .rdi-wc-shop li.product .button, .rdi-wc-related .star-rating, .rdi-wc-shop .star-rating, .rdi-wc-related .et_overlay, .rdi-wc-shop .et_overlay, .rdi-wc-shop .onsale { display: none !important; }
.rdi-wc-shop .woocommerce-pagination { margin-top: 56px; text-align: center; }
.rdi-wc-shop .woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 6px; }
.rdi-wc-shop .woocommerce-pagination ul li { border: 0 !important; }
.rdi-wc-shop .woocommerce-pagination ul li a, .rdi-wc-shop .woocommerce-pagination ul li span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px !important; border-radius: 999px; border: 1px solid var(--border) !important; font-size: 14px; color: #000; }
.rdi-wc-shop .woocommerce-pagination ul li span.current { background: #000; color: #fff; border-color: #000 !important; }
.rdi-wc-shop .woocommerce-info { text-align: center; }
.rdi-tile8-blurb { margin: 0 !important; }
.rdi-tile8-blurb .et_pb_blurb_content { position: relative; max-width: none; }
.rdi-tile8-blurb .et_pb_main_blurb_image { margin: 0 !important; width: 100%; }
.rdi-tile8-blurb .et_pb_image_wrap { display: block; width: 100%; aspect-ratio: 1; border-radius: 48px 12px; overflow: hidden; background: #000 url("../img/filigrane.webp") center / 160% auto; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .35s var(--ease-rdi); }
.rdi-tile8-blurb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rdi); }
.rdi-tile8-blurb:hover img { transform: scale(1.05); }
.rdi-tile8-blurb .et_pb_image_wrap::after { content: ""; position: absolute; inset: 0; border-radius: 48px 12px; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.18) 70%); pointer-events: none; }
.rdi-tile8-blurb .et_pb_blurb_container { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 1; padding: 0 8px !important; text-align: center; pointer-events: none; }
.rdi-tile8-blurb .et_pb_module_header { padding: 0 !important; }
.rdi-tile8-blurb .et_pb_module_header a { color: #fff !important; }
.rdi-tile8-blurb.is-current .et_pb_image_wrap { outline-color: #000; }
.rdi-tiles8-row .et_pb_column { margin-bottom: 0 !important; display: grid !important; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 4px; }
@media (max-width: 980px) { .rdi-wc-related ul.products, .rdi-wc-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rdi-tiles8-row .et_pb_column { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scroll-snap-type: x mandatory; } .rdi-tile8-blurb { scroll-snap-align: start; } .rdi-wc-main > .et_pb_column:last-child { padding: 32px 16px 40px; } }

/* ---------- Boutons WooCommerce aux couleurs du site ---------- */
body.rdi .woocommerce a.button, body.rdi .woocommerce button.button, body.rdi .woocommerce input.button, body.rdi a.button, body.rdi button.button, body.rdi .woocommerce #respond input#submit, body.rdi .wc-proceed-to-checkout a.checkout-button, body.rdi #place_order {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 12px/16px var(--font-text) !important; letter-spacing: .14em; text-transform: uppercase; padding: 14px 30px !important; border-radius: 999px !important; border: 1px solid #000 !important; background: #000 !important; color: #fff !important; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
body.rdi .woocommerce a.button:hover, body.rdi .woocommerce button.button:hover, body.rdi a.button:hover, body.rdi button.button:hover, body.rdi #place_order:hover, body.rdi .wc-proceed-to-checkout a.checkout-button:hover { background: #fff !important; color: #000 !important; }
body.rdi .woocommerce a.button::after, body.rdi .woocommerce button.button::after, body.rdi a.button::after, body.rdi button.button::after { display: none !important; }

/* ---------- Panier, commande, compte ---------- */
.rdi-steps { display: flex; gap: 8px 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.rdi-steps li { display: flex; align-items: center; gap: 8px; }
.rdi-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); font-weight: 600; font-size: 12px; }
.rdi-steps [aria-current] { color: #000; }
.rdi-steps [aria-current] b { background: #000; border-color: #000; color: #fff; }
.rdi-steps .done b { border-color: #000; color: #000; }
.rdi-cart { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; margin-top: 32px; }
.rdi-cart__items { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; }
.rdi-it { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border); }
.rdi-it:first-child { border-top: 1px solid var(--border); }
.rdi-it .rdi-media { width: 96px; aspect-ratio: 1; }
.rdi-it__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rdi-it__name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 26px; color: #000; text-decoration: none; }
.rdi-it__ctl { display: flex; align-items: center; gap: 20px; }
.rdi-it__tot { min-width: 72px; text-align: right; font-weight: 600; color: #000; }
.rdi-pill-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-input); border-radius: 999px; height: 40px; }
.rdi-pill-qty button { width: 36px; height: 38px; border: 0; background: none; cursor: pointer; font: 500 16px/1 var(--font-text); color: #000; border-radius: 999px; }
.rdi-pill-qty button:hover { background: var(--surface-muted); }
.rdi-pill-qty .quantity { margin: 0 !important; }
.rdi-pill-qty input.qty { width: 28px !important; text-align: center; border: 0 !important; background: transparent !important; font: 500 14px/1 var(--font-text) !important; padding: 0 !important; color: #000 !important; -moz-appearance: textfield; box-shadow: none !important; }
.rdi-pill-qty input.qty::-webkit-inner-spin-button, .rdi-pill-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rdi-mini .rdi-pill-qty { height: 32px; }
.rdi-mini .rdi-pill-qty button { width: 30px; height: 30px; font-size: 14px; }
.rdi-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--ink-strong) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rdi-sum { flex: 0 1 400px; min-width: min(100%, 320px); padding: 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.rdi-sum .rdi-row { font-size: 15px; }
.rdi-sum hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
.rdi-sum .rdi-total-row { font-size: 18px; color: #000; }
.rdi-sum .rdi-total-row b { font-size: 20px; }
.rdi-coupon { display: flex; gap: 8px; }
.rdi-inp, body.rdi .woocommerce form .form-row input.input-text, body.rdi .woocommerce form .form-row textarea, body.rdi .woocommerce form .form-row select, body.rdi .select2-container .select2-selection--single { height: 48px; padding: 0 20px; border: 1px solid var(--border-input) !important; border-radius: 999px !important; font: inherit; font-size: 15px; color: #000; background: #fff; box-sizing: border-box; width: 100%; min-width: 0; box-shadow: none; }
body.rdi .woocommerce form .form-row textarea { height: auto; min-height: 96px; border-radius: 16px !important; padding: 14px 20px; }
body.rdi .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0; color: #000; }
body.rdi .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 14px; }
.rdi-inp:focus, body.rdi .woocommerce form .form-row input.input-text:focus { outline: 2px solid #000; outline-offset: 1px; }
body.rdi .woocommerce form .form-row label { font-size: 13px; line-height: 18px; color: #000; font-weight: 500; margin-bottom: 6px; }
body.rdi .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
body.rdi .woocommerce form .form-row .description, body.rdi .rdi-help { font-size: 13px; line-height: 20px; color: var(--ink-muted); display: block !important; position: static !important; background: none !important; padding: 4px 0 0 !important; }
body.rdi .woocommerce form .form-row .description::before { display: none; }
.rdi-xs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 42vw), 1fr)); gap: 40px 16px; margin-top: 28px; }
@media (max-width: 640px) { .rdi-it { grid-template-columns: 72px minmax(0, 1fr); } .rdi-it .rdi-media { width: 72px; } .rdi-it__ctl { grid-column: 2; justify-content: space-between; } .rdi-sum { padding: 24px; position: static; } }

/* Commande */
.rdi-co { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; margin-top: 32px; }
.rdi-co__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.rdi-co__sec { display: flex; flex-direction: column; gap: 16px; }
.rdi-co__sec > h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 28px; line-height: 34px; }
.rdi-co__sec > h2 b { font-family: var(--font-text); font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.rdi-co__aside { flex: 0 1 420px; min-width: min(100%, 320px); box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.rdi-co__aside h2 { margin: 0; font-size: 28px; line-height: 34px; }
.rdi-rl { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.rdi-rl .rdi-media { width: 60px; flex: none; aspect-ratio: 1; border-radius: 12px; overflow: visible; }
.rdi-rl .rdi-media img { border-radius: 12px; }
.rdi-qb { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: #000; color: #fff; font: 600 11px/20px var(--font-text); text-align: center; z-index: 1; }
body.rdi .woocommerce-billing-fields h3, body.rdi .woocommerce-shipping-fields h3, body.rdi .woocommerce-additional-fields h3 { display: none; }
body.rdi .woocommerce .col2-set .col-1, body.rdi .woocommerce .col2-set .col-2 { width: 100%; float: none; }
body.rdi .woocommerce-billing-fields__field-wrapper, body.rdi .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
body.rdi .woocommerce form .form-row-wide, body.rdi #billing_address_1_field, body.rdi #billing_address_2_field, body.rdi #shipping_address_1_field, body.rdi #shipping_address_2_field, body.rdi #billing_country_field, body.rdi #shipping_country_field, body.rdi #billing_email_field { grid-column: 1 / -1; }
body.rdi .woocommerce form .form-row-first, body.rdi .woocommerce form .form-row-last { width: auto; float: none; }
body.rdi #ship-to-different-address { font: 500 14px/20px var(--font-text); margin: 16px 0; }
body.rdi .woocommerce-checkout-review-order-table { width: 100%; margin: 0 0 24px; }
body.rdi .woocommerce-checkout-review-order-table thead, body.rdi .woocommerce-checkout-review-order-table .cart_item { display: none; }
body.rdi .woocommerce-checkout-review-order-table th, body.rdi .woocommerce-checkout-review-order-table td { padding: 14px 0 !important; border-bottom: 1px solid var(--border) !important; background: none !important; }
body.rdi .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th { display: none; }
body.rdi .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { width: 100%; }
body.rdi .woocommerce-checkout-review-order-table .order-total th, body.rdi .woocommerce-checkout-review-order-table .order-total td { font-size: 18px; color: #000; }
body.rdi .woocommerce-checkout-review-order-table td { text-align: right; }
body.rdi #shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
body.rdi #shipping_method li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; margin: 0; }
body.rdi #shipping_method li:has(input:checked) { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
body.rdi #shipping_method input { accent-color: #000; margin: 0; }
body.rdi #shipping_method label { margin: 0; flex: 1; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #000; }
body.rdi .woocommerce-checkout #payment { background: transparent; border-radius: 0; }
body.rdi .woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
body.rdi .woocommerce-checkout #payment ul.payment_methods li { border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; list-style: none; }
body.rdi .woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
body.rdi .woocommerce-checkout #payment ul.payment_methods li input { accent-color: #000; }
body.rdi .woocommerce-checkout #payment div.payment_box { background: var(--surface-muted); border-radius: 12px; color: var(--ink); font-size: 14px; }
body.rdi .woocommerce-checkout #payment div.payment_box::before { display: none; }
body.rdi .woocommerce-checkout #payment div.form-row { padding: 16px 0 0; }
body.rdi #place_order { width: 100%; height: 52px; float: none; font-size: 13px !important; }
body.rdi .woocommerce-terms-and-conditions-wrapper { font-size: 14px; }
body.rdi .woocommerce-form__label-for-checkbox input { accent-color: #000; width: 18px; height: 18px; }
@media (max-width: 900px) { .rdi-co__aside { position: static; order: -1; flex-basis: 100%; padding: 20px; } body.rdi .woocommerce-billing-fields__field-wrapper, body.rdi .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; } }

/* Compte */
.rdi-acc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px 56px; margin-top: 40px; align-items: start; }
body.rdi .woocommerce-MyAccount-navigation { width: auto; float: none; }
body.rdi .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 24px; }
body.rdi .woocommerce-MyAccount-navigation a { display: flex; border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; font: 500 14px/20px var(--font-text); color: #000; text-decoration: none; }
body.rdi .woocommerce-MyAccount-navigation a:hover { border-color: var(--border); }
body.rdi .woocommerce-MyAccount-navigation .is-active a { background: #000; color: #fff; }
body.rdi .woocommerce-MyAccount-content { width: auto; float: none; }
body.rdi table.shop_table { border: 0; border-collapse: collapse; font-size: 14px; border-radius: 0; }
body.rdi table.shop_table th { text-align: left; font-weight: 500; color: var(--ink-muted); font-size: 13px; padding: 0 12px 12px 0; border-bottom: 1px solid var(--border); border-top: 0; }
body.rdi table.shop_table td { padding: 16px 12px 16px 0; border-top: 0; border-bottom: 1px solid var(--border); color: #000; vertical-align: middle; }
.rdi-login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 40px; }
.rdi-login > div { padding: 32px; }
body.rdi .woocommerce form.login, body.rdi .woocommerce form.register { border: 0; padding: 0; margin: 0; }
@media (max-width: 860px) { .rdi-acc-grid { grid-template-columns: 1fr; } body.rdi .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; position: static; } body.rdi .woocommerce-MyAccount-navigation a { white-space: nowrap; border-color: var(--border); } }

/* 404 */
.rdi-404 { position: relative; border-radius: 28px; overflow: hidden; color: #fff; padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px); background: #000 url("../img/filigrane.webp") center 40% / cover; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.rdi-404 .rdi-big { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(96px, 14vw, 200px); line-height: .9; color: #fff; }
.rdi-404 h1, .rdi-404 p { color: #fff !important; margin: 0; }
.rdi-404 form { display: flex; gap: 8px; width: min(520px, 100%); }
.rdi-404 input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid #fff; background: rgba(0,0,0,.4); color: #fff; padding: 0 22px; font: inherit; }
.rdi-404 input::placeholder { color: #cfcfcf; }
.rdi-t4s { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 700px) { .rdi-t4s { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contenus éditoriaux (Histoire, Actus, Contact) */
.rdi-prose { max-width: 720px; font-size: 16px; line-height: 27px; }
.rdi-prose p { margin: 0 0 16px; }
.rdi-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 16px; }
.rdi-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rdi-form .rdi-field { max-width: none; }
.rdi-form .rdi-full { grid-column: 1 / -1; }
.rdi-form textarea.rdi-inp { height: auto; min-height: 140px; border-radius: 16px !important; padding: 14px 20px; }
@media (max-width: 640px) { .rdi-form { grid-template-columns: 1fr; } }

/* ---------- Mobile ---------- */
.rdi-mob-only { display: none; }
@media (max-width: 980px) {
  .rdi-mega { display: none !important; }
}
@media (max-width: 760px) {
  .rdi-announce { justify-content: center; text-align: center; }
  .rdi-announce__right { display: none; }
  .rdi-header__bar { padding: 10px 12px; gap: 4px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
  .rdi-header__side { flex: none; gap: 0; }
  .rdi-logo { justify-self: center; width: 100%; max-width: 190px; }
  .rdi-mainnav { display: none; }
  .rdi-mob-only { display: initial; }
  .rdi-icon-btn { width: 44px; height: 44px; }
  .rdi-chip, .rdi-fmt { min-height: 40px; }
  .rdi-sec { padding-top: 72px; }
  .rdi-sec--last { padding-bottom: 72px; }
  .rdi-head { margin-bottom: 24px; }
  .rdi-banner__in { padding: 24px; }
  .rdi-product__buy { padding: 32px 16px 40px; }
  .rdi-hero { padding: 48px 16px 56px; }
}
@media (min-width: 761px) { .rdi-desk-hide { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .rdi-drawer, .rdi-scrim { transition: none; } .rdi-leaf:hover img, .rdi-rayon:hover img, .rdi-tile8:hover img, .rdi-pcard:hover .rdi-pcard__img img { transform: none; } }
