/* ==========================================================================
   Tocef Market — identité 2026 (pétrole, safran, terracotta)
   Chargé après style.css. Toutes les classes commencent par .tm-
   ========================================================================== */

:root {
    --tm-petrol: #0E3B43;
    --tm-petrol-2: #165A66;
    --tm-petrol-soft: #2B6B74;
    --tm-saffron: #F2A33A;
    --tm-saffron-soft: #FDF3E3;
    --tm-terracotta: #C2462E;
    --tm-terracotta-soft: #FBE6E1;
    --tm-green: #2F7D5D;
    --tm-green-soft: #E3F1EB;
    --tm-ink: #102A2F;
    --tm-muted: #52676A;
    --tm-mist: #F1F6F5;
    --tm-line: #DDE6E4;
    --tm-radius: 20px;
    --tm-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tm-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
    --tm-arabic: 'Readex Pro', 'DM Sans', system-ui, sans-serif;
    --primaryColor: #0E3B43;
}

body { font-family: var(--tm-font); color: var(--tm-ink); background: #fff; }
/* Les descriptions produit contiennent parfois leur propre <style> (body, h2, p...) : on protège le thème */
body.tm-body { margin: 0; padding: 0; font-family: var(--tm-font); color: var(--tm-ink); background: #fff; font-size: 16px; line-height: 1.55; direction: ltr; }
.main_wrapper { overflow-x: clip; }
.tm-main { display: block; overflow-x: clip; }
.tm { font-family: var(--tm-font); color: var(--tm-ink); font-size: 16px; line-height: 1.55; }
.tm-h1, .tm-h2, .tm-info h1, .tm-order__title, .tm-shop-head h1, .tm-page h1, .tm-spot__title, .tm-footer__col h2, .tm-band__title {
    text-transform: none; border: 0; padding: 0; background: none; letter-spacing: normal;
}
.tm-h1::after, .tm-h2::after, .tm-info h1::after, .tm-page h1::after, .tm-shop-head h1::after { content: none; }
.tm [hidden], .tm-header [hidden], .tm-badge[hidden] { display: none !important; }
.tm-skip { position: absolute; left: 12px; top: -80px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--tm-petrol); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.tm-skip:focus { top: 12px; }

.tm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.tm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tm-ar { font-family: var(--tm-arabic); }
.tm a:focus-visible, .tm button:focus-visible, .tm input:focus-visible, .tm select:focus-visible, .tm textarea:focus-visible,
.tm-header a:focus-visible, .tm-header button:focus-visible, .tm-footer a:focus-visible {
    outline: 3px solid var(--tm-saffron); outline-offset: 2px;
}

/* ---------- Boutons ---------- */
.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent; font-family: var(--tm-font); font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none !important; cursor: pointer; transition: filter .15s ease, background .15s ease, color .15s ease; }
.tm-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-btn--primary { background: var(--tm-saffron); color: var(--tm-petrol) !important; }
.tm-btn--primary:hover { filter: brightness(.95); }
.tm-btn--outline { background: #fff; border-color: var(--tm-petrol); color: var(--tm-petrol) !important; }
.tm-btn--outline:hover { background: var(--tm-petrol); color: #fff !important; }
.tm-btn--dark { background: var(--tm-petrol); color: #fff !important; }
.tm-btn--dark:hover { background: var(--tm-petrol-2); }
.tm-btn--block { width: 100%; }

/* ---------- Bandeau ---------- */
.tm-announce { background: var(--tm-petrol); color: #fff; font-size: 13.5px; font-weight: 500; }
.tm-announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.tm-announce__item { display: inline-flex; align-items: center; gap: 7px; }
.tm-announce__item svg { width: 16px; height: 16px; fill: none; stroke: var(--tm-saffron); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-announce .tm-ar { color: #FCE2B8; }
.tm-announce__item svg { stroke: currentColor; opacity: .85; }
@media (max-width: 760px) {
    .tm-announce .tm-ar { display: none; }
    .tm-announce__item { display: none; }
    .tm-announce__item.is-on { display: inline-flex; animation: tmFade .35s ease; }
}
@keyframes tmFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- En-tête ---------- */
.tm-header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--tm-line); font-family: var(--tm-font); }
.tm-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.tm-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none !important; }
.tm-logo svg { width: 34px; height: 34px; flex: none; }
.tm-logo__word { font-family: var(--tm-display); font-size: 24px; letter-spacing: -.02em; line-height: 1; color: var(--tm-petrol); font-weight: 800; }
.tm-logo__word span { font-weight: 500; color: var(--tm-petrol-soft); }
.tm-nav { display: flex; align-items: center; gap: 4px; }
.tm-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15.5px; font-weight: 500; color: var(--tm-petrol) !important; text-decoration: none !important; border-bottom: 2.5px solid transparent; }
.tm-nav a:hover { border-bottom-color: var(--tm-line); }
.tm-nav a.is-active { font-weight: 700; border-bottom-color: var(--tm-saffron); }
.tm-header__actions { display: flex; align-items: center; gap: 8px; }
.tm-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--tm-mist); color: var(--tm-petrol) !important; cursor: pointer; }
.tm-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-icon-btn .tm-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--tm-saffron); color: var(--tm-petrol); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.tm-wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--tm-petrol); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.tm-wa-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tm-search { padding: 0 0 14px; }
.tm-search .tm-btn { min-height: 50px; }
.tm-search[hidden] { display: none; }
.tm-search__row { display: flex; gap: 8px; }
.tm-search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1.5px solid #C9D6D4; border-radius: 14px; font-size: 16px; color: var(--tm-ink); }
.tm-mnav { display: none; gap: 8px; overflow-x: auto; padding: 0 0 12px; white-space: nowrap; scrollbar-width: none; }
.tm-mnav::-webkit-scrollbar { display: none; }
.tm-mnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--tm-mist); color: var(--tm-petrol) !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important; }
.tm-mnav a.is-active { background: var(--tm-petrol); color: #fff !important; }
@media (max-width: 1100px) {
    .tm-wa-btn span { display: none; }
    .tm-wa-btn { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 860px) {
    .tm-nav, .tm-wa-btn span { display: none; }
    .tm-wa-btn { width: 44px; padding: 0; justify-content: center; }
    .tm-mnav { display: flex; }
    .tm-logo__word { font-size: 22px; }
}

/* ---------- Titres de section ---------- */
.tm-section { padding: clamp(44px, 6vw, 80px) 0 0; }
.tm-section:last-child { padding-bottom: clamp(44px, 6vw, 80px); }
.tm-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.tm-h1 { margin: 0; font-family: var(--tm-display); font-weight: 800; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -.02em; color: var(--tm-petrol); }
.tm-h2 { margin: 0; font-family: var(--tm-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.01em; color: var(--tm-petrol); }
.tm-sub { margin: 4px 0 0; font-size: 16px; color: var(--tm-muted); }
.tm-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--tm-petrol) !important; text-decoration: none !important; }
.tm-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Accueil : hero ---------- */
.tm-hero { background: var(--tm-mist); border-bottom: 1px solid var(--tm-line); }
.tm-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px); padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.tm-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tm-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--tm-line); font-size: 14px; font-weight: 500; color: var(--tm-petrol); }
.tm-pill__dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: var(--tm-saffron); color: var(--tm-petrol); }
.tm-pill__dot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-hero__lead { margin: 0; max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: var(--tm-muted); }
.tm-hero__ar { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--tm-petrol); text-align: left; }
.tm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.tm-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--tm-muted); }
.tm-checks span { display: inline-flex; align-items: center; gap: 6px; }
.tm-checks svg { width: 16px; height: 16px; fill: none; stroke: var(--tm-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tm-bento { flex: 1 1 440px; min-width: 0; height: clamp(380px, 40vw, 520px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tm-bento a { position: relative; display: block; overflow: hidden; background: #fff; border: 1px solid var(--tm-line); border-radius: 24px; text-decoration: none !important; color: var(--tm-ink) !important; transition: transform .2s ease, box-shadow .2s ease; }
.tm-bento a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 59, 67, .12); }
.tm-bento a:first-child { grid-row: span 2; }
.tm-bento img { width: 100%; height: 100%; object-fit: cover; }
.tm-bento__tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .94); border: 1px solid var(--tm-line); font-size: 14px; font-weight: 600; }
.tm-bento__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-bento__tag strong { flex: none; font-family: var(--tm-display); font-size: 17px; color: var(--tm-petrol); }
.tm-bento a:not(:first-child) .tm-bento__tag span { display: none; }
.tm-bento a:not(:first-child) .tm-bento__tag { left: 10px; right: auto; bottom: 10px; padding: 5px 12px; border-radius: 999px; }

/* ---------- Bande de confiance ---------- */
.tm-trust { border-bottom: 1px solid var(--tm-line); }
.tm-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.tm-trust__item { display: flex; gap: 14px; align-items: flex-start; }
.tm-trust__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tm-mist); color: var(--tm-petrol); }
.tm-trust__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tm-trust__item strong { display: block; font-size: 16px; color: var(--tm-petrol); }
.tm-trust__item .tm-ar { display: block; font-size: 14px; color: var(--tm-petrol); text-align: left; }
.tm-trust__item small { display: block; font-size: 14px; color: var(--tm-muted); }
@media (max-width: 960px) { .tm-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .tm-trust__item { flex-direction: column; gap: 8px; }
    .tm-trust__item small { display: none; }
}

