/*
 * Réglages que dezig.de écrit en ligne dans ses pages (attributs « style » du thème Woodmart et des extraits
 * « Simple Custom CSS & JS ») : la CSP de la boutique les interdit, ils sont repris ici, valeurs identiques.
 * Chargée après /assets/woodmart/woodmart.css.
 */

/* En-tête 283884 : largeur des logos (ordinateur, en-tête collé, téléphone) et espaces entre les outils. */
.whb-3unw61nep1tgv43sczd8 .wd-main-logo img { max-width: 353px; }
.whb-3unw61nep1tgv43sczd8 .wd-sticky-logo img { max-width: 120px; }
.whb-boc54981knh3shz4q66x .wd-main-logo img { max-width: 180px; }
.whb-9mutb0tlogvvkyk2zoj0, .whb-qcaqho2zy9pn0dxo8lea { width: 20px; }
.whb-1h9j4108bnwmze0eyzbd { width: 10px; }
.wd-nav > li > a.wd-nav-opener { justify-content: left; }

/* Compteurs à zéro cachés (extrait « updateHeaderBadges » du source). */
.wd-tools-count[hidden], .mobile-wishlist-count[hidden] { display: none !important; }

/* Les images des zones du thème restent en ligne (site.css les met en bloc pour les pages pas encore reprises). */
:where(.wd-hb-wrapp, .whb-header, .wd-footer, .mobile-nav, .age-gate__wrapper, .wholesale-modal, .lp-call-button) img { display: inline-block; }

/* Pied : téléphone avec l'icône WhatsApp (bloc Elementor 130). */
.pied-telephone { vertical-align: inherit; display: flex; align-items: center; }
.pied-telephone img { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }

/* Pied : moyens de paiement et transporteurs (extrait 123308.js). */
.wd-footer .custom-payment-methods { margin: 18px auto 24px auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; width: 100%; }
.wd-footer .custom-payment-methods img { height: 60px; width: auto; object-fit: contain; }
.custom-shipping-methods { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0 auto 20px; width: 100%; }
.custom-shipping-methods img { height: 60px; width: auto; object-fit: contain; }

/* Bouton WhatsApp (balisage du source, textes en deux lignes). */
.lp-call-button .btn-label-titre { display: block; line-height: 1.2; }
.lp-call-button .btn-label-horaires { font-size: 10px; display: block; line-height: 1.2; }

/* Contrôle d'âge : la fenêtre reste masquée tant que le script ne l'ouvre pas. */
.age-gate__wrapper[hidden] { display: none !important; }

/* Volet mobile : sous-menu déplié au toucher de son entrée (le thème le fait par glissement en jQuery). */
.wd-nav-mobile > li.wd-opened > .wd-sub-menu { display: block; }
.age-gate:focus { outline: none; }

/* Carrousels et grilles : colonnes et écarts que Woodmart écrit en ligne (--wd-col-lg/md/sm, --wd-gap). */
.dz-col-1 { --wd-col-lg: 1; --wd-col-md: 1; --wd-col-sm: 1; }
.dz-grille-4 { --wd-col-lg: 4; --wd-col-md: 4; --wd-col-sm: 2; --wd-gap-lg: 20px; }
.dz-col-3-3-1 { --wd-col-lg: 3; --wd-col-md: 3; --wd-col-sm: 1; }
.dz-col-5-3-15 { --wd-col-lg: 5; --wd-col-md: 3; --wd-col-sm: 1.5; }
.dz-col-4-3-1 { --wd-col-lg: 4; --wd-col-md: 3; --wd-col-sm: 1; }
.dz-col-4-4-1 { --wd-col-lg: 4; --wd-col-md: 4; --wd-col-sm: 1; }
.dz-gap-30-10 { --wd-gap-lg: 30px; --wd-gap-sm: 10px; }
.dz-gap-30-20 { --wd-gap-lg: 30px; --wd-gap-sm: 20px; }
.dz-gap-20 { --wd-gap: 20px; }
/* Sans script, un carrousel à une colonne ne montre que sa première diapositive (comme le thème). */
.wd-carousel.dz-col-1:not(.wd-initialized) > .wd-carousel-wrap > .wd-carousel-item:nth-child(n+2) { display: none; }

