/*
Theme Name: Dan & Tim Boutique
Theme URI: https://danettim.com/
Author: Dan & Tim Multi Services
Description: Thème boutique Dan & Tim : recherche centrale, catégories, grille de produits dense, fiche produit avec prix de gros par paliers. Conçu pour WooCommerce, en français et adapté au mobile.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dtb
*/

/* ---------------------------------------------------------------- */
/* Polices auto-hébergées                                            */
/* ---------------------------------------------------------------- */
@font-face { font-family: "Jost"; src: url("assets/fonts/jost-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("assets/fonts/vollkorn-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- */
/* Jetons                                                            */
/* ---------------------------------------------------------------- */
:root {
	--bg: #F6F1E7;
	--page: #F4F2EE;
	--surface: #FFFFFF;
	--ink: #141210;
	--ink-2: #3A352F;
	--muted: #6B645A;
	--line: #E6E0D5;
	--accent: #B8923A;
	--accent-deep: #8F6E22;
	--accent-light: #D9B65D;
	--accent-soft: #FBF5E8;
	--dark: #141210;
	--danger: #B3261E;
	--font-body: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-display: "Vollkorn", Georgia, "Times New Roman", serif;
	--radius-s: 4px;
	--radius: 10px;
	--radius-l: 14px;
	--pill: 999px;
	--wrap: 1320px;
	--gut: clamp(12px, 3vw, 40px);
	--shadow-hover: 0 10px 28px rgba(80, 56, 20, .13);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- */
/* Base                                                              */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(.dtb-content ul) { list-style: disc; padding-left: 1.3em; }
:where(.dtb-content ol) { list-style: decimal; padding-left: 1.3em; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.dtb-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.dtb-skip:focus { left: 8px; top: 8px; color: #fff; }
.dtb-i { width: 22px; height: 22px; flex: none; }
.dtb-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.dtb-main { display: block; min-height: 50vh; }

/* Boutons */
.dtb-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .single_add_to_cart_button, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 24px;
	background: var(--accent); color: var(--ink) !important;
	border: 1px solid var(--accent); border-radius: var(--pill);
	font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: .01em; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.dtb-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.single_add_to_cart_button:hover, .wp-element-button:hover {
	background: var(--ink); border-color: var(--ink); color: var(--accent-light) !important;
}
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--accent); color: var(--ink); }
.woocommerce .button.alt:hover { background: var(--ink); }
.dtb-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.dtb-btn--ghost:hover { background: var(--ink); }
.dtb-btn--block { width: 100%; }
.dtb-btn--pill { border-radius: var(--pill); }

/* Drapeau RD Congo en CSS */
.dtb-flag {
	display: inline-block; width: 22px; height: 15px; margin-right: 4px; vertical-align: -2px; border-radius: 1px;
	background:
		linear-gradient(150deg, transparent 38%, #F7D618 38%, #F7D618 42%, #CE1021 42%, #CE1021 58%, #F7D618 58%, #F7D618 62%, transparent 62%),
		radial-gradient(circle at 22% 28%, #F7D618 0 2.4px, transparent 2.6px),
		#007FFF;
}

/* ---------------------------------------------------------------- */
/* En-tête                                                           */
/* ---------------------------------------------------------------- */
.dtb-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.dtb-header__top { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); padding-top: 18px; padding-bottom: 14px; }
.dtb-burger { display: none; background: none; border: 0; padding: 6px; margin-left: -6px; }
.dtb-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.dtb-logo__img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-s); background: var(--ink); }
.dtb-logo__text { font-family: var(--font-display); font-weight: 800; font-size: 31px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; line-height: 1; }
.dtb-logo__text em { font-style: normal; color: var(--accent); }

.dtb-search {
	flex: 1 1 auto; max-width: 680px; display: flex; align-items: center;
	border: 2px solid var(--accent); border-radius: var(--pill); padding: 4px 4px 4px 22px; background: #fff;
	box-shadow: 0 0 0 4px rgba(184, 146, 58, .08);
}
.dtb-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 17px; padding: 8px 0; color: var(--ink); }
.dtb-search input::placeholder { color: #857D71; transition: opacity .3s; }
.dtb-search input.is-swapping::placeholder { opacity: 0; }
.dtb-search__cam { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink-2); margin-right: 6px; }
.dtb-search__btn {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px;
	border: 0; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent-light), var(--accent));
	color: var(--ink); font-weight: 700; font-size: 17px;
}
.dtb-search__btn .dtb-i { width: 19px; height: 19px; }
.dtb-search__btn:hover { background: var(--ink); color: var(--accent-light); }

.dtb-header__tools { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 30px); margin-left: auto; flex: none; }
.dtb-ship { display: grid; font-size: 14px; line-height: 1.25; }
.dtb-ship small { font-size: 13px; color: var(--ink-2); }
.dtb-ship > span { font-weight: 700; font-size: 16px; }
.dtb-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; white-space: nowrap; }
.dtb-cart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.dtb-cart .dtb-i { width: 28px; height: 28px; }
.dtb-cart-count { position: absolute; top: -2px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--pill); background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.dtb-cart-count.is-empty { display: none; }
.dtb-account { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; white-space: nowrap; }
.dtb-account .dtb-i { width: 26px; height: 26px; }
.dtb-signup { min-height: 46px; padding: 0 30px; font-size: 17px; font-weight: 700; }

.dtb-header__nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 12px; font-size: 17px; }
.dtb-nav-left, .dtb-nav-right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.dtb-nav-right { gap: clamp(14px, 2vw, 36px); }
.dtb-header__nav a { white-space: nowrap; }
.dtb-allcats { position: relative; }
.dtb-allcats__btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; font-size: 17px; }
.dtb-allcats__btn .dtb-i { width: 18px; height: 18px; }
.dtb-allcats__panel { position: absolute; top: calc(100% + 10px); left: 0; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 8px; z-index: 60; }
.dtb-allcats__panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; font-size: 16px; }
.dtb-allcats__panel a span { flex: 1; }
.dtb-allcats__panel a small { color: var(--muted); }
.dtb-allcats__panel a:hover { background: var(--accent-soft); color: var(--ink); }