/* ---------- Catégories ---------- */
.tm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.tm-cat { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--tm-mist); text-decoration: none !important; color: var(--tm-ink) !important; transition: transform .2s ease, box-shadow .2s ease; }
.tm-cat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 59, 67, .12); }
.tm-cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.tm-cat span { padding: 14px 16px 16px; }
.tm-cat strong { display: block; font-size: 16px; color: var(--tm-petrol); }
.tm-cat small { display: block; font-size: 14px; color: var(--tm-muted); }

/* ---------- Cartes produit ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tm-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .tm-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tm-grid, .tm-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tm-grid, .tm-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tm-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--tm-line); border-radius: 18px; text-decoration: none !important; color: var(--tm-ink) !important; transition: transform .2s ease, box-shadow .2s ease; }
.tm-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 59, 67, .12); }
.tm-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; }
.tm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tm-card__off { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--tm-terracotta); color: #fff; font-size: 13px; font-weight: 700; }
.tm-card__body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.tm-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tm-petrol-soft); }
.tm-card__name { font-size: 15.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.tm-card__price { font-family: var(--tm-display); font-weight: 800; font-size: 20px; color: var(--tm-petrol); }
.tm-card__was { font-size: 13.5px; color: var(--tm-muted); text-decoration: line-through; }
.tm-card__cta { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; border-radius: 12px; background: var(--tm-saffron); color: var(--tm-petrol); font-weight: 700; font-size: 15px; }

/* ---------- Produit vedette ---------- */
.tm-spot { display: flex; flex-wrap: wrap; align-items: stretch; overflow: hidden; border-radius: 28px; background: var(--tm-petrol); color: #fff; }
.tm-spot__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4.5vw, 60px); }
.tm-spot__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--tm-saffron); color: var(--tm-petrol); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tm-spot__title { margin: 0; font-family: var(--tm-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; color: #fff; }
.tm-spot__desc { margin: 0; max-width: 520px; font-size: 17px; color: #D5E3E1; }
.tm-spot__price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tm-spot__price strong { font-family: var(--tm-display); font-size: 34px; color: #fff; }
.tm-spot__price del { font-size: 17px; color: #B9CFCC; }
.tm-spot__media { flex: 1 1 420px; min-width: 0; min-height: 360px; display: flex; align-items: center; justify-content: center; background: #fff; }
.tm-spot__media img { width: 100%; max-width: 480px; height: auto; padding: 28px; }

/* ---------- Étapes ---------- */
.tm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tm-step { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--tm-mist); }
.tm-step__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--tm-saffron); color: var(--tm-petrol); font-family: var(--tm-display); font-weight: 800; font-size: 19px; }
.tm-step strong { font-size: 18px; color: var(--tm-petrol); }
.tm-step span { font-size: 15px; color: var(--tm-muted); }
.tm-step .tm-ar { font-size: 14px; color: var(--tm-petrol); text-align: left; }

/* ---------- FAQ ---------- */
.tm-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.tm-faq details { border: 1px solid var(--tm-line); border-radius: 16px; background: #fff; overflow: hidden; }
.tm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 18px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; color: var(--tm-petrol); }
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::after { content: '+'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--tm-mist); font-size: 20px; line-height: 1; }
.tm-faq details[open] summary::after { content: '−'; }
.tm-faq details p { margin: 0; padding: 0 18px 18px; font-size: 16px; color: var(--tm-muted); }

/* ---------- Bande WhatsApp ---------- */
.tm-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--tm-saffron-soft); }
.tm-band strong { display: block; font-family: var(--tm-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: var(--tm-petrol); }
.tm-band span { display: block; font-size: 16px; color: var(--tm-muted); }
.tm-band .tm-ar { color: var(--tm-petrol); text-align: left; }

/* ---------- Boutique ---------- */
.tm-shop-head { background: var(--tm-mist); border-bottom: 1px solid var(--tm-line); }
.tm-shop-head__inner { display: flex; flex-direction: column; gap: 18px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.tm-shop-head h1 { margin: 0; font-family: var(--tm-display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.02em; color: var(--tm-petrol); }
.tm-shop-search { display: flex; gap: 8px; max-width: 640px; }
.tm-shop-search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1.5px solid #C9D6D4; border-radius: 14px; font-size: 16px; background: #fff; }
.tm-shop-search { flex-wrap: wrap; }
.tm-shop-search input { flex: 1 1 260px; }
.tm-select { min-height: 50px; padding: 0 40px 0 14px; border: 1.5px solid #C9D6D4; border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E3B43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font-family: var(--tm-font); font-size: 16px; color: var(--tm-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.tm-shop-head .tm-crumbs { padding: 0; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #C9D6D4; background: #fff; color: var(--tm-petrol) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.tm-chip small { font-size: 13px; font-weight: 700; opacity: .75; }
.tm-chip.is-active { background: var(--tm-petrol); border-color: var(--tm-petrol); color: #fff !important; }
.tm-results { margin: 0 0 16px; font-size: 15px; color: var(--tm-muted); }
.tm-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 20px; border-radius: 24px; background: var(--tm-mist); text-align: center; }
.tm-empty strong { font-family: var(--tm-display); font-size: 24px; color: var(--tm-petrol); }
.tm-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.tm-pagination a, .tm-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--tm-line); color: var(--tm-petrol) !important; font-weight: 700; text-decoration: none !important; }
.tm-pagination .is-current { background: var(--tm-petrol); border-color: var(--tm-petrol); color: #fff !important; }
.tm-pagination .is-disabled { opacity: .45; }

/* ---------- Page produit ---------- */
.tm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 0 0; font-size: 14px; color: var(--tm-muted); }
.tm-crumbs a { color: var(--tm-muted) !important; text-decoration: none !important; }
.tm-crumbs strong { color: var(--tm-petrol); font-weight: 600; }
.tm-product { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 4vw, 56px); padding: 16px 0 0; }
.tm-gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 992px) { .tm-gallery { position: sticky; top: 96px; } }
.tm-gallery__main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--tm-line); border-radius: 24px; background: #fff; }
.tm-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.tm-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.tm-gallery__thumbs button { flex: none; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 2px solid var(--tm-line); border-radius: 14px; background: #fff; cursor: pointer; }
.tm-gallery__thumbs button.is-active { border-color: var(--tm-petrol); }
.tm-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tm-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tm-info__cat { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tm-petrol-soft); }
.tm-info h1 { margin: 0; font-family: var(--tm-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.015em; color: var(--tm-petrol); }
.tm-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tm-price strong { font-family: var(--tm-display); font-size: 38px; line-height: 1; color: var(--tm-petrol); }
.tm-price del { font-size: 19px; color: var(--tm-muted); }
.tm-price__save { padding: 4px 10px; border-radius: 999px; background: var(--tm-terracotta-soft); color: #A63A25; font-size: 14px; font-weight: 700; }
.tm-order { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--tm-mist); scroll-margin-top: 110px; }
.tm-order__title { margin: 0; font-family: var(--tm-display); font-size: 23px; line-height: 1.2; color: var(--tm-petrol); }
.tm-order__title + .tm-ar { margin-top: -10px; font-size: 16px; color: var(--tm-petrol); text-align: left; }
.tm-offers { display: grid; gap: 10px; }
.tm-offer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 72px; padding: 12px 16px; border: 2px solid var(--tm-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font-family: var(--tm-font); color: var(--tm-ink); }
.tm-offer.selected { border-color: var(--tm-petrol); }
.tm-offer__left { display: flex; align-items: center; gap: 12px; }
.tm-offer__radio { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid #9FB3B1; border-radius: 999px; }
.tm-offer.selected .tm-offer__radio { border-color: var(--tm-petrol); }
.tm-offer.selected .tm-offer__radio::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--tm-saffron); }
.tm-offer img { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 10px; border: 1px solid var(--tm-line); }
.tm-offer__title { display: block; font-size: 17px; font-weight: 700; color: var(--tm-petrol); }
.tm-offer__sub { display: block; font-size: 13.5px; color: var(--tm-muted); }
.tm-offer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.tm-offer__price { font-family: var(--tm-display); font-size: 21px; font-weight: 800; color: var(--tm-petrol); white-space: nowrap; }
.tm-offer__tag { font-size: 12.5px; font-weight: 700; color: var(--tm-green); }
.tm-offer__was { font-size: 13px; color: var(--tm-muted); text-decoration: line-through; white-space: nowrap; }
.tm-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.tm-field2 { display: flex; flex-direction: column; gap: 6px; }
.tm-field2 label { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; color: var(--tm-petrol); }
.tm-field2 label .tm-ar { font-weight: 400; color: var(--tm-muted); }
.tm-field2 input, .tm-field2 select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #C9D6D4; border-radius: 12px; background: #fff; font-family: var(--tm-font); font-size: 16px; color: var(--tm-ink); }
.tm-field2 input:focus { border-color: var(--tm-petrol); }
.tm-field2 input:user-invalid { border-color: var(--tm-terracotta); }
.tm-summary { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 15px; }
.tm-summary div { display: flex; justify-content: space-between; gap: 12px; }
.tm-summary .is-free { font-weight: 700; color: var(--tm-green); }
.tm-summary .is-total { padding-top: 6px; border-top: 1px solid var(--tm-line); font-weight: 700; color: var(--tm-petrol); }
.tm-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; border: 0; border-radius: 14px; background: var(--tm-saffron); color: var(--tm-petrol); font-family: var(--tm-font); font-weight: 800; font-size: 18px; cursor: pointer; }
.tm-submit:hover { filter: brightness(.95); }
.tm-reassure { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; color: var(--tm-muted); }
.tm-reassure svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--tm-petrol); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tm-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-badges span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--tm-line); border-radius: 14px; background: #fff; font-size: 14px; font-weight: 600; color: var(--tm-petrol); }
.tm-badges svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tm-tabs { margin-top: clamp(40px, 6vw, 72px); }
.tm-tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--tm-line); }
.tm-tabs__nav button { min-height: 48px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: var(--tm-font); font-size: 16px; font-weight: 700; color: var(--tm-muted); cursor: pointer; }
.tm-tabs__nav button[aria-selected="true"] { color: var(--tm-petrol); border-bottom-color: var(--tm-saffron); }
.tm-tabs__panel { padding: 28px 0; }
.tm-tabs__panel[hidden] { display: none; }
.tm-desc img { max-width: 100%; height: auto !important; display: block; margin: 10px auto; }
.tm-desc ul, .tm-page__content ul { list-style: disc; padding-left: 1.3em; margin: 0 0 14px; }
.tm-desc ol, .tm-page__content ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 14px; }
.tm-desc li, .tm-page__content li { display: list-item; list-style: inherit; margin: 0 0 6px; }
.tm-desc table { width: 100% !important; display: block; overflow-x: auto; }
.tm-desc iframe { max-width: 100%; }
.tm-policy { display: grid; gap: 12px; max-width: 760px; }
.tm-policy div { padding: 16px 18px; border-radius: 16px; background: var(--tm-mist); }
.tm-policy strong { display: block; color: var(--tm-petrol); }
.tm-sticky { position: sticky; bottom: 0; z-index: 800; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--tm-line); box-shadow: 0 -8px 24px rgba(14, 59, 67, .12); }
.tm-sticky strong { display: block; font-family: var(--tm-display); font-size: 21px; color: var(--tm-petrol); }
.tm-sticky small { display: block; font-size: 13px; color: var(--tm-muted); }
.tm-sticky .tm-btn { min-height: 50px; padding: 0 26px; }
@media (max-width: 860px) { .tm-sticky { display: flex; } }