/* Diapositives : l'image de l'admin donne la hauteur (même proportion que la diapositive du source). */
.wd-slide .dz-diapo { position: relative; inset: auto; flex: 0 0 100%; width: 100%; }
.wd-slide .dz-diapo img { display: block; width: 100%; height: auto; }

/* Étiquette de remise : même pastille que le source, texte exact du libellé de l'admin (C11 : « bis −20 % ab 10 Stück »
   au lieu de « Spare bis zu -20% »), sur une ligne. */
.onsale.product-label[data-texte]::after { content: attr(data-texte) !important; white-space: nowrap; }
.onsale.product-label[data-texte] { width: auto !important; min-width: 130px; padding-inline: 10px; }
/* Sur téléphone, la pastille du source passe sur deux lignes dans ses 110 px : même chose ici (sans déborder sur le cœur). */
@media screen and (max-width: 600px) { .onsale.product-label[data-texte]::after { white-space: normal; } .onsale.product-label[data-texte] { width: 110px !important; padding-inline: 6px; } }

/* Favoris et comparaison : boutons de formulaire au rendu des liens d'action de Woodmart. */
.wd-action-btn > button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--wd-action-w, unset); height: var(--wd-action-h, unset); gap: .3em; padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: 1; cursor: pointer; box-shadow: none; min-height: 0; }
.wd-action-btn > button:hover .wd-action-icon:before { color: var(--wd-action-icon-color-hover, var(--wd-action-color-hover)); }
.wd-action-btn > button:hover .wd-action-text { color: var(--wd-action-text-color-hover, var(--wd-action-color-hover)); }
form.wd-action-btn { margin: 0; }

/* Barres du mur d'avis (largeur que l'extension du source écrit en ligne). */
.dz-l-0{width:0%} .dz-l-1{width:1%} .dz-l-2{width:2%} .dz-l-3{width:3%} .dz-l-4{width:4%} .dz-l-5{width:5%} .dz-l-6{width:6%} .dz-l-7{width:7%} .dz-l-8{width:8%} .dz-l-9{width:9%} .dz-l-10{width:10%} .dz-l-11{width:11%} .dz-l-12{width:12%} .dz-l-13{width:13%} .dz-l-14{width:14%} .dz-l-15{width:15%} .dz-l-16{width:16%} .dz-l-17{width:17%} .dz-l-18{width:18%} .dz-l-19{width:19%} .dz-l-20{width:20%} .dz-l-21{width:21%} .dz-l-22{width:22%} .dz-l-23{width:23%} .dz-l-24{width:24%} .dz-l-25{width:25%} .dz-l-26{width:26%} .dz-l-27{width:27%} .dz-l-28{width:28%} .dz-l-29{width:29%} .dz-l-30{width:30%} .dz-l-31{width:31%} .dz-l-32{width:32%} .dz-l-33{width:33%} .dz-l-34{width:34%} .dz-l-35{width:35%} .dz-l-36{width:36%} .dz-l-37{width:37%} .dz-l-38{width:38%} .dz-l-39{width:39%} .dz-l-40{width:40%} .dz-l-41{width:41%} .dz-l-42{width:42%} .dz-l-43{width:43%} .dz-l-44{width:44%} .dz-l-45{width:45%} .dz-l-46{width:46%} .dz-l-47{width:47%} .dz-l-48{width:48%} .dz-l-49{width:49%} .dz-l-50{width:50%} .dz-l-51{width:51%} .dz-l-52{width:52%} .dz-l-53{width:53%} .dz-l-54{width:54%} .dz-l-55{width:55%} .dz-l-56{width:56%} .dz-l-57{width:57%} .dz-l-58{width:58%} .dz-l-59{width:59%} .dz-l-60{width:60%} .dz-l-61{width:61%} .dz-l-62{width:62%} .dz-l-63{width:63%} .dz-l-64{width:64%} .dz-l-65{width:65%} .dz-l-66{width:66%} .dz-l-67{width:67%} .dz-l-68{width:68%} .dz-l-69{width:69%} .dz-l-70{width:70%} .dz-l-71{width:71%} .dz-l-72{width:72%} .dz-l-73{width:73%} .dz-l-74{width:74%} .dz-l-75{width:75%} .dz-l-76{width:76%} .dz-l-77{width:77%} .dz-l-78{width:78%} .dz-l-79{width:79%} .dz-l-80{width:80%} .dz-l-81{width:81%} .dz-l-82{width:82%} .dz-l-83{width:83%} .dz-l-84{width:84%} .dz-l-85{width:85%} .dz-l-86{width:86%} .dz-l-87{width:87%} .dz-l-88{width:88%} .dz-l-89{width:89%} .dz-l-90{width:90%} .dz-l-91{width:91%} .dz-l-92{width:92%} .dz-l-93{width:93%} .dz-l-94{width:94%} .dz-l-95{width:95%} .dz-l-96{width:96%} .dz-l-97{width:97%} .dz-l-98{width:98%} .dz-l-99{width:99%} .dz-l-100{width:100%}

