/* e-Tijara — Template 5 « Tabarka » (mode & style) : style propre, chargé après et/tc.css.
   Identité : arrondi doux (10 à 16 px, ni pilule ni angle net), logo à gauche et menu centré, bandeau clair,
   colonne de filtres à droite, vignettes sous la photo, pied de page sombre, titres « Outfit » par défaut. */

body.tc-tabarka { --et-r: 10px; --tc-r: 10px; }

/* ── Arrondi doux : remplace la pilule commune (et/tc.css) ── */
body.tc-tabarka .tf-btn, body.tc-tabarka .tf-btn[class*="rounded"], body.tc-tabarka .btn-select, body.tc-tabarka .tc-go, body.tc-tabarka .btn-action-price,
body.tc-tabarka .tf-btn-line.style-btn, body.tc-tabarka .tf-btn-filter, body.tc-tabarka .tc-al-btn, body.tc-tabarka .et-pay .bo-btn,
body.tc-tabarka #etPm .et-pm-go, body.tc-tabarka .tc-qa-add, body.tc-tabarka .tc-st-btn, body.tc-tabarka .tc-trylink, body.tc-tabarka .btn-action_choose, body.tc-tabarka .tc-opt, body.tc-tabarka .tc-fsize a, body.tc-tabarka .tc-chips a,
body.tc-tabarka input:is([type=text],[type=email],[type=tel],[type=number],[type=search],[type=password],[type=url],[type=date],[type=time],:not([type])),
body.tc-tabarka select, body.tc-tabarka .form-control, body.tc-tabarka .form-select, body.tc-tabarka .tc-f-i, body.tc-tabarka .wg-quantity,
body.tc-tabarka .tc-legacy .form-control, body.tc-tabarka .tc-legacy .form-select { border-radius: 10px !important; }
body.tc-tabarka textarea, body.tc-tabarka textarea.tc-f-i, body.tc-tabarka textarea.form-control { border-radius: 12px !important; }
body.tc-tabarka .wg-quantity input { border-radius: 0 !important; }
body.tc-tabarka .iti__selected-flag, body.tc-tabarka .tc-f .iti__selected-flag { border-radius: 10px 0 0 10px !important; }
[dir=rtl] body.tc-tabarka .iti__selected-flag { border-radius: 0 10px 10px 0 !important; }
body.tc-tabarka input.tc-f-i:not(.iti input), body.tc-tabarka select.tc-f-i, body.tc-tabarka #prix_min, body.tc-tabarka #prix_max { padding-left: 14px; padding-right: 14px; }
body.tc-tabarka select.tc-f-i { padding-inline-end: 38px; background-position: right 14px center; }
[dir=rtl] body.tc-tabarka select.tc-f-i { background-position: left 14px center; }
body.tc-tabarka .tc-f .intl-tel-input, body.tc-tabarka .tc-f .iti { display: block; width: 100%; }
body.tc-tabarka .tc-f .intl-tel-input input, body.tc-tabarka .tc-f .iti input { width: 100%; }
/* cartes, photos, encadrés : 14 à 16 px */
body.tc-tabarka .card-product_wrapper, body.tc-tabarka .card-product .product-img, body.tc-tabarka .tf-product-media-main .item,
body.tc-tabarka .collection-v07 .cls-image, body.tc-tabarka .collection-v04, body.tc-tabarka .banner-lookbook, body.tc-tabarka .gallery-item .image,
body.tc-tabarka .wg-follow, body.tc-tabarka .testimonial-v01, body.tc-tabarka .tc-ck-box, body.tc-tabarka .modal-content, body.tc-tabarka .volume-discount-item-2 { border-radius: 16px; }
body.tc-tabarka .tf-btn:not(.tc-wa) { font-weight: 600; letter-spacing: .01em; }

