/* e-Tijara — couche commune des templates 3 à 17 : arabe (RTL + polices premium), logo de la boutique, panier,
   éléments e-Tijara. Le design reste celui de styles.css (fichier d'origine du template, non modifié). */
[hidden]{display:none!important}
.logo-site .tc-logo{max-height:42px;width:auto;max-width:200px;object-fit:contain}
.logo-site .tc-logo-txt{font-family:"Instrument Serif",serif;font-size:32px;line-height:1;color:var(--main,#1A1A1A);white-space:nowrap}
.tf-footer .logo-site .tc-logo-txt{font-size:30px}
.tc-lang{background:transparent;border:0;color:inherit;font:inherit;cursor:pointer;outline:0}
.tf-topbar .tc-lang{color:#fff}.tf-topbar .tc-lang option{color:#1A1A1A}
.tc-credit{margin-inline-start:6px}.tc-credit a{color:inherit;font-weight:600}
.testimonial-v01 .tc-initial{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--bg-9,#F6F6F6);font-weight:600;font-size:18px;color:var(--main,#1A1A1A);flex:0 0 48px}
.price-wrap .price-old{text-decoration:line-through;color:var(--text-4,#686868);margin-inline-end:6px;font-weight:400}
.card-product .price-wrap{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px}
.tc-add.is-busy{opacity:.6;pointer-events:none}
/* panier */
.tc-cart-load{display:flex;justify-content:center;padding:40px 0}
.tc-spin{width:28px;height:28px;border:3px solid #e5e5e5;border-top-color:var(--main,#1A1A1A);border-radius:50%;animation:tcSpin .8s linear infinite}
@keyframes tcSpin{to{transform:rotate(360deg)}}
#tcCartItems .tf-mini-cart-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #eee}
#tcCartItems .tf-mini-cart-image img{width:90px;height:108px;object-fit:cover;border-radius:6px}
#tcCartItems .tf-mini-cart-info{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-width:0}
#tcCartItems .tc-mini-row{display:flex;justify-content:space-between;gap:10px}
#tcCartItems .btn-action_remove{background:none;border:0;padding:4px;height:max-content}
#tcCartItems .wg-quantity{width:max-content}
#tcCartItems .box-text_empty{text-align:center;padding:40px 0}
body.tc-busy{cursor:progress}

/* ── Arabe : polices premium et sens de lecture ── */
html[dir=rtl] body.tc-body{font-family:var(--tc-ar-body),"Satoshi",sans-serif}
html[dir=rtl] body.tc-body *{letter-spacing:0!important}
html[dir=rtl] .font-instrument_serif,html[dir=rtl] .font-playfair,html[dir=rtl] .font-bebas,html[dir=rtl] .font-bricolage,html[dir=rtl] .font-dm_san,
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] h4,html[dir=rtl] h5,html[dir=rtl] h6,html[dir=rtl] .h1,html[dir=rtl] .h2,html[dir=rtl] .h3,html[dir=rtl] .h4,html[dir=rtl] .h5,html[dir=rtl] .h6,
html[dir=rtl] .logo-site .tc-logo-txt{font-family:var(--tc-ar-display),serif!important;text-transform:none!important}
html[dir=rtl] .hero_title,html[dir=rtl] .text-hero{line-height:1.25}
html[dir=rtl] .text-68{line-height:1.35}
html[dir=rtl] .icon-ArrowRight,html[dir=rtl] .icon-ArrowRightUp,html[dir=rtl] .icon-ArrowUpRight,html[dir=rtl] .icon-ArrowCaretRight,html[dir=rtl] .icon-ArrowCaretLeft{display:inline-block;transform:scaleX(-1)}
html[dir=rtl] .hero-banner,html[dir=rtl] .sect-heading:not(.center),html[dir=rtl] .card-product_info,html[dir=rtl] .tf-mini-cart-info{text-align:right}
html[dir=rtl] .card-product .product-badge_list{left:auto;right:12px}
html[dir=rtl] .card-product .product-action_list{right:auto;left:12px}
html[dir=rtl] .tooltip-left .tooltip{right:auto;left:calc(100% + 8px)}
/* bannière : le texte garde sa place d'origine (la photo n'est jamais retournée), écrit de droite à gauche */
html[dir=rtl] .hero-banner_wrap .row{direction:ltr}
html[dir=rtl] .hero-banner_wrap .hero-banner{direction:rtl;text-align:right}
html[dir=rtl] .infiniteSlide-wrapper{direction:ltr}
html[dir=rtl] .infiniteSlide-item .text{direction:rtl}
html[dir=rtl] .banner-lookbook .lookbook-item .dropdown-menu{text-align:right}
html[dir=rtl] .footer-bottom_wrap,html[dir=rtl] .ft-infor{text-align:right}
html[dir=rtl] .tf-mini-cart-total{display:flex;justify-content:space-between}
.box-nav-menu .item-link .text{white-space:nowrap;max-width:16ch;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:middle}
html[dir=rtl] .link-underline:not(:hover){text-decoration-color:transparent!important}
html[dir=rtl] a.text-white,html[dir=rtl] .text-white.link-underline{color:#fff!important}
/* ── Fiche produit : formulaire e-Tijara dans le style du template ── */
.tc-buy{display:grid;gap:22px;margin-top:6px}
.tc-buy .variant-picker-values button{font:inherit;cursor:pointer;background:none}
.tc-buy .size-btn[aria-pressed=true]{border-color:var(--main,#1A1A1A);background:var(--main,#1A1A1A);color:#fff}
.tc-buy .size-btn[disabled],.tc-buy .color-btn[disabled]{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.tc-buy .color-btn{padding:3px;border:1px solid transparent;border-radius:50%}
.tc-buy .color-btn[aria-pressed=true]{border-color:var(--main,#1A1A1A)}
.tc-buy .tc-swatch-img .check-color{width:44px;height:44px;border-radius:50%;overflow:hidden;display:block;background:#f1f1f1}
.tc-buy .tc-swatch-img .check-color img{width:100%;height:100%;object-fit:cover}
.tc-buy .wg-quantity output{display:flex;align-items:center;justify-content:center;min-width:44px;font-weight:600}
.tc-buy .tf-product-total-quantity{display:grid;gap:10px}
.tc-buy .group-action{display:flex;gap:10px}
.tc-buy .volume-discount-item-2{position:relative;cursor:pointer}
.tc-buy .volume-discount-item-2.is-out{opacity:.5;cursor:not-allowed}
.tc-buy .tc-offer-img{width:44px;height:44px;border-radius:6px;object-fit:cover;flex:0 0 44px}
.tc-buy .volume-discount-item-2:has(input:checked){border-color:var(--main,#1A1A1A)}
.tc-och{margin-top:12px;display:grid;gap:8px}.tc-och .och-t{display:flex;gap:8px}.tc-och button{border:1px solid #ddd;border-radius:6px;background:#fff;padding:6px 12px}
.tc-och button[aria-pressed=true]{border-color:var(--main,#1A1A1A)}.tc-och .och-r{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tc-och select{border:1px solid #ddd;border-radius:6px;padding:8px}
.tc-order .title{margin-bottom:14px}
.tc-order .form-content{display:grid}
.tc-phone{position:relative}.tc-phone-l{display:block;font-size:13px;color:var(--text-4,#686868);margin-bottom:4px}
.tc-phone .ph-w,.tc-phone .iti{display:block;width:100%}
.tc-phone input{width:100%;height:52px;border:1px solid var(--line,#E9E9E9);border-radius:8px;padding:0 14px;outline:0}
.tc-phone input:focus{border-color:var(--main,#1A1A1A)}
.ph-m{display:block;font-size:12px;margin-top:4px}.ph-m.is-ok{color:#0B8B3A}.ph-m.is-bad{color:#BC0000}.hide{display:none!important}
.tc-pay{display:grid;gap:10px}.tc-pay .payment-card{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;border:1px solid #E9E9E9;border-radius:8px;padding:14px;cursor:pointer}
.tc-pay .payment-card.selected{border-color:var(--main,#1A1A1A)}.tc-pay .option-detail{flex-basis:100%;font-size:13px;color:var(--text-4,#686868)}
.tc-sum{padding:18px;border:1px solid #E9E9E9;border-radius:12px}
.tc-sum .img-product{position:relative;width:64px;height:76px;margin:0}.tc-sum .img-product img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.tc-sum .order-item{display:flex;gap:12px;align-items:center;list-style:none}.tc-sum ul{padding:0;margin:0 0 12px}.tc-sum .quantity{position:absolute;top:-6px;inset-inline-end:-6px;background:var(--main,#1A1A1A);color:#fff;border-radius:999px;font-size:11px;padding:1px 6px}
.tc-sum .list-total li{padding:4px 0}.tc-sum .subtotal{border-top:1px solid #E9E9E9;padding-top:10px;margin-top:6px}
.tc-err{color:#BC0000;font-size:14px;margin:0;min-height:0}.tc-err:empty{display:none}
.tc-soldout{margin:18px 0}
.comment_image.tc-initial,.tes-avatar.tc-initial{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--bg-9,#F6F6F6);font-weight:600;font-size:20px;flex:0 0 56px}
.tc-rate i{font-size:20px;color:#F5A524}.tc-rate i.no-rate{color:#D9D9D9}
.tc-atc.is-busy{opacity:.6;pointer-events:none}
.et-rich img,.et-rich video,.et-rich iframe{max-width:100%;height:auto}
/* catalogue */
.tf-page-title-3:not(:has(.bg-img-item)){background:var(--bg-9,#F6F6F6)}
.tc-facet-cats{list-style:none;padding:0;margin:0;display:grid;gap:8px}.tc-facet-cats ul{list-style:none;padding-inline-start:14px;margin:6px 0 0;display:grid;gap:6px}
.tc-facet-cats a.active{font-weight:700;color:var(--main,#1A1A1A);text-decoration:underline}
.tf-dropdown-sort .select-item{display:block;text-decoration:none;color:inherit}
.canvas-filter-product .widget-facet{padding:18px 0;border-bottom:1px solid #eee}.canvas-filter-product .canvas-body{padding:0 20px}
.tc-404-n{font-size:clamp(90px,16vw,180px);line-height:1;margin:0}
.remove-cart{background:none;border:0;padding:0;cursor:pointer}
.tc-continue{display:inline-block;margin-top:12px}
/* pages reprises des templates 1 et 2 (paiement, confirmation, contact, pages) : typographie et boutons du template */
.tc-legacy main.bg-grey-eeeeee,.tc-legacy .bg-grey-eeeeee{background:#fff!important}
.tc-legacy .btn-primary,.tc-legacy .btn.btn-primary{background:var(--main,#1A1A1A)!important;border-color:var(--main,#1A1A1A)!important;color:#fff!important;border-radius:8px!important}
.tc-legacy .form-control,.tc-legacy .form-select{border-radius:8px!important;border-color:#E9E9E9!important}
.tc-legacy .tf-header,.tc-legacy .tf-footer,.tc-legacy .tf-topbar{font-family:inherit}
/* catégories : photos toujours rondes, même si elles ne sont pas carrées */
.category-v01 .cate-image{aspect-ratio:1/1;overflow:hidden;border-radius:50%;display:block}
.category-v01 .cate-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1}
.tf-page-title-3:not(:has(.bg-img-item)) .content{padding:10px 0}
.tf-product-volume-discount .title{display:flex;align-items:center;gap:12px}.tf-product-volume-discount .title .br-line{flex:1}.tf-product-volume-discount .title .text{white-space:nowrap;margin:0}
.tc-buy+.tf-product-delivery .product-delivery,.tf-product-delivery .product-delivery{display:flex;align-items:center;gap:10px;justify-content:flex-start;text-align:start;flex-wrap:wrap}
.tf-topbar[style*="--tc-top-ink"],.tf-topbar[style*="--tc-top-ink"] .text-white,.tf-topbar[style*="--tc-top-ink"] a,.tf-topbar[style*="--tc-top-ink"] .tc-lang{color:var(--tc-top-ink)!important}
/* ── Fiche produit « Commande Express » (2.78.3) : une carte de commande nette, champs identiques, libellés au-dessus ── */
.tc-sec-t{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-weight:600;font-size:16px;color:var(--main,#1A1A1A)}
.tc-sec-t::after{content:"";flex:1;height:1px;background:var(--line,#E9E9E9)}
.tc-ocard{margin-top:22px;padding:22px;border:1px solid var(--line,#E9E9E9);border-radius:16px;background:#fff;box-shadow:0 10px 30px -18px rgba(0,0,0,.18)}
.tc-ocard-h{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.tc-ocard-ic{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--main,#1A1A1A);color:#fff;font-size:16px}
.tc-fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px 14px}
.tc-fgrid .is-full{grid-column:1/-1}
.tc-fgrid [hidden]{display:none!important}
.tc-f{display:flex;flex-direction:column;min-width:0;position:relative}
.tc-f-l{display:block;margin:0 0 6px;font-size:13px;font-weight:500;line-height:18px;color:var(--main,#1A1A1A)}
.tc-f-i,.tc-f .ph-w input{width:100%;height:48px;padding:0 14px;border:1px solid #DCDCDC;border-radius:10px;background:#fff;font-size:14px;color:var(--main,#1A1A1A);outline:0;transition:border-color .2s,box-shadow .2s;box-shadow:none;margin:0}
textarea.tc-f-i{height:auto;min-height:76px;padding:12px 14px;resize:vertical}
select.tc-f-i{appearance:none;-webkit-appearance:none;padding-inline-end:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;cursor:pointer}
[dir=rtl] select.tc-f-i{background-position:left 14px center}
select.tc-f-i:disabled{background-color:#F6F6F6;color:#8A8A8A;cursor:not-allowed}
.tc-f-i:focus,.tc-f .ph-w input:focus{border-color:var(--main,#1A1A1A);box-shadow:0 0 0 3px rgba(26,26,26,.08)}
.tc-f .ph-w,.tc-f .iti{display:block;width:100%}
.tc-f .iti input{padding-left:92px!important}
.tc-f .iti__selected-flag{border-radius:10px 0 0 10px}
.tc-f .ph-m{display:block;margin-top:5px;font-size:12px}.tc-f .ph-m.hide{display:none}.tc-f .ph-m.is-ok{color:#1F8A4C}.tc-f .ph-m.is-bad{color:#B10000}
.tc-qrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:10px 0;border-top:1px dashed var(--line,#E9E9E9)}
.tc-qrow .wg-quantity{height:44px;min-width:120px}
.tc-ocard .tc-pay{margin-top:16px}
.tc-ocard .bp-mkg{margin-top:16px}
.tc-ocard .tc-sum{margin-top:16px;padding:16px;border:0;border-radius:12px;background:#F7F7F7}
.tc-sum-p{display:flex;align-items:center;gap:12px;padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid #E7E7E7}
.tc-sum-p .img-product{position:relative;width:58px;height:58px;flex:none;margin:0}
.tc-sum-p .img-product img{width:100%;height:100%;object-fit:cover;border-radius:8px;background:#fff}
.tc-sum-p .quantity{position:absolute;top:-7px;inset-inline-end:-7px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px;border-radius:11px;background:var(--main,#1A1A1A);color:#fff;font-size:11px;font-weight:600}
.tc-sum-p .info{min-width:0}.tc-sum-p .name{margin:0;line-height:1.4}
.tc-sum-l{list-style:none;margin:0;padding:0}
.tc-sum-l li{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:14px;color:#555}
.tc-sum-l li span:last-child{color:var(--main,#1A1A1A);font-weight:500}
.tc-sum-t{display:flex;justify-content:space-between;gap:10px;margin-top:8px;padding-top:10px;border-top:1px solid #E1E1E1;font-size:17px;font-weight:600;color:var(--main,#1A1A1A)}
.tc-ocard .tc-err:empty{display:none}.tc-ocard .tc-err{margin:12px 0 0;color:#B10000;font-size:13px}
.tc-ocard .tc-go{margin-top:16px;height:54px;border-radius:12px;font-size:16px;font-weight:600}
.tf-product-delivery{margin-top:18px}
.tf-product-delivery .product-delivery{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:#F7F7F7}
.tf-product-delivery .product-delivery .icon{font-size:22px;flex:none}
.tf-product-delivery .product-delivery p{margin:0;line-height:1.5}
.tc-dot{margin:0 6px;color:#999}
@media (max-width:575px){.tc-fgrid{grid-template-columns:1fr}.tc-ocard{padding:16px;border-radius:14px}}
/* Zoom dans la photo (survol, ordinateur) : la photo s'agrandit sous la souris, sans fenêtre à côté */
.tf-product-media-main .item{display:block;overflow:hidden;border-radius:12px;cursor:zoom-in}
.tf-product-media-main .item img.tc-zoom{transition:transform .25s ease;will-change:transform}
.tf-product-media-main .item.is-zoom img.tc-zoom{transform:scale(2);transition:transform .08s linear}
/* Catégories : 6 ou moins → rangée centrée, taille selon le nombre */
.tc-cats-row{display:flex;flex-wrap:wrap;justify-content:center;gap:30px 54px}
.tc-cat-i{flex:0 0 150px;max-width:150px}
.tc-cats-2 .tc-cat-i,.tc-cats-3 .tc-cat-i{flex-basis:200px;max-width:200px}
.tc-cats-c .category-v01{display:flex;flex-direction:column;align-items:center;text-align:center}
.tc-cats-c .cate-image{width:100%;aspect-ratio:1/1}
.tc-cats-c .cate-image img{width:100%;height:100%;object-fit:cover}
@media (max-width:767px){.tc-cats-row{gap:20px 18px}.tc-cat-i,.tc-cats-2 .tc-cat-i,.tc-cats-3 .tc-cat-i{flex-basis:calc(33.33% - 12px);max-width:calc(33.33% - 12px)}}
@media (max-width:420px){.tc-cat-i,.tc-cats-2 .tc-cat-i,.tc-cats-3 .tc-cat-i{flex-basis:calc(50% - 9px);max-width:calc(50% - 9px)}}
/* Catalogue avec colonne de filtres (2.78.3) */
.tc-fcat{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.tc-fcat ul{list-style:none;margin:2px 0 4px;padding-inline-start:14px;display:flex;flex-direction:column;gap:2px}
.tc-fcat a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;color:var(--main,#1A1A1A);text-decoration:none}
.tc-fcat a:hover{background:#F5F5F5}
.tc-fcat a.is-on{background:var(--main,#1A1A1A);color:#fff}
.tc-fcat .count,.tc-fsize .count,.tc-check .count{color:#8A8A8A;font-size:12px}
.tc-fcat a.is-on .count{color:rgba(255,255,255,.7)}
.tc-fprice .price-box{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.tc-fprice .box-wrap{flex:1;display:flex;flex-direction:column;gap:4px;margin:0}
.tc-fprice .box-wrap input{width:100%;height:42px;padding:0 12px;border:1px solid #DCDCDC;border-radius:8px;font-size:14px;outline:0}
.tc-fprice .box-wrap input:focus{border-color:var(--main,#1A1A1A)}
.tc-fprice .br-line{width:12px;height:1px;margin-top:20px;flex:none}
.tc-fsize{display:flex;flex-wrap:wrap;gap:8px}
.tc-size{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid #DCDCDC;border-radius:999px;font-size:13px;color:var(--main,#1A1A1A);text-decoration:none}
.tc-size:hover{border-color:var(--main,#1A1A1A)}
.tc-size.is-on{background:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A);color:#fff}.tc-size.is-on .count{color:rgba(255,255,255,.7)}
.tc-check{display:flex;align-items:center;gap:10px;color:var(--main,#1A1A1A);text-decoration:none}
.tc-box{width:18px;height:18px;border:1.5px solid #BDBDBD;border-radius:4px;flex:none;position:relative}
.tc-check.is-on .tc-box{background:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A)}
.tc-check.is-on .tc-box::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tc-active-f{display:flex;flex-direction:column;gap:10px}
.tc-chips{display:flex;flex-wrap:wrap;gap:6px}
.tc-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#F2F2F2;font-size:12.5px;color:var(--main,#1A1A1A);text-decoration:none}
.tc-chip .icon{font-size:10px}
.tc-chip:hover{background:#E6E6E6}
.tc-f .iti{width:100%!important;display:block!important}
/* ── Carte de commande : étapes, versions stylées, cadre réglable, garanties, bouton flottant (2.78.5) ── */
.tc-ocard{position:relative}
.tc-ocard.is-dashed{border:2px dashed var(--main,#1A1A1A)}
.tc-ocard.is-magic{border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--tc-a,0deg),var(--third,#D86A3E),#FB6000,var(--main,#1A1A1A),var(--third,#D86A3E)) border-box;animation:tcSpin 4s linear infinite}
@property --tc-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes tcSpin{to{--tc-a:360deg}}
@media (prefers-reduced-motion:reduce){.tc-ocard.is-magic{animation:none}}
.tc-step{display:flex;align-items:center;gap:10px;margin:22px 0 12px}
.tc-ocard-h+.tc-step{margin-top:4px}
.tc-step-n{width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--main,#1A1A1A);color:#fff;font-size:12px;font-weight:700}
.tc-step-t{font-size:15px;font-weight:600;color:var(--main,#1A1A1A)}
.tc-step::after{content:"";flex:1;height:1px;background:var(--line,#E9E9E9)}
.tc-choice .tc-sec-t{display:none}
.tc-choice .tf-product-volume-discount{margin:0}
.tc-choice .list-volume-discount{gap:10px}
.tc-vars{display:flex;flex-direction:column;gap:16px;margin:18px 0 0}
.tc-choice .tc-vars{margin:0}
.tc-var-h{display:flex;align-items:baseline;gap:8px;margin-bottom:10px;font-size:14px}
.tc-var-n{font-weight:600;color:var(--main,#1A1A1A)}
.tc-var-v{color:var(--third,#D86A3E);font-weight:600}
.tc-var-o{display:flex;flex-wrap:wrap;gap:10px}
.tc-opt{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:58px;height:46px;padding:0 18px;border:1.5px solid #DCDCDC;border-radius:12px;background:#fff;color:var(--main,#1A1A1A);font-size:14px;font-weight:500;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.tc-opt:hover:not(:disabled){border-color:var(--main,#1A1A1A);transform:translateY(-1px)}
.tc-opt[aria-pressed=true]{border-color:var(--main,#1A1A1A);background:var(--main,#1A1A1A);color:#fff;box-shadow:0 6px 16px -8px rgba(0,0,0,.45)}
.tc-opt:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.tc-opt-ck{display:none}
.tc-var-o.is-img{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.tc-var-o.is-img .tc-opt{flex-direction:column;height:auto;min-width:0;padding:8px 8px 10px;gap:6px}
.tc-var-o.is-img .tc-opt[aria-pressed=true]{background:#fff;color:var(--main,#1A1A1A);box-shadow:0 0 0 1px var(--main,#1A1A1A),0 8px 18px -10px rgba(0,0,0,.4)}
.tc-opt-img{display:block;width:100%;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:#F3F3F3}
.tc-opt-img img{width:100%;height:100%;object-fit:cover}
.tc-var-o.is-img .tc-opt-l{font-size:12.5px;line-height:1.3;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tc-var-o.is-img .tc-opt-ck{display:grid;position:absolute;top:6px;inset-inline-end:6px;width:20px;height:20px;border-radius:50%;background:var(--main,#1A1A1A);opacity:0;transform:scale(.6);transition:.15s}
.tc-var-o.is-img .tc-opt-ck::after{content:"";width:5px;height:9px;margin:auto;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.tc-var-o.is-img .tc-opt[aria-pressed=true] .tc-opt-ck{opacity:1;transform:none}
.tc-go{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.tc-trust{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px dashed var(--line,#E9E9E9);display:grid;gap:8px}
.tc-trust li{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;color:#444}
.tc-trust .icon{font-size:18px;color:var(--main,#1A1A1A);flex:none;margin-top:1px}
.tc-float{position:fixed;z-index:60;left:50%;bottom:22px;transform:translate(-50%,140%);display:inline-flex;align-items:center;gap:10px;padding:14px 28px;border-radius:999px;background:var(--main,#1A1A1A);color:#fff;font-weight:600;font-size:15px;text-decoration:none;box-shadow:0 14px 30px -10px rgba(0,0,0,.5);transition:transform .3s ease;white-space:nowrap;max-width:calc(100% - 32px)}
.tc-float.on{transform:translate(-50%,0)}
.tc-float:hover{color:#fff;filter:brightness(1.08)}
.tc-float .icon{font-size:18px}
@media (max-width:1199px){.tc-float{bottom:78px}}
.tc-ocard,.tc-choice,.tc-var,.tc-sum-p .info{min-width:0}.tc-var-v,.tc-sum-p .variant{overflow-wrap:anywhere}
.tc-buy.is-cart .tc-vars{margin:20px 0 0!important;padding:0}.tc-buy.is-cart .tf-product-total-quantity{margin-top:22px!important;padding-top:0!important}
/* ── Mobile (2.78.6) : logo lisible, catalogue aéré ── */
.tf-header .logo-site{max-width:none!important;aspect-ratio:auto!important;display:inline-flex;align-items:center}
.logo-site .tc-logo{height:auto;max-height:52px;max-width:230px}
@media (max-width:1199px){.logo-site .tc-logo{max-height:46px;max-width:190px}.logo-site .tc-logo-txt{font-size:28px}}
@media (max-width:575px){.logo-site .tc-logo{max-height:42px;max-width:170px}}
@media (max-width:767px){
  #gridLayout.tf-col-3,#gridLayout.tf-col-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .section-shop-sidebar .tf-control-layout{display:none!important}
  .section-shop-sidebar .tf-shop-control{gap:10px;padding:10px 0}
  .section-shop-sidebar .tf-shop-control .col-left{gap:10px}
  .section-shop-sidebar .tf-shop-control .count-text{font-size:13px;color:#777}
  .section-shop-sidebar .tf-dropdown-sort .btn-select{min-width:0;padding:8px 12px;font-size:13px}
  .wrapper-shop{gap:18px 12px!important}
}
@media (max-width:575px){
  .card-product .product-action_list,.card-product .product-action_bot{display:none!important}
  .card-product .product-badge_list{top:8px;inset-inline-start:8px}
  .card-product .product-badge_item{font-size:11px;padding:2px 7px}
  .card-product .name-product{font-size:13.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .card-product .price-wrap{flex-wrap:wrap;gap:2px 8px}
  .card-product .price-wrap .price-old{font-size:12px}
  .card-product .card-product_info{padding-top:10px;gap:6px}
}
/* Barre collante du template (2.78.6) */
.tc-sticky{transform:translateY(110%);visibility:hidden}
.tc-sticky.show{transform:none;visibility:visible}
.tc-sticky .tf-height-observer{gap:16px}
.tc-sticky .prd_info{display:grid;gap:2px;min-width:0}
.tc-sticky .name__prd{margin:0;max-width:340px}
.tc-st-price{font-weight:600;color:var(--primary,#B10000);font-size:14px}
.tc-st-form{display:flex;align-items:center;gap:12px}
.tc-sticky .tf-select select{height:46px;min-width:210px;max-width:280px}
.tc-sticky .wg-quantity{height:46px;width:120px}
.tc-sticky .tc-st-go{height:46px;min-width:190px;white-space:nowrap}
.tc-sticky .prd_img img{width:56px;height:56px;object-fit:cover}
body.tc-sticky-on #goTop{bottom:96px}
@media (max-width:991px){.tc-sticky .tf-select,.tc-sticky .tf-product-info-quantity{display:none}}
@media (max-width:1199px){body.tc-sticky-on #goTop{bottom:150px}}
@media (max-width:575px){
  .tc-sticky .tf-height-observer{padding:10px 0;gap:10px}
  .tc-sticky .prd_img img{width:44px;height:44px}
  .tc-sticky .name__prd{font-size:13px;max-width:150px}
  .tc-st-price{font-size:13px}
  .tc-sticky .tc-st-go{min-width:0;padding:0 18px;height:44px;font-size:14px}
}
/* Avis (2.78.6) */
.tc-rv-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:48px;align-items:start}
.tc-rv-sum{position:sticky;top:100px;padding:26px;border:1px solid var(--line,#E9E9E9);border-radius:16px;background:#fff}
.tc-rv-sum .title{margin:0 0 18px}
.tc-rv-score{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.tc-rv-score b{font-size:44px;line-height:1;font-weight:600;color:var(--main,#1A1A1A)}
.tc-rv-score small{display:block;margin-top:4px;color:#777;font-size:13px}
.tc-rv-bars{display:grid;gap:7px;margin-bottom:20px}
.tc-rv-bar{display:grid;grid-template-columns:34px 1fr 24px;align-items:center;gap:10px;font-size:13px}
.tc-rv-bar span{display:inline-flex;align-items:center;gap:3px}.tc-rv-bar span .icon{font-size:11px;color:#F0A500}
.tc-rv-track{height:6px;border-radius:3px;background:#EEE;overflow:hidden}.tc-rv-track i{display:block;height:100%;background:var(--main,#1A1A1A);border-radius:3px}
.tc-rv-bar em{font-style:normal;color:#777;text-align:end}
.tc-rv-empty{margin:0 0 18px;color:#666;line-height:1.55}
.tc-rv-sum .tf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.tc-rv-list{display:grid;gap:14px}
.tc-rv{display:flex;gap:14px;padding:18px 20px;border:1px solid var(--line,#E9E9E9);border-radius:14px;background:#fff}
.tc-rv-av{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:50%;background:#F2F2F2;font-weight:600;color:var(--main,#1A1A1A)}
.tc-rv-body{min-width:0;flex:1}
.tc-rv-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-bottom:6px}
.tc-rv-head b{font-weight:600;color:var(--main,#1A1A1A)}.tc-rv-head time{margin-inline-start:auto;font-size:12.5px;color:#888}
.tc-rv-head .icon{font-size:13px}
.tc-rv-body p{margin:0;font-size:14px;line-height:1.6;color:#444;overflow-wrap:anywhere}
.tc-rv-modal .modal-dialog{max-width:540px}
.tc-rv-modal .modal-content{position:relative;padding:28px;border-radius:18px;border:0}
.tc-rv-x{position:absolute;top:14px;inset-inline-end:14px;width:36px;height:36px;border:0;border-radius:50%;background:#F3F3F3;display:grid;place-items:center;cursor:pointer}
.tc-rv-prod{display:flex;align-items:center;gap:14px;margin:0 40px 20px 0}
[dir=rtl] .tc-rv-prod{margin:0 0 20px 40px}
.tc-rv-prod img{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#F3F3F3}
.tc-rv-prod h4{margin:0 0 2px;font-size:20px}.tc-rv-prod p{margin:0;font-size:13px;color:#777;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.tc-rv-stars{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;margin-bottom:18px;border-radius:14px;background:#F7F7F7}
.tc-rv-stars>span{font-size:13px;font-weight:500}
.tc-rate{display:flex;gap:6px}
.tc-star{border:0;background:none;padding:2px;cursor:pointer;font-size:34px;line-height:1;color:#D9D9D9;transition:transform .12s,color .12s}
.tc-star.is-on{color:#F0A500}.tc-star:hover{transform:scale(1.12)}
.tc-rate-l{min-height:18px;font-style:normal;font-size:13px;font-weight:600;color:var(--main,#1A1A1A)}
.tc-rv-cnt{align-self:flex-end;margin-top:4px;font-size:11.5px;color:#999}
.tc-rv-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:12.5px;color:#666;line-height:1.5}
.tc-rv-modal .tc-err:empty{display:none}.tc-rv-modal .tc-err{margin:10px 0 0;color:#B10000;font-size:13px}
.tc-rv-modal form .tf-btn{margin-top:16px;height:52px;border-radius:12px}
.tc-rv-ok{text-align:center;padding:20px 0 6px}.tc-rv-okic{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#E8F6EE;color:#1F8A4C;font-size:30px;margin-bottom:12px}
.tc-rv-ok p{color:#666;margin:6px 0 18px}
@media (max-width:991px){.tc-rv-grid{grid-template-columns:1fr;gap:24px}.tc-rv-sum{position:static}}
@media (max-width:575px){.tc-rv-modal .modal-content{padding:22px 18px}.tc-star{font-size:30px}.tc-rv{padding:14px}}
@media (max-width:767px){
  .tc-sticky .tf-sticky-atc-product{display:flex!important;min-width:0;flex:1}
  .tc-sticky .tf-sticky-atc-infos{width:auto!important;flex:none}
  .tc-sticky .atc-product-side{gap:10px;min-width:0}
  .tc-sticky .prd_info{min-width:0}
  .tc-sticky .name__prd{max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.tc-sticky .prd_img{flex:none;width:56px;height:56px;border-radius:50%}
.tc-st-price{white-space:nowrap}
@media (max-width:575px){.tc-sticky .prd_img{width:44px;height:44px}.tc-sticky .prd_img img{width:44px;height:44px}.tc-sticky .tc-st-go{padding:0 14px;font-size:13.5px}}
/* Contact « store-location » (2.78.6) */
.tc-ct-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tc-ct-acts .tf-btn{display:inline-flex;align-items:center;gap:6px}
.tc-wa{background:#25D366!important;border-color:#25D366!important;color:#fff!important}
.tc-ct-soc a{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line,#E9E9E9);border-radius:50%;font-size:16px}
.tc-ct-big{padding:32px}
.wg-map iframe{border-radius:16px;display:block}
@media (max-width:991px){.wg-map iframe{height:380px}}
/* Paiement du panier (2.78.6) */
.tc-ck-title .breadcrumb{justify-content:center}
.tc-ck-box{padding:24px;border:1px solid var(--line,#E9E9E9);border-radius:16px;background:#fff;margin-bottom:18px}
.tc-ck-box .tc-step{margin-top:0}
.tc-ck-box.tc-pay{display:block}
.tc-ck-box .payment-card{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;border:1.5px solid #E1E1E1;border-radius:12px;padding:14px 16px;margin-bottom:10px;cursor:pointer;transition:border-color .15s}
.tc-ck-box .payment-card.selected,.tc-ck-box .payment-card:has(input:checked){border-color:var(--main,#1A1A1A);background:#FAFAFA}
.tc-ck-box .payment-card .option-title{font-weight:600}
.tc-ck-box .policy-text{margin-top:12px;font-size:12.5px;color:#777;line-height:1.5}
.tc-opt-t{font-weight:400;color:#999;font-size:12px}
.tc-ck-side .cart-box{padding:24px;border:1px solid var(--line,#E9E9E9);border-radius:16px;background:#fff;box-shadow:0 10px 30px -20px rgba(0,0,0,.2)}
.tc-ck-side{top:100px}
.tc-ck-side .list-order-product{max-height:330px;overflow:auto;padding-inline-end:4px}
.tc-ck-side .order-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #F0F0F0}
.tc-ck-side .order-item .img-product{position:relative;width:62px;height:62px;flex:none;margin:0}
.tc-ck-side .order-item .img-product img{width:100%;height:100%;object-fit:cover;border-radius:10px;background:#F5F5F5}
.tc-ck-side .order-item .quantity{position:absolute;top:-7px;inset-inline-end:-7px;min-width:22px;height:22px;display:grid;place-items:center;border-radius:11px;background:var(--main,#1A1A1A);color:#fff;font-size:11px;font-weight:600}
.tc-ck-side .order-item .content{flex:1;min-width:0;display:flex;justify-content:space-between;gap:10px;align-items:center}
.tc-ck-side .order-item .name{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tc-ck-side .list-total{list-style:none;padding:12px 0 0;margin:0;display:grid;gap:8px}
.tc-ck-note{display:block;font-size:11.5px;color:#1F8A4C}
.tc-green{color:#1F8A4C}
.tc-ck-side .subtotal{margin-top:14px;padding-top:14px;border-top:1px solid #E6E6E6;font-size:18px}
.tc-ck-side .btn-order{margin-top:16px}
.tc-ck-side .tc-go,.tc-ck .tc-go{height:54px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;font-weight:600}
.tc-ck-safe{display:flex;gap:8px;margin:14px 0 0;font-size:12px;color:#777;line-height:1.5}
.tc-ck .tc-f .intl-tel-input,.tc-ck .tc-f .iti{width:100%;display:block}
.tc-ck input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}
@media (max-width:991px){.tc-ck-side{position:static}}
.tc-ck-title .breadcrumb{gap:8px}
/* Commande enregistrée (2.78.6) */
.tc-oc-main{background:#F7F7F7}
.tc-oc-card{max-width:760px;margin:0 auto;padding:40px 36px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 20px 50px -30px rgba(0,0,0,.25)}
.tc-oc-ic{display:inline-grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#E8F6EE;color:#1F8A4C;font-size:34px;margin-bottom:18px;animation:tcPop .5s ease}
@keyframes tcPop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.1)}100%{transform:none;opacity:1}}
.tc-oc-t{font-size:28px;line-height:1.25;margin:0 0 10px}
.tc-oc-p{max-width:520px;margin:0 auto 26px;color:#555;line-height:1.6}
.tc-oc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;text-align:start;margin-bottom:22px}
.tc-oc-grid>div{display:flex;flex-direction:column;gap:3px;padding:16px;border-radius:14px;background:#F7F7F7}
.tc-oc-grid small{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.04em}
.tc-oc-grid b{font-size:16px;color:var(--main,#1A1A1A);overflow-wrap:anywhere}
.tc-oc-grid span{font-size:13px;color:#666;overflow-wrap:anywhere}
.tc-oc-items{list-style:none;margin:0 0 22px;padding:0;text-align:start;border:1px solid #EEE;border-radius:14px}
.tc-oc-items li{display:flex;align-items:center;gap:12px;padding:12px 14px}
.tc-oc-items li+li{border-top:1px solid #F1F1F1}
.tc-oc-items figure{position:relative;width:54px;height:54px;flex:none;margin:0}
.tc-oc-items figure img{width:100%;height:100%;object-fit:cover;border-radius:10px;background:#F4F4F4}
.tc-oc-items figure span{position:absolute;top:-6px;inset-inline-end:-6px;min-width:20px;height:20px;display:grid;place-items:center;border-radius:10px;background:var(--main,#1A1A1A);color:#fff;font-size:11px;font-weight:600}
.tc-oc-items div{flex:1;min-width:0}.tc-oc-items p{margin:0;font-size:14px;font-weight:500}.tc-oc-items small{color:#888}
.tc-oc-items b{font-size:14px;white-space:nowrap}
.tc-oc-steps{list-style:none;display:flex;justify-content:center;gap:0;margin:0 0 18px;padding:0;counter-reset:s}
.tc-oc-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;font-size:12.5px;color:#777}
.tc-oc-steps li .icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#F1F1F1;color:#888;font-size:17px;position:relative;z-index:1}
.tc-oc-steps li.is-done .icon{background:#1F8A4C;color:#fff}.tc-oc-steps li.is-done{color:#1F8A4C;font-weight:600}
.tc-oc-steps li+li::before{content:"";position:absolute;top:20px;inset-inline-end:50%;width:100%;height:2px;background:#EEE}
.tc-oc-note{font-size:13px;color:#666;background:#FFF8E6;border-radius:12px;padding:12px 14px;margin:0 0 20px;line-height:1.55}
.tc-oc-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.tc-oc-acts .tf-btn{min-width:220px}
.tc-oc-rel{background:#F7F7F7}
@media (max-width:575px){.tc-oc-card{padding:28px 18px;border-radius:16px}.tc-oc-t{font-size:22px}.tc-oc-steps li{font-size:11px}.tc-oc-acts .tf-btn{width:100%}}
@media (max-width:767px){
  .tf-page-title-3.flat-spacing-10{padding-top:28px!important;padding-bottom:28px!important}
  .tf-page-title-3 .title-page{font-size:32px}
  .section-shop-sidebar .tf-shop-control{flex-wrap:nowrap!important;align-items:center}
  .section-shop-sidebar .tf-shop-control .col-left{flex:1;min-width:0}
  .section-shop-sidebar .tf-shop-control .count-text{display:none}
}
/* Catalogue mobile : filtre à gauche, tri à droite, sans chevauchement (2.78.7) */
@media (max-width:767px){
  .section-shop-sidebar .tf-shop-control .col-left,.section-shop-sidebar .tf-shop-control .col-right{width:auto!important;flex:0 1 auto!important;flex-wrap:nowrap!important;gap:8px!important}
  .section-shop-sidebar .tf-shop-control .col-left{flex:1 1 auto!important}
  .section-shop-sidebar .tf-btn-filter{height:42px;padding:0 14px;white-space:nowrap}
  .section-shop-sidebar .tf-dropdown-sort .btn-select{height:42px;white-space:nowrap}
  .section-shop-sidebar .tf-dropdown-sort .dropdown-menu{inset-inline-end:0;inset-inline-start:auto}
}
/* Vente additionnelle (fenêtre après la commande) : refonte au style du template, mobile propre */
body.tc-body #crosssellModal{background:rgba(17,17,17,.55);backdrop-filter:blur(6px)}
body.tc-body #crosssellModal .cs-modal{border:0!important;border-radius:20px;overflow:hidden;box-shadow:0 30px 70px -20px rgba(0,0,0,.45);font-family:inherit}
body.tc-body #crosssellModal .cs-media{background:#F3F3F3}
body.tc-body #crosssellModal .cs-track img{object-fit:contain!important;background:#F3F3F3}
body.tc-body #crosssellModal .cs-close{width:38px!important;height:38px!important;padding:0!important;border:0;border-radius:50%;background:rgba(17,17,17,.55)!important;color:#fff!important;font-size:22px!important;line-height:1!important;display:grid!important;place-items:center;opacity:1!important;top:12px!important;inset-inline-end:12px!important;box-shadow:none}
body.tc-body #crosssellModal .cs-arrow{padding:0!important;display:grid;place-items:center;line-height:1;font-size:18px}
body.tc-body #crosssellModal .cs-off{border-radius:8px;background:var(--primary,#B10000);font-size:12.5px;padding:4px 10px}
body.tc-body #crosssellModal .cs-kicker{display:inline-flex;align-self:flex-start;padding:5px 12px;border-radius:999px;background:#FFF1E6;color:#C2410C;font-size:11.5px;letter-spacing:.04em}
body.tc-body #crosssellModal .cs-title{font-family:"Instrument Serif",serif;font-size:28px;line-height:1.15;color:var(--main,#1A1A1A);margin-top:6px}
body.tc-body #crosssellModal .cs-price{font-size:26px;color:var(--main,#1A1A1A)}
body.tc-body #crosssellModal .cs-recap{border-radius:12px}
body.tc-body #crosssellModal .cs-footer{padding:14px 22px 18px;border-top:1px solid #F0F0F0}
body.tc-body #crosssellModal .cs-btn-yes{min-height:54px!important;padding:8px 18px!important;border-radius:12px!important;letter-spacing:0!important;text-transform:none!important;font-size:15.5px!important;font-weight:600!important;white-space:normal;line-height:1.3;background:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A);color:#fff}
body.tc-body #crosssellModal .cs-btn-yes-label{display:block;overflow-wrap:anywhere}
body.tc-body #crosssellModal .cs-btn-no{font-size:14px;color:#777;padding:12px 10px 6px}
body.tc-body #crosssellModal .cs-micro{font-size:12px;color:#999}
@media (max-width:640px){
  body.tc-body #crosssellModal .cs-modal{border-radius:20px 20px 0 0;max-height:92dvh}
  body.tc-body #crosssellModal .cs-media{height:min(36vh,280px)!important}
  body.tc-body #crosssellModal .cs-title{font-size:23px}
  body.tc-body #crosssellModal .cs-price{font-size:22px}
  body.tc-body #crosssellModal .cs-scroll-area{padding:16px 18px 6px}
}
/* Panier (page) mobile : une carte par article — photo + nom + option, puis quantité et total (2.78.7) */
@media (max-width:767px){
  .tf-table-page-cart,.tf-table-page-cart tbody{display:block;width:100%}
  .tf-table-page-cart thead{display:none}
  .tf-table-page-cart tr.tf-cart_item{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:14px 12px;width:100%;padding:14px;margin-bottom:12px;border:1px solid var(--line,#E9E9E9);border-radius:14px;background:#fff}
  .tf-table-page-cart tr.tf-cart_item>td{display:block!important;width:auto!important;padding:0!important;border:0!important;text-align:start!important}
  .tf-table-page-cart tr.tf-cart_item>td::before{display:none!important;content:none!important}
  .tf-table-page-cart tr.tf-cart_item>td:first-child{grid-column:1/-1}
  .tf-table-page-cart tr.tf-cart_item>td.cart_price{display:none!important}
  .tf-table-page-cart .cart_product{display:flex!important;align-items:flex-start;gap:12px}
  .tf-table-page-cart .cart_product .img-prd{width:78px!important;min-width:78px;height:96px!important}
  .tf-table-page-cart .cart_product .img-prd img{width:100%;height:100%;object-fit:cover;border-radius:10px}
  .tf-table-page-cart .cart-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
  .tf-table-page-cart .cart-info .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
  .tf-table-page-cart tr.tf-cart_item>td.cart_quantity .wg-quantity{width:112px;height:40px}
  .tf-table-page-cart tr.tf-cart_item>td.cart_total{justify-self:end;font-size:16px;white-space:nowrap}
}
/* Versions « couleur » (codes #rrggbb) : pastille + nom (2.78.7) */
.tc-var-o.is-hex{gap:10px}
.tc-var-o.is-hex .tc-opt{height:auto;min-height:46px;padding:6px 14px 6px 6px;gap:10px;border-radius:999px;background:#fff;color:var(--main,#1A1A1A)}
[dir=rtl] .tc-var-o.is-hex .tc-opt{padding:6px 6px 6px 14px}
.tc-var-o.is-hex .tc-opt[aria-pressed=true]{background:#fff;color:var(--main,#1A1A1A);box-shadow:0 0 0 2px var(--main,#1A1A1A)}
.tc-sw{width:32px;height:32px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}
.tc-var-o.is-hex .tc-opt-l{font-size:13.5px;white-space:nowrap}
.tc-var-o.is-hex .tc-opt:disabled{text-decoration:none}
.tc-var-o.is-hex .tc-opt:disabled .tc-sw{opacity:.4;background-image:linear-gradient(135deg,transparent 46%,#999 46%,#999 54%,transparent 54%)!important}
/* Avant / après : comme le modèle d'origine (photos paysage 1370 × 648 recadrées à l'envoi dans le back-office) */
.main-image-compare{border-radius:16px;overflow:hidden}
@media (max-width:767px){.tf-table-page-cart tr.tf-cart_item .img-prd{position:static!important;max-height:none!important;margin:0!important}.tf-table-page-cart tr.tf-cart_item{position:relative;padding-left:14px!important;padding-right:14px!important;min-height:0!important}}
/* Options d'un article : pastille couleur / vignette photo (2.78.8) */
.tc-ov{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}
.tc-ov-c{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18);display:inline-block}
.tc-ov-i{width:22px;height:22px;border-radius:5px;object-fit:cover;display:inline-block}
.tc-ov-s{margin:0 6px;color:#bbb}
/* Confirmation : charte du template (fond blanc, filets, sans ombre) */
.tc-oc-main,.tc-oc-rel{background:#fff!important}
.tc-oc-card{box-shadow:none!important;border:1px solid var(--line,#E9E9E9);border-radius:16px}
.tc-oc-grid>div{background:#fff;border:1px solid var(--line,#E9E9E9)}
.tc-oc-items{border-color:var(--line,#E9E9E9)}
.tc-oc-items small{display:flex;flex-wrap:wrap;align-items:center;margin-top:3px}
.tc-oc-note{background:#F7F7F7;border:1px solid var(--line,#E9E9E9)}
body.tc-body #crosssellModal .cs-btn-yes{display:flex!important;align-items:center;justify-content:center;text-align:center}
body.tc-body #crosssellModal .cs-footer{padding:12px 18px calc(10px + env(safe-area-inset-bottom))!important}
body.tc-body #crosssellModal .cs-btn-no{margin-top:4px;padding:8px}
body.tc-body #crosssellModal .cs-micro{margin-top:2px}
body.tc-body #crosssellModal .cs-vg-h{font-weight:600}
body.tc-body #crosssellModal .cs-opt.is-on{box-shadow:0 0 0 2px var(--main,#1A1A1A);border-color:var(--main,#1A1A1A)}
@media (min-width:641px){body.tc-body #crosssellModal .cs-modal{max-width:860px}}

/* ── 2.79.0 · Fiche produit : versions au style du template (filets fins, pastilles rondes, pas d'ombre) ── */
.tc-var-v{color:var(--text-2,#6b6b6b);font-weight:500}
.tc-opt{height:44px;min-width:44px;padding:0 18px;border:1px solid var(--line,#E9E9E9);border-radius:999px;box-shadow:none!important;transform:none!important;transition:border-color .2s,background-color .2s,color .2s}
.tc-opt:hover:not(:disabled){border-color:var(--main,#1A1A1A)}
.tc-opt[aria-pressed=true]{background:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A);color:#fff}
.tc-var-o.is-img{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}
.tc-var-o.is-img .tc-opt{border-radius:12px;padding:6px 6px 8px}
.tc-var-o.is-img .tc-opt-img{border-radius:8px}
.tc-var-o.is-img .tc-opt[aria-pressed=true]{background:#fff;color:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A);box-shadow:inset 0 0 0 1px var(--main,#1A1A1A)!important}
.tc-var-o.is-hex .tc-opt{border-radius:999px}
.tc-var-o.is-hex .tc-opt[aria-pressed=true]{background:#fff;color:var(--main,#1A1A1A);border-color:var(--main,#1A1A1A);box-shadow:inset 0 0 0 1px var(--main,#1A1A1A)!important}
.tc-ocard{box-shadow:none}
/* Blocs marketing (compte à rebours, livraison…) : couleur du template, plus celle d'un autre thème */
.tc-body .et-mk{--mk:var(--main,#1A1A1A)!important;border-color:var(--line,#E9E9E9);border-radius:12px}
.tc-body .et-mk-cd span{border-radius:6px;font-weight:600}
/* Commande Express : bouton plus haut — blocs marketing sous le bouton, récapitulatif resserré */
.tc-ocard .tc-sum{margin-top:12px;padding:14px}
.tc-ocard .tc-step{margin-top:18px}
.tc-ocard .tc-go{margin-top:14px}
.tc-ocard .bp-mkg.is-after{margin-top:14px}
.tc-ocard .bp-mkg.is-after .et-mk{margin:0}
/* Arabe : prix en chiffres latins dans la police du texte (pas la police décorative des titres), alignés à droite */
html[dir=rtl] .product-infor-price,html[dir=rtl] .product-infor-price *,html[dir=rtl] .price-wrap,html[dir=rtl] .price-wrap *,html[dir=rtl] .tc-st-price,html[dir=rtl] .price_new,html[dir=rtl] .price_old{font-family:var(--tc-ar-body),"Satoshi",sans-serif!important}
html[dir=rtl] .tf-product-info-wrap .product-infor-price{justify-content:flex-end}
/* Arabe : champ de recherche du pied de page — bouton à gauche, texte jamais caché dessous */
.form-subscribe-v2 .form-field input{padding-inline-end:88px}
html[dir=rtl] .form-subscribe-v2 .btn-action_submit{right:auto;left:2px}
html[dir=rtl] .form-subscribe-v2 .form-field input{padding:14px 23px 14px 88px;text-align:right}

/* ── Messages (remplacent les alertes) : fenêtre au style du template, feuille du bas sur mobile ── */
html.tc-al-open body{overflow:hidden}
.tc-al{position:fixed;inset:0;z-index:1000001;display:flex;align-items:center;justify-content:center;padding:16px;pointer-events:none}
.tc-al-bg{position:absolute;inset:0;background:rgba(17,17,17,.45);opacity:0;transition:opacity .2s;pointer-events:auto}
.tc-al-box{position:relative;width:100%;max-width:400px;padding:30px 26px 22px;border-radius:20px;background:#fff;text-align:center;opacity:0;transform:translateY(12px) scale(.98);transition:opacity .2s,transform .2s;pointer-events:auto;font-family:inherit}
.tc-al.is-on .tc-al-bg{opacity:1}.tc-al.is-on .tc-al-box{opacity:1;transform:none}
.tc-al-x{position:absolute;top:12px;inset-inline-end:12px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#6b6b6b;font-size:12px;cursor:pointer}
.tc-al-x:hover{background:#F3F3F3;color:var(--main,#1A1A1A)}
.tc-al-ic{width:56px;height:56px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#F3F3F3;color:var(--main,#1A1A1A)}
.tc-al.is-error .tc-al-ic{background:#FDECEC;color:#C62828}
.tc-al.is-warning .tc-al-ic{background:#FFF4E0;color:#B26A00}
.tc-al.is-success .tc-al-ic{background:#E8F5EC;color:#1E7D3C}
.tc-al-t{margin:0 0 6px;font-size:18px;font-weight:600;line-height:1.35;color:var(--main,#1A1A1A)}
.tc-al-m{margin:0;font-size:14.5px;line-height:1.55;color:#555;overflow-wrap:anywhere}
.tc-al-b{display:flex;gap:10px;margin-top:22px}
.tc-al-b .tf-btn{flex:1;height:48px;min-width:0}
.tc-al-no{background:#fff!important;color:var(--main,#1A1A1A)!important;border:1px solid var(--line,#E9E9E9)!important}
@media (max-width:575px){
  .tc-al{align-items:flex-end;padding:0}
  .tc-al-box{max-width:none;border-radius:20px 20px 0 0;padding:26px 20px calc(18px + env(safe-area-inset-bottom));transform:translateY(100%)}
  .tc-al-box::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#E2E2E2}
}

/* ── Mode panier, mobile : la barre du bas ouvre le choix de la version ── */
.tc-pick{position:fixed;inset:0;z-index:1000000;pointer-events:none}
.tc-pick-bg{position:absolute;inset:0;background:rgba(17,17,17,.45);opacity:0;transition:opacity .25s}
.tc-pick-box{position:absolute;left:0;right:0;bottom:0;max-height:88vh;display:flex;flex-direction:column;border-radius:20px 20px 0 0;background:#fff;transform:translateY(100%);transition:transform .28s ease}
.tc-pick.is-on{pointer-events:auto}.tc-pick.is-on .tc-pick-bg{opacity:1}.tc-pick.is-on .tc-pick-box{transform:none}
.tc-pick-h{display:flex;align-items:center;gap:12px;padding:20px 18px 14px;border-bottom:1px solid var(--line,#E9E9E9)}
.tc-pick-h::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#E2E2E2}
.tc-pick-h img{width:56px;height:70px;object-fit:cover;border-radius:8px;flex:none;background:#F3F3F3}
.tc-pick-h .n{margin:0;font-weight:500;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tc-pick-h .p{font-weight:600;color:var(--primary,#B01607)}
.tc-pick-x{margin-inline-start:auto;align-self:flex-start;width:34px;height:34px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:#F3F3F3;color:var(--main,#1A1A1A);font-size:12px}
.tc-pick-b{padding:16px 18px;overflow:auto;-webkit-overflow-scrolling:touch}
.tc-pick-b .tc-vars,.tc-pick-b .tf-product-volume-discount{margin:0}
.tc-pick-q{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
.tc-pick-f{padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line,#E9E9E9)}
.tc-pick-f .tc-err{margin:0 0 8px;color:#B10000;font-size:13px}.tc-pick-f .tc-err:empty{display:none}
.tc-pick-f .tf-btn{width:100%;height:50px}
html.tc-pick-open body{overflow:hidden}
.wg-quantity output.quantity-product{display:flex;align-items:center;justify-content:center;line-height:1}
/* 1.1.0 — filtres actifs : en-tête + « Tout effacer » discret, puces bordées */
.tc-active-f{gap:12px;padding-bottom:22px}
.tc-af-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tc-af-t{font-size:13px;font-weight:600;color:var(--main,#1A1A1A);display:inline-flex;align-items:center;gap:6px}
.tc-af-t em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--main,#1A1A1A);color:#fff;font-size:11px;display:inline-grid;place-items:center}
.tc-af-clear{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:500;color:#8A8A8A;text-decoration:none;padding:4px 10px;border-radius:999px;transition:background .2s,color .2s}
.tc-af-clear .icon{font-size:13px}
.tc-af-clear:hover{background:#FBEAEA;color:#C62828}
.tc-chip{background:#fff;border:1px solid var(--line,#E9E9E9);padding:5px 8px 5px 12px;gap:8px;font-weight:500}
[dir=rtl] .tc-chip{padding:5px 12px 5px 8px}
.tc-chip .icon{width:16px;height:16px;border-radius:50%;background:#F2F2F2;display:inline-grid;place-items:center;font-size:8px}
.tc-chip:hover{background:#fff;border-color:var(--main,#1A1A1A)}
.tc-chip:hover .icon{background:var(--main,#1A1A1A);color:#fff}
/* avant / après : titre aligné sur le texte (pas centré dans son bloc), largeur limitée pour ne pas couvrir le visage ; en arabe, à droite */
@media (min-width:1200px){
.sect-heading.abs-v1.text-xl-start{justify-items:start;max-width:min(420px,31%)}
[dir=rtl] .sect-heading.abs-v1.text-xl-start{left:auto;right:32px;text-align:right;z-index:6}
}
/* choix des versions depuis la barre du haut, sur ordinateur : fenêtre centrée */
@media (min-width:768px){
.tc-pick-box{left:50%;right:auto;top:50%;bottom:auto;width:min(520px,calc(100vw - 48px));max-height:min(86vh,720px);border-radius:16px;transform:translate(-50%,-46%) scale(.98);opacity:0;transition:transform .25s ease,opacity .2s}
.tc-pick.is-on .tc-pick-box{transform:translate(-50%,-50%);opacity:1}
.tc-pick-h{padding:18px 20px 14px}.tc-pick-h::before{display:none}
.tc-pick-b{padding:18px 20px}.tc-pick-f{padding:14px 20px 18px}
}
/* barre « livraison offerte » (panier latéral + page panier) */
.tc-fsb{padding:14px 16px;border-radius:12px;background:#F7F7F7;margin-top:14px}
.col-lg-8>.tc-fsb{margin:0 0 20px}
.tc-fsb-t{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13.5px;line-height:1.4;color:var(--main,#1A1A1A)}
.tc-fsb-t .icon{flex:none;width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:15px;color:var(--main,#1A1A1A)}
.tc-fsb-t b{font-weight:600;white-space:nowrap}
.tc-fsb-bar{position:relative;height:6px;border-radius:999px;background:#E6E6E6;overflow:hidden}
.tc-fsb-bar span{position:absolute;inset-block:0;inset-inline-start:0;border-radius:inherit;background:var(--main,#1A1A1A);transition:width .6s cubic-bezier(.2,.7,.2,1)}
.tc-fsb.is-done{background:#EEF7F0}
.tc-fsb.is-done .tc-fsb-t .icon{color:#1E7B3A}
.tc-fsb.is-done .tc-fsb-bar span{background:#1E7B3A}
/* nom du site (en-tête) : centré verticalement dans la barre (le titre h1 ajoutait sa hauteur de ligne sous le texte) */
.tc-logo-wrap{display:flex;align-items:center;line-height:0;font-size:0}
.tc-logo-wrap .logo-site{line-height:1}
.logo-site .tc-logo-txt{display:block;line-height:1;padding-bottom:.06em}
/* Fenêtre « Mode de paiement / Payez en ligne maintenant » (settings_front_PAYMENTS.php › et_pay_flow_assets) au style du template :
   même carte que les messages (coins 20 px, sans bordure), options en filets fins, bouton plein arrondi ; feuille du bas sur mobile */
#etPm{background:rgba(17,17,17,.45);z-index:1000002}
#etPm .et-pm{border:0;border-radius:20px;padding:30px 26px 24px;max-width:500px;color:var(--main,#1A1A1A);box-shadow:0 30px 80px rgba(0,0,0,.22)}
#etPm .et-pm h2{font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--main,#1A1A1A);margin:0 0 6px}
#etPm .et-pm-sub{color:#6b6b6b;font-size:14px}
#etPm .et-pm-x{top:14px;inset-inline-end:14px;width:34px;height:34px;border-radius:50%;background:#F3F3F3;font-size:20px;color:var(--main,#1A1A1A)}
#etPm .et-pm-inc{border:0;border-radius:12px;background:#F7F7F7;color:var(--main,#1A1A1A);font-weight:600;font-size:14px}
#etPm .et-pm-inc svg{color:var(--et-act,#1A1A1A)}
#etPm .et-pm-bn li{border:1px solid var(--line,#E9E9E9);border-radius:12px;font-weight:500;color:var(--main,#1A1A1A)}
#etPm .et-pm-bn svg{color:var(--et-act,#1A1A1A)}
#etPm .et-pm-o{border:1px solid var(--line,#E9E9E9);border-radius:14px;padding:14px 16px;box-shadow:none}
#etPm .et-pm-o:hover{border-color:#cfcfcf}
#etPm .et-pm-o.is-on{border-color:var(--main,#1A1A1A);box-shadow:inset 0 0 0 1px var(--main,#1A1A1A)}
#etPm .et-pm-o.is-rec:not(.is-on){border-color:var(--line,#E9E9E9)}
#etPm .et-pm-o.is-cod{background:#FAFAFA}
#etPm .et-pm-o input{accent-color:var(--main,#1A1A1A)}
#etPm .et-pm-o b{font-weight:600}
#etPm .et-pm-best{border:0;border-radius:999px;background:var(--main,#1A1A1A);letter-spacing:.02em;text-transform:none;padding:3px 10px}
#etPm .et-pm-off{border-radius:999px}
#etPm .et-pm-trust{border-radius:12px;background:#F7F7F7;color:#555}
#etPm .et-pm-trust.is-on{background:#F7F7F7;color:#555}#etPm .et-pm-trust.is-on b{color:var(--main,#1A1A1A)}
#etPm .et-pm-err{border-radius:12px}
#etPm .et-pm-go{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 20px;border-radius:999px;text-transform:none;letter-spacing:0;font-size:15px;font-weight:600;line-height:1.2}
#etPm .et-pm-go svg{margin:0;flex:none}
@media (max-width:575px){
#etPm{align-items:flex-end;padding:0}
#etPm .et-pm{max-width:none;border-radius:20px 20px 0 0;max-height:92dvh;padding:26px 18px calc(18px + env(safe-area-inset-bottom));animation:tcPmUp .28s ease}
@keyframes tcPmUp{from{transform:translateY(100%)}to{transform:none}}
}
/* Pages du paiement (paiement non abouti, en cours, offre avant paiement : settings_front_PAYPAGE.php) au style du template */
body .et-pay-in{border:0;border-radius:20px;background:#F7F7F7;color:var(--main,#1A1A1A);padding:38px 32px}
body .et-pay-ic{background:#fff;color:var(--main,#1A1A1A)}
body .et-pay h1{font-weight:600;color:var(--main,#1A1A1A)}
body .et-pay-tot{border-color:var(--line,#E9E9E9)}
body .et-pay-btns a{border-radius:999px;text-transform:none;letter-spacing:0;font-size:15px}
body .et-pay-btns a:not(.is-main){background:#fff;border-color:var(--line,#E9E9E9);color:var(--main,#1A1A1A);font-size:14px}
/* Aperçu rapide : ajout au panier avec versions / offres */
.tc-qa{display:flex;flex-direction:column;gap:16px}
.tc-qa .tc-var-o.is-img{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}
.tc-qa .tc-opt{height:42px;padding:0 14px;min-width:50px}
.tc-qa-of{display:flex;flex-direction:column;gap:8px}
.tc-qa-o{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid #E2E2E2;border-radius:14px;cursor:pointer;transition:border-color .15s,background .15s}
.tc-qa-o:has(input:checked){border-color:var(--main,#1A1A1A);background:#FAF7F4}
.tc-qa-o input{accent-color:var(--main,#1A1A1A);width:18px;height:18px;flex:none;margin:0}
.tc-qa-ol{flex:1;display:flex;flex-direction:column;line-height:1.3}
.tc-qa-ol b{font-weight:600;font-size:14px}.tc-qa-ol small{color:#777;font-size:12.5px}
.tc-qa-op{display:flex;flex-direction:column;align-items:flex-end;font-weight:700;white-space:nowrap}
.tc-qa-op s{font-weight:400;font-size:12.5px;color:#999}
.tc-qa-err{margin:0;min-height:0;color:#C0392B;font-size:13px;font-weight:500}.tc-qa-err:empty{display:none}
.tc-qa .group-action{display:flex;gap:10px;align-items:center}
.tc-qa-add.is-busy{opacity:.6;pointer-events:none}

/* Offres par quantité (fiche produit) : ancien prix barré */
.volume-discount-item-2 .price_old, .tc-st-old, .price-on-old { text-decoration: line-through; text-decoration-thickness: 1px; }

/* Boutons du template : tous en pilule, comme « Découvrir la boutique » (toutes les pages, fenêtres et formulaires compris) */
body.tc-body .tf-btn, body.tc-body .tf-btn[class*="rounded"], body.tc-body .btn-select, body.tc-body .tc-go, body.tc-body .btn-action-price,
body.tc-body .tf-btn-line.style-btn, body.tc-body .tf-btn-filter, body.tc-body .tc-al-btn, body.tc-body .et-pay .bo-btn,
body.tc-body #etPm .et-pm-go, body.tc-body .tc-qa-add, body.tc-body .tc-st-btn, body.tc-body .tc-trylink { border-radius: 999px !important; }
body.tc-body #goTop, body.tc-body #goTop .border-progress { border-radius: 50%; }   /* bouton « haut de page » rond (progression comprise) */
#tcCartPage.is-busy{opacity:.55;pointer-events:none;transition:opacity .15s}
.tc-ico-home{display:block}

/* Champs du template : tous arrondis comme les boutons (pilule) ; zones de texte multi-lignes : grand arrondi */
body.tc-body input:is([type=text],[type=email],[type=tel],[type=number],[type=search],[type=password],[type=url],[type=date],[type=time],:not([type])),
body.tc-body select, body.tc-body .form-control, body.tc-body .form-select, body.tc-body .tc-f-i, body.tc-body .wg-quantity,
body.tc-body .tc-legacy .form-control, body.tc-body .tc-legacy .form-select { border-radius: 999px !important; }
body.tc-body textarea, body.tc-body textarea.tc-f-i, body.tc-body textarea.form-control { border-radius: 20px !important; }
body.tc-body .wg-quantity input { border-radius: 0 !important; }   /* le champ du compteur est dans la pilule */
body.tc-body input.tc-f-i:not(.iti input), body.tc-body select.tc-f-i, body.tc-body #prix_min, body.tc-body #prix_max { padding-left: 18px; padding-right: 18px; }
body.tc-body select.tc-f-i { padding-inline-end: 40px; background-position: right 18px center; }
[dir=rtl] body.tc-body select.tc-f-i { background-position: left 18px center; }
body.tc-body textarea.tc-f-i { padding: 12px 18px; }
body.tc-body .iti__selected-flag, body.tc-body .tc-f .iti__selected-flag { border-radius: 999px 0 0 999px !important; padding-left: 14px; }
[dir=rtl] body.tc-body .iti__selected-flag { border-radius: 0 999px 999px 0 !important; }
body.tc-body .iti__country-list { border-radius: 14px; }

/* Parcours de commande › « Affichage des offres par quantité » = Grille (variable 94 = v) : cartes côte à côte, photo en haut,
   nom + remise, texte, puis prix (nouveau et ancien sur une ligne). Sans photo : bouton radio en haut à gauche. */
.list-volume-discount.tc-of-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.list-volume-discount.tc-of-grid .volume-discount-item-2{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;height:100%;margin:0;padding:12px!important;min-width:0}
.list-volume-discount.tc-of-grid .volume-discount-item-2 .content{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;min-width:0;flex:1}
.list-volume-discount.tc-of-grid .volume-check{line-height:0}
.list-volume-discount.tc-of-grid .tc-offer-img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;max-height:220px;flex:none!important;object-fit:cover;border-radius:10px;background:#f4f4f4}
.list-volume-discount.tc-of-grid .volume-discount-item-2:has(.tc-offer-img) .volume-check{position:absolute;top:20px;inset-inline-start:20px;z-index:2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.list-volume-discount.tc-of-grid .infor{display:flex;flex-direction:column;gap:4px;min-width:0}
.list-volume-discount.tc-of-grid .infor_quantity{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.list-volume-discount.tc-of-grid .infor_text{display:block}
.list-volume-discount.tc-of-grid .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;padding-top:8px;border-top:1px dashed rgba(0,0,0,.1);text-align:start;position:static!important}
.list-volume-discount.tc-of-grid .price_new{white-space:nowrap;font-size:17px;line-height:1.2}
.list-volume-discount.tc-of-grid .price_old{white-space:nowrap;font-size:13px}
.list-volume-discount.tc-of-grid .tag-sale{z-index:3;max-width:calc(100% - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:380px){.list-volume-discount.tc-of-grid{grid-template-columns:1fr}}
.tc-mkg-cart{margin-top:14px}

/* Services de l'accueil : tous les services cochés, grille centrée et équilibrée (variables posées par tc_services_grid) */
.tc-svc { --svc-g: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px var(--svc-g); }
.tc-svc-i { flex: 0 0 calc((100% - (var(--svc-m) - 1) * var(--svc-g)) / var(--svc-m)); min-width: 0; }
@media (min-width: 768px) { .tc-svc-i { flex-basis: calc((100% - (var(--svc-t) - 1) * var(--svc-g)) / var(--svc-t)); } }
@media (min-width: 1200px) { .tc-svc-i { flex-basis: calc((100% - (var(--svc-d) - 1) * var(--svc-g)) / var(--svc-d)); } .tc-svc { gap: 40px var(--svc-g); } }
.tc-svc .box-icon_V01 .title { margin-bottom: 8px; }
@media (max-width: 575px) { .tc-svc { gap: 24px 12px; --svc-g: 12px; } .tc-svc .box-icon_V01 .title { font-size: 15px; } .tc-svc .box-icon_V01 .icon { font-size: 34px; margin-bottom: 10px; } }

/* Carrousels avec moins d'éléments que de places (ex. 2 avis sur 3 colonnes) : éléments centrés, pas de pagination inutile */
.tc-sw-few > .swiper-wrapper { justify-content: center; }
.tc-sw-few > .swiper-wrapper > .swiper-slide:last-child { margin-inline-end: 0 !important; }
.tc-sw-few > .tf-sw-pagination, .tc-sw-few > .sw-line-default { display: none !important; }

/* Logos de marques : 1 à 4 logos en rangée fixe centrée (5 et + : défilement d'origine) */
.tc-brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.tc-brands-row img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.tc-brands-row.is-boxed { gap: 16px; }
@media (max-width: 575px) { .tc-brands-row { gap: 18px 28px; } }   /* mobile : 2 ou 3 logos par ligne plutôt qu'un seul */
.tc-brands-row.is-boxed .brand-image { display: grid; place-items: center; min-width: 180px; height: 88px; padding: 0 24px; border: 1px solid var(--line, #ececec); border-radius: 12px; }
.tc-brands-row.is-boxed img { height: 32px; }
@media (max-width: 575px) { .tc-brands-row { gap: 18px 32px; } .tc-brands-row img { height: 30px; } .tc-brands-row.is-boxed .brand-image { min-width: calc(50% - 8px); height: 72px; } }

/* Récapitulatif du formulaire masqué (Parcours de commande) : seul le code promo reste visible */
.tc-sum.is-hidden { padding: 0 !important; background: none !important; border: 0 !important; }
.tc-sum.is-hidden > :not(.et-promo):not([class*="promo"]) { display: none !important; }

/* Offres par quantité : étiquette à la couleur choisie dans le back-office (Produit › Offres) */
.volume-discount-item-2 .tag-sale.is-orange { background: #f57c00 !important; color: #fff !important; }
.volume-discount-item-2 .tag-sale.is-rouge { background: #d62828 !important; color: #fff !important; }
.volume-discount-item-2 .tag-sale.is-black { background: #1b1b1b !important; color: #fff !important; }
.volume-discount-item-2 .tag-sale.is-vert { background: #2e7d32 !important; color: #fff !important; }
.volume-discount-item-2 .tag-sale.is-bleu { background: #1e56c8 !important; color: #fff !important; }
.volume-discount-item-2 .tag-sale.is-orange::after { border-left-color: #8a4300; } .volume-discount-item-2 .tag-sale.is-orange::before { border-right-color: #8a4300; }
.volume-discount-item-2 .tag-sale.is-rouge::after { border-left-color: #6e1010; } .volume-discount-item-2 .tag-sale.is-rouge::before { border-right-color: #6e1010; }
.volume-discount-item-2 .tag-sale.is-black::after { border-left-color: #000; } .volume-discount-item-2 .tag-sale.is-black::before { border-right-color: #000; }
.volume-discount-item-2 .tag-sale.is-vert::after { border-left-color: #134016; } .volume-discount-item-2 .tag-sale.is-vert::before { border-right-color: #134016; }
.volume-discount-item-2 .tag-sale.is-bleu::after { border-left-color: #0f2f70; } .volume-discount-item-2 .tag-sale.is-bleu::before { border-right-color: #0f2f70; }

/* Compteur de quantité : le contour (::before) suit l'arrondi du compteur (avant : arrondi de 6 px coupé par la pilule) */
body.tc-body .wg-quantity::before { border-radius: inherit !important; }
body.tc-body .wg-quantity .quantity-product { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* Indicatif du téléphone (intl-tel-input v13 : .intl-tel-input .selected-flag) : fond gris arrondi comme le champ, toujours à gauche
   (le champ du numéro reste de gauche à droite, même en arabe). Arrondi du champ par template : --tc-in-r. */
body.tc-body { --tc-in-r: 999px; }
body.tc-djerba { --tc-in-r: 0px; } body.tc-tabarka { --tc-in-r: 10px; } body.tc-sousse { --tc-in-r: 8px; } body.tc-monastir { --tc-in-r: 16px; }
body.tc-body.tc-body.tc-body .intl-tel-input .selected-flag, body.tc-body.tc-body.tc-body .iti__selected-flag { border-radius: var(--tc-in-r) 0 0 var(--tc-in-r) !important; }
body.tc-body .intl-tel-input .flag-container { padding: 1px; }
body.tc-body .intl-tel-input .country-list { border-radius: 12px; border-color: var(--line, #e9e9e9); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }

/* Animations des cartes : bandeau « PROMO -20 % » qui défile en bas de la photo (disparaît au survol, comme le modèle) */
.product-marquee_sale.tc-strip { z-index: 2; padding: 5px 0; pointer-events: none; }
.product-marquee_sale.tc-strip .marquee-wrapper { width: max-content; animation: tcStrip 10s linear infinite; }
.product-marquee_sale.tc-strip .initial-child-container { gap: 10px; padding-inline-end: 10px; }
.product-marquee_sale.tc-strip .marquee-child-item { font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.product-marquee_sale.tc-strip .ic-wrap { display: inline-flex; color: #ffcf3a; font-size: 12px; animation: tcFlash 1.2s ease-in-out infinite; }
@keyframes tcStrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tcFlash { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.card-product .product-badge_item.best .tf-ani-flash { animation: tcFlash 1s ease-in-out infinite; display: inline-block; }
@media (max-width: 1199px) { .product-marquee_sale.tc-strip { display: block; padding: 3px 0; } .product-marquee_sale.tc-strip .marquee-child-item { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .product-marquee_sale.tc-strip .marquee-wrapper, .product-marquee_sale.tc-strip .ic-wrap, .card-product .product-badge_item.best .tf-ani-flash { animation: none; } }

/* Bandeau « cookies » (modèle d'origine « pop-notice-cookie ») */
.tc-cookie { position: fixed; left: 16px; right: 16px; bottom: 82px; z-index: 1040; max-width: 392px; background: var(--white, #fff); box-shadow: 0 8px 30px rgba(0, 0, 0, .16); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s, visibility .3s; }
.tc-cookie.active { opacity: 1; visibility: visible; transform: none; }
.tc-cookie .title { margin: 0; padding: 0 22px; }
.tc-cookie .desc { margin: 0; color: var(--text-4, #686868); }
.tc-cookie .h36 { height: 40px; padding: 0 14px; justify-content: center; }
[dir=rtl] .tc-cookie .btn-cl-pop { right: auto; left: 14px; }
@media (min-width: 1200px) { .tc-cookie { left: 48px; right: auto; bottom: 48px; } [dir=rtl] .tc-cookie { left: auto; right: 48px; } }
.product-marquee_sale.tc-strip .ic-wrap .icon { color: #ffcf3a; }
.tc-nofilter .col-product { max-width: none !important; width: 100% !important; margin-inline-start: 0 !important; }
.tc-svc-sec { padding-top: 56px !important; } @media (max-width: 767px) { .tc-svc-sec { padding-top: 36px !important; } }
.tc-mkg-top { margin: 4px 0 18px; } .tc-mkg-top .et-mk { margin: 0; }

/* 2e bouton « Commander » dans le récapitulatif : à contour (couleur du bouton), fond transparent */
.tc-ocard .tc-sum .tc-go-2 { margin-top: 14px; height: 50px; background: transparent !important; color: var(--main, #1A1A1A); border: 1.5px solid currentColor !important; box-shadow: none !important; }
.tc-ocard .tc-sum .tc-go-2:hover { background: rgba(0, 0, 0, .04) !important; }
.tc-ocard .tc-sum .tc-go-2::before, .tc-ocard .tc-sum .tc-go-2::after { display: none !important; }

/* Arabe : montants écrits de droite à gauche (« 99.900 د.ت » : la devise après le montant, nouveau prix à droite, ancien prix à gauche).
   Les zones marquées dir="ltr" pour les prix passent en RTL ; restent de gauche à droite : téléphone, champs, compteur de quantité,
   comptes à rebours, étoiles, code promo. */
html[dir=rtl] body.tc-body [dir=ltr]:not(input):not(textarea):not(.wg-quantity):not(.ph-w):not(.iti):not(.intl-tel-input):not([class*=countdown]):not(.star-wrap):not(.tc-rate):not(.tc-strip):not(.tc-rv-cnt):not([data-p-code]):not(a[href^="tel:"]):not(a[href^="tel:"] *):not(.et-mk-cd) { direction: rtl; unicode-bidi: isolate; }
html[dir=rtl] body.tc-body .price-wrap, html[dir=rtl] body.tc-body .product-infor-price { justify-content: flex-start; }
.tc-rel { margin-top: 72px; } @media (max-width: 767px) { .tc-rel { margin-top: 48px; } }

/* Panier : remise par quantité (sous-total barré, remise en vert, puis total) */
.tc-cart-disc { display: grid; gap: 6px; margin-bottom: 10px; font-size: 14px; }
.tc-cart-disc > div { display: flex; justify-content: space-between; gap: 12px; }
.tc-cart-disc s { color: var(--text-4, #8a8a8a); }
.tc-cart-disc .is-disc { color: #1e8a4c; font-weight: 600; }

/* Recherche du pied de page (et formulaires « champ + bouton ») : bouton posé dans le champ, des deux côtés selon la langue */
body.tc-body .form-subscribe-v2 .btn-action_submit { top: 3px; bottom: 3px; right: 3px; left: auto; min-width: 64px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
body.tc-body .form-subscribe-v2 .btn-action_submit .icon { color: inherit; line-height: 1; }
body.tc-body .form-subscribe-v2 .form-field input { padding-inline-end: 80px; }
html[dir=rtl] body.tc-body .form-subscribe-v2 .btn-action_submit { right: auto; left: 3px; }
html[dir=rtl] body.tc-body .form-subscribe-v2 .btn-action_submit .icon { transform: scaleX(-1); }

/* Page de commande (arabe) : la pastille de quantité de chaque article n'est plus coupée par le bord de la liste */
body.tc-body .tc-ck-side .list-order-product { padding: 10px 10px 23px !important; }
.tc-ck-go2 { margin-top: 20px; } .tc-ck-go2 .tc-go { height: 54px; }

/* Choix de la langue (en-tête, bandeau, pied de page, menu mobile) : petite flèche pour montrer que c'est une liste */
body.tc-body .tf-languages { position: relative; display: inline-flex; align-items: center; }
body.tc-body .tf-languages .tc-lang { -webkit-appearance: none; appearance: none; padding-inline-end: 18px !important; background-image: none !important; }
body.tc-body .tf-languages::after { content: ""; position: absolute; inset-inline-end: 3px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: .8; }
.tf-topbar .tf-languages { color: #fff; }
.tf-topbar[style*="--tc-top-ink"] .tf-languages { color: var(--tc-top-ink) !important; }

/* Éléments marketing en arabe : compte à rebours sous le texte, à droite, lu de droite à gauche */
html[dir=rtl] body.tc-body .et-mk-cd, body.tc-body .et-mk[dir=rtl] .et-mk-cd { direction: rtl; justify-content: flex-start; }
html[dir=rtl] body.tc-body .et-mk-cd span { direction: rtl; }
/* Arabe : sur les cartes, nouveau prix à droite (premier lu), ancien prix barré à sa gauche — comme la fiche produit */
html[dir=rtl] body.tc-body .price-wrap:has(> .price-old:first-child) { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 8px; }
html[dir=rtl] body.tc-body .tf-topbar .nav-prev-swiper .icon, html[dir=rtl] body.tc-body .tf-topbar .nav-next-swiper .icon { display: inline-block; transform: scaleX(-1); }   /* flèches du bandeau dans le sens de lecture arabe */

/* Logos de marques (toutes formes) : taille calculée par et/tc.js (même poids visuel), logo entier ; fond blanc des JPG fondu dans un fond clair */
.tc-brands-row img, .infiniteSlide-brand img, .infiniteSlide-brand-2 img { object-fit: contain; }
img.tc-logo-fit { mix-blend-mode: multiply; }
.tc-brands-row { gap: 28px 64px; }
.infiniteSlide-brand .infiniteSlide-item, .infiniteSlide-brand-2 .infiniteSlide-item { display: flex; align-items: center; }

/* YouTube dans les réseaux sociaux (pied de page, contact) : icône SVG, survol rouge comme les autres réseaux */
.social-color .social-youtube::after { background: #ff0000; }
.social-color .social-youtube:hover { color: #fff; }
.social-color .social-youtube:hover::after { opacity: 1; visibility: visible; }
.social-list .tc-yt, .tc-ct-soc .tc-yt { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: middle; position: relative; z-index: 1; }
.tc-ct-soc a { font-size: 20px; }

/* Téléphone en arabe (intl-tel-input v13) : indicatif à gauche, numéro de gauche à droite aligné à droite du champ, liste des pays dans l'écran */
html[dir=rtl] .intl-tel-input.tc-iti-rtl input, html[dir=rtl] .tc-phone .intl-tel-input input { direction: ltr; text-align: right; padding-right: 18px !important; }
html[dir=rtl] .intl-tel-input input::placeholder { text-align: right; }
.intl-tel-input .country-list { width: min(340px, calc(100vw - 40px)); max-width: calc(100vw - 40px); white-space: normal; overflow-x: hidden; }
.intl-tel-input .country-list .country { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.intl-tel-input .country-list .country-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.intl-tel-input .country-list .dial-code { flex: none; }
html[dir=rtl] .intl-tel-input .country-list .country { direction: rtl; text-align: right; }
.intl-tel-input .country-list .country-name, .intl-tel-input .country-list .dial-code { unicode-bidi: plaintext; }

/* Téléphone (intl-tel-input v13) : le champ occupe toute sa colonne, collé à droite comme à gauche (avant : plus court, décalé à gauche) */
body.tc-body .ph-w, body.tc-body .tc-phone .intl-tel-input, body.tc-body .tc-f .intl-tel-input, body.tc-body .tc-ck .intl-tel-input { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
body.tc-body .tc-phone .intl-tel-input input, body.tc-body .tc-f .intl-tel-input input, body.tc-body .tc-ck .intl-tel-input input { width: 100% !important; max-width: none !important; margin: 0 !important; box-sizing: border-box; }

/* Fenêtre « Payez en ligne maintenant » : croix centrée dans son rond, étiquette « Recommandé » qui ne couvre plus l'ancien prix, montants lisibles en arabe */
#etPm .et-pm-x { display: grid; place-items: center; padding: 0; line-height: 1; font-size: 22px; top: 16px; inset-inline-end: 16px; transition: background .2s; }
#etPm .et-pm-x:hover { background: #E8E8E8; }
#etPm .et-pm h2 { padding-inline-end: 44px; }
#etPm .et-pm-o.is-rec { margin-top: 18px; }
#etPm .et-pm-o.is-rec .et-pm-r { padding-top: 8px; }
#etPm .et-pm-best { top: -12px; inset-inline-end: 16px; font-size: 11.5px; padding: 4px 12px; }
#etPm .et-pm-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

#etPm .et-pm-r s, #etPm .et-pm-r strong { white-space: nowrap; }
#etPm .et-pm-off { margin-top: 2px; }
#etPm .et-pm-o small, #etPm .et-pm-trust { unicode-bidi: plaintext; }
#etPm .et-pm { scrollbar-width: thin; }
/* Logo texte trop long (et/tc.js › tcFitBrand) : 2 lignes au plus, puis points de suspension */
.tf-header .logo-site{max-width:100%;min-width:0}
.tf-header .logo-site .tc-logo-txt.tc-logo-2l{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.1!important;text-align:center;overflow-wrap:anywhere}
.tf-header .header-left .logo-site .tc-logo-txt.tc-logo-2l{text-align:start}
/* Barre collante : texte de bouton long (« COMMANDER MAINTENANT »…) — le bouton ne recouvre jamais le nom du produit */
.tc-sticky .tf-height-observer{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.tc-sticky .tf-sticky-atc-product{flex:1 1 auto;min-width:0}
.tc-sticky .atc-product-side{display:flex;align-items:center;gap:10px;min-width:0}
.tc-sticky .prd_img{flex:none}
.tc-sticky .tf-sticky-atc-infos{flex:0 1 auto;min-width:0}
/* nom très long + bouton court (« Acheter ») : le nom ne prend que la place restante, le bouton garde la largeur de son texte (il se réduisait à une pastille) */
.tc-sticky .tf-sticky-atc-product{flex:1 1 0%!important;width:auto!important}
.tc-sticky .tf-sticky-atc-infos{flex:0 0 auto!important}
.tc-sticky .tc-st-go{flex:none;min-width:max-content}
.tc-sticky .tc-st-form{min-width:0}
.tc-sticky .tc-st-go{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media (max-width:575px){
  .tc-sticky .tf-sticky-atc-infos{max-width:56%}
  .tc-sticky .name__prd{max-width:none}
  .tc-sticky .tc-st-go{white-space:normal;height:auto;min-height:44px;padding:6px 12px;font-size:12.5px;line-height:1.15;letter-spacing:.02em!important;text-align:center}
  .tc-sticky .tc-st-go{min-width:0;max-width:100%}
}
/* Bouton « haut de page » et sélecteur de langue flottant : mêmes angles que les boutons du template
   (Djerba : carrés ; Tabarka et Sousse : légèrement arrondis ; Hammamet et Monastir : ronds) */
body.tc-djerba #goTop, body.tc-djerba #goTop .border-progress { border-radius: 0 !important; }
body.tc-djerba #lang-switcher { --lg-r: 0px; --lg-rs: 0px; --lg-fr: 0px; }
body.tc-tabarka #goTop, body.tc-tabarka #goTop .border-progress { border-radius: 10px !important; }
body.tc-tabarka #lang-switcher { --lg-r: 10px; --lg-rs: 8px; }
body.tc-sousse #goTop, body.tc-sousse #goTop .border-progress { border-radius: 8px !important; }
body.tc-sousse #lang-switcher { --lg-r: 8px; --lg-rs: 6px; }
/* Produits épuisés (stock suivi à 0, commande impossible) : en fin de liste, étiquette grise, photo atténuée, pas d'ajout rapide */
.card-product .product-badge_item.tc-out{background:#6c7171!important;color:#fff!important}
.card-product.is-soldout .product-img img{opacity:.5;filter:grayscale(.7);transition:opacity .3s}
.card-product.is-soldout:hover .product-img img{opacity:.7}
.card-product.is-soldout .card-product_info .price-wrap,.card-product.is-soldout .card-product_info .name-product{opacity:.65}
.card-product.is-soldout .tc-dj-sizes{display:none}
.card-product.is-soldout .tc-dj-bar.is-out{background:#6c7171}
.tc-f-i::placeholder{color:#a3a3a3;opacity:1}
/* Bandeau d'annonces sur téléphone (option « Afficher sur téléphone ») : une ligne compacte, messages seulement */
@media (max-width:575px){
  .tf-topbar.tc-top-mob{padding:6px 0}
  .tf-topbar.tc-top-mob .nav-prev-swiper,.tf-topbar.tc-top-mob .nav-next-swiper{display:none}
  .tf-topbar.tc-top-mob .text-adver{font-size:11.5px;line-height:1.35;text-align:center;justify-content:center;white-space:normal}
  .tf-topbar.tc-top-mob .tf-btn-swiper-main{justify-content:center}
}
/* Barre du bas (téléphone) — Hammamet : pilule flottante arrondie, page en cours en couleur avec un point */
@media (max-width:1199px){
  .tf-toolbar-bottom.tc-tb-3{left:10px;right:10px;bottom:10px;border-radius:22px;border:1px solid rgba(0,0,0,.05);box-shadow:0 12px 30px rgba(0,0,0,.12);padding:9px 0 8px}
  .tf-toolbar-bottom.tc-tb-3 .toolbar-item.is-on a{color:var(--primary,#FB6000)}
  .tf-toolbar-bottom.tc-tb-3 .toolbar-item.is-on a::before{content:"";position:absolute;top:-5px;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:currentColor}
  .tf-toolbar-bottom.tc-tb-3 .toolbar-label{font-size:11px}
}
/* Ouverture du menu et du panier (téléphone) — Hammamet : glissement doux et rebond léger, bord intérieur arrondi */
@media (max-width:991px){
  body.tc-body:not(.tc-djerba):not(.tc-tabarka) #mobileMenu,body.tc-body:not(.tc-djerba):not(.tc-tabarka) #shoppingCart{transition:transform .5s cubic-bezier(.22,1,.36,1),visibility .5s}
  body.tc-cosmetique #mobileMenu.offcanvas-start,body.tc-cosmetique #shoppingCart.offcanvas-start{border-radius:0 22px 22px 0}
  body.tc-cosmetique #mobileMenu.offcanvas-end,body.tc-cosmetique #shoppingCart.offcanvas-end{border-radius:22px 0 0 22px}
}
/* Vignettes de la fiche : le cadre de la vignette choisie suit l'arrondi de la photo (avant : cadre à 4 px sur photo arrondie à 12 px ou plus) */
.product-thumbs-slider .tf-product-media-thumbs .item::after{border-radius:inherit!important;border-width:2px}
.product-thumbs-slider .tf-product-media-thumbs .item img{border-radius:inherit}

/* ── Guide des tailles (templates mode, tc.php › tc_size_guide_html, tc.js) ── */
.tc-var-h .tc-sg-link { margin-inline-start: auto; }
.tc-sg-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 600; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tc-sg-link:hover { color: var(--tc-c-main, var(--main, inherit)); }
.tc-sg-link svg { flex: none; }
.tc-sg-row { margin-top: 10px; }
html.tc-sg-open { overflow: hidden; }
.tc-sg-m { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 15, 15, .48); display: flex; align-items: center; justify-content: center; padding: 16px; animation: tcSgIn .2s ease; }
@keyframes tcSgIn { from { opacity: 0; } }
.tc-sg-card { --sg-acc: var(--tc-c-main, var(--main, #111)); --sg-on: var(--tc-c-main-on, #fff); --sg-line: rgba(0, 0, 0, .1); width: min(640px, 100%); max-height: min(88vh, 760px); display: flex; flex-direction: column; background: #fff; color: #1a1a1a; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }
.tc-sg-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; }
.tc-sg-h h3 { margin: 0; font-size: 20px; flex: 1; font-family: var(--tc-ft, inherit); }
.tc-sg-u { display: inline-flex; border: 1px solid var(--sg-line); border-radius: 999px; padding: 3px; }
.tc-sg-u button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; color: #666; cursor: pointer; }
.tc-sg-u button[aria-pressed=true] { background: var(--sg-acc); color: var(--sg-on); }
.tc-sg-x { border: 0; background: none; padding: 6px; border-radius: 50%; cursor: pointer; color: inherit; display: grid; place-items: center; }
.tc-sg-x:hover { background: rgba(0, 0, 0, .06); }
.tc-sg-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--sg-line); overflow-x: auto; }
.tc-sg-tabs button { border: 0; background: none; padding: 10px 4px; margin-inline-end: 14px; font: inherit; font-size: 14px; font-weight: 600; color: #777; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tc-sg-tabs button[aria-selected=true] { color: #111; border-bottom-color: var(--sg-acc); }
.tc-sg-b { padding: 18px 20px 22px; overflow: auto; }
.tc-sg-tw { overflow-x: auto; border: 1px solid var(--sg-line); border-radius: 12px; }
.tc-sg-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.tc-sg-t th, .tc-sg-t td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--sg-line); white-space: nowrap; }
.tc-sg-t thead th { background: #f7f7f7; font-size: 12px; font-weight: 700; color: #555; }
.tc-sg-t thead th small { font-weight: 500; color: #999; }
.tc-sg-t tbody th, .tc-sg-t .is-s { position: sticky; inset-inline-start: 0; background: #fff; text-align: start; font-weight: 800; z-index: 1; }
.tc-sg-t thead .is-s { background: #f7f7f7; }
.tc-sg-t tbody tr:last-child > * { border-bottom: 0; }
.tc-sg-t tbody tr:hover > * { background: #fafafa; }
.tc-sg-t tbody tr.is-on > * { background: color-mix(in srgb, var(--sg-acc) 12%, #fff); }
.tc-sg-t tbody tr.is-on th { box-shadow: inset 3px 0 0 var(--sg-acc); }
[dir=rtl] .tc-sg-t tbody tr.is-on th { box-shadow: inset -3px 0 0 var(--sg-acc); }
.tc-sg-hint { margin: 10px 2px 0; font-size: 12.5px; color: #888; }
.tc-sg-note { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: #444; }
.tc-sg-img { display: block; max-width: 100%; max-height: 320px; margin: 0 auto 6px; object-fit: contain; }
.tc-sg-fp { margin: 0 0 14px; color: #555; font-size: 14px; }
.tc-sg-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tc-sg-f label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: #333; }
.tc-sg-in { display: flex; align-items: center; border: 1px solid #d6d6d6; border-radius: 10px; overflow: hidden; background: #fff; }
.tc-sg-in:focus-within { border-color: var(--sg-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sg-acc) 18%, transparent); }
.tc-sg-in input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; height: auto !important; outline: 0; padding: 10px 12px; font: inherit; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.tc-sg-in input::-webkit-outer-spin-button, .tc-sg-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-sg-in i { font-style: normal; font-size: 12px; color: #888; padding-inline-end: 12px; }
.tc-sg-res { margin-top: 16px; }
.tc-sg-wait { margin: 0; color: #999; font-size: 13px; }
.tc-sg-ok { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--sg-acc) 8%, #fff); }
.tc-sg-ok small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #777; }
.tc-sg-ok b { font-size: 34px; line-height: 1.1; font-family: var(--tc-ft, inherit); }
.tc-sg-ok p { margin: 4px 0 0; font-size: 13px; color: #666; max-width: 380px; }
.tc-sg-pick { margin-top: 10px; }
@media (max-width: 575px) {
  .tc-sg-m { align-items: flex-end; padding: 0; }
  .tc-sg-card { border-radius: 18px 18px 0 0; max-height: 90vh; animation: tcSgUp .25s ease; }
  @keyframes tcSgUp { from { transform: translateY(40px); } }
  .tc-sg-h { flex-wrap: wrap; }
  .tc-sg-h h3 { font-size: 18px; }
}
.tc-djerba .tc-sg-card, .tc-djerba .tc-sg-tw, .tc-djerba .tc-sg-in, .tc-djerba .tc-sg-ok, .tc-djerba .tc-sg-u, .tc-djerba .tc-sg-u button { border-radius: 0; }
.tc-djerba .tc-sg-h h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 17px; }
.tc-tabarka .tc-sg-card { border-radius: 24px; }
.tc-kelibia .tc-sg-card { border-radius: 22px; }
.tc-kelibia .tc-sg-h { background: color-mix(in srgb, var(--sg-acc) 9%, #fff); }
.tc-kelibia .tc-sg-tabs { background: color-mix(in srgb, var(--sg-acc) 9%, #fff); }
@media (max-width: 575px) { .tc-tabarka .tc-sg-card, .tc-kelibia .tc-sg-card { border-radius: 22px 22px 0 0; } }

/* Arabe : icône d'ouverture du menu latéral dans le sens de lecture (traits alignés à droite) */
[dir=rtl] .icon-OpenMenu { display: inline-block; transform: scaleX(-1); }
/* Fiche produit (templates 6 et +) : espace entre le bandeau du fil d'Ariane et le contenu */
body.tc-body .tf-page-title.single + .section-product-single { padding-top: 40px; }
body:is(.tc-cosmetique, .tc-djerba, .tc-tabarka, .tc-monastir) .tf-page-title.single + .section-product-single { padding-top: 24px; }   /* bandeau déjà aéré en bas */   /* espace sous le bandeau de la fiche : tous les templates (photo collée au bandeau gris) */
@media (max-width: 767px) { body.tc-body .tf-page-title.single + .section-product-single { padding-top: 22px; } }
/* Panier vide + suggestions (tc_cart.php, templates 4 et +) : présentation de base (chaque template la colore ensuite) */
.tc-dj-empty { display: grid; justify-items: center; gap: 12px; padding: 32px 8px 22px; text-align: center; }
.tc-dj-empty-ic { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--tc-c-main, var(--main, #111)) 10%, #fff); color: var(--tc-c-main, var(--main, #111)); display: grid; place-items: center; font-size: 26px; }
.tc-dj-empty-t { margin: 0; font-weight: 700; font-size: 16px; }
.tc-dj-empty-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tc-dj-empty-cats a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .12); font-size: 13px; line-height: 1.4; color: inherit; transition: .2s; }
.tc-dj-empty-cats a:hover { border-color: var(--tc-c-main, var(--main, #111)); color: var(--tc-c-main, var(--main, #111)); }
.tc-dj-more { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .08); }
.tc-dj-more-h { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.tc-dj-more-list { display: grid; gap: 8px; }
.tc-dj-more-it { display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, .035); }
.tc-dj-more-img { display: block; width: 56px; }
.tc-dj-more-img img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #fff; }
.tc-dj-more-tx { display: grid; gap: 2px; min-width: 0; }
.tc-dj-more-n { font-size: 13px; font-weight: 600; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-dj-more-p { font-size: 12.5px; font-weight: 700; }
.tc-dj-more-p s { opacity: .55; font-weight: 400; margin-inline-end: 4px; }
.tc-dj-more-add { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tc-c-main, var(--main, #111)); color: var(--tc-c-main-on, #fff) !important; }
.tc-dj-more-add.is-busy { opacity: .5; pointer-events: none; }
/* Versions en photo (fiche produit) : vignette arrondie (pas en ovale) et coche posée dans la vignette, jamais sur le bord */
body:is(.tc-sousse, .tc-monastir, .tc-bizerte, .tc-kelibia, .tc-tozeur) .tc-var-o.is-img .tc-opt { border-radius: 16px !important; }
body:is(.tc-sousse, .tc-monastir, .tc-bizerte, .tc-kelibia, .tc-tozeur) .tc-var-o.is-img .tc-opt-img { border-radius: 10px !important; }
body.tc-body .tc-var-o.is-img .tc-opt { position: relative; overflow: visible; }
body.tc-body .tc-var-o.is-img .tc-opt-ck { top: 11px !important; inset-inline-end: 11px !important; inset-inline-start: auto !important; left: auto; z-index: 2; width: 22px; height: 22px; box-shadow: 0 0 0 2px #fff; }
[dir=rtl] body.tc-body .tc-var-o.is-img .tc-opt-ck { right: auto; }
/* Avis (fiche produit) : la ligne du nom n'est pas une carte ; marges intérieures confortables ; puces « 5 ★ » du résumé dans le cadre */
body.tc-body .tc-rv .tc-rv-head { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; }
body.tc-body .tc-rv .tc-rv-head time { margin-inline-start: auto; font-size: 12px; opacity: .65; }
body:is(.tc-monastir, .tc-kairouan, .tc-mahdia, .tc-bizerte, .tc-kelibia, .tc-tozeur) .tc-rv { padding: 22px 26px !important; gap: 16px; }
body:is(.tc-monastir, .tc-kairouan, .tc-mahdia, .tc-bizerte, .tc-kelibia, .tc-tozeur) .tc-rv-sum { padding: 28px 30px !important; }
body.tc-body .tc-rv-bar { grid-template-columns: 46px 1fr 24px; }
body.tc-body .tc-rv-bar span { justify-content: center; gap: 3px; padding: 2px 8px; border-radius: 999px; line-height: 1.4; }
body.tc-body .tc-rv-bar span i { background: none !important; border-radius: 0 !important; }
body.tc-body .tc-rv-body { min-width: 0; flex: 1; }
body.tc-body .tc-rv-bar span i { color: inherit !important; opacity: .8; }
/* Menu (templates 8 et +) : chaque template a son propre repère au survol ; le trait d'origine du modèle est retiré (pas de double trait) */
body:is(.tc-kairouan, .tc-mahdia, .tc-bizerte, .tc-kelibia, .tc-tozeur) .tf-header .menu-item > .item-link::before { display: none !important; }
/* Catalogue avec filtres en tiroir (templates 4, 7 à 12) : la grille de produits prend toute la largeur (plus de colonne vide à gauche) */
.tc-shop-drawer .col-product { width: 100% !important; max-width: none !important; margin-inline-start: 0 !important; }
/* Points numérotés sur les photos (Mahdia, Kélibia, Tozeur) : numéro toujours centré dans sa pastille */
body.tc-body :is(.tc9-pin, .tc11-pin, .tc12-pin) { display: grid !important; place-items: center; min-width: 0; line-height: 1 !important; text-align: center; text-indent: 0; letter-spacing: 0; }
body.tc-body :is(.tc9-pin, .tc11-pin, .tc12-pin) > span { position: relative; z-index: 1; display: block; margin: 0 !important; padding: 0 !important; line-height: 1 !important; text-align: center; grid-area: 1 / 1; }
body.tc-mahdia .tc9-pin > span { font-size: 15px !important; line-height: 1 !important; }
body.tc-mahdia .tc9-pin::before { inset: 5px !important; }

/* ═══ Catalogue : barre de contrôle (Filtres, disposition, tri) et tiroir des filtres aux couleurs et aux formes de chaque template ═══
   Variables réglées par template plus bas : --tf-r (boutons, tri, champs), --tf-cr (pastilles), --tf-bw (épaisseur), --tf-ink, --tf-line,
   --tf-soft (fond doux), --tf-act / --tf-act-on (élément choisi), --tf-bg (fond du tiroir), --tf-ft / --tf-fs / --tf-tt / --tf-ls / --tf-fw (titres). */
html body.tc-body .tf-shop-control .tf-btn-filter,
html body.tc-body .tf-shop-control .tf-dropdown-sort .btn-select {
  height: 46px; min-height: 46px; padding: 0 20px; gap: 12px; display: inline-flex; align-items: center; justify-content: space-between;
  border-radius: var(--tf-r, 8px) !important; border: var(--tf-bw, 1px) solid var(--tf-bd, var(--tf-line, #dcdcdc)) !important;
  background: var(--tf-btn-bg, #fff) !important; color: var(--tf-ink, #1a1a1a) !important; box-shadow: none !important;
  clip-path: var(--tf-clip, none); transition: background-color .25s, color .25s, border-color .25s;
}
html body.tc-body .tf-shop-control .tf-btn-filter { border-color: var(--tf-ink, #1a1a1a) !important; font-family: var(--tf-bf, inherit); text-transform: var(--tf-btt, none); letter-spacing: var(--tf-bls, 0); font-size: var(--tf-bfs, 15px); font-weight: var(--tf-bfw, 500); }
html body.tc-body .tf-shop-control .tf-btn-filter .text,
html body.tc-body .tf-shop-control .tf-btn-filter .icon { color: inherit !important; }
html body.tc-body .tf-shop-control .tf-dropdown-sort .btn-select { min-width: 200px; font-size: 15px; }
html body.tc-body .tf-shop-control .tf-dropdown-sort .btn-select .text-sort-value { color: inherit !important; }
html body.tc-body .tf-shop-control :is(.tf-btn-filter, .tf-dropdown-sort .btn-select):hover,
html body.tc-body .tf-shop-control .tf-dropdown-sort.show .btn-select { background: var(--tf-act, #1a1a1a) !important; border-color: var(--tf-act, #1a1a1a) !important; color: var(--tf-act-on, #fff) !important; }
html body.tc-body .tf-shop-control .tf-dropdown-sort .dropdown-menu {
  border-radius: var(--tf-mr, var(--tf-r, 8px)) !important; border: var(--tf-bw, 1px) solid var(--tf-line, #e5e5e5) !important; background: var(--tf-mbg, #fff) !important;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.35) !important; padding: 6px !important; min-width: 100%; clip-path: var(--tf-clip, none); }
html body.tc-body .tf-shop-control .tf-dropdown-sort .select-item { border-radius: var(--tf-cr, 6px); padding: 9px 12px; color: var(--tf-ink, #1a1a1a); }
html body.tc-body .tf-shop-control .tf-dropdown-sort .select-item:hover { background: var(--tf-soft, #f4f4f4); }
html body.tc-body .tf-shop-control .tf-dropdown-sort .select-item.active { background: var(--tf-act, #1a1a1a); color: var(--tf-act-on, #fff); }
html body.tc-body .tf-shop-control .tf-dropdown-sort .select-item.active .text-value-item { color: inherit; }
html body.tc-body .tf-shop-control .tf-view-layout-switch { color: color-mix(in srgb, var(--tf-ink, #1a1a1a) 30%, transparent); }
html body.tc-body .tf-shop-control .tf-view-layout-switch.active,
html body.tc-body .tf-shop-control .tf-view-layout-switch:hover { color: var(--tf-act, #1a1a1a); }
html body.tc-body .tf-shop-control .tf-view-layout-switch i { color: inherit !important; }
/* Tiroir */
html body.tc-body .tc-shop-drawer .sidebar-filter, html body.tc-body .tc-shop-drawer .sidebar-filter .canvas-wrapper { background: var(--tf-bg, #fff); }
html body.tc-body .sidebar-filter .canvas-header .title { font-family: var(--tf-ft, inherit) !important; font-size: calc(var(--tf-fs, 18px) + 4px) !important; font-weight: var(--tf-fw, 500) !important; color: var(--tf-ink, #1a1a1a) !important; letter-spacing: 0; text-transform: none; }
html body.tc-body .sidebar-filter .facet-title > span:first-child { font-family: var(--tf-ft, inherit) !important; font-size: var(--tf-fs, 16px) !important; text-transform: var(--tf-tt, uppercase) !important; letter-spacing: var(--tf-ls, 0) !important; font-weight: var(--tf-fw, 500) !important; color: var(--tf-ink, #1a1a1a) !important; }
html body.tc-body .sidebar-filter .facet-title .icon { color: var(--tf-ink, #1a1a1a); }
html body.tc-body .sidebar-filter .widget-facet { border-color: var(--tf-line, #eee) !important; }
html body.tc-body .sidebar-filter .tc-fcat a { border-radius: var(--tf-cr, 8px) !important; color: var(--tf-ink, #1a1a1a) !important; border: 0 !important; clip-path: var(--tf-clip, none); }
html body.tc-body .sidebar-filter .tc-fcat a:hover { background: var(--tf-soft, #f5f5f5) !important; }
html body.tc-body .sidebar-filter .tc-fcat a.is-on { background: var(--tf-act, #1a1a1a) !important; color: var(--tf-act-on, #fff) !important; }
html body.tc-body .sidebar-filter .tc-fcat a.is-on .count { color: inherit !important; opacity: .72; }
html body.tc-body .sidebar-filter .tc-fprice .box-wrap input {
  height: 46px; border-radius: var(--tf-ir, var(--tf-r, 8px)) !important; border: var(--tf-in-b, var(--tf-bw, 1px) solid var(--tf-line, #dcdcdc)) !important;
  border-bottom: var(--tf-in-bb, var(--tf-in-b, var(--tf-bw, 1px) solid var(--tf-line, #dcdcdc))) !important; background: var(--tf-in-bg, #fff) !important; color: var(--tf-ink, #1a1a1a) !important; box-shadow: none !important; }
html body.tc-body .sidebar-filter .tc-fprice .box-wrap input:focus { border-color: var(--tf-act, #1a1a1a) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tf-act, #1a1a1a) 14%, transparent) !important; }
html body.tc-body .sidebar-filter .tc-fprice .box-wrap > span { color: var(--tf-mute, #8a8a8a) !important; font-size: 12px; text-transform: var(--tf-btt, none); letter-spacing: var(--tf-bls, 0); }
html body.tc-body .sidebar-filter .tc-fprice .br-line { background: var(--tf-ink, #1a1a1a) !important; }
html body.tc-body .sidebar-filter .tc-fprice .tf-btn { height: 48px; border-radius: var(--tf-r, 8px) !important; }
html body.tc-body .sidebar-filter .tc-size, html body.tc-body .sidebar-filter .tc-chip {
  border-radius: var(--tf-cr, 999px) !important; border: var(--tf-bw, 1px) solid var(--tf-line, #dcdcdc) !important; background: var(--tf-cbg, #fff) !important; color: var(--tf-ink, #1a1a1a) !important; clip-path: var(--tf-clip, none); }
html body.tc-body .sidebar-filter .tc-size:hover, html body.tc-body .sidebar-filter .tc-chip:hover { border-color: var(--tf-ink, #1a1a1a) !important; }
html body.tc-body .sidebar-filter .tc-size.is-on { background: var(--tf-act, #1a1a1a) !important; border-color: var(--tf-act, #1a1a1a) !important; color: var(--tf-act-on, #fff) !important; }
html body.tc-body .sidebar-filter .tc-size.is-on .count { color: inherit !important; opacity: .72; }
html body.tc-body .sidebar-filter .tc-chip .icon { background: var(--tf-soft, #f2f2f2) !important; border-radius: var(--tf-cr, 50%); }
html body.tc-body .sidebar-filter .tc-af-h em { background: var(--tf-act, #1a1a1a) !important; color: var(--tf-act-on, #fff) !important; border-radius: var(--tf-cr, 999px) !important; }
html body.tc-body .sidebar-filter .tc-check { color: var(--tf-ink, #1a1a1a) !important; }
html body.tc-body .sidebar-filter .tc-check .tc-box { border-radius: var(--tf-xr, 4px) !important; border-color: var(--tf-ink, #bdbdbd) !important; background: var(--tf-in-bg, #fff); }
html body.tc-body .sidebar-filter .tc-check.is-on .tc-box { background: var(--tf-act, #1a1a1a) !important; border-color: var(--tf-act, #1a1a1a) !important; }
html body.tc-body .sidebar-filter .tc-check.is-on .tc-box::after { border-color: var(--tf-act-on, #fff) !important; }

/* Réglages par template */
body.tc-djerba   { --tf-r: 0px; --tf-cr: 0px; --tf-xr: 0px; --tf-ink: #111; --tf-line: #d9d9d9; --tf-soft: #f3f3f3; --tf-act: var(--tc-c-main, #111); --tf-act-on: var(--tc-c-bink, #fff);
                   --tf-tt: uppercase; --tf-ls: .08em; --tf-fs: 14px; --tf-fw: 600; --tf-btt: uppercase; --tf-bls: .1em; --tf-bfs: 13px; }
body.tc-monastir { --tf-r: 999px; --tf-cr: 999px; --tf-ir: 16px; --tf-xr: 6px; --tf-bw: 2px; --tf-ink: var(--m-ink); --tf-line: color-mix(in srgb, var(--m-ink) 16%, transparent);
                   --tf-soft: var(--m-cream); --tf-act: var(--m-act); --tf-act-on: var(--m-act-on); --tf-bg: #fff; --tf-cbg: #fff; --tf-mr: 20px;
                   --tf-ft: var(--tc-ft, 'Baloo 2'), 'Baloo 2', system-ui, sans-serif; --tf-fs: 20px; --tf-tt: none; --tf-fw: 700; --tf-bf: var(--tf-ft); --tf-bfw: 700; --tf-bfs: 16px; }
body.tc-kairouan { --tf-r: 2px; --tf-cr: 2px; --tf-xr: 2px; --tf-ink: var(--k8-ink); --tf-line: var(--k8-line); --tf-mute: var(--k8-mute); --tf-soft: var(--k8-sand); --tf-act: var(--k8-act); --tf-act-on: var(--k8-act-on);
                   --tf-bg: var(--k8-lime); --tf-cbg: transparent; --tf-in-bg: transparent; --tf-btn-bg: transparent;
                   --tf-ft: var(--tc-ft, 'Fraunces'), serif; --tf-fs: 21px; --tf-tt: none; --tf-fw: 400; --tf-btt: uppercase; --tf-bls: .14em; --tf-bfs: 12px; }
body.tc-mahdia   { --tf-r: 0px; --tf-cr: 0px; --tf-xr: 0px; --tf-bw: 0px; --tf-clip: var(--m9-c6); --tf-ink: var(--m9-ink); --tf-line: var(--m9-line); --tf-mute: var(--m9-mute);
                   --tf-soft: var(--m9-champ); --tf-act: var(--m9-ink); --tf-act-on: var(--m9-ivory); --tf-bg: var(--m9-ivory); --tf-cbg: var(--m9-champ); --tf-btn-bg: var(--m9-champ);
                   --tf-in-b: 0; --tf-in-bb: 1px solid var(--m9-gold); --tf-in-bg: #fff;
                   --tf-ft: var(--tc-ft, 'Cormorant Garamond'), serif; --tf-fs: 23px; --tf-tt: none; --tf-fw: 500; --tf-btt: uppercase; --tf-bls: .16em; --tf-bfs: 12px; }
body.tc-mahdia .tf-shop-control :is(.tf-btn-filter, .tf-dropdown-sort .btn-select):hover { background: var(--m9-gold) !important; color: var(--m9-gold-on) !important; }
body.tc-bizerte  { --tf-r: 999px; --tf-cr: 999px; --tf-ir: 14px; --tf-xr: 6px; --tf-bw: 1.5px; --tf-ink: var(--b10-ink); --tf-line: var(--b10-line); --tf-mute: var(--b10-mute); --tf-soft: var(--b10-soft);
                   --tf-act: var(--b10-act); --tf-act-on: var(--b10-act-on); --tf-bg: var(--b10-cream); --tf-mr: 18px;
                   --tf-ft: var(--tc-ft, 'Fredoka'), sans-serif; --tf-fs: 20px; --tf-tt: none; --tf-fw: 600; --tf-bf: var(--tf-ft); --tf-bfw: 600; --tf-bfs: 16px; }
body.tc-kelibia  { --tf-r: 999px; --tf-cr: 999px; --tf-ir: 12px; --tf-xr: 6px; --tf-bw: 1.5px; --tf-ink: var(--k11-ink); --tf-line: var(--k11-line); --tf-mute: var(--k11-mute); --tf-soft: var(--k11-soft);
                   --tf-act: var(--k11-act); --tf-act-on: var(--k11-act-on); --tf-bg: var(--k11-sand); --tf-mr: 16px;
                   --tf-ft: var(--tc-ft, 'Bricolage Grotesque'), sans-serif; --tf-fs: 19px; --tf-tt: none; --tf-fw: 700; --tf-bf: var(--tf-ft); --tf-bfw: 700; --tf-bfs: 15px; }
body.tc-tozeur   { --tf-r: 999px; --tf-cr: 12px 3px 12px 3px; --tf-ir: 12px 3px 12px 3px; --tf-xr: 5px 1px 5px 1px; --tf-mr: 18px 4px 18px 4px; --tf-bw: 1.5px; --tf-ink: var(--g12-ink); --tf-line: var(--g12-line);
                   --tf-mute: var(--g12-mute); --tf-soft: var(--g12-soft); --tf-act: var(--g12-act); --tf-act-on: var(--g12-act-on); --tf-bg: var(--g12-sand);
                   --tf-ft: var(--tc-ft, 'Lora'), serif; --tf-fs: 20px; --tf-tt: none; --tf-fw: 600; --tf-bf: var(--tf-ft); --tf-bfw: 600; --tf-bfs: 16px; }
@media (max-width: 767px) { html body.tc-body .tf-shop-control .tf-dropdown-sort .btn-select { min-width: 0; padding: 0 14px; } html body.tc-body .tf-shop-control .tf-btn-filter { padding: 0 14px; } }

/* Fiche produit : toutes les photos de la galerie à la proportion de la 1re (proportion posée par et/tc-product.js) —
   plus de grand vide entre la photo et les vignettes au chargement ; photo d'une autre proportion : entière, sur le fond de la galerie */
.tf-product-media-main.tc-g-ar .swiper-slide .item img { aspect-ratio: var(--tc-g-ar) !important; width: 100% !important; height: auto !important; object-fit: contain; }
.tf-product-media-main.tc-g-ar .swiper-slide { height: auto !important; }
@media (min-width: 768px) { .product-grid-img .tf-product-media-main.tc-g-ar .swiper-slide .item img { aspect-ratio: auto !important; object-fit: cover; } }

/* Apparitions au défilement (et/tc.js, à la place de WOW) : bloc en attente caché sans animation ; animation légère, sans flou
   (le flou de 16 px du modèle sur de grandes photos saccadait sur téléphone) ; les templates gardent leurs propres effets */
html.et-sr .wow { visibility: visible !important; }
html.et-sr .wow.tc-wait { opacity: 0 !important; animation: none !important; }
html.et-sr .wow.tc-wait * { animation-play-state: paused !important; }
html.et-sr .wow.tc-in.animated { animation-fill-mode: both; }
html.et-sr .wow.tc-in.animated:not([style*="animation-duration"]) { animation-duration: .75s; }
@keyframes fadeInUpBlur { 0% { opacity: 0; transform: translateY(28px); } 100% { opacity: 1; transform: none; } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(28px); } 100% { opacity: 1; transform: none; } }

/* Téléphone : barre collante du produit en HAUT de l'écran (par-dessus l'en-tête quand elle apparaît) — en bas, elle s'empilait
   sur la barre d'outils et cachait le contenu ; tous les templates 3 à 12 (et/tc-product.js : classe tc-st-top) */
@media (max-width: 767px) {
  .tc-sticky.tc-st-top { top: 0; bottom: auto !important; z-index: 1002; transform: translateY(-110%); padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 10px 24px -14px rgba(0,0,0,.28); border-bottom: 1px solid rgba(0,0,0,.06); }
  .tc-sticky.tc-st-top.show { transform: none; }
  .tc-sticky.tc-st-top .tf-height-observer { padding: 8px 0; }
  body.tc-st-top-on.tc-sticky-on #goTop { bottom: 96px; }
}
/* Téléphone : bandeau des pages simplifié — fiche produit sans bandeau (le nom est déjà sous la photo), autres pages plus compactes,
   sans image de fond (la couleur réglée reste) */
@media (max-width: 767px) {
  html body .tf-page-title.single { display: none !important; }
  html body.tc-body .tf-page-title.single + .section-product-single { padding-top: 14px; }
  html body :is(.tf-page-title-3, .tf-page-title-2.tc-ck-title, .tcb-head) { padding-top: 20px !important; padding-bottom: 20px !important; background-image: none !important; }
  html body :is(.tf-page-title-3, .tf-page-title-2.tc-ck-title) .bg-img-item { display: none !important; }
}

/* ═══ En-tête téléphone / tablette (< 1200 px) : une identité par template ═══
   Base commune : boutons ronds/carrés selon les variables du template (--mh-*), fond posé sur un ::before (forme découpée possible
   sans couper la pastille du panier). Formes, couleurs et disposition propres : fin de chaque tN.css (Hammamet : ici). */
@media (max-width: 1199.98px) {
  body.tc-body header.tf-header .header-inner_wrap { gap: 10px; align-items: center; min-height: var(--mh-h, 44px); }
  body.tc-body header.tf-header .header-left, body.tc-body header.tf-header .header-right { flex: 0 0 auto; width: auto; min-width: 0; }
  body.tc-body header.tf-header .header-center { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; text-align: center; }   /* logo centré (aussi en arabe) ; Sousse, Bizerte, Tozeur : à gauche */
  body.tc-body header.tf-header .header-right .nav-icon-list { gap: var(--mh-gap, 8px); flex-wrap: nowrap; }
  body.tc-body header.tf-header :is(.box-btn-open-menu > a, .header-right .nav-icon-item) {
    position: relative; isolation: isolate; width: var(--mh-b, 40px); height: var(--mh-b, 40px); display: inline-grid; place-items: center;
    color: var(--mh-ink, var(--tc-c-hink, currentColor)) !important; border-radius: var(--mh-r, 50%); border: var(--mh-bd, 0); box-shadow: var(--mh-sh, none);
    transition: transform .25s cubic-bezier(.2,.7,.2,1); }
  body.tc-body header.tf-header :is(.box-btn-open-menu > a, .header-right .nav-icon-item)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mh-bg, transparent); border-radius: inherit; clip-path: var(--mh-clip, none); }
  body.tc-body header.tf-header .header-right li:last-child .nav-icon-item { color: var(--mh-ink2, var(--mh-ink, inherit)) !important; }
  body.tc-body header.tf-header .header-right li:last-child .nav-icon-item::before { background: var(--mh-bg2, var(--mh-bg, transparent)); }
  [dir=rtl] body.tc-body header.tf-header .nav-icon-item.has-number .number-order, body.tc-body[dir=rtl] header.tf-header .nav-icon-item.has-number .number-order { right: auto !important; left: -3px !important; }
  body.tc-body header.tf-header :is(.box-btn-open-menu > a, .header-right .nav-icon-item):active { transform: scale(.92); }
  body.tc-body header.tf-header :is(.box-btn-open-menu > a, .header-right .nav-icon-item) .icon { font-size: var(--mh-ic, 20px) !important; color: inherit !important; }
  body.tc-body header.tf-header .header-right .nav-icon-item .position-relative { display: grid; place-items: center; position: static !important; }
  body.tc-body header.tf-header .nav-icon-item.has-number .number-order { top: -3px !important; right: -3px !important; left: auto !important; inset-inline-end: -3px; width: 18px; height: 18px;
    font-size: 10px; line-height: 18px; background: var(--mh-badge, #9d0101) !important; color: var(--mh-badge-ink, #fff) !important; border-radius: var(--mh-badge-r, 50%); box-shadow: 0 0 0 2px var(--mh-ring, #fff); }
  body.tc-body header.tf-header .header-right .nav-icon-item.has-text .text, body.tc-body header.tf-header .header-right .nav-icon-item .name-icon { display: none !important; }
  /* Hammamet (3) : bandeau pleine largeur, logo centré ; à gauche une pilule « Menu » (icône + mot), à droite le panier rond
     à la couleur d'accent ; filet doux dessous. Suit les couleurs d'en-tête réglées (fond, texte). */
  body.tc-cosmetique header.tf-header { box-shadow: 0 1px 0 color-mix(in srgb, var(--tc-c-hink, #1a1a1a) 10%, transparent) !important; }
  body.tc-cosmetique header.tf-header .header-center { text-align: center; display: flex; justify-content: center; }
  body.tc-cosmetique header.tf-header .logo-site .tc-logo-txt { font-size: 24px; }
  body.tc-cosmetique header.tf-header .logo-site img { max-height: 36px; width: auto; }
  body.tc-cosmetique header.tf-header .header-left, body.tc-cosmetique header.tf-header .header-right { flex: 0 0 96px; }
  body.tc-cosmetique header.tf-header .header-right .nav-icon-list { justify-content: flex-end; }
  body.tc-cosmetique header.tf-header .box-btn-open-menu > a { width: auto !important; padding: 0 14px 0 11px; gap: 6px; display: inline-flex !important; align-items: center; border-radius: 999px !important; height: 38px !important; white-space: nowrap; }
  body.tc-cosmetique[dir=rtl] header.tf-header .box-btn-open-menu > a, [dir=rtl] body.tc-cosmetique header.tf-header .box-btn-open-menu > a { padding: 0 11px 0 14px; }
  body.tc-cosmetique header.tf-header .box-btn-open-menu > a::after { content: "Menu"; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
  html[lang=ar] body.tc-cosmetique header.tf-header .box-btn-open-menu > a::after, body.tc-cosmetique[dir=rtl] header.tf-header .box-btn-open-menu > a::after { content: "القائمة"; }
  body.tc-cosmetique header.tf-header .box-btn-open-menu > a .icon { font-size: 18px !important; }
  body.tc-cosmetique { --mh-b: 40px; --mh-bg: color-mix(in srgb, var(--tc-c-hink, #1a1a1a) 8%, transparent); --mh-bg2: var(--tc-c-acc, #fb6000); --mh-ink2: var(--tc-c-acc-on, #fff);
    --mh-badge: var(--tc-c-hink, #1a1a1a); --mh-badge-ink: var(--tc-c-hbg, #fff); --mh-ring: var(--tc-c-hbg, #fff); --mh-gap: 6px; }
}

/* Menu du téléphone (construit par tc_footer.php) : le nom ouvre la page, la flèche déplie les sous-catégories */
.tc-mbnav .tc-mb-row { display: flex; align-items: center; gap: 10px; }
.tc-mbnav .tc-mb-row > a { flex: 1 1 auto; min-width: 0; }
.tc-mbnav .tc-mb-row > a > span { overflow: hidden; text-overflow: ellipsis; }
.tc-mbnav .tc-mb-tg { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--tc-mb-tr, 50%);
  background: var(--tc-mb-tg, color-mix(in srgb, currentColor 7%, transparent)); color: inherit; transition: background-color .25s; }
.tc-mbnav .tc-mb-tg .icon { font-size: 14px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tc-mbnav .tc-mb-tg:not(.collapsed) .icon { transform: rotate(180deg); }
.tc-mbnav .tc-mb-tg:not(.collapsed) { background: var(--tc-mb-tg-on, var(--tc-c-main, #1a1a1a)); color: var(--tc-mb-tg-ink, #fff); }
.tc-mbnav .sub-nav-menu .tc-mb-row > .sub-nav-link { padding-block: 9px; }
.tc-mbnav .sub-nav-menu .tc-mb-tg { width: 28px; height: 28px; }
.tc-mbnav .tc-mb-all span { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[dir=rtl] .tc-mbnav .sub-nav-menu, .tc-mbnav .sub-nav-menu:dir(rtl) { padding-left: 0; padding-right: 13px; border-left: 0; border-right: 1px solid var(--line); margin-left: 0; margin-right: 10px; }
.canvas-mb .group-btn { flex-wrap: wrap; }
.canvas-mb .group-btn > .tf-btn { flex: 1 1 auto; min-width: 0; }

/* Hammamet — grand slider : hauteur calculée sur le format de la photo envoyée (1920 × 951) pour la montrer presque entière,
   sans jamais dépasser l'écran (hauteur visible moins l'en-tête) ; texte centré verticalement. Téléphone : format du modèle. */
@media (min-width: 768px) {
  body.tc-cosmetique .tf-slideshow .tf-hero-banner { display: flex; align-items: center;
    min-height: clamp(420px, min(calc(100vw * 951 / 1920), calc(100vh - 90px)), 951px); min-height: clamp(420px, min(calc(100vw * 951 / 1920), calc(100svh - 90px)), 951px); }
  body.tc-cosmetique .tf-slideshow .tf-hero-banner .hero-banner_wrap { width: 100%; padding-top: 56px; padding-bottom: 72px; }
  body.tc-cosmetique .tf-slideshow .tf-hero-banner .hero-image img { object-position: center; }
}
@media (max-width: 767px) {   /* téléphone : on garde le côté droit de la photo (le sujet ; le texte est à gauche), plus le bord gauche souvent vide */
  body.tc-cosmetique .tf-slideshow .tf-hero-banner .hero-image img { object-position: 72% center; }
  body.tc-cosmetique[dir=rtl] .tf-slideshow .tf-hero-banner .hero-image img, [dir=rtl] body.tc-cosmetique .tf-slideshow .tf-hero-banner .hero-image img { object-position: 28% center; }
}

/* Catalogue avec colonne de filtres (ordinateur) : la colonne suit le défilement (collante sous l'en-tête, défilement interne si elle
   est plus haute que l'écran) au lieu de laisser un grand vide à gauche quand la liste de produits est longue */
@media (min-width: 1200px) {
  .section-shop-sidebar:not(.tc-shop-drawer) .col-filter { position: sticky; top: var(--tc-side-top, 100px); max-height: calc(100vh - var(--tc-side-top, 100px) - 16px);
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 16px; transition: top .3s ease; }
}

/* Pastilles de couleurs sous les cartes produit : petites, à la forme du template (étaient de grands ronds génériques) */
body.tc-body .card-product .product-color_list { gap: 8px; margin-left: 0; }
body.tc-body .card-product .product-color_list .product-color-item { width: var(--sw-s, 18px); height: var(--sw-s, 18px); position: relative; border-radius: var(--sw-r, 50%) !important; }
body.tc-body .card-product .product-color_list .product-color-item .swatch-value { inset: 2px; border-radius: inherit !important; clip-path: var(--sw-clip, none); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
body.tc-body .card-product .product-color_list .product-color-item::before { content: ""; position: absolute; inset: 0; border-radius: inherit; clip-path: var(--sw-clip, none);
  background: var(--sw-on, currentColor); opacity: 0; transition: opacity .25s; }
body.tc-body .card-product .product-color_list .product-color-item.active::before { opacity: 1; }
body.tc-body .card-product .product-color_list .color-track { display: none !important; }
body.tc-djerba   { --sw-r: 0; --sw-on: #111; }
body.tc-tabarka  { --sw-on: var(--tc-c-main, #1a1a1a); }
body.tc-kairouan { --sw-r: 999px 999px 2px 2px; --sw-on: var(--k8-ink); }
body.tc-kairouan .card-product .product-color_list .product-color-item { height: 22px; width: 17px; }
body.tc-mahdia   { --sw-r: 0; --sw-clip: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); --sw-on: var(--m9-gold); --sw-s: 18px; }
body.tc-mahdia .card-product .product-color_list .product-color-item .swatch-value { clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: none; }
body.tc-kelibia  { --sw-on: var(--k11-aqua); }

/* Carrousels : pas de saut au chargement. Avant l'initialisation (script du modèle, ~0,5 s après la page), chaque diapositive a déjà
 sa largeur finale (data-preview / data-tablet / data-mobile…, espace data-space) et le carrousel reste invisible jusqu'à ce qu'il soit prêt
 (fondu ; affiché quoi qu'il arrive après 2,5 s). Avant : diapositives pleine largeur, décalées en arabe, puis remise en place brusque. */
.swiper:not(.swiper-initialized):not(.wow) { opacity: 0; animation: tcSwShow .01s 2.5s forwards; }
.swiper.swiper-initialized:not(.wow) { animation: tcSwIn .35s ease both; }
@keyframes tcSwShow { to { opacity: 1; } } @keyframes tcSwIn { from { opacity: 0; } to { opacity: 1; } }
.tf-swiper:not(.swiper-initialized) > .swiper-wrapper { display: flex; }
.tf-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide { flex: 0 0 auto; width: calc((100% - (var(--tc-sn, 1) - 1) * var(--tc-sg, 0px)) / var(--tc-sn, 1)); margin-inline-end: var(--tc-sg, 0px); }
.tf-swiper[data-space="0"] { --tc-sg: 0px; }
.tf-swiper[data-space="10"] { --tc-sg: 10px; }
.tf-swiper[data-space="14"] { --tc-sg: 14px; }
.tf-swiper[data-space="14.5"] { --tc-sg: 14.5px; }
.tf-swiper[data-space="15"] { --tc-sg: 15px; }
.tf-swiper[data-space="15.33333"] { --tc-sg: 15.33333px; }
.tf-swiper[data-space="15.33333333"] { --tc-sg: 15.33333333px; }
.tf-swiper[data-space="16"] { --tc-sg: 16px; }
.tf-swiper[data-space="18"] { --tc-sg: 18px; }
.tf-swiper[data-space="20"] { --tc-sg: 20px; }
.tf-swiper[data-space="24"] { --tc-sg: 24px; }
.tf-swiper[data-space="30"] { --tc-sg: 30px; }
.tf-swiper[data-mobile="1"] { --tc-sn: 1; } .tf-swiper[data-mobile="2"] { --tc-sn: 2; } .tf-swiper[data-mobile="3"] { --tc-sn: 3; } .tf-swiper[data-mobile="4"] { --tc-sn: 4; } .tf-swiper[data-mobile="5"] { --tc-sn: 5; } .tf-swiper[data-mobile="6"] { --tc-sn: 6; } .tf-swiper[data-mobile="7"] { --tc-sn: 7; } .tf-swiper[data-mobile="8"] { --tc-sn: 8; }
@media (min-width: 575px) { .tf-swiper[data-mobile-sm="1"] { --tc-sn: 1; } .tf-swiper[data-mobile-sm="2"] { --tc-sn: 2; } .tf-swiper[data-mobile-sm="3"] { --tc-sn: 3; } .tf-swiper[data-mobile-sm="4"] { --tc-sn: 4; } .tf-swiper[data-mobile-sm="5"] { --tc-sn: 5; } .tf-swiper[data-mobile-sm="6"] { --tc-sn: 6; } .tf-swiper[data-mobile-sm="7"] { --tc-sn: 7; } .tf-swiper[data-mobile-sm="8"] { --tc-sn: 8; } }
@media (min-width: 768px) { .tf-swiper[data-tablet="1"] { --tc-sn: 1; } .tf-swiper[data-tablet="2"] { --tc-sn: 2; } .tf-swiper[data-tablet="3"] { --tc-sn: 3; } .tf-swiper[data-tablet="4"] { --tc-sn: 4; } .tf-swiper[data-tablet="5"] { --tc-sn: 5; } .tf-swiper[data-tablet="6"] { --tc-sn: 6; } .tf-swiper[data-tablet="7"] { --tc-sn: 7; } .tf-swiper[data-tablet="8"] { --tc-sn: 8; } }
@media (min-width: 1200px) { .tf-swiper[data-preview="1"] { --tc-sn: 1; } .tf-swiper[data-preview="2"] { --tc-sn: 2; } .tf-swiper[data-preview="3"] { --tc-sn: 3; } .tf-swiper[data-preview="4"] { --tc-sn: 4; } .tf-swiper[data-preview="5"] { --tc-sn: 5; } .tf-swiper[data-preview="6"] { --tc-sn: 6; } .tf-swiper[data-preview="7"] { --tc-sn: 7; } .tf-swiper[data-preview="8"] { --tc-sn: 8; } }

/* Pastilles de couleur (fiche produit, cartes) : forme du template partout — Djerba carrés, Sousse carrés à bord épais, Monastir bulles,
   Kairouan arches, Mahdia taille émeraude, Tozeur feuilles ; ronds ailleurs */
body.tc-sousse   { --sw-r: 4px; --sw-on: #0f0f12; }
body.tc-monastir { --sw-r: 42% 58% 63% 37% / 41% 44% 56% 59%; --sw-on: var(--m-act); }
body.tc-bizerte  { --sw-on: var(--b10-act); }
body.tc-tozeur   { --sw-r: 10px 2px 10px 2px; --sw-on: var(--g12-act); }
body.tc-cosmetique { --sw-on: var(--tc-c-main, #1a1a1a); }
body.tc-body .tc-sw { border-radius: var(--sw-r, 50%) !important; clip-path: var(--sw-clip, none); }
body.tc-sousse .tc-sw, body.tc-sousse .card-product .product-color_list .product-color-item .swatch-value { box-shadow: inset 0 0 0 2px #0f0f12 !important; }
body.tc-mahdia .tc-sw { width: 30px; height: 30px; box-shadow: none !important; }
body.tc-mahdia .tc-var-o.is-hex .tc-opt[aria-pressed=true] .tc-sw { outline: 0; filter: drop-shadow(0 0 0 var(--m9-gold)); }
body.tc-body .card-product .product-color_list .product-color-item { --sw-s: 20px; }
body.tc-mahdia .card-product .product-color_list .product-color-item { --sw-s: 20px; }

/* Indicatif du téléphone (formulaires) : posé sur le champ, même fond et mêmes angles que lui, simple filet de séparation — tous les templates */
html body.tc-body.tc-body :is(.intl-tel-input .flag-container, .intl-tel-input .selected-flag, .iti__flag-container, .iti__selected-flag, .iti__country-container, .iti__selected-country) {
  background: transparent !important; background-color: transparent !important; box-shadow: none !important; }
html body.tc-body.tc-body :is(.intl-tel-input .selected-flag, .iti__selected-flag, .iti__selected-country) {
  border: 0 !important; border-inline-end: 1px solid color-mix(in srgb, currentColor 18%, transparent) !important; }
html body.tc-body.tc-body :is(.intl-tel-input .selected-flag, .iti__selected-flag, .iti__selected-country):hover { background: color-mix(in srgb, currentColor 5%, transparent) !important; }
@media (max-width: 1199px) { body.tc-body:not(.tc-sticky-on) #goTop { bottom: calc(var(--tc-tb-h, 66px) + 14px) !important; } }

/* ---------- Sélecteur de langue (tc.php › tc_lang_menu) : bouton dans la couleur du bandeau, liste aux couleurs du template ---------- */
body.tc-body { --lsw-r: 999px; --lsw-mr: 14px; --lsw-ir: 9px; --lsw-paper: var(--tc-c-hbg, #fff); --lsw-ink: var(--tc-c-hink, #1a1a1a); --lsw-acc: var(--tc-c-main, var(--main, #1a1a1a)); --lsw-acc-on: var(--tc-c-main-on, #fff); --lsw-bw: 1px; --lsw-sh: 0 18px 40px -16px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .06); --lsw-clip: none; }
.tc-lsw { position: relative; display: inline-flex; color: inherit; }
.tc-lsw-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 9px; border: var(--lsw-bw) solid color-mix(in srgb, currentColor 32%, transparent); border-radius: var(--lsw-r); clip-path: var(--lsw-clip);
  background: transparent !important; color: inherit !important; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; box-shadow: none !important; }
.tc-lsw-btn:hover, .tc-lsw.is-open .tc-lsw-btn { background: color-mix(in srgb, currentColor 10%, transparent) !important; border-color: color-mix(in srgb, currentColor 55%, transparent); }
.tc-lsw-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tc-lsw-gl { width: 16px; height: 16px; flex: none; opacity: .85; }
.tc-lsw-car { width: 11px; height: 11px; flex: none; transition: transform .2s; }
.tc-lsw.is-open .tc-lsw-car { transform: rotate(180deg); }
.tc-lsw-menu { position: fixed; z-index: 1060; min-width: 190px; margin: 0; padding: 6px; list-style: none; border-radius: var(--lsw-mr); clip-path: var(--lsw-mclip, none); background: var(--lsw-paper); color: var(--lsw-ink);
  border: 1px solid color-mix(in srgb, var(--lsw-ink) 12%, transparent); box-shadow: var(--lsw-sh); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility 0s .16s; }
.tc-lsw-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.tc-lsw { flex: none; }
.tc-lsw-menu li { margin: 0; padding: 0; }
.tc-lsw-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 7px 10px; border: 0; border-radius: var(--lsw-ir); background: transparent; color: inherit !important; font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.tc-lsw-opt b { flex: none; display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border-radius: calc(var(--lsw-ir) - 3px); font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  background: color-mix(in srgb, var(--lsw-ink) 8%, transparent); color: var(--lsw-ink); }
.tc-lsw-opt span { flex: 1; font-weight: 500; }
.tc-lsw-ck { width: 15px; height: 15px; flex: none; opacity: 0; color: var(--lsw-acc); }
.tc-lsw-opt:hover, .tc-lsw-opt:focus-visible { background: color-mix(in srgb, var(--lsw-ink) 6%, transparent); outline: 0; }
.tc-lsw-opt[aria-selected=true] span { font-weight: 700; }
.tc-lsw-opt[aria-selected=true] b { background: var(--lsw-acc); color: var(--lsw-acc-on); }
.tc-lsw-opt[aria-selected=true] .tc-lsw-ck { opacity: 1; }
.tc-lsw-opt[lang=ar] span { font-family: var(--tc-ar-body, Tajawal, sans-serif); font-size: 15px; }
/* formes propres à chaque template */
body.tc-djerba { --lsw-r: 0; --lsw-mr: 0; --lsw-ir: 0; }
body.tc-sousse { --lsw-r: 10px; --lsw-mr: 12px; --lsw-ir: 8px; --lsw-bw: 2px; --lsw-sh: 5px 5px 0 var(--k, #0F0F12); --lsw-acc: var(--b, #1E5BFF); --lsw-acc-on: var(--b-on, #fff); }
body.tc-sousse .tc-lsw-menu { border: 2.5px solid var(--k, #0F0F12); }
body.tc-monastir { --lsw-mr: 22px; --lsw-ir: 14px; --lsw-acc: var(--m-ink, #183B4A); }
body.tc-kairouan { --lsw-mr: 22px 22px 8px 8px; --lsw-ir: 999px; --lsw-acc: var(--k8-acc, #a9573a); }
body.tc-mahdia { --lsw-r: 0; --lsw-mr: 0; --lsw-ir: 0; --lsw-acc: var(--m9-gold, #a8842f); --lsw-acc-on: var(--m9-gold-on, #fff);
  --lsw-clip: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  --lsw-mclip: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }
body.tc-mahdia .tc-lsw-btn { border-color: color-mix(in srgb, currentColor 22%, transparent); background: color-mix(in srgb, currentColor 8%, transparent) !important; }
body.tc-mahdia .tc-lsw-menu { box-shadow: none; border-color: color-mix(in srgb, var(--m9-gold, #a8842f) 45%, transparent); }
body.tc-mahdia .tc-lsw-opt b { clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px); }
body.tc-mahdia .tc-lsw-opt span { font-style: italic; }
body.tc-bizerte { --lsw-mr: 20px; --lsw-ir: 999px; --lsw-acc: var(--b10-act, #2a1b6e); }
body.tc-bizerte .tc-lsw-opt b { border-radius: 999px; }
body.tc-kelibia { --lsw-mr: 20px; --lsw-ir: 999px; --lsw-acc: var(--k11-act, #0b5f6b); }
body.tc-kelibia .tc-lsw-opt b { border-radius: 999px; }
body.tc-tozeur { --lsw-r: 14px 4px 14px 4px; --lsw-mr: 22px 6px 22px 6px; --lsw-ir: 12px 3px 12px 3px; --lsw-acc: var(--g12-act, #1f3d2b); }
body.tc-tabarka { --lsw-mr: 20px; --lsw-ir: 999px; }
body:has(.tf-topbar .tc-lsw) .header-v3 .tc-lsw { display: none; }

/* Commande express (templates payants) : #reservationbox comme les templates 1 et 2 ; carte de commande sur une nuance légère du template */
.tc-resa { display: contents; }
body.tc-body { --tc-ocard-bg: color-mix(in srgb, var(--tc-c-acc, var(--main, #1a1a1a)) 6%, #fff); }
body.tc-mahdia { --tc-ocard-bg: var(--m9-champ, #faf6ec); }
body.tc-kairouan { --tc-ocard-bg: color-mix(in srgb, var(--k8-acc, #a9573a) 6%, var(--k8-lime, #f6f2ec)); }
body.tc-bizerte { --tc-ocard-bg: color-mix(in srgb, var(--b10-acc, #f29a2e) 7%, var(--b10-cream, #fffaf2)); }
body.tc-kelibia { --tc-ocard-bg: color-mix(in srgb, var(--k11-aqua, #2ec4c6) 7%, var(--k11-sand, #fbf7f0)); }
body.tc-tozeur { --tc-ocard-bg: color-mix(in srgb, var(--g12-aqua, #7f9d68) 8%, var(--g12-sand, #f7f4ec)); }
body.tc-sousse { --tc-ocard-bg: color-mix(in srgb, var(--y, #FFD400) 14%, #fff); }
body.tc-monastir { --tc-ocard-bg: color-mix(in srgb, var(--m-acc, #fbd3b5) 22%, #fff); }
body.tc-body .tc-ocard.tc-order { background: var(--tc-ocard-bg); }
body.tc-body .tc-ocard.tc-order.is-magic { background: linear-gradient(var(--tc-ocard-bg), var(--tc-ocard-bg)) padding-box, conic-gradient(from var(--tc-a, 0deg), var(--third, #D86A3E), #FB6000, var(--main, #1A1A1A), var(--third, #D86A3E)) border-box; }
body.tc-body .tc-ocard.tc-order .tc-sum { background: #fff; }

/* Quantité du formulaire de commande express (v1.17.7) : un vrai champ, comme les autres (même fond, contour et arrondi du template),
   libellé à gauche, compteur clair à droite (boutons ronds bien visibles) — avant : texte minuscule et compteur perdu sur le fond de la carte */
body.tc-body .tc-qrow.tc-f-i { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: auto; min-height: 52px; margin: 12px 0 0; padding: 5px; padding-inline-start: 18px; border-style: solid; border-width: 1px; }
body.tc-body .tc-qrow.tc-f-i:focus-within { border-color: var(--main, #1A1A1A); }
body.tc-body .tc-qrow .tc-f-l { margin: 0; font-size: 14px; font-weight: 600; }
body.tc-body .tc-qrow .wg-quantity { display: flex; align-items: center; gap: 4px; width: auto; min-width: 0; height: 42px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.tc-body .tc-qrow .wg-quantity::before { display: none !important; }
body.tc-body .tc-qrow .btn-quantity { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: var(--tc-in-r, 999px) !important; background: color-mix(in srgb, var(--main, #1A1A1A) 7%, transparent) !important; color: var(--main, #1A1A1A); cursor: pointer; transition: background .15s; }
body.tc-body .tc-qrow .btn-quantity:hover { background: color-mix(in srgb, var(--main, #1A1A1A) 14%, transparent) !important; }
body.tc-body .tc-qrow .btn-quantity:active { transform: scale(.94); }
body.tc-body .tc-qrow .btn-quantity .icon { font-size: 12px !important; }
body.tc-body .tc-qrow .quantity-product { min-width: 40px; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
body.tc-djerba .tc-qrow .btn-quantity { border-radius: 0 !important; }
/* Guide des tailles sur téléphone : les 3 onglets tiennent sur la largeur (avant : le 1er onglet sortait de l'écran) */
@media (max-width: 575px) { .tc-sg-tabs { padding: 0 12px; gap: 0; } .tc-sg-tabs button { flex: 1 1 auto; margin-inline-end: 0; padding: 10px 6px; font-size: 13px; text-align: center; } }