/* Bouton « Jetzt kaufen » des diapositives (extrait 121237.js : styles posés en ligne par le script, repris ici). */
@keyframes customCarouselGradientSlide { 0% { transform: translateX(-75%); } 100% { transform: translateX(0%); } }
@keyframes customCarouselPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.65), 0 12px 30px rgba(0,0,0,0.35); } 50% { box-shadow: 0 0 0 10px rgba(255, 214, 0, 0), 0 16px 38px rgba(0,0,0,0.45); } }
@keyframes customCarouselShine { 0% { left: -80%; } 100% { left: 130%; } }
.wd-slide.wd-carousel-item { position: relative; overflow: visible; }
.custom-carousel-buy-btn { position: absolute !important; overflow: hidden !important; isolation: isolate !important; background: #000 !important; border: 2px solid #ffd600 !important; animation: customCarouselPulse 1.8s ease-in-out infinite !important;
  left: 50%; bottom: 15%; transform: translateX(-50%) !important; z-index: 999999 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 17px 38px; border-radius: 999px !important; color: #fff !important; font-size: 17px !important; font-weight: 900 !important; letter-spacing: 0.4px !important; line-height: 1 !important; text-decoration: none !important; text-transform: uppercase !important; white-space: nowrap !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; text-shadow: 0 2px 6px rgba(0,0,0,0.55) !important; transition: transform 0.25s ease, filter 0.25s ease !important; }
.custom-carousel-buy-btn:hover { transform: translateX(-50%) scale(1.08) !important; filter: brightness(1.15); }
.custom-carousel-buy-btn::before { content: "" !important; position: absolute !important; inset: 0 !important; z-index: -2 !important; width: 400% !important; height: 100% !important; background: linear-gradient(90deg, #dd0000, #ffce00, #dd0000, #ffce00) !important; animation: customCarouselGradientSlide 3s linear infinite !important; will-change: transform !important; }
.custom-carousel-buy-btn::after { content: "" !important; position: absolute !important; top: -40% !important; left: -80% !important; width: 45% !important; height: 180% !important; z-index: -1 !important; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.65), transparent) !important; transform: rotate(20deg) !important; animation: customCarouselShine 2.4s ease-in-out infinite !important; }
.first-btn-style { left: 37% !important; bottom: 16% !important; }
@media screen and (max-width: 767px) {
  .custom-carousel-buy-btn { font-size: 15px !important; padding: 10px 20px !important; bottom: 8% !important; }
  .first-btn-style { left: 68% !important; bottom: 12% !important; }
}

/* Fiche produit (modèle Elementor 492 de dezig.de) : réglages écrits en ligne par le source. */
.dz-col-4-4-3 { --wd-col-lg: 4; --wd-col-md: 4; --wd-col-sm: 3; }
.dz-col-3-1-1 { --wd-col-lg: 3; --wd-col-md: 1; --wd-col-sm: 1; }
.dz-svg-100 { width: 100px; height: 100px; }
.dz-svg-120 { width: 120px; height: 100px; }
.wd-gallery-thumb .wd-carousel-item { cursor: pointer; }
.fiche-paiements.custom-payment-methods { margin: 12px 0 0; display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; width: 100%; overflow-x: auto; justify-content: flex-start; }
.fiche-transports { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 1%; align-items: center; justify-content: center; margin: 0 0 18px 0; }
.fiche-transports img { width: 24%; height: auto; object-fit: contain; }
.discount-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.discount-table th { background: #000; color: #fff; padding: 18px; text-align: left; }
.discount-table th:first-child { border-top-left-radius: 20px; }
.discount-table th:last-child { text-align: center; border-top-right-radius: 20px; }
.discount-table td { padding: 20px; border: 1px solid #eee; }
.discount-table td:last-child { text-align: center; }
.discount-table .discount-old { text-decoration: line-through; opacity: .6; margin-right: 8px; }
.discount-table .discount-new { font-weight: 600; }
.evs_offer_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.evs_offer_label { display: flex; align-items: center; gap: 12px; }
.evs_price_old { text-decoration: line-through; opacity: .7; margin-right: 10px; }
.evs_price_new { font-weight: 900; }
.evs_offer:not(.is-active) .evs_variants { display: none; }

/* « In den Warenkorb » : dégradé rouge-jaune qui défile (extrait 121482.js, 1 % toutes les 20 ms). */
@keyframes dz-bouton-ajout { from { background-position: 0% 50%; } to { background-position: 400% 50%; } }
.single_add_to_cart_button { position: relative !important; overflow: hidden !important; color: #fff !important; border: none !important; background-size: 400% 100% !important; background-image: linear-gradient(90deg, #dd0000, #ffce00, #dd0000, #ffce00) !important; animation: dz-bouton-ajout 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .single_add_to_cart_button { animation: none; } }

/* Mise en page à barre latérale (article, pages simples ; Woodmart l'écrit en ligne sur <main>, la zone et la barre). */
.dz-grille-principale { --wd-col-lg: 12; --wd-gap-lg: 30px; --wd-gap-sm: 20px; }
.dz-col-9-12-12 { --wd-col-lg: 9; --wd-col-md: 12; --wd-col-sm: 12; }
.dz-col-3-12-12 { --wd-col-lg: 3; --wd-col-md: 12; --wd-col-sm: 12; }
/* Vignettes des derniers articles : recadrage 70 × 60 au centre, comme la taille d'image « 70x60 » de WordPress. */
.woodmart-recent-posts .recent-posts-thumbnail img { width: 70px; height: 60px; object-fit: cover; }
/* Page d'erreur : le code en fond suit le statut (le thème écrit toujours « 404 »). */
.error404 .page-header[data-code]:before { content: attr(data-code); }

/* Panier rempli (panier classique dans la mise en page Woodmart) : un formulaire autour d'un bouton ne compte pas dans
   la mise en page ; le retrait d'une ligne ou d'un code est un bouton (POST) là où WooCommerce met un lien à jeton :
   mêmes règles que `td.product-remove a` et `.woocommerce-remove-coupon`, styles de bouton du thème annulés. */
.dz-contenu-seul { display: contents; }
td.product-remove button.remove, button.woocommerce-remove-coupon { appearance: none; margin: 0; padding: 0; min-height: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--wd-link-color); text-transform: none; letter-spacing: normal; cursor: pointer; }
td.product-remove button.remove { --wd-link-color: var(--color-gray-800); --wd-link-color-hover: var(--color-gray-500); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 0; }
td.product-remove button.remove:before { font-size: calc(var(--wd-text-font-size, 14px) / 1.2); content: "\f112"; font-family: "woodmart-font"; }
:is(td.product-remove button.remove, button.woocommerce-remove-coupon):hover { color: var(--wd-link-color-hover); background: none; }
/* « Adresse ändern » : le formulaire s'ouvre par script ; sans script, le lien vise la section (:target). */
.shipping-calculator-form:target { display: block; }
/* Message de remise par quantité du thème enfant (style écrit dans la balise du source). */
.discount-message { color: green; font-weight: bold; margin: 10px 0; }
/* Caisse : la feuille « Shopify » de dezig.de impose l'affichage des moyens de livraison et de paiement (!important) ;
   les offres des autres pays et les descriptions des moyens non choisis restent masquées. */
body.woocommerce-checkout.woocommerce-page [hidden] { display: none !important; }
/* Espace client : colonnes de Woodmart (navigation 3/4/12, contenu 9/8/12), écrites en ligne par le thème. */
.dz-col-3-4-12 { --wd-col-lg: 3; --wd-col-md: 4; --wd-col-sm: 12; }
.dz-col-9-8-12 { --wd-col-lg: 9; --wd-col-md: 8; --wd-col-sm: 12; }