/* ---------- Accueil : avis réels ---------- */
.tm-revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .tm-revs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; } .tm-revs > * { scroll-snap-align: start; } }
.tm-rev { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--tm-line); border-radius: 20px; background: #fff; }
.tm-rev__stars { color: var(--tm-saffron); font-size: 17px; letter-spacing: 2px; }
.tm-rev__stars span { color: #D5DEDC; }
.tm-rev__text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--tm-ink); }
.tm-rev__photo { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; }
.tm-rev__meta { margin: auto 0 0; font-size: 14px; color: var(--tm-muted); }
.tm-rev__meta strong { color: var(--tm-petrol); }
.tm-rev__meta a { color: var(--tm-petrol) !important; text-decoration: underline !important; }
.tm-spot__specs { margin: 0; font-size: 16px; color: #D5E3E1; }

/* ---------- Pages ---------- */
.tm-page { max-width: 820px; padding: clamp(32px, 5vw, 64px) 0; }
.tm-page h1 { margin: 0 0 20px; font-family: var(--tm-display); font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1.08; color: var(--tm-petrol); }
.tm-page__content { font-size: 17px; line-height: 1.7; color: var(--tm-ink); }
.tm-page__content h2, .tm-page__content h3 { font-family: var(--tm-display); color: var(--tm-petrol); margin: 28px 0 10px; }
.tm-page__content a { color: var(--tm-petrol); text-decoration: underline; }
.tm-page__content p { margin: 0 0 14px; font-size: 17px; color: var(--tm-ink); }
.tm-page__content strong { color: var(--tm-petrol); }
.tm-page .tm-band { margin-top: 36px; }

/* ---------- Pied de page ---------- */
.tm-footer { margin-top: 0; background: var(--tm-petrol); color: #D5E3E1; font-family: var(--tm-font); font-size: 15px; line-height: 1.55; }
.tm-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; padding: clamp(36px, 5vw, 56px) 0 24px; }
.tm-footer__col { display: flex; flex-direction: column; gap: 4px; }
.tm-footer__col h2 { margin: 0 0 6px; font-family: var(--tm-font); font-size: 15px; font-weight: 700; color: #fff; }
.tm-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: #D5E3E1 !important; text-decoration: none !important; }
.tm-footer a:hover { color: #fff !important; }
.tm-footer svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--tm-saffron); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tm-footer .tm-logo__word { color: #fff; }
.tm-footer .tm-logo__word span { color: #F6C77E; }
.tm-footer .tm-ar { color: #fff; text-align: left; }
.tm-footer__social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.tm-footer p { margin: 0; font-size: 15px; color: #D5E3E1; }
.tm-footer__line { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: #D5E3E1; }
.tm-footer .tm-logo { margin-bottom: 8px; }
.tm-footer .tm-logo svg { width: 34px; height: 34px; stroke: none; }
.tm-footer__social a { color: #F6C77E !important; font-weight: 600; }
.tm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #B9CFCC; }
@media (max-width: 860px) {
    .tm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .tm-footer__col--wide { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flottant ---------- */
.tm-wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 850; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--tm-petrol); color: #fff !important; box-shadow: 0 10px 26px rgba(14, 59, 67, .3); }
.tm-wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { body.tm-is-product .tm-wa-float { bottom: 86px; } }

/* Masquer l'ancien bouton "scroll up" du thème */
#scrollUp { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    .tm-card, .tm-cat, .tm-bento a { transition: none; }
    .tm-card:hover, .tm-cat:hover, .tm-bento a:hover { transform: none; }
    .tm-announce__item.is-on { animation: none; }
}

/* ---------- Ajustements hero (photos produit) ---------- */
.tm-bento a:first-child img { object-fit: contain; padding: 18px; background: #fff; }
@media (max-width: 640px) {
    .tm-bento { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 10px; }
    .tm-bento a:first-child { grid-row: auto; }
    .tm-bento a { aspect-ratio: 1 / 1; border-radius: 18px; }
    .tm-bento a:first-child img { padding: 8px; }
    .tm-bento__tag span { display: none; }
    .tm-bento a .tm-bento__tag, .tm-bento a:not(:first-child) .tm-bento__tag { left: 6px; right: auto; bottom: 6px; padding: 3px 9px; border-radius: 999px; }
    .tm-bento__tag strong { font-size: 13px; }
}

/* ---------- Merci (page de remerciement) ---------- */
.tm-thanks { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tm-thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: var(--tm-green-soft); color: var(--tm-green); }
.tm-thanks__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-thanks__ar { margin: 0; font-size: 18px; color: var(--tm-petrol); }
.tm-thanks__lead { margin: 0; max-width: 560px; font-size: 17px; color: var(--tm-muted); }
.tm-thanks__box { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--tm-mist); text-align: left; }
.tm-thanks__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; color: var(--tm-ink); }
.tm-thanks__row strong { color: var(--tm-petrol); white-space: nowrap; }
.tm-thanks__row .is-free { color: var(--tm-green); }
.tm-thanks__row.is-total { padding-top: 8px; border-top: 1px solid var(--tm-line); font-weight: 700; }
.tm-thanks__steps { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; text-align: left; }
.tm-thanks__steps li { display: flex; gap: 10px; padding: 14px; border: 1px solid var(--tm-line); border-radius: 16px; background: #fff; }
.tm-thanks__steps li > span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--tm-saffron); color: var(--tm-petrol); font-weight: 800; }
.tm-thanks__steps strong { display: block; font-size: 15px; color: var(--tm-petrol); }
.tm-thanks__steps small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--tm-muted); }
.tm-thanks__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@media (max-width: 700px) { .tm-thanks__steps { grid-template-columns: none; } }

/* ---------- Panier & caisse (ancien gabarit, retouches visuelles) ---------- */
.cart-page, .checkout-page { font-family: var(--tm-font); color: var(--tm-ink); }
.cart-page h1, .checkout-page h1, .checkout-page h2 { font-family: var(--tm-display) !important; color: var(--tm-petrol) !important; text-transform: none !important; border: 0 !important; }
.cart-page .default__button, .checkout-page .default__button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px !important; background: var(--tm-saffron) !important; border-color: var(--tm-saffron) !important; color: var(--tm-petrol) !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important; }
.checkout-page input, .checkout-page textarea { border: 1.5px solid #C9D6D4 !important; border-radius: 12px !important; font-size: 16px !important; }
.checkout-page input:focus, .checkout-page textarea:focus { border-color: var(--tm-petrol) !important; box-shadow: 0 0 0 3px rgba(242, 163, 58, .35) !important; outline: none; }
