/*
 * Zimi Distribution Ltd. product archive layout (Shop / Men / Women, product category, product tag, product search).
 * Loaded on WooCommerce archives only. Every rule is scoped to .zdl-sx, the class on the Elementor
 * wrapper container of those Theme Builder templates. Colours/spacing set in Elementor controls win over these defaults.
 */
.zdl-sx{--zp:#3C66BE;--zs:#5FCEFA;--zi:#2B2B2B;--zm:#5B6275;--zl:#E3E8F3;--zt:#F3F6FC;--zn:#1F3A78;width:100%;max-width:100%;overflow-x:clip;padding-bottom:56px}
.zdl-sx *{box-sizing:border-box}
.zdl-sx>.elementor-element{width:calc(100% - 48px)!important;max-width:1264px;margin-left:auto!important;margin-right:auto!important}
@media(max-width:767px){.zdl-sx>.elementor-element{width:calc(100% - 32px)!important}}
/* collection variants: shop (default), men, women. The editor shows every variant so each can be edited. */
body:not(.elementor-editor-active) .zdl-sx .zdl-v-men,body:not(.elementor-editor-active) .zdl-sx .zdl-v-women{display:none!important}
body.zdl-coll-men:not(.elementor-editor-active) .zdl-sx .zdl-v-shop,body.zdl-coll-women:not(.elementor-editor-active) .zdl-sx .zdl-v-shop{display:none!important}
body.zdl-coll-men:not(.elementor-editor-active) .zdl-sx .zdl-v-men{display:flex!important}
body.zdl-coll-women:not(.elementor-editor-active) .zdl-sx .zdl-v-women{display:flex!important}
/* breadcrumbs */
.zdl-sx-crumbs{padding:4px 0 14px}
.zdl-sx-bc .woocommerce-breadcrumb{margin:0;font-size:13px;color:var(--zm)}
.zdl-sx-bc .woocommerce-breadcrumb a{color:var(--zm);text-decoration:none}
.zdl-sx-bc .woocommerce-breadcrumb a:hover{color:var(--zp)}
/* hero */
.zdl-sx-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#F3F6FC 0%,#E4F4FD 100%);border-radius:28px;padding:46px 52px;gap:14px;margin-bottom:36px!important}
.zdl-sx-hero::after{content:'';position:absolute;right:-70px;top:-70px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(95,206,250,.35),rgba(95,206,250,0) 70%);pointer-events:none}
.zdl-sx-hero .elementor-widget{max-width:640px;position:relative;z-index:1}
.zdl-sx-hero .elementor-widget-heading .elementor-heading-title{margin:0}
.zdl-sx-cta{margin-top:6px}
.zdl-sx-cta .elementor-button{transition:background .2s,transform .2s}
.zdl-sx-cta .elementor-button:hover{transform:translateY(-1px)}
@media(max-width:767px){.zdl-sx-hero{padding:28px 22px;border-radius:20px;margin-bottom:26px!important}}
/* sections */
.zdl-sx-sec{gap:20px;margin-bottom:44px!important}
.zdl-sx-head{gap:6px}
.zdl-sx-head .elementor-widget{max-width:720px}
.zdl-sx-head .elementor-heading-title{margin:0}
.zdl-sx-cats .zdl-cat-carousel{width:100%}
/* category groups */
.zdl-sx-groups{gap:28px 44px;align-items:flex-start}
.zdl-sx-groups>.zdl-sx-group{width:auto!important;min-width:0;gap:12px}
.zdl-sx-groups>.zdl-sx-group:nth-child(1){flex:3 1 0}
.zdl-sx-groups>.zdl-sx-group:nth-child(2){flex:2 1 0}
.zdl-sx-groups--stack{align-items:stretch}
.zdl-sx-groups--stack>.zdl-sx-group{flex:1 1 auto!important;width:100%!important}
.zdl-sx-gtitle .elementor-heading-title{margin:0}
@media(max-width:1024px){.zdl-sx-groups{flex-direction:column}.zdl-sx-groups>.zdl-sx-group{flex:1 1 auto!important;width:100%!important}}
/* main: filters + listing */
.zdl-sx-grid{display:grid!important;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start}
.zdl-sx-grid>.elementor-element{width:auto!important;min-width:0}
@media(max-width:1024px){.zdl-sx-grid{grid-template-columns:minmax(0,1fr);gap:16px}}
.zdl-sx-ltitle .elementor-heading-title{margin:0 0 2px}
.zdl-sx-list .woocommerce-result-count{float:left;margin:10px 0 18px;font-size:14px;color:var(--zm)}
.zdl-sx-list .woocommerce-ordering{float:right;margin:0 0 18px}
.zdl-sx-list .woocommerce-ordering select{height:42px;padding:0 36px 0 14px;border:1px solid var(--zl);border-radius:10px;background-color:#fff;color:var(--zi);font-size:14px}
.zdl-sx-list ul.products{clear:both}
@media(min-width:1025px) and (max-width:1279px){.zdl-sx-list ul.products{--grid-template-columns:3!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:480px){.zdl-sx-list .woocommerce-result-count,.zdl-sx-list .woocommerce-ordering{float:none;width:100%}.zdl-sx-list .woocommerce-ordering select{width:100%}}
.zdl-sx-list .woocommerce-pagination{margin-top:30px}
.zdl-sx-list .woocommerce-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;border:0;list-style:none}
.zdl-sx-list .woocommerce-pagination ul li{border:0;margin:0;padding:0;float:none}
.zdl-sx-list .woocommerce-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--zl);border-radius:10px;background:#fff;color:var(--zi);font-size:14px;font-weight:600;text-decoration:none;transition:all .2s}
.zdl-sx-list .woocommerce-pagination a.page-numbers:hover{border-color:var(--zp);color:var(--zp);background:#EEF3FD}
.zdl-sx-list .woocommerce-pagination .page-numbers.current{background:var(--zp);border-color:var(--zp);color:#fff}
/* promo */
.zdl-sx-promo{align-items:center;justify-content:space-between;gap:30px;background:var(--zt);border:1px solid var(--zl);border-radius:24px;padding:34px 40px;overflow:hidden}
.zdl-sx-promo__text{gap:12px;flex:1 1 auto;max-width:560px;width:auto!important}
.zdl-sx-promo__text .elementor-heading-title{margin:0}
.zdl-sx-promo__img{flex:0 0 280px;width:280px!important}
.zdl-sx-promo__img img{width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:18px;background:#F7F7F7}
@media(max-width:767px){.zdl-sx-promo{flex-direction:column!important;align-items:flex-start;padding:24px 20px;gap:18px}.zdl-sx-promo__img{width:100%!important;flex:0 0 auto}}

/* split hero: text on the left, optional category image on the right (image hides itself when the category has none) */
.zdl-sx-hero--split{flex-direction:row!important;align-items:center;justify-content:space-between;gap:32px}
.zdl-sx-hero__text{flex:1 1 auto;gap:14px;min-width:0;width:auto!important;position:relative;z-index:1}
.zdl-sx-hero__text .elementor-widget{max-width:640px}
.zdl-sx-hero__text .elementor-heading-title{margin:0}
.zdl-sx-hero__img{flex:0 0 240px;width:240px!important;max-width:240px;position:relative;z-index:1}
.zdl-sx-hero__img img{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;border-radius:20px;background:#fff;padding:10px;box-shadow:0 10px 30px rgba(31,58,120,.10)}
.zdl-sx-hero__img:not(:has(img)){display:none}
.zdl-sx-lead:not(:has(p,a,.elementor-widget-container *)){display:none}
.zdl-sx-lead p{margin:10px 0 0;max-width:600px;font-family:Poppins,sans-serif;font-size:15.5px;line-height:1.7;color:#5B6275}.zdl-sx-lead a{color:#3C66BE;text-decoration:underline;text-underline-offset:3px}@media(max-width:767px){.zdl-sx-lead p{font-size:14.5px}}
@media(max-width:767px){.zdl-sx-hero--split{flex-direction:column!important;align-items:flex-start;gap:18px}.zdl-sx-hero__img{flex:0 0 auto;width:150px!important;max-width:150px}}
/* browse-categories strip */
.zdl-sx-browse{gap:14px;margin-top:44px;margin-bottom:0!important}
.zdl-sx-browse .zdl-sx-title .elementor-heading-title,.zdl-sx-browse .elementor-heading-title{margin:0}