/* Tiroir mobile */
.dtb-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 16, .5); }
.dtb-drawer[hidden] { display: none; }
.dtb-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 340px); background: #fff; overflow-y: auto; padding: 18px 18px 40px; animation: dtbSlide .25s var(--ease); }
.dtb-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dtb-drawer__head .dtb-logo__text { font-size: 24px; }
.dtb-drawer__close { background: none; border: 0; padding: 6px; }
.dtb-drawer__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.dtb-drawer__list a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
@keyframes dtbSlide { from { transform: translateX(-100%); } to { transform: none; } }

/* ---------------------------------------------------------------- */
/* Bande de confiance                                                */
/* ---------------------------------------------------------------- */
.dtb-trust { background: linear-gradient(90deg, #FBF6EC, #F9F4EA 50%, #F7F3EE); }
.dtb-trust__row { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 26px; padding-bottom: 26px; }
.dtb-trust__item { display: flex; gap: 22px; align-items: center; padding: 6px clamp(14px, 3vw, 40px); }
.dtb-trust__item + .dtb-trust__item { border-left: 1px solid var(--line); }
.dtb-trust__item:first-child { padding-left: clamp(8px, 2vw, 24px); }
.dtb-trust__item h2 { font-size: clamp(19px, 1.7vw, 26px); font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.dtb-trust__item p { color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.dtb-trust__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(145deg, var(--accent-light), var(--accent)); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.dtb-trust__icon .dtb-i { width: 30px; height: 30px; stroke-width: 2; }
.dtb-trust__icon--check { background: none; box-shadow: none; color: var(--accent); }
.dtb-trust__icon--check .dtb-i { width: 52px; height: 52px; stroke-width: 3.2; }

/* ---------------------------------------------------------------- */
/* Rangée héros                                                      */
/* ---------------------------------------------------------------- */
.dtb-hero { padding: 36px 0 34px; }
.dtb-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.55fr; gap: 14px; align-items: stretch; }
.dtb-catlist { position: relative; background: var(--page); border-radius: var(--radius-l); padding: 10px 26px 10px 8px; min-height: 380px; }
.dtb-catlist ul { max-height: 360px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #9A9389 transparent; scroll-behavior: smooth; }
.dtb-catlist a { display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 8px; font-size: 18px; font-weight: 500; line-height: 1.25; }
.dtb-catlist a span { flex: 1; }
.dtb-catlist a .dtb-i:first-child { width: 26px; height: 26px; }
.dtb-catlist__chev { width: 18px !important; height: 18px !important; color: var(--muted); }
.dtb-catlist a:hover { background: #fff; color: var(--ink); }
.dtb-catlist__arrow { position: absolute; right: 6px; width: 16px; height: 16px; padding: 0; background: none; border: 0; color: var(--muted); }
.dtb-catlist__arrow .dtb-i { width: 16px; height: 16px; }
.dtb-catlist__arrow--up { top: 8px; }
.dtb-catlist__arrow--down { bottom: 8px; }

.dtb-searched { display: flex; flex-direction: column; background: var(--page); border-radius: var(--radius-l); padding: 22px 20px 20px; transition: box-shadow .25s var(--ease); min-width: 0; }
.dtb-searched:hover { box-shadow: var(--shadow-hover); color: var(--ink); }
.dtb-searched__kicker { font-size: 24px; font-weight: 700; line-height: 1.15; }
.dtb-searched__name { font-size: 19px; font-weight: 500; margin-bottom: 18px; color: var(--ink-2); }
.dtb-searched__img { flex: 1; display: grid; place-items: center; background: #fff; border-radius: 10px; overflow: hidden; min-height: 220px; }
.dtb-searched__img img { width: 100%; height: 100%; max-height: 270px; object-fit: contain; transition: transform .5s var(--ease); }
.dtb-searched:hover img { transform: scale(1.05); }

.dtb-promo {
	position: relative; overflow: hidden; border-radius: var(--radius-l); min-height: 380px; text-align: center; color: var(--ink);
	background: radial-gradient(120% 80% at 50% 100%, #E9C873 0%, #D9B65D 35%, #F3E3BC 75%, #FBF3E2 100%);
	padding: 18px 18px 22px;
}
.dtb-promo__slide { position: absolute; left: 18px; right: 18px; top: 18px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dtb-promo__slide.is-active { opacity: 1; transform: none; position: relative; left: 0; right: 0; top: 0; }
.dtb-promo__kicker { color: #7A3E12; font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.dtb-promo__title { font-family: var(--font-display); color: #6B2E0A; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; font-weight: 800; }
.dtb-promo__floats { position: absolute; inset: 120px 0 0 0; pointer-events: none; }
.dtb-promo__float { position: absolute; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 18px rgba(107, 46, 10, .2); animation: dtbFloat 6s ease-in-out infinite; }
.dtb-promo__float img { width: 100%; height: 100%; object-fit: cover; }
.dtb-promo__float--1 { left: 16%; top: 4%; transform: rotate(-10deg); }
.dtb-promo__float--2 { left: 40%; top: 0; animation-delay: -1s; }
.dtb-promo__float--3 { right: 16%; top: 6%; transform: rotate(12deg); animation-delay: -2s; }
.dtb-promo__float--4 { left: 8%; top: 36%; animation-delay: -3s; }
.dtb-promo__float--5 { right: 8%; top: 34%; transform: rotate(-6deg); animation-delay: -4s; }
.dtb-promo__float--6 { left: 44%; top: 30%; width: 86px; height: 86px; animation-delay: -5s; }
.dtb-promo__box { position: absolute; left: 50%; bottom: 0; width: 62%; height: 34%; transform: translateX(-50%); background: linear-gradient(180deg, #C99A4A, #A87830); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); border-radius: 6px 6px 0 0; }
@keyframes dtbFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.dtb-promo__cta { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 2; white-space: nowrap; padding: 12px 26px; border-radius: var(--pill); background: var(--ink); color: var(--accent-light); font-weight: 700; font-size: 18px; }
.dtb-promo__cta:hover { background: var(--accent-deep); color: #fff; }
.dtb-promo__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.dtb-promo__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--pill); background: rgba(20, 18, 16, .55); transition: width .3s var(--ease); }
.dtb-promo__dots button.is-active { width: 28px; background: #fff; }

/* ---------------------------------------------------------------- */
/* Grille de produits                                                */
/* ---------------------------------------------------------------- */
.dtb-reco { background: var(--page); padding: 36px 0 0; }
.dtb-section-title { font-size: clamp(22px, 2vw, 28px); font-weight: 700; margin-bottom: 20px; }
.dtb-grid { display: grid; gap: 12px; }
.dtb-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.dtb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dtb-card { background: #fff; border-radius: var(--radius); padding: 14px 14px 18px; display: flex; flex-direction: column; transition: box-shadow .25s var(--ease); min-width: 0; }
.dtb-card:hover { box-shadow: var(--shadow-hover); }
.dtb-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--bg); }
.dtb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dtb-card:hover .dtb-card__media img { transform: scale(1.06); }
.dtb-card__lens { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.dtb-card__lens .dtb-i { width: 22px; height: 22px; }
.dtb-card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; flex: 1; }
.dtb-card__flags { display: flex; gap: 6px; }
.dtb-badge { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.dtb-badge--sale { background: var(--danger); color: #fff; }
.dtb-card__title { font-size: 17px; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dtb-card__title a:hover { text-decoration: underline; color: var(--ink); }
.dtb-card__tierhint { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--danger); }
.dtb-card__tierhint .dtb-i { width: 14px; height: 14px; fill: currentColor; }
.dtb-card__price { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.dtb-card__price strong { font-size: clamp(19px, 1.6vw, 25px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.dtb-card__price del { color: var(--muted); font-size: 14px; }
.dtb-card__off { color: var(--danger); font-weight: 700; font-size: 15px; }
.dtb-card__moq { font-size: 16px; }
.dtb-card__moq span { color: var(--muted); margin-left: 4px; }
.dtb-card__meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.dtb-card__store { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--accent-deep); font-style: italic; }
.dtb-card__store .dtb-i { width: 15px; height: 15px; stroke-width: 2.6; }
.dtb-reco__end { text-align: center; color: var(--muted); font-size: 18px; padding: 48px 0 60px; }
.dtb-reco__end a { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- */
/* Boutique / catégories                                             */
/* ---------------------------------------------------------------- */
.dtb-shop, .dtb-pdp { padding-top: 14px; padding-bottom: 50px; }
.dtb-crumbs { font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 4px 0 14px; }
.dtb-crumb-sep { color: var(--muted); font-size: 18px; line-height: 1; }
.dtb-shop__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.dtb-shop__side { display: grid; gap: 14px; position: sticky; top: 14px; }
.dtb-side-box { background: var(--page); border-radius: var(--radius); padding: 16px; }
.dtb-side-box h2 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.dtb-side-box a { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 6px; font-size: 16px; }
.dtb-side-box a .dtb-i { width: 20px; height: 20px; }
.dtb-side-box a small { margin-left: auto; color: var(--muted); }
.dtb-side-box a:hover, .dtb-side-box a.is-current { background: #fff; color: var(--ink); font-weight: 600; }
.dtb-side-box--help p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.dtb-side-box--help .dtb-btn { color: var(--ink) !important; display: flex; padding: 8px 16px; font-size: 15px; }
.dtb-shop__head h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin-bottom: 6px; }
.dtb-shop__head p { color: var(--ink-2); }
.dtb-shop__chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.dtb-chip { flex: none; padding: 7px 16px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 15px; background: #fff; }
.dtb-chip:hover, .dtb-chip.is-current { border-color: var(--ink); background: var(--ink); color: #fff; }
.dtb-shop__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 16px; }
.dtb-shop__toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { color: var(--muted); font-size: 15px; margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .dtb-content select, .variations select { min-height: 42px; padding: 6px 36px 6px 14px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; }
.dtb-shop .dtb-grid--4 .dtb-card { border: 1px solid var(--line); }
.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; }
.woocommerce-pagination span.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------------- */
/* Fiche produit                                                     */
/* ---------------------------------------------------------------- */
.dtb-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(260px, .7fr); gap: 22px; align-items: start; }
.dtb-gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
.dtb-gallery__thumbs { display: flex; flex-direction: column; gap: 14px; max-height: 480px; overflow-y: auto; scrollbar-width: none; }
.dtb-gallery__thumb { width: 88px; height: 88px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bg); flex: none; }
.dtb-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dtb-gallery__thumb.is-active { border-color: var(--ink); }
.dtb-gallery__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.dtb-gallery__main { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.dtb-gallery__main.is-loading { opacity: .3; }
.dtb-gallery__fav, .dtb-gallery__lens { position: absolute; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.dtb-gallery__fav { top: 14px; }
.dtb-gallery__lens { top: 64px; }
.dtb-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.dtb-gallery__nav--prev { left: 14px; }
.dtb-gallery__nav--next { right: 14px; }
.dtb-gallery__tabs { display: flex; justify-content: center; gap: 4px; margin: 14px auto 0; width: max-content; padding: 4px; background: var(--page); border-radius: 10px; }
.dtb-gallery__tabs > * { padding: 8px 18px; border-radius: 8px; font-size: 17px; }
.dtb-gallery__tabs .is-active { background: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.dtb-store { margin-top: 18px; background: var(--page); border-radius: var(--radius); padding: 16px; }
.dtb-store__id { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dtb-store__logo { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--ink); flex: none; }
.dtb-store__logo img { width: 100%; height: 100%; object-fit: cover; }
.dtb-store__name { font-weight: 600; font-size: 17px; text-decoration: underline; }
.dtb-store__id p { font-size: 14px; color: var(--ink-2); }
.dtb-store__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: 8px; padding: 12px; }
.dtb-store__stats dt { font-weight: 700; font-size: 16px; }
.dtb-store__stats dd { font-size: 13px; color: var(--muted); line-height: 1.25; }

.dtb-pdp__info { min-width: 0; }
.dtb-pdp__title { font-size: clamp(22px, 1.9vw, 27px); font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.dtb-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dtb-pdp__meta a { text-decoration: underline; }
.dtb-pdp__sep { padding-left: 10px; border-left: 1px solid var(--line); }
.dtb-pdp__cat { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-deep); }
.dtb-pdp__cat .dtb-i { width: 18px; height: 18px; }
.dtb-stars { --r: 0; position: relative; display: inline-block; width: 96px; height: 18px; background: linear-gradient(90deg, #E8791C calc(var(--r) / 5 * 100%), #DDD6CB 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 18'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m9 1 2.4 5 5.4.7-4 3.8 1 5.4L9 13.3 4.2 16l1-5.4-4-3.8 5.4-.7z'/%3E%3Cuse href='%23s' x='19.5'/%3E%3Cuse href='%23s' x='39'/%3E%3Cuse href='%23s' x='58.5'/%3E%3Cuse href='%23s' x='78'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 18'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m9 1 2.4 5 5.4.7-4 3.8 1 5.4L9 13.3 4.2 16l1-5.4-4-3.8 5.4-.7z'/%3E%3Cuse href='%23s' x='19.5'/%3E%3Cuse href='%23s' x='39'/%3E%3Cuse href='%23s' x='58.5'/%3E%3Cuse href='%23s' x='78'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }

.dtb-pdp__pricebox { padding: 18px 0; border-bottom: 1px solid var(--line); }
.dtb-pdp__flag { display: inline-flex; align-items: center; gap: 6px; background: var(--danger); color: #fff; font-size: 15px; padding: 3px 10px; border-radius: 3px; margin-bottom: 14px; }
.dtb-tiers { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.dtb-tier { display: grid; gap: 2px; opacity: .72; transition: opacity .2s; }
.dtb-tier strong { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.dtb-tier span { color: var(--ink-2); font-size: 17px; }
.dtb-tier.is-active { opacity: 1; }
.dtb-tier.is-active strong { color: var(--ink); }
.dtb-pdp__short { padding: 16px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.dtb-pdp__short p + p { margin-top: .6em; }

.dtb-pdp__buy { padding: 18px 0; border-bottom: 1px solid var(--line); }
.dtb-pdp__buy form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.dtb-pdp__buy form.variations_form { display: block; }
.dtb-pdp__buy .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); overflow: hidden; background: #fff; }
.dtb-pdp__buy .quantity .qty { width: 64px; height: 44px; border: 0; text-align: center; font-size: 17px; -moz-appearance: textfield; }
.dtb-pdp__buy .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.dtb-qbtn { width: 42px; height: 44px; border: 0; background: var(--page); font-size: 20px; line-height: 1; }
.dtb-qbtn:hover { background: var(--line); }
.dtb-pdp__buy .single_add_to_cart_button { min-height: 46px; padding: 0 34px; font-size: 17px; font-weight: 700; }
.dtb-pdp__total { margin-top: 12px; font-size: 17px; }
.dtb-pdp__total strong { font-size: 21px; }
.dtb-pdp__buy .stock { font-size: 15px; color: var(--muted); margin-bottom: 10px; width: 100%; }
.dtb-pdp__buy .stock.out-of-stock { color: var(--danger); }
.variations { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.variations th, .variations td { display: block; text-align: left; padding: 0; }
.variations th label { font-size: 19px; font-weight: 700; display: block; margin: 14px 0 10px; }
.variations select.dtb-swatched { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dtb-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.dtb-swatch { min-width: 46px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--page); font-size: 17px; }
.dtb-swatch:hover { border-color: var(--ink); }
.dtb-swatch.is-active { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.dtb-swatch:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.reset_variations { display: inline-block; margin-top: 10px; font-size: 14px; text-decoration: underline; }
.woocommerce-variation-price { margin: 10px 0; font-size: 22px; font-weight: 700; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.dtb-pdp__custom { padding: 18px 0; }
.dtb-pdp__custom h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.dtb-pdp__custom ul { background: var(--page); border-radius: var(--radius); padding: 6px 16px; }
.dtb-pdp__custom li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 16px; }
.dtb-pdp__custom li + li { border-top: 1px solid var(--line); }
.dtb-pdp__custom li a { text-decoration: underline; font-weight: 600; }

.dtb-pdp__side { position: sticky; top: 14px; }
.dtb-sidecard { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 12px; }
.dtb-sidecard h2 { font-size: 21px; font-weight: 600; }
.dtb-sidecard > p { font-size: 16px; color: var(--ink-2); }
.dtb-sidecard hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.dtb-sidecard__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dtb-sidecard__row { display: flex; gap: 10px; align-items: flex-start; }
.dtb-sidecard__row span:last-child { display: grid; }
.dtb-sidecard__row strong { font-size: 17px; font-weight: 600; }
.dtb-sidecard__row small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.dtb-sidecard__row small a { text-decoration: underline; }
.dtb-ok { color: #2E7D32; }
.dtb-ok .dtb-i { width: 22px; height: 22px; }
.dtb-sidecard .dtb-btn { min-height: 54px; font-size: 18px; font-weight: 700; }
.dtb-sidecard .dtb-btn:first-of-type { background: var(--accent); }
.dtb-sidecard__note { font-size: 13px; color: var(--muted); }
.dtb-sidecard__note a { text-decoration: underline; }

.dtb-pdp__details { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 10px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px !important; padding: 0 !important; }
.woocommerce-tabs ul.tabs li { list-style: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-weight: 600; font-size: 17px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { border-color: var(--accent); }
.woocommerce-tabs .panel { max-width: 900px; }
.woocommerce-tabs .panel h2 { font-size: 22px; margin-bottom: 12px; }
.woocommerce-tabs .panel p { margin-bottom: .8em; }
.woocommerce-Reviews input[type="text"], .woocommerce-Reviews input[type="email"], .woocommerce-Reviews textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.woocommerce-Reviews label { display: block; margin: 10px 0 6px; font-weight: 600; }
.comment-form-rating .stars a { color: #E8791C; }
.dtb-related { margin-top: 44px; }

/* ---------------------------------------------------------------- */
/* Pages, panier, commande, compte                                   */
/* ---------------------------------------------------------------- */
.dtb-page { padding-top: 28px; padding-bottom: 60px; }
.dtb-page__card { background: #fff; }
.dtb-page__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; margin-bottom: 20px; }
.dtb-content { font-size: 17px; }
.dtb-content > * + * { margin-top: 1em; }
.dtb-content h2 { font-size: 24px; margin-top: 1.4em; }
.dtb-content h3 { font-size: 20px; margin-top: 1.2em; }
.dtb-content a:not(.button):not(.wp-element-button):not(.dtb-btn) { text-decoration: underline; }
.dtb-content input[type="text"], .dtb-content input[type="email"], .dtb-content input[type="tel"], .dtb-content input[type="password"],
.dtb-content input[type="number"], .dtb-content textarea, .woocommerce form .input-text {
	width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.dtb-content table { width: 100%; border-collapse: collapse; }
.dtb-content table th, .dtb-content table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.dtb-empty { text-align: center; padding: 40px 20px; background: var(--page); border-radius: var(--radius-l); }
.dtb-empty p { margin-top: 10px; }
.dtb-empty .dtb-btn { margin: 6px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); border-left: 4px solid var(--accent); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-error { background: #FDECEA; border-color: var(--danger); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button { order: 2; min-height: 38px; padding: 6px 18px; font-size: 15px; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
.woocommerce-MyAccount-navigation ul { background: var(--page); border-radius: var(--radius); padding: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 6px; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: #fff; font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.u-columns .u-column1, .u-columns .u-column2 { background: var(--page); padding: 24px; border-radius: var(--radius-l); }
.u-columns h2 { font-size: 22px; margin-bottom: 12px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 500; }
.woocommerce-form-login__rememberme { display: inline-flex !important; gap: 6px; align-items: center; margin: 10px 0; }

/* ---------------------------------------------------------------- */
/* Raccourcis flottants                                              */
/* ---------------------------------------------------------------- */
.dtb-float { position: fixed; right: 0; top: 62%; transform: translateY(-50%); z-index: 40; display: grid; background: #fff; border-radius: 12px 0 0 12px; box-shadow: 0 4px 22px rgba(0, 0, 0, .12); }
.dtb-float a { display: grid; place-items: center; width: 64px; height: 68px; color: var(--ink); }
.dtb-float a + a { border-top: 1px solid var(--line); }
.dtb-float a .dtb-i { width: 30px; height: 30px; }
.dtb-float a:hover { background: var(--accent-soft); }
.dtb-float__rfq span { font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--accent-deep); border: 2px solid var(--accent); border-radius: 5px; padding: 3px 4px; }
.dtb-float__top { opacity: .5; }
.dtb-float__top.is-on { opacity: 1; }

/* ---------------------------------------------------------------- */
/* Pied de page                                                      */
/* ---------------------------------------------------------------- */
.dtb-footer { background: var(--page); border-top: 1px solid var(--line); }
.dtb-footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 54px; padding-bottom: 40px; }
.dtb-footer h2 { font-size: 19px; font-weight: 700; margin-bottom: 22px; }
.dtb-footer li + li { margin-top: 20px; }
.dtb-footer li a { font-size: 17px; }
.dtb-footer li a:hover { text-decoration: underline; color: var(--ink); }
.dtb-footer__social-title { margin-top: 34px; margin-bottom: 14px !important; }
.dtb-footer__social { display: flex; gap: 20px; }
.dtb-footer__social .dtb-i { width: 28px; height: 28px; }
.dtb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 34px; }
.dtb-footer__pay { display: flex; flex-wrap: wrap; gap: 10px; }
.dtb-footer__pay span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.dtb-footer__pay .dtb-i { width: 18px; height: 18px; }
.dtb-footer__apps { display: flex; gap: 14px; flex-wrap: wrap; }
.dtb-store-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 8px; padding: 8px 16px; }
.dtb-store-btn:hover { color: var(--accent-light); }
.dtb-store-btn .dtb-i { width: 28px; height: 28px; }
.dtb-store-btn span { display: grid; font-size: 19px; font-weight: 600; line-height: 1.1; }
.dtb-store-btn small { font-size: 11px; font-weight: 400; }
.dtb-footer__legal { background: var(--ink); color: #CFC7B8; font-size: 14px; padding: 14px 0; }

/* ---------------------------------------------------------------- */
/* Apparitions au défilement                                         */
/* ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.dtb-promo__float { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- */
/* Adaptation aux écrans                                             */
/* ---------------------------------------------------------------- */
@media (max-width: 1360px) {
	.dtb-lang { display: none; }
}
@media (max-width: 1200px) {
	.dtb-grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dtb-hero__grid { grid-template-columns: 1.1fr 1fr 1fr 1.5fr; }
	.dtb-hero__grid .dtb-searched:nth-of-type(3) { display: none; }
	.dtb-ship { display: none; }
	.dtb-pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.dtb-pdp__side { grid-column: 1 / -1; position: static; }
	.dtb-sidecard { grid-template-columns: 1fr 1fr; column-gap: 24px; }
	.dtb-sidecard > * { grid-column: span 2; }
	.dtb-sidecard .dtb-btn { grid-column: span 1; }
	.dtb-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.dtb-header__nav { display: none; }
	.dtb-burger { display: grid; }
	.dtb-signup { display: none; }
	.dtb-hero__grid { grid-template-columns: 1fr 1fr 1.4fr; }
	.dtb-catlist { display: none; }
	.dtb-trust__row { grid-template-columns: 1fr; gap: 14px; }
	.dtb-trust__item + .dtb-trust__item { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
	.dtb-trust__item { padding-left: 0 !important; }
	.dtb-shop__layout { grid-template-columns: 1fr; }
	.dtb-shop__side { display: none; }
	.dtb-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.dtb-header__top { flex-wrap: wrap; padding-top: 12px; gap: 10px 14px; }
	.dtb-logo__img { width: 40px; height: 40px; }
	.dtb-logo__text { font-size: 24px; }
	.dtb-search { order: 5; flex-basis: 100%; max-width: none; padding-left: 16px; }
	.dtb-search input[type="search"] { font-size: 16px; }
	.dtb-search__btn { padding: 0 14px; }
	.dtb-search__btn span { display: none; }
	.dtb-account span { display: none; }
	.dtb-trust { display: none; }
	.dtb-hero { padding: 16px 0; }
	.dtb-hero__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.dtb-promo { grid-column: 1 / -1; order: -1; min-height: 300px; }
	.dtb-promo__floats { inset: 110px 0 0 0; }
	.dtb-promo__float { width: 56px; height: 56px; }
	.dtb-promo__float--6 { width: 64px; height: 64px; }
	.dtb-hero__grid .dtb-searched:nth-of-type(3) { display: none; }
	.dtb-searched { padding: 14px; }
	.dtb-searched__kicker { font-size: 18px; }
	.dtb-searched__name { font-size: 16px; margin-bottom: 10px; }
	.dtb-searched__img { min-height: 140px; }
	.dtb-reco { padding-top: 22px; }
	.dtb-grid { gap: 8px; }
	.dtb-grid--6, .dtb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dtb-card { padding: 8px 8px 12px; }
	.dtb-card__lens { width: 34px; height: 34px; left: 8px; bottom: 8px; }
	.dtb-card__lens .dtb-i { width: 18px; height: 18px; }
	.dtb-card__body { padding-top: 10px; }
	.dtb-card__title { font-size: 15px; -webkit-line-clamp: 2; }
	.dtb-card__price strong { font-size: 18px; }
	.dtb-card__moq { font-size: 14px; }
	.dtb-card__meta { font-size: 12px; }
	.dtb-pdp__grid { grid-template-columns: 1fr; }
	.dtb-gallery { grid-template-columns: 1fr; }
	.dtb-gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; max-height: none; gap: 8px; }
	.dtb-gallery__thumb { width: 64px; height: 64px; }
	.dtb-sidecard { grid-template-columns: 1fr; }
	.dtb-sidecard > *, .dtb-sidecard .dtb-btn { grid-column: auto; }
	.dtb-store__stats { grid-template-columns: repeat(2, 1fr); }
	.dtb-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 36px; }
	.dtb-footer li + li { margin-top: 12px; }
	.dtb-footer li a { font-size: 16px; }
	.dtb-footer h2 { margin-bottom: 12px; }
	.u-columns.col2-set { grid-template-columns: 1fr; }
	.dtb-float { top: auto; bottom: 16px; transform: none; border-radius: 12px 0 0 12px; }
	.dtb-float a { width: 50px; height: 50px; }
	.dtb-float a .dtb-i { width: 24px; height: 24px; }
	.dtb-float a:nth-child(2), .dtb-float a:nth-child(3) { display: none; }
}
@media (max-width: 380px) {
	.dtb-cart { width: 34px; }
	.dtb-logo__text { font-size: 21px; }
}

/* ---------------------------------------------------------------- */
/* Ajustements 1.0.1                                                 */
/* ---------------------------------------------------------------- */
.dtb-shop__layout { grid-template-columns: 250px minmax(0, 1fr); }
.dtb-card__price strong { font-size: clamp(17px, 1.25vw, 20px); white-space: nowrap; }
.dtb-card__price { gap: 2px 6px; }
.dtb-promo__title { font-size: clamp(22px, 1.9vw, 28px); }
.dtb-promo__kicker { font-size: 18px; }
.dtb-promo__floats { inset: 150px 0 0 0; }
.dtb-promo__float { width: 64px; height: 64px; }
.dtb-promo__float--6 { width: 74px; height: 74px; top: 34%; }
.dtb-promo__slide:not(.is-active) { visibility: hidden; }
.dtb-tiers { gap: 10px 26px; }
.dtb-tier strong { font-size: clamp(22px, 1.9vw, 28px); white-space: nowrap; }
.dtb-tier span { font-size: 15px; }
@media (max-width: 1024px) {
	.dtb-shop__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.dtb-card__price strong { font-size: 16px; white-space: normal; }
	.dtb-promo__floats { inset: 120px 0 0 0; }
	.dtb-promo__float { width: 52px; height: 52px; }
	.dtb-promo__float--6 { width: 58px; height: 58px; }
	.dtb-tier strong { font-size: 22px; }
}

/* ---------------------------------------------------------------- */
/* Palette orange 1.1                                                */
/* ---------------------------------------------------------------- */
:root {
	--accent: #FF6A00;
	--accent-deep: #D9480F;
	--accent-light: #FF9A3D;
	--accent-soft: #FFF1E6;
	--orange-grad: linear-gradient(90deg, #FF8A00 0%, #FF6A00 45%, #F04E0A 100%);
}
a:hover { color: var(--accent-deep); }

/* Boutons */
.dtb-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .single_add_to_cart_button, .wp-element-button,
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--accent); border-color: var(--accent); color: #fff !important; font-weight: 700;
}
.dtb-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.single_add_to_cart_button:hover, .wp-element-button:hover, .woocommerce .button.alt:hover {
	background: var(--accent-deep); border-color: var(--accent-deep); color: #fff !important;
}
.dtb-btn--ghost { background: #fff; color: var(--ink) !important; border-color: var(--ink); }
.dtb-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.dtb-sidecard .dtb-btn:first-of-type { background: var(--accent); }
.dtb-sidecard .dtb-btn:first-of-type:hover { background: var(--accent-deep); }

/* En-tête */
.dtb-logo__text em { color: var(--accent); }
.dtb-search { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 0, .10); }
.dtb-search__btn { background: var(--orange-grad); color: #fff; }
.dtb-search__btn:hover { background: var(--accent-deep); color: #fff; }
.dtb-cart-count { background: var(--accent); color: #fff; }
.dtb-signup { background: var(--accent); color: #fff !important; }

/* Bande orange : Sélection, Commande accompagnée, Prix de gros */
.dtb-trust { background: var(--orange-grad); }
.dtb-trust__item h2 { color: #fff; }
.dtb-trust__item p { color: #FFF4EA; }
.dtb-trust__item + .dtb-trust__item { border-color: rgba(255, 255, 255, .35); }
.dtb-trust__icon { background: #fff; color: var(--accent); box-shadow: 0 4px 12px rgba(120, 40, 0, .25); }
.dtb-trust__icon--check { background: none; box-shadow: none; color: #fff; }

/* Carrousel */
.dtb-promo { background: radial-gradient(120% 80% at 50% 100%, #FF7A1A 0%, #FF9A3D 35%, #FFD3A8 75%, #FFF1E6 100%); }
.dtb-promo__kicker { color: #B23A00; }
.dtb-promo__title { color: #8A2A00; }
.dtb-promo__box { background: linear-gradient(180deg, #E8762A, #C2531A); }
.dtb-promo__cta { background: var(--ink); color: #fff; }
.dtb-promo__cta:hover { background: var(--accent-deep); color: #fff; }

/* Détails */
.dtb-card__store { color: var(--accent-deep); }
.dtb-pdp__cat { color: var(--accent-deep); }
.dtb-float__rfq span { color: var(--accent-deep); border-color: var(--accent); }
.woocommerce-tabs ul.tabs li.active a { border-color: var(--accent); }
.woocommerce-message, .woocommerce-info { border-color: var(--accent); background: var(--accent-soft); }
.dtb-qbtn:hover { background: var(--accent-soft); }
.dtb-chip:hover, .dtb-chip.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.dtb-footer__legal { background: var(--ink); }

/* ---------------------------------------------------------------- */
/* Palette verte 1.2                                                 */
/* ---------------------------------------------------------------- */
:root {
	--accent: #16A34A;
	--accent-deep: #15803D;
	--accent-light: #4ADE80;
	--accent-soft: #ECFDF3;
	--orange-grad: linear-gradient(90deg, #22C55E 0%, #16A34A 45%, #0F7A38 100%);
}
.dtb-search { box-shadow: 0 0 0 4px rgba(22, 163, 74, .10); }
.dtb-trust__item p { color: #EAFBF0; }
.dtb-trust__icon { box-shadow: 0 4px 12px rgba(0, 60, 20, .25); }
.dtb-promo { background: radial-gradient(120% 80% at 50% 100%, #16A34A 0%, #4ADE80 35%, #BBF7D0 75%, #ECFDF3 100%); }
.dtb-promo__kicker { color: #166534; }
.dtb-promo__title { color: #14532D; }
.dtb-promo__box { background: linear-gradient(180deg, #1F9D55, #146C3A); }

/* ---------------------------------------------------------------- */
/* Appels à l'action en vert 1.3                                    */
/* ---------------------------------------------------------------- */
/* Boutons de commande (panier, validation, compte) */
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
.wp-block-button__link, .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit,
.dtb-content button[type="submit"], .dtb-content input[type="submit"] {
	background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; border-radius: var(--pill); font-weight: 700;
}
.wc-block-components-button:not(.is-link):hover, .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover,
.wp-block-button__link:hover, .checkout-button:hover, #place_order:hover, .dtb-content button[type="submit"]:hover, .dtb-content input[type="submit"]:hover {
	background: var(--accent-deep) !important; border-color: var(--accent-deep) !important;
}

/* Carrousel et boutons secondaires */
.dtb-promo__cta { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(21, 128, 61, .35); }
.dtb-promo__cta:hover { background: var(--accent-deep); }
.dtb-btn--ghost { background: #fff; color: var(--accent-deep) !important; border: 2px solid var(--accent); }
.dtb-btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.dtb-reco__end a { color: var(--accent-deep); font-weight: 600; }

/* Raccourcis flottants */
.dtb-float { background: var(--accent); }
.dtb-float a { color: #fff; }
.dtb-float a + a { border-top-color: rgba(255, 255, 255, .25); }
.dtb-float a:hover { background: var(--accent-deep); color: #fff; }
.dtb-float__rfq span { color: #fff; border-color: #fff; }
.dtb-float__top { opacity: .8; }

/* Réseaux sociaux et boutons du pied de page */
.dtb-footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; transition: background .2s, transform .2s; }
.dtb-footer__social a:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.dtb-footer__social .dtb-i { width: 24px; height: 24px; }
.dtb-footer__social { gap: 12px; }
.dtb-store-btn { background: var(--accent); }
.dtb-store-btn:hover { background: var(--accent-deep); color: #fff; }
.dtb-footer__pay .dtb-i { color: var(--accent); }

/* Liens stratégiques */
.dtb-nav-right a:last-child { background: var(--accent); color: #fff; padding: 6px 16px; border-radius: var(--pill); font-weight: 600; }
.dtb-nav-right a:last-child:hover { background: var(--accent-deep); color: #fff; }
.dtb-header__nav a:hover, .dtb-allcats__btn:hover { color: var(--accent-deep); }
.dtb-card__lens { background: var(--accent); color: #fff; }
.dtb-card__tierhint { color: var(--accent-deep); font-weight: 600; }
.dtb-pdp__flag { background: var(--accent); }
.dtb-pdp__total strong { color: var(--accent-deep); }
.dtb-pdp__custom li a, .dtb-pdp__meta a { color: var(--accent-deep); }
.dtb-gallery__fav { background: var(--accent); color: #fff; }
.dtb-gallery__tabs a:hover { color: var(--accent-deep); }
.dtb-side-box--help { background: var(--accent-soft); border: 1px solid #BBF7D0; }
.dtb-search__cam:hover { color: var(--accent); }
.dtb-account:hover, .dtb-cart:hover { color: var(--accent-deep); }
.dtb-catlist a:hover, .dtb-side-box a:hover, .dtb-side-box a.is-current { color: var(--accent-deep); }
.dtb-drawer__list a:hover { color: var(--accent-deep); }

/* ---------------------------------------------------------------- */
/* Cartes compactes et localisation 1.4                              */
/* ---------------------------------------------------------------- */
.dtb-grid { align-items: start; }
.dtb-card { padding: 10px 10px 14px; }
.dtb-card__body { gap: 3px; padding-top: 12px; }
.dtb-card__title { -webkit-line-clamp: 2; line-height: 1.3; }
.dtb-card__price { margin-top: 0; padding-top: 2px; }
.dtb-card__price strong { font-size: clamp(18px, 1.4vw, 22px); }
.dtb-card__moq { font-size: 15px; }
.dtb-card__meta { flex-wrap: wrap; }
.dtb-ship > span { display: block; white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.dtb-flag-img { display: inline-block; width: 22px; height: 15px; margin-right: 5px; vertical-align: -2px; border-radius: 1px; object-fit: cover; }
@media (max-width: 760px) {
	.dtb-card { padding: 6px 6px 10px; }
	.dtb-card__body { padding-top: 8px; }
	.dtb-card__price strong { font-size: 16px; }
}

/* ---------------------------------------------------------------- */
/* Pastilles de couleur 1.5                                          */
/* ---------------------------------------------------------------- */
.dtb-swatches--color { gap: 12px; }
.dtb-swatches--color .dtb-swatch { height: auto; min-width: 72px; padding: 6px 6px 8px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 10px; }
.dtb-swatches--color .dtb-swatch img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.dtb-swatches--color .dtb-swatch.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.dtb-swatches--color .dtb-swatch:hover { border-color: var(--accent); }
.dtb-dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); display: block; }
.dtb-swatch__name { font-size: 14px; line-height: 1.2; }

/* ---------------------------------------------------------------- */
/* Photos ajustées au cadre 1.6                                     */
/* ---------------------------------------------------------------- */
.dtb-card__media, .dtb-gallery__stage, .dtb-gallery__thumb, .dtb-searched__img, .dtb-swatches--color .dtb-swatch img {
	background: #fff;
}
.dtb-card__media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.dtb-card__media img, .dtb-gallery__main, .dtb-gallery__thumb img, .dtb-searched__img img, .dtb-swatches--color .dtb-swatch img {
	width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%;
	object-fit: contain !important; object-position: center;
}
.dtb-card__media img { padding: 6px; }
.dtb-gallery__stage { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.dtb-gallery__main { padding: 10px; }
.dtb-gallery__thumb img { padding: 3px; }
.dtb-searched__img { aspect-ratio: 4 / 5; }
.dtb-searched__img img { max-height: none; padding: 6px; }
.dtb-promo__float img, .dtb-store__logo img, .dtb-logo__img { object-fit: contain; background: #fff; }
.dtb-logo__img, .dtb-store__logo img { background: var(--ink); }

.variations td { position: relative; }
.variations select.dtb-swatched { left: 0; top: 0; }

/* ---------------------------------------------------------------- */
/* Photos plein cadre 1.7                                            */
/* ---------------------------------------------------------------- */
.dtb-card__media, .dtb-gallery__stage { border: 0; display: block; overflow: hidden; }
.dtb-card__media img, .dtb-gallery__main, .dtb-gallery__thumb img, .dtb-searched__img img, .dtb-swatches--color .dtb-swatch img {
	object-fit: cover !important; object-position: center; padding: 0 !important;
	width: 100% !important; height: 100% !important;
}
.dtb-searched__img { display: block; }

/* Bouton du carrousel en rouge 1.8 */
.dtb-promo__cta { background: #E11D2E; color: #fff; box-shadow: 0 6px 16px rgba(225, 29, 46, .35); }
.dtb-promo__cta:hover { background: #B91222; color: #fff; }

/* Formulaire de commande WhatsApp 2.1 */
.dtb-modal { position: fixed; inset: 0; z-index: 300; background: rgba(20, 18, 16, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dtb-modal[hidden] { display: none; }
.dtb-modal__box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius-l); padding: 26px 24px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.dtb-modal__box h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.dtb-modal__product { color: var(--ink-2); margin-bottom: 16px; font-size: 15px; }
.dtb-modal__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: var(--page); border-radius: 50%; font-size: 22px; line-height: 1; }
.dtb-modal__form { display: grid; gap: 12px; }
.dtb-modal__form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.dtb-modal__form input, .dtb-modal__form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; font-size: 16px; background: #fff; }
.dtb-modal__form input:focus, .dtb-modal__form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dtb-modal__form .dtb-btn { min-height: 52px; font-size: 17px; margin-top: 4px; }
.dtb-modal__error { color: var(--danger); font-size: 14px; }
.dtb-modal__note { font-size: 13px; color: var(--muted); text-align: center; }


/* Mention Multi-services sous le nom */
.dtb-logo__name { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }
.dtb-logo__tag { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #000; white-space: nowrap; padding-left: 2px; }
@media (max-width: 900px) { .dtb-logo__tag { font-size: 10px; letter-spacing: .14em; } }
@media (max-width: 480px) { .dtb-logo__tag { font-size: 9px; letter-spacing: .1em; } }


/* Bouton WhatsApp flottant, visible sur toutes les pages */
.dtb-wa-bubble { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.22); transition: transform .15s ease, background .15s ease; }
.dtb-wa-bubble:hover, .dtb-wa-bubble:focus-visible { background: #1da851; color: #fff; transform: translateY(-2px); }
.dtb-wa-bubble__ico { width: 44px; height: 44px; flex: none; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dtb-wa-bubble__txt { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.15; white-space: nowrap; }
.dtb-wa-bubble__txt small { font-weight: 600; font-size: 12px; opacity: .95; }
.dtb-wa-bubble::before { content: ''; position: absolute; left: 8px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: #25D366; z-index: -1; animation: dtbWaPulse 2.2s ease-out infinite; }
@keyframes dtbWaPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dtb-wa-bubble::before { animation: none; } }
.dtb-wa-bubble { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.dtb-wa-bubble.is-dragging { cursor: grabbing; transition: none; transform: scale(1.06); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.dtb-wa-bubble.is-dragging::before { animation: none; opacity: 0; }
@media (max-width: 760px) { .dtb-wa-bubble { left: 14px; bottom: 14px; padding: 6px; } .dtb-wa-bubble__txt { display: none; } .dtb-wa-bubble__ico { width: 48px; height: 48px; } .dtb-wa-bubble::before { left: 6px; width: 48px; height: 48px; margin-top: -24px; } }
