/* FAYYAZ — product archive: instant filters, compact subcategories, refined product grid */
:root { --fz-blue: #1c61e7; --fz-ink: #0f1b33; --fz-mute: #6b7891; --fz-line: #e6ebf3; --fz-soft: #f5f8fd; }

/* ---------- filter panel ---------- */
.fzf { position: relative; margin: 0 0 18px; padding: 16px 16px 8px; border: 1px solid var(--fz-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgba(15, 42, 92, .06); font-size: 13px; color: var(--fz-ink); }
.fzf ~ .wd-widget, .fzf ~ .widget { display: none !important; }
.fzf.is-failed ~ .wd-widget, .fzf.is-failed ~ .widget { display: block !important; }
.fzf.is-failed { display: none; }
.fzf__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fzf__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .2px; }
.fzf__title::before { content: ""; width: 18px; height: 18px; background: var(--fz-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.fzf button { font: inherit; text-transform: none; letter-spacing: normal; min-height: 0; box-shadow: none; }
.fzf__clear { padding: 4px 8px !important; border: 0 !important; background: none !important; color: var(--fz-blue) !important; font-weight: 600 !important; font-size: 12px !important; cursor: pointer; }
.fzf__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.fzf__chips:empty { display: none; }
.fzf__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px !important; border: 0 !important; border-radius: 999px !important; background: #e8f0ff !important; color: var(--fz-blue) !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.4 !important; cursor: pointer; }
.fzf__chip i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(28, 97, 231, .15); font-style: normal; font-size: 12px; }
.fzf__total { margin: 2px 0 8px; padding: 8px 10px; border-radius: 10px; background: var(--fz-soft); color: var(--fz-mute); font-size: 12px; }
.fzf__total b { color: var(--fz-ink); font-size: 14px; }
.fzf__g { border-top: 1px solid var(--fz-line); }
.fzf__gh { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 0 !important; border: 0 !important; background: none !important; color: var(--fz-ink) !important; font-weight: 700 !important; font-size: 13px !important; text-align: left; cursor: pointer; }
.fzf__gh span { flex: 1; }
.fzf__gh em { min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--fz-blue); color: #fff; font-style: normal; font-size: 11px; line-height: 18px; text-align: center; }
.fzf__gh i { width: 8px; height: 8px; border-right: 2px solid var(--fz-mute); border-bottom: 2px solid var(--fz-mute); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.fzf__g.is-open .fzf__gh i { transform: rotate(-135deg) translateY(-1px); }
.fzf__gb { display: none; padding: 0 0 12px; }
.fzf__g.is-open .fzf__gb { display: block; }
.fzf__q { width: 100%; height: 32px !important; margin: 0 0 8px !important; padding: 0 10px !important; border: 1px solid var(--fz-line) !important; border-radius: 8px !important; font-size: 12px !important; background: var(--fz-soft) !important; }
.fzf__list { display: flex; flex-direction: column; gap: 1px; }
.fzf__list.is-clip { max-height: 196px; overflow: hidden; -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
.fzf__o { display: flex; align-items: center; gap: 9px; margin: 0; padding: 5px 6px; border-radius: 8px; cursor: pointer; line-height: 1.3; transition: background .15s; }
.fzf__o:hover { background: var(--fz-soft); }
.fzf__o input { position: absolute; opacity: 0; pointer-events: none; }
.fzf__box { flex: none; width: 16px; height: 16px; border: 1.5px solid #c3cddd; border-radius: 5px; background: #fff; transition: all .15s; }
.fzf__o.is-on .fzf__box { border-color: var(--fz-blue); background: var(--fz-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.fzf__v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fzf__n { flex: none; min-width: 26px; padding: 1px 6px; border-radius: 6px; background: var(--fz-soft); color: var(--fz-mute); font-size: 11px; text-align: center; }
.fzf__o.is-on .fzf__n { background: #e8f0ff; color: var(--fz-blue); }
.fzf__o.is-off { opacity: .4; cursor: default; }
.fzf__more { margin-top: 6px; padding: 2px 0 !important; border: 0 !important; background: none !important; color: var(--fz-blue) !important; font-size: 12px !important; font-weight: 600 !important; cursor: pointer; }
.fzf__range { position: relative; height: 28px; margin: 4px 4px 6px; }
.fzf__range::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; border-radius: 3px; background: var(--fz-line); }
.fzf__track { position: absolute; top: 13px; height: 3px; border-radius: 3px; background: var(--fz-blue); }
.fzf__range input { position: absolute; left: 0; top: 4px; width: 100%; height: 20px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; z-index: 2; }
.fzf__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--fz-blue); box-shadow: 0 2px 6px rgba(15, 42, 92, .3); pointer-events: auto; cursor: grab; }
.fzf__range input::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--fz-blue); box-shadow: 0 2px 6px rgba(15, 42, 92, .3); pointer-events: auto; cursor: grab; }
.fzf__pin { display: flex; align-items: center; gap: 6px; }
.fzf__pin label { flex: 1; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0 8px; border: 1px solid var(--fz-line); border-radius: 8px; background: var(--fz-soft); }
.fzf__pin span { color: var(--fz-mute); font-size: 12px; }
.fzf__pin input { width: 100%; height: 30px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 12px !important; box-shadow: none !important; -moz-appearance: textfield; }
.fzf__pin b { color: var(--fz-mute); font-weight: 400; }
.fzf__sk { height: 34px; margin: 10px 0; border-radius: 8px; background: linear-gradient(90deg, var(--fz-soft) 25%, #eef2f9 50%, var(--fz-soft) 75%) 0 0/200% 100%; animation: fzf-sk 1.2s linear infinite; }
@keyframes fzf-sk { to { background-position: -200% 0; } }
.fzf-loading { position: relative; opacity: .45; pointer-events: none; transition: opacity .15s; }

/* Narrower, sticky sidebar column on desktop */
@media (min-width: 1025px) {
	.elementor-widget-wd_sidebar .fzf { max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; }
	.e-con-full:has(> .elementor-widget-wd_sidebar .fzf) { --width: 22% !important; max-width: 270px; }
}

/* ---------- compact subcategory strip ---------- */
.fzc-sub { margin: 0 0 22px; padding: 12px 14px 10px; border: 1px solid var(--fz-line); border-radius: 16px; background: linear-gradient(180deg, #fbfcff, #f4f7fd); }
.fzc-sub__head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--fz-ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.fzc-sub__ico { width: 16px; height: 16px; border-radius: 4px; background: var(--fz-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.fzc-sub .wd-cats-element { --wd-col-lg: 6 !important; --wd-col-md: 4 !important; --wd-col-sm: 2 !important; }
.fzc-sub .wd-cat { margin: 0 !important; }
.fzc-sub .wd-cat-inner { display: flex !important; align-items: center; gap: 10px; height: 100%; padding: 8px 10px !important; border: 1px solid var(--fz-line); border-radius: 12px; background: #fff; transition: box-shadow .2s, border-color .2s, transform .2s; }
.fzc-sub .wd-cat-inner:hover { border-color: #c9d8f6; box-shadow: 0 8px 20px rgba(15, 42, 92, .08); transform: translateY(-1px); }
.fzc-sub .wd-cat-thumb, .fzc-sub .category-image-wrapp { flex: none; width: 52px !important; height: 52px; margin: 0 !important; display: grid; place-items: center; border-radius: 10px; background: var(--fz-soft); overflow: hidden; }
.fzc-sub .wd-cat-thumb img, .fzc-sub .category-image-wrapp img { width: 44px !important; height: 44px !important; object-fit: contain; }
.fzc-sub .wd-cat-content, .fzc-sub .hover-mask { position: static !important; flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; text-align: left !important; background: none !important; transform: none !important; opacity: 1 !important; }
.fzc-sub .wd-entities-title, .fzc-sub .wd-cat-title { margin: 0 0 2px !important; font-size: 12.5px !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left !important; }
.fzc-sub .wd-cat-count, .fzc-sub .more-products { font-size: 11px !important; color: var(--fz-mute) !important; text-align: left !important; }
.fzc-sub .wd-cat-subcategories, .fzc-sub .wd-nav-arrows { display: none !important; }

/* ---------- product grid polish ---------- */
.tax-product_cat .wd-products-element .wd-product, .post-type-archive-product .wd-products-element .wd-product { padding: 8px !important; }
.tax-product_cat .wd-products-element .product-wrapper, .post-type-archive-product .wd-products-element .product-wrapper { height: 100%; padding: 12px 12px 14px; border: 1px solid var(--fz-line); border-radius: 16px; background: #fff; transition: box-shadow .25s, transform .25s, border-color .25s; }
.tax-product_cat .wd-products-element .product-wrapper:hover, .post-type-archive-product .wd-products-element .product-wrapper:hover { border-color: #d5e2fa; box-shadow: 0 14px 34px rgba(15, 42, 92, .10); transform: translateY(-3px); }
.tax-product_cat .wd-products-element .product-element-top, .post-type-archive-product .wd-products-element .product-element-top { border-radius: 12px; background: var(--fz-soft); overflow: hidden; }
.tax-product_cat .wd-products-element .wd-entities-title, .post-type-archive-product .wd-products-element .wd-entities-title { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.tax-product_cat .wd-products-element .price, .post-type-archive-product .wd-products-element .price { color: var(--fz-blue); font-weight: 700; }
.tax-product_cat .wd-products-element .add_to_cart_button, .tax-product_cat .wd-products-element .button, .post-type-archive-product .wd-products-element .button { border-radius: 10px !important; }
.tax-product_cat .woocommerce-result-count, .post-type-archive-product .woocommerce-result-count { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--fz-soft); color: var(--fz-mute); font-size: 12.5px; }