/* ── Bandeau clair ── */
body.tc-tabarka .tf-topbar .text-adver, body.tc-tabarka .tf-topbar .text-white, body.tc-tabarka .tf-topbar a, body.tc-tabarka .tf-topbar .icon,
body.tc-tabarka .tf-topbar select { color: var(--tc-top-ink, #1d1d1b) !important; }
body.tc-tabarka .tf-topbar .br-line.bg-white { background: currentColor !important; opacity: .3; }

/* ── En-tête : logo à gauche, menu centré, icônes à droite (ordinateur) ── */
@media (min-width: 1200px) {
  body.tc-tabarka .tf-header .header-inner_wrap { display: flex; align-items: center; }
  body.tc-tabarka .tf-header .header-center { order: -1; flex: 0 0 auto; justify-content: flex-start; text-align: start; }
  body.tc-tabarka .tf-header .header-left { flex: 1 1 auto; display: flex; justify-content: center; }
  body.tc-tabarka .tf-header .header-right { flex: 0 0 auto; }
  body.tc-tabarka .tf-header .logo-site .tc-logo-txt { font-size: 28px; }
}
body.tc-tabarka .tf-header { border-bottom: 1px solid var(--line, #ececec); }
body.tc-tabarka .tf-header .item-link .text { font-weight: 500; }

/* ── Titres ── */
body.tc-tabarka .s-title, body.tc-tabarka .sld__title, body.tc-tabarka .title-page { letter-spacing: -.02em; }
body.tc-tabarka .mini-title { letter-spacing: .14em; }
body.tc-tabarka .tc-t5-mq { font-family: var(--tc5-title, inherit); }

/* ── Cartes produit ── */
body.tc-tabarka .card-product .name-product { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.tc-tabarka .card-product .product-color_list { margin-top: 10px; }
body.tc-tabarka .card-product .product-color_list .color-swatch img { display: none; }

/* ── Accueil ── */
body.tc-tabarka .tc-t5-acc .col-main { background-color: var(--tc-acc, #1f3d3a); }
body.tc-tabarka .tc-t5-wall .wg-follow { background-color: var(--tc-acc, #1f3d3a); }
body.tc-tabarka .tc-t5-cols .collection-v04 .countdown-v01 { margin-bottom: 20px; }
body.tc-tabarka .lookbook-item { position: absolute; transform: translate(-50%, -50%); }
body.tc-tabarka .tc-t5-look { overflow-x: clip; }
body.tc-tabarka .tc-t5-cats .order-count { font-size: 11px; vertical-align: super; opacity: .6; }

/* ── Catalogue : colonne de filtres à droite (ordinateur), tiroir depuis la droite (mobile) ── */
@media (min-width: 1200px) {
  body.tc-tabarka .tc-shop-right > .container > .row { flex-direction: row-reverse; }
  body.tc-tabarka .tc-shop-right .col-product { margin-left: 0 !important; margin-right: auto; }
}
@media (max-width: 1199px) {   /* tiroir (téléphone / tablette) seulement : sur ordinateur la colonne reste en place (avant : décalée de sa largeur en arabe) */
  [dir=rtl] body.tc-tabarka .tc-shop-right .sidebar-filter.right { right: auto; left: 0; transform: translateX(-100%); }
  [dir=rtl] body.tc-tabarka .tc-shop-right .sidebar-filter.right.show { transform: none; }
}

/* ── Fiche produit : vignettes sous la photo ── */
body.tc-tabarka .tf-product-media-thumbs { margin-top: 12px; }
body.tc-tabarka .tf-product-media-thumbs .item { border-radius: 12px; overflow: hidden; }

/* ══ Identité Tabarka (2.89) : en-tête flottant arrondi, cartes douces, méga-menu à ronds, panier en panneau flottant, catalogue à ronds ══ */
/* En-tête flottant : barre arrondie détachée des bords, toujours visible en remontant */
body.tc-tabarka header.tc-hdr-float { background: transparent !important; border-bottom: 0 !important; padding: 12px 20px 0; }
body.tc-tabarka header.tc-hdr-float .header-inner { background: var(--tc-hdr-bg, #fff); border: 1px solid rgba(0,0,0,.06); border-radius: 20px; box-shadow: 0 10px 30px rgba(20,20,20,.07); padding-inline: 8px; }
body.tc-tabarka header.tc-hdr-float.header-sticky .header-inner { box-shadow: 0 14px 34px rgba(20,20,20,.12); }
body.tc-tabarka header.tc-hdr-float .sub-menu.mega-menu { border-radius: 0 0 20px 20px; }
@media (max-width: 1199px) { body.tc-tabarka header.tc-hdr-float { padding: 8px 10px 0; } body.tc-tabarka header.tc-hdr-float .header-inner { border-radius: 16px; padding-block: 10px; } }
/* Cartes produits Tabarka : au survol, un « dock » arrondi en bas de la photo (bouton + favoris / aperçu / comparer côte à côte) */
@media (min-width: 1200px) {
  body.tc-tabarka .card-product .product-action_list { top: auto !important; bottom: 12px; right: 12px; left: auto; flex-direction: row; gap: 6px; transform: translateY(14px); }
  [dir=rtl] body.tc-tabarka .card-product .product-action_list { right: auto; left: 12px; }
  body.tc-tabarka .card-product:hover .product-action_list { transform: none; }
  body.tc-tabarka .card-product .product-action_list li { margin: 0 !important; }
  body.tc-tabarka .card-product .product-action_list .box-icon { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
  body.tc-tabarka .card-product .product-action_list .tooltip { display: none; }
  body.tc-tabarka .card-product .product-action_bot { left: 12px; right: calc(12px + 3 * 46px); bottom: 12px; }
  [dir=rtl] body.tc-tabarka .card-product .product-action_bot { right: 12px; left: calc(12px + 3 * 46px); }
  body.tc-tabarka .card-product .product-action_bot .btn-action_choose { height: 40px; border-radius: 12px; background: var(--main, #1d1d1b); color: #fff; font-weight: 500; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
  body.tc-tabarka .card-product .product-action_bot .btn-action_choose:hover { background: var(--primary, #b5562b); }
}
body.tc-tabarka .card-product .card-product_wrapper { border-radius: 18px; }
body.tc-tabarka .card-product .product-badge_item { border-radius: 999px; padding: 3px 10px; }
body.tc-tabarka .card-product .name-product { font-weight: 500; }
body.tc-tabarka .card-product .price-wrap .price-new { font-weight: 600; }
@media (min-width: 1200px) {
  body.tc-tabarka .card-product:not(:has(.tc-qv)) .product-action_bot { right: calc(12px + 2 * 46px); }
  [dir=rtl] body.tc-tabarka .card-product:not(:has(.tc-qv)) .product-action_bot { right: 12px; left: calc(12px + 2 * 46px); }
}
/* Méga-menu Tabarka : ronds des catégories + carte « bonnes affaires » */
body.tc-tabarka .tc-tb-mega { padding: 30px 0 22px; }
body.tc-tabarka .tc-tb-mega-in { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: stretch; }
body.tc-tabarka .tc-tb-mega-in:not(:has(.tc-tb-mega-deal)) { grid-template-columns: 1fr; }
body.tc-tabarka .tc-tb-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; align-content: start; }
body.tc-tabarka .tc-tb-mega-c { display: grid; justify-items: center; text-align: center; gap: 8px; }
body.tc-tabarka .tc-tb-mega-ph { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #f3efe9; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
body.tc-tabarka .tc-tb-mega-ph img { width: 100%; height: 100%; object-fit: cover; }
body.tc-tabarka .tc-tb-mega-ph span { font-size: 30px; font-weight: 600; color: var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-mega-c:hover .tc-tb-mega-ph { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-mega-n { font-weight: 600; font-size: 14.5px; color: var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-mega-k { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
body.tc-tabarka .tc-tb-mega-k a { font-size: 12.5px; color: #777; }
body.tc-tabarka .tc-tb-mega-k a:hover { color: var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-mega-deal { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 260px; }
body.tc-tabarka .tc-tb-mega-deal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
body.tc-tabarka .tc-tb-mega-deal:hover img { transform: scale(1.05); }
body.tc-tabarka .tc-tb-mega-deal span { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); color: #fff; display: grid; gap: 6px; }
body.tc-tabarka .tc-tb-mega-deal b { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
body.tc-tabarka .tc-tb-mega-deal em { font-style: normal; font-size: 13px; color: #fff; opacity: .9; }
body.tc-tabarka .tc-tb-mega-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee; text-align: center; }
body.tc-tabarka .tc-tb-mega-foot a { font-weight: 600; font-size: 13px; color: var(--main, #1d1d1b); display: inline-flex; gap: 6px; align-items: center; }
/* Panier latéral Tabarka : panneau flottant arrondi, articles en cartes, suggestions « Complétez votre panier » en vignettes à faire défiler */
@media (min-width: 576px) {
  body.tc-tabarka #shoppingCart { top: 12px; bottom: 12px; height: auto; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.18); width: min(440px, calc(100vw - 24px)) !important; max-width: none; }
  body.tc-tabarka #shoppingCart.offcanvas-end { right: 12px; }
  body.tc-tabarka #shoppingCart.offcanvas-start { left: 12px; }
}
body.tc-tabarka #shoppingCart .popup-header .title { font-size: 20px; font-weight: 600; }
body.tc-tabarka #shoppingCart .tf-mini-cart-item { background: #f7f5f2; border-radius: 16px; padding: 12px; margin-bottom: 10px; border: 0; gap: 14px; }
body.tc-tabarka #shoppingCart .tf-mini-cart-image img { border-radius: 12px; width: 76px; height: 92px; object-fit: cover; background: #fff; }
body.tc-tabarka #shoppingCart .wg-quantity { border-radius: 999px; background: #fff; }
body.tc-tabarka #shoppingCart .tf-mini-cart-bottom { background: #fbfaf8; border-top: 1px solid #eee; }
body.tc-tabarka #shoppingCart .tf-mini-cart-view-checkout .tf-btn { border-radius: 14px; height: 50px; }
body.tc-tabarka .tc-dj-empty { display: grid; justify-items: center; gap: 14px; padding: 34px 8px 26px; text-align: center; }
body.tc-tabarka .tc-dj-empty-ic { width: 72px; height: 72px; border-radius: 50%; background: #f3efe9; display: grid; place-items: center; font-size: 28px; }
body.tc-tabarka .tc-dj-empty-t { margin: 0; font-size: 17px; font-weight: 600; }
body.tc-tabarka .tc-dj-empty-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.tc-tabarka .tc-dj-empty-cats a { padding: 7px 14px; border-radius: 999px; background: #f3efe9; font-size: 13px; color: var(--main, #1d1d1b); }
body.tc-tabarka .tc-dj-empty-cats a:hover { background: var(--main, #1d1d1b); color: #fff; }
body.tc-tabarka .tc-dj-empty .tf-btn { border-radius: 14px; }
body.tc-tabarka .tc-dj-more { margin-top: 18px; }
body.tc-tabarka .tc-dj-more-h { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
body.tc-tabarka .tc-dj-more-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
body.tc-tabarka .tc-dj-more-it { flex: 0 0 132px; scroll-snap-align: start; position: relative; display: grid; gap: 6px; background: #f7f5f2; border-radius: 16px; padding: 8px; }
body.tc-tabarka .tc-dj-more-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #fff; display: block; }
body.tc-tabarka .tc-dj-more-tx { display: grid; gap: 2px; min-width: 0; padding: 0 2px; }
body.tc-tabarka .tc-dj-more-n { font-size: 12.5px; font-weight: 500; color: var(--main, #1d1d1b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tc-tabarka .tc-dj-more-p { font-size: 12.5px; font-weight: 600; }
body.tc-tabarka .tc-dj-more-p s { color: #999; font-weight: 400; margin-inline-end: 3px; }
body.tc-tabarka .tc-dj-more-add { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--main, #1d1d1b) !important; }
[dir=rtl] body.tc-tabarka .tc-dj-more-add { right: auto; left: 14px; }
body.tc-tabarka .tc-dj-more-add:hover { background: var(--main, #1d1d1b); color: #fff !important; }
/* Catalogue Tabarka : catégories en ronds sous le titre */
body.tc-tabarka .tc-tb-catround { display: flex; gap: 18px; margin-top: 22px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
body.tc-tabarka .tc-tb-catround::-webkit-scrollbar { display: none; }
body.tc-tabarka .tc-tb-catround a { flex: none; display: grid; justify-items: center; gap: 8px; width: 84px; text-align: center; color: var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-catround .ph { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .25s, transform .25s; }
body.tc-tabarka .tc-tb-catround .ph img { width: 100%; height: 100%; object-fit: cover; }
body.tc-tabarka .tc-tb-catround .ph i, body.tc-tabarka .tc-tb-catround .ph b { font-size: 22px; }
body.tc-tabarka .tc-tb-catround .t { font-size: 12.5px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.tc-tabarka .tc-tb-catround a:hover .ph { transform: translateY(-2px); }
body.tc-tabarka .tc-tb-catround a.is-on .ph { box-shadow: 0 0 0 2px var(--main, #1d1d1b); }
body.tc-tabarka .tc-tb-catround a.is-on .t { font-weight: 700; }
/* Barre du bas Tabarka : dock arrondi, panier au centre dans un rond surélevé, page en cours dans une pastille */
@media (max-width: 1199px) {
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 { left: 10px; right: 10px; bottom: 10px; border-radius: 24px; border: 0; box-shadow: 0 14px 34px rgba(0,0,0,.14); padding: 8px 6px; align-items: center; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-search { order: 0; } body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-home { order: 1; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-cart, body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-contact { order: 2; } body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-shop { order: 3; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .toolbar-icon { width: 46px; height: 32px; border-radius: 999px; align-items: center; justify-content: center; transition: background .2s; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .toolbar-item.is-on .toolbar-icon { background: #f1ece5; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .toolbar-label { font-size: 11px; font-weight: 500; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-cart .toolbar-icon { width: 56px; height: 56px; margin-top: -26px; background: var(--main, #1d1d1b); color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.22); border: 4px solid #fff; }
  body.tc-tabarka .tf-toolbar-bottom.tc-tb-5 .tc-tb-cart .toolbar-count { top: -2px; right: -2px; border: 2px solid #fff; width: 19px; height: 19px; }
}
/* Ouverture du menu et du panier (téléphone) — Tabarka : panneau qui monte du bas (« feuille »), coins arrondis et poignée */
@media (max-width: 767px) {
  body.tc-tabarka #mobileMenu, body.tc-tabarka #shoppingCart { top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; height: 88vh !important; height: 88dvh !important;
    border-radius: 24px 24px 0 0 !important; transform: translateY(100%); transition: transform .45s cubic-bezier(.22,1,.36,1), visibility .45s; box-shadow: 0 -14px 40px rgba(0,0,0,.18); }
  body.tc-tabarka #mobileMenu.showing, body.tc-tabarka #mobileMenu.show:not(.hiding), body.tc-tabarka #shoppingCart.showing, body.tc-tabarka #shoppingCart.show:not(.hiding) { transform: none; }
  body.tc-tabarka #mobileMenu::before, body.tc-tabarka #shoppingCart::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 99px; background: #d9d4cd; z-index: 2; }
}

/* En-tête téléphone — Tabarka : pilule flottante ; menu dans une pastille pleine (couleur principale), panier en pastille douce */
@media (max-width: 1199.98px) {
  body.tc-tabarka { --mh-b: 40px; --mh-r: 14px; --mh-bg: color-mix(in srgb, var(--tc-c-main, #1a1a1a) 6%, transparent); --mh-badge: var(--tc-c-acc, #d4a373); --mh-ring: var(--tc-hdr-bg, #fff); }
  body.tc-tabarka header.tf-header .box-btn-open-menu > a { --mh-bg: var(--tc-c-main, #1a1a1a); --mh-ink: #fff; }
}

/* Galerie : vignettes carrées quel que soit le format de la photo envoyée */
body.tc-tabarka .grid-layout_gallery .gallery-item .image img { aspect-ratio: 1 / 1 !important; width: 100%; height: auto !important; object-fit: cover; }
