/* Shop / category archive (inc/shop-design.php, woocommerce/content-widget-price-filter.php):
   dark hero, toolbar with sort pills, luxe filter card, product cards, «خرید با خیال راحت» band. */
body.jz-shop-v2 {
	--sh-ink: #1B1712;
	--sh-paper: #FFFFFF;
	--sh-ground: #F7F4EE;
	--sh-photo: #EFE8DB;
	--sh-line: #ECE6DB;
	--sh-line-soft: #F0EBE2;
	--sh-chip: #F4EFE6;
	--sh-muted: #6E655A;
	--sh-gold: #F7B754;
	--sh-gold-dk: #C98200;
	--sh-gold-ink: #8A5800;
	--sh-gold-tint: #FFF3DC;
	--sh-dark: #1B1712;
	--sh-dark-muted: #B9AE9C;
	background: var(--sh-ground);
}
body.jz-shop-v2 #content { background: transparent; }

/* ---------- Hero ---------- */
.jz-shop-hero { background: var(--sh-dark); color: #FFFFFF; }
.jz-shop-hero-in { max-width: 1240px; margin: 0 auto; padding: 34px 24px 28px; box-sizing: border-box; display: flex; flex-direction: column; gap: 22px; }
.jz-shop-hero-top { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.jz-shop-hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.jz-shop-crumbs { font-size: 13px; color: var(--sh-dark-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.jz-shop-crumbs a { color: var(--sh-dark-muted); text-decoration: none; }
.jz-shop-crumbs a:hover { color: var(--sh-gold); }
.jz-shop-hero-title { margin: 0 !important; font-size: 36px !important; line-height: 1.35 !important; font-weight: 900 !important; color: #FFFFFF !important; letter-spacing: -.3px; }
.jz-shop-hero-title span { color: var(--sh-gold); }
.jz-shop-hero-sub { margin: 0; font-size: 14.5px; line-height: 1.9; color: #D8CFC0; }
.jz-shop-hero-gold { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(247,183,84,.35); color: #FFFFFF; text-decoration: none; }
.jz-shop-hero-gold:hover { border-color: var(--sh-gold); color: #FFFFFF; }
.jz-live-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 4px rgba(61,214,140,.2); }
.jz-shop-hero-gold-txt { display: flex; flex-direction: column; gap: 2px; }
.jz-shop-hero-gold-txt small { font-size: 12px; color: var(--sh-dark-muted); }
.jz-shop-hero-gold-txt strong { font-size: 20px; font-weight: 800; color: var(--sh-gold); }
.jz-shop-hero-gold-txt em { font-style: normal; font-size: 12px; font-weight: 600; color: #D8CFC0; }
.jz-shop-hero-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.jz-shop-hero-cats a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); color: #FFFFFF; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.jz-shop-hero-cats a:hover { border-color: var(--sh-gold); color: #FFFFFF; }
.jz-shop-hero-cats a.is-on { background: var(--sh-gold); border-color: var(--sh-gold); color: var(--sh-ink); }

/* ---------- Layout: filter card | products ---------- */
@media (min-width: 783px) {
	body.jz-shop-v2 #content > .col-full { max-width: 1240px; padding: 32px 24px 64px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
	body.jz-shop-v2 #content > .col-full::before, body.jz-shop-v2 #content > .col-full::after { content: none; }
	body.jz-shop-v2 #content > .col-full > .woocommerce:empty { display: none; }
	body.jz-shop-v2 #content > .col-full > .woocommerce { flex: 1 1 100%; }
	body.jz-shop-v2 #primary { order: 2; flex: 999 1 480px; min-width: 0; width: auto !important; float: none !important; margin: 0 !important; }
	body.jz-shop-v2 #secondary { order: 1; flex: 0 0 300px; width: 300px !important; float: none !important; margin: 0 !important; position: sticky; top: 20px; }
}

/* Tablet / small laptop: products stay beside the filter, two per row. */
@media (min-width: 783px) and (max-width: 1100px) {
	body.jz-shop-v2 #secondary { flex-basis: 270px; width: 270px !important; }
	body.jz-shop-v2 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.jz-shop-v2 .jz-gift-lux { grid-template-columns: minmax(0, 1fr); }
	body.jz-shop-v2 .jz-shop-sortpills { overflow-x: auto; max-width: 100%; }
}

/* ---------- Toolbar ---------- */
body.jz-shop-v2 .storefront-sorting { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 20px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.jz-shop-v2 .storefront-sorting > .woocommerce-notices-wrapper { flex: 1 1 100%; }
body.jz-shop-v2 .storefront-sorting > .woocommerce-notices-wrapper:empty { display: none; }
body.jz-shop-v2 .jz-shop-result-count { display: inline-block; order: 1; font-size: 14px; color: var(--sh-muted); }
body.jz-shop-v2 .jz-shop-active-filters { order: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 !important; }
body.jz-shop-v2 .jz-shop-active-filters .jz-filter-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--sh-gold-tint); color: var(--sh-gold-ink); font-size: 12px; font-weight: 700; text-decoration: none; }
body.jz-shop-v2 .jz-shop-active-filters .jz-filter-chip span { font-size: 15px; line-height: 1; }
body.jz-shop-v2 .jz-shop-active-filters .jz-filter-clear { font-size: 12px; font-weight: 700; color: var(--sh-gold-ink); padding: 0 6px; background: none; }
body.jz-shop-v2 .jz-shop-sortpills { order: 3; margin-inline-start: auto; display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sh-paper); border: 1px solid var(--sh-line); }
body.jz-shop-v2 .jz-shop-sortpills a { height: 36px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--sh-muted); text-decoration: none; white-space: nowrap; }
body.jz-shop-v2 .jz-shop-sortpills a:hover { color: var(--sh-ink); }
body.jz-shop-v2 .jz-shop-sortpills a.is-on { background: var(--sh-ink); color: #FFFFFF; font-weight: 800; }
body.jz-shop-v2 .storefront-sorting .woocommerce-ordering,
body.jz-shop-v2 .storefront-sorting .jz-mobile-filter-toggle { display: none; }

/* ---------- Product cards ---------- */
body.jz-shop-v2 ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 !important; padding: 0 !important; }
body.jz-shop-v2 ul.products::before, body.jz-shop-v2 ul.products::after { content: none !important; display: none !important; }
body.jz-shop-v2 ul.products li.product { position: relative; float: none !important; clear: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; background: var(--sh-paper) !important; border: 1px solid var(--sh-line) !important; border-radius: 24px !important; overflow: hidden; box-shadow: none !important; text-align: right; transition: box-shadow .2s, transform .2s; }
body.jz-shop-v2 ul.products li.product:hover { box-shadow: 0 18px 40px rgba(27,23,18,.08) !important; transform: translateY(-2px); }
body.jz-shop-v2 ul.products li.product .woocommerce-loop-product__link { position: relative; display: flex !important; flex-direction: column; flex-grow: 1; container-type: inline-size; text-decoration: none; color: var(--sh-ink); }
body.jz-shop-v2 ul.products li.product img { width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; margin: 0 !important; border-radius: 0 !important; background: var(--sh-photo); display: block; }
body.jz-shop-v2 ul.products li.product .jz-card-discount,
body.jz-shop-v2 ul.products li.product .jz-product-excerpt,
body.jz-shop-v2 ul.products li.product .star-rating,
body.jz-shop-v2 ul.products li.product .onsale,
body.jz-shop-v2 ul.products li.product a.added_to_cart { display: none !important; }
body.jz-shop-v2 ul.products li.product .jz-wish { position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important; z-index: 3; width: 40px !important; height: 40px !important; margin: 0 !important; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: rgba(255,255,255,.94) !important; box-shadow: 0 4px 12px rgba(0,0,0,.12) !important; display: flex !important; align-items: center; justify-content: center; color: var(--sh-ink); }
/* Compare + quick view: same round buttons as the heart, in a row beside it (a column on phones). */
body.jz-shop-v2 ul.products li.product .jz-cmp, body.jz-shop-v2 ul.products li.product .jz-qv { position: absolute !important; top: 12px !important; left: auto !important; z-index: 3; width: 40px !important; height: 40px !important; margin: 0 !important; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: rgba(255,255,255,.94) !important; box-shadow: 0 4px 12px rgba(0,0,0,.12) !important; display: flex !important; align-items: center; justify-content: center; color: var(--sh-ink); }
body.jz-shop-v2 ul.products li.product .jz-cmp { right: 60px !important; }
body.jz-shop-v2 ul.products li.product .jz-qv { right: 108px !important; }
body.jz-shop-v2 ul.products li.product .jz-cmp:hover, body.jz-shop-v2 ul.products li.product .jz-qv:hover { color: var(--sh-gold-dk); }
body.jz-shop-v2 ul.products li.product .jz-cmp.is-on { background: var(--sh-dark) !important; color: var(--sh-gold) !important; }
body.jz-shop-v2 ul.products li.product .jz-card-flag { position: absolute; top: 14px; left: 14px; z-index: 2; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--sh-dark); color: var(--sh-gold); font-size: 12px; font-weight: 800; display: flex; align-items: center; }
body.jz-shop-v2 ul.products li.product .jz-card-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 16px 0; }
body.jz-shop-v2 ul.products li.product .jz-card-tags span { height: 24px; padding: 0 9px; border-radius: 8px; background: var(--sh-chip); color: var(--sh-muted); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; }
body.jz-shop-v2 ul.products li.product .woocommerce-loop-product__title { margin: 0 !important; padding: 10px 16px 0 !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.6 !important; color: var(--sh-ink) !important; text-align: right !important; min-height: 0 !important; }
body.jz-shop-v2 ul.products li.product .jz-product-footer { margin-top: auto !important; padding: 12px 16px 18px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; flex-direction: row !important; border: 0 !important; }
body.jz-shop-v2 ul.products li.product .price { margin: 0 !important; padding: 0 !important; font-size: 17px !important; font-weight: 900 !important; color: var(--sh-ink) !important; display: block !important; text-align: right; }
body.jz-shop-v2 ul.products li.product .price bdi { display: inline-flex; flex-direction: row-reverse; gap: 4px; align-items: baseline; }
body.jz-shop-v2 ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; color: var(--sh-muted); }
body.jz-shop-v2 ul.products li.product .price del { display: block; font-size: 12px; font-weight: 500; color: var(--sh-muted); opacity: .8; }
body.jz-shop-v2 ul.products li.product .price ins { text-decoration: none; }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button { flex-shrink: 0; position: relative; width: 42px !important; height: 42px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 14px !important; border: 0 !important; background: var(--sh-dark) !important; color: transparent !important; font-size: 0 !important; overflow: hidden; box-shadow: none !important; }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: var(--sh-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%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' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button.loading::before { animation: jz-shop-spin .8s linear infinite; }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button.added::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button::after { content: none !important; }
body.jz-shop-v2 ul.products li.product .jz-product-footer .button:hover { background: #000 !important; }
@keyframes jz-shop-spin { to { transform: rotate(360deg); } }
body.jz-shop-v2 ul.products li.product .jz-in-cart-badge:not([hidden]) { position: absolute; top: calc(100cqw - 38px); right: 12px; z-index: 2; }

/* ---------- «راهنمای انتخاب هدیه» band ---------- */
.jz-gift-lux { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 24px; padding: 28px; border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, #3A2C16 0%, #1B1712 55%); border: 1px solid rgba(247,183,84,.28); color: #FFFFFF; }
.jz-gift-lux::before { content: ""; position: absolute; top: -90px; left: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(247,183,84,.22), rgba(247,183,84,0) 70%); pointer-events: none; }
.jz-gift-lux > * { position: relative; }
.jz-gift-lux-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.jz-gift-lux-eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(247,183,84,.14); color: #F7B754; font-size: 12px; font-weight: 800; }
.jz-gift-lux h2 { margin: 0 !important; font-size: 26px !important; font-weight: 900 !important; color: #FFFFFF !important; line-height: 1.4 !important; }
.jz-gift-lux h2 span { color: #F7B754; }
.jz-gift-lux-copy p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #D8CFC0; }
.jz-gift-lux-budgets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jz-gift-lux-budgets a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); color: #FFFFFF; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.jz-gift-lux-budgets a:hover { border-color: #F7B754; color: #F7B754; }
.jz-gift-lux-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-top: 6px; padding: 0 20px; border-radius: 16px; background: #F7B754; color: #1B1712 !important; font-size: 14px; font-weight: 900; text-decoration: none !important; }
.jz-gift-lux-cta:hover { background: #FAC570; }
.jz-gift-lux-occ { display: flex; flex-direction: column; gap: 10px; }
.jz-gift-lux-occ a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #FFFFFF; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.jz-gift-lux-occ a:hover { border-color: rgba(247,183,84,.55); background: rgba(247,183,84,.08); color: #FFFFFF; transform: translateX(-3px); }
.jz-gift-lux-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(145deg, #F5C46B, #C98200); color: #1B1712; display: flex; align-items: center; justify-content: center; }
.jz-gift-lux-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jz-gift-lux-t strong { font-size: 15px; font-weight: 800; }
.jz-gift-lux-t small { font-size: 12px; color: #B9AE9C; }
.jz-gift-lux-arr { color: #F7B754; flex-shrink: 0; }
@media (max-width: 782px) {
	/* Mobile: one compact card — title + button, then the three occasions as small tiles (no paragraph, no budget row). */
	.jz-gift-lux { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 12px 16px 2px; padding: 14px; border-radius: 20px; }
	.jz-gift-lux-copy { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 4px; }
	.jz-gift-lux-eyebrow { display: none; }
	.jz-gift-lux h2 { flex: 1 1 auto; font-size: 17px !important; }
	.jz-gift-lux-copy p, .jz-gift-lux-budgets { display: none; }
	.jz-gift-lux-cta { height: 38px; margin: 0; padding: 0 14px; border-radius: 12px; font-size: 12.5px; }
	.jz-gift-lux-occ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.jz-gift-lux-occ a { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 14px; text-align: center; }
	.jz-gift-lux-occ a:hover { transform: none; }
	.jz-gift-lux-ic { width: 34px; height: 34px; border-radius: 10px; }
	.jz-gift-lux-ic svg { width: 18px; height: 18px; }
	.jz-gift-lux-t strong { font-size: 12px; }
	.jz-gift-lux-t small, .jz-gift-lux-arr { display: none; }
}

/* ---------- Pagination ---------- */
body.jz-shop-v2 .woocommerce-pagination { padding-top: 28px; text-align: center; }
body.jz-shop-v2 .woocommerce-pagination ul.page-numbers { display: inline-flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0 !important; margin: 0 !important; }
body.jz-shop-v2 .woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none !important; }
body.jz-shop-v2 .woocommerce-pagination .page-numbers li .page-numbers { min-width: 44px; height: 44px; padding: 0 12px !important; box-sizing: border-box; border-radius: 14px !important; background: var(--sh-paper) !important; border: 1px solid var(--sh-line) !important; color: var(--sh-ink) !important; display: inline-flex !important; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
body.jz-shop-v2 .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--sh-dark) !important; border-color: var(--sh-dark) !important; color: var(--sh-gold) !important; }

/* ---------- «خرید با خیال راحت» band ---------- */
.jz-shop-safe { background: var(--sh-dark, #1B1712); color: #FFFFFF; }
.jz-shop-safe-in { max-width: 1240px; margin: 0 auto; padding: 36px 24px; box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jz-shop-safe-card { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.jz-shop-safe-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(247,183,84,.14); color: #F7B754; display: flex; align-items: center; justify-content: center; }
.jz-shop-safe-card div { display: flex; flex-direction: column; gap: 4px; }
.jz-shop-safe-card strong { font-size: 14px; }
.jz-shop-safe-card span { font-size: 12px; color: #B9AE9C; line-height: 1.7; }

/* ---------- Filter card ---------- */
body.jz-shop-v2 #secondary .widget { padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.jz-shop-v2 #secondary .widget_price_filter > .widget-title { display: none !important; }
body.jz-shop-v2 .jz-filter-card { background: var(--sh-paper) !important; border: 1px solid var(--sh-line) !important; border-radius: 28px !important; box-shadow: 0 20px 50px rgba(27,23,18,.08) !important; overflow: hidden; padding: 0 !important; display: flex; flex-direction: column; }
@media (min-width: 783px) {
	body.jz-shop-v2 .jz-filter-card { max-height: calc(100vh - 40px); }
	body.jz-shop-v2 .jz-filter-card form#jz-filter-form { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
body.jz-shop-v2 .jz-filter-card-head { position: static !important; display: flex !important; flex-direction: column; gap: 14px; align-items: stretch !important; padding: 20px 20px 18px !important; margin: 0 !important; background: var(--sh-dark) !important; color: #FFFFFF; border: 0 !important; flex-shrink: 0; }
.jz-filter-head-row { display: flex; align-items: center; gap: 10px; }
.jz-filter-head-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 13px; background: rgba(247,183,84,.14); color: #F7B754; display: flex; align-items: center; justify-content: center; }
.jz-filter-head-txt { display: flex; flex-direction: column; }
.jz-filter-head-txt strong { font-size: 18px; font-weight: 900; color: #FFFFFF; }
.jz-filter-head-txt span { font-size: 12px; color: #B9AE9C; }
body.jz-shop-v2 .jz-filter-card .jz-filter-clearall { margin-inline-start: auto; height: 34px; padding: 0 12px !important; border-radius: 10px !important; border: 1px solid rgba(255,255,255,.16) !important; background: transparent !important; color: #D8CFC0 !important; font-size: 12px !important; font-weight: 700; text-decoration: none !important; display: inline-flex !important; align-items: center; white-space: nowrap; box-shadow: none !important; }
body.jz-shop-v2 .jz-filter-card .jz-filter-clearall:hover { color: #F7B754 !important; border-color: rgba(247,183,84,.5) !important; }
.jz-filter-close { display: none; width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #FFFFFF; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.jz-filter-head-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.jz-shop-v2 .jz-filter-card .jz-filter-head-chips a { text-decoration: none !important; color: #F7B754 !important; background: rgba(247,183,84,.16) !important; border: 0 !important; opacity: 1 !important; }
.jz-filter-head-chips a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 10px; border-radius: 15px; background: rgba(247,183,84,.16); color: #F7B754; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.jz-filter-head-chips a span { width: 20px; height: 20px; border-radius: 50%; background: rgba(247,183,84,.25); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
.jz-filter-head-chips a:hover { background: rgba(247,183,84,.26); color: #FFD27A; }

body.jz-shop-v2 form#jz-filter-form { display: flex; flex-direction: column; padding: 4px 20px 0; margin: 0; flex: 1 1 auto; min-height: 0; }
body.jz-shop-v2 .jz-filter-card .jz-filter-section { padding: 18px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--sh-line-soft) !important; display: flex; flex-direction: column; gap: 12px; background: none !important; }
body.jz-shop-v2 .jz-fs--cat { order: 1; }
body.jz-shop-v2 .jz-fs--size { order: 2; }
body.jz-shop-v2 .jz-filter-sizeguide { order: 3; }
body.jz-shop-v2 .jz-fs--stock { order: 3; }
body.jz-shop-v2 .jz-fs--color { order: 4; }
body.jz-shop-v2 .jz-fs--price { order: 5; }
body.jz-shop-v2 .jz-fs--weight { order: 6; }
body.jz-shop-v2 .jz-fs--ojrat { order: 7; }
body.jz-shop-v2 .jz-fs--suit { order: 8; border-bottom: 0 !important; }
body.jz-shop-v2 form#jz-filter-form > .clear { order: 9; }
body.jz-shop-v2 .jz-filter-card .jz-filter-section-label { margin: 0 !important; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px !important; font-weight: 800 !important; color: var(--sh-gold-ink) !important; letter-spacing: .2px; }
body.jz-shop-v2 .jz-filter-card .jz-filter-section-label small { font-size: 11px; font-weight: 500; color: var(--sh-muted); letter-spacing: 0; }
body.jz-shop-v2 .jz-filter-card .jz-filter-section-note { margin: -4px 0 0 !important; font-size: 11px; color: var(--sh-muted); }
body.jz-shop-v2 .jz-filter-card .jz-filter-sizeguide { align-self: flex-start; margin: -8px 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--sh-gold-ink) !important; font-size: 12px !important; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; box-shadow: none !important; }

/* Pills */
body.jz-shop-v2 .jz-filter-card .jz-pill-grid { display: grid !important; gap: 8px !important; margin: 0 !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--2col { display: flex !important; flex-wrap: wrap; gap: 6px !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--3col,
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--4col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--6col { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill { height: 42px; padding: 0 6px !important; box-sizing: border-box; border-radius: 12px !important; border: 1px solid var(--sh-line) !important; background: var(--sh-paper) !important; color: var(--sh-ink) !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; display: inline-flex !important; align-items: center; justify-content: center; text-align: center; white-space: nowrap; box-shadow: none !important; transition: border-color .15s, background .15s; }
body.jz-shop-v2 .jz-filter-card .jz-pill:hover { border-color: var(--sh-gold-dk) !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill.is-active { border-color: var(--sh-dark) !important; background: var(--sh-dark) !important; color: var(--sh-gold) !important; font-weight: 800 !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill.is-empty { border-style: dashed !important; border-color: #E2DACB !important; background: #FAF8F4 !important; color: #C2B9AC !important; text-decoration: line-through !important; cursor: not-allowed; }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--2col .jz-pill { height: 34px; padding: 0 12px !important; border-radius: 17px !important; font-size: 12px !important; }
body.jz-shop-v2 .jz-filter-card .jz-pill-grid--2col .jz-pill.is-active { border-color: var(--sh-gold-dk) !important; background: var(--sh-gold-tint) !important; color: var(--sh-gold-ink) !important; }
/* حداکثر اجرت: one segmented bar */
body.jz-shop-v2 .jz-fs--ojrat .jz-pill-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px !important; padding: 4px; border-radius: 14px; background: var(--sh-chip); }
body.jz-shop-v2 .jz-fs--ojrat .jz-pill { height: 40px; border: 0 !important; border-radius: 11px !important; background: transparent !important; color: var(--sh-muted) !important; font-size: 12px !important; }
body.jz-shop-v2 .jz-fs--ojrat .jz-pill.is-active { background: var(--sh-paper) !important; color: var(--sh-ink) !important; font-weight: 900 !important; box-shadow: 0 3px 10px rgba(27,23,18,.12) !important; }
body.jz-shop-v2 .jz-fs--ojrat .jz-pill.is-empty { background: transparent !important; }

/* Gold colour swatches */
body.jz-shop-v2 .jz-filter-card .jz-swatch-row { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 !important; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item { display: flex !important; flex-direction: column; align-items: center; gap: 8px; padding: 2px 0 !important; border: 0 !important; background: none !important; text-decoration: none !important; color: var(--sh-ink) !important; font-size: 12px; font-weight: 600; box-shadow: none !important; }
body.jz-shop-v2 .jz-filter-card .jz-swatch { position: relative; width: 46px !important; height: 46px !important; border-radius: 50% !important; border: 0 !important; box-shadow: inset 0 -3px 6px rgba(0,0,0,.18), 0 0 0 3px var(--sh-paper), 0 0 0 5px transparent !important; transition: box-shadow .15s; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item:hover .jz-swatch { box-shadow: inset 0 -3px 6px rgba(0,0,0,.18), 0 0 0 3px var(--sh-paper), 0 0 0 5px var(--sh-line) !important; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item.is-active .jz-swatch { box-shadow: inset 0 -3px 6px rgba(0,0,0,.18), 0 0 0 3px var(--sh-paper), 0 0 0 5px var(--sh-gold-dk) !important; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item.is-active .jz-swatch::after { content: ""; position: absolute; bottom: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--sh-paper); background: var(--sh-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; box-sizing: border-box; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item.is-active .jz-swatch-label { font-weight: 800; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item.is-empty { opacity: .38; cursor: not-allowed; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-label { font-size: 11.5px !important; white-space: nowrap; }

/* Range sliders (price: WooCommerce's own; weight: ours — both jQuery UI) */
body.jz-shop-v2 .jz-filter-card .ui-slider { position: relative; height: 4px !important; margin: 12px 11px !important; border: 0 !important; border-radius: 2px !important; background: #EFE8DB !important; box-shadow: none !important; }
body.jz-shop-v2 .jz-filter-card .ui-slider .ui-slider-range { position: absolute; top: 0; height: 100% !important; border-radius: 2px !important; background: linear-gradient(90deg, #C98200, #F7B754) !important; }
body.jz-shop-v2 .jz-filter-card .ui-slider .ui-slider-handle { position: absolute; top: 50% !important; width: 22px !important; height: 22px !important; margin: -11px -11px 0 !important; border-radius: 50% !important; background: var(--sh-paper) !important; border: 2px solid var(--sh-gold-dk) !important; box-shadow: 0 3px 10px rgba(201,130,0,.35) !important; cursor: grab; outline: none; }
body.jz-shop-v2 .jz-filter-card .ui-slider .ui-slider-handle:focus-visible { box-shadow: 0 0 0 4px rgba(247,183,84,.35) !important; }
body.jz-shop-v2 .jz-filter-card .price_slider_wrapper { display: flex; flex-direction: column; gap: 14px; }
body.jz-shop-v2 .jz-filter-card .price_slider_amount { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; text-align: right !important; }
body.jz-shop-v2 .jz-filter-card .price_slider_amount .button { display: none !important; }
body.jz-shop-v2 .jz-price-box { flex: 1 1 0; min-width: 0; height: auto !important; margin: 0 !important; line-height: 1.5 !important; display: flex; flex-direction: column; gap: 0; padding: 8px 12px; border-radius: 14px; background: #FAF7F1; border: 1px solid var(--sh-line); cursor: text; }
body.jz-shop-v2 .jz-price-box:focus-within { border-color: var(--sh-gold-dk); }
body.jz-shop-v2 .jz-price-box span { font-size: 10.5px; color: var(--sh-muted); }
body.jz-shop-v2 .jz-filter-card .price_slider_amount .price_label { display: none !important; }
body.jz-shop-v2 .jz-filter-card .price_slider_amount { flex-direction: row !important; }
body.jz-shop-v2 .jz-pb-val { display: block; line-height: 1.5; font-size: 15px; font-weight: 800; color: var(--sh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.jz-shop-v2 .jz-filter-card .price_slider_amount input { display: none !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-family: inherit; font-size: 15px !important; font-weight: 800; color: var(--sh-ink) !important; text-align: right; }
body.jz-shop-v2 .jz-filter-card .price_slider_amount input:focus { outline: none; }
/* «بودجهٔ من» */
body.jz-shop-v2 .jz-budget { display: flex; align-items: center; gap: 10px; height: 52px; margin: 0 !important; padding: 0 14px; border-radius: 16px; background: #1B1712; border: 1px solid #1B1712; cursor: text; box-sizing: border-box; }
body.jz-shop-v2 .jz-budget:focus-within { border-color: #F7B754; box-shadow: 0 0 0 3px rgba(247,183,84,.2); }
body.jz-shop-v2 .jz-budget-l { flex-shrink: 0; font-size: 12.5px; font-weight: 800; color: #F7B754; }
body.jz-shop-v2 .jz-budget input { flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #FFFFFF !important; font-family: inherit; font-size: 15px !important; font-weight: 800; text-align: left; direction: ltr; }
body.jz-shop-v2 .jz-budget input::placeholder { color: #8E8577; font-weight: 600; }
body.jz-shop-v2 .jz-budget input:focus { outline: none; }
body.jz-shop-v2 .jz-budget-u { flex-shrink: 0; font-size: 11.5px; color: #B9AE9C; }
/* Option counts («زرد ۱۲») */
body.jz-shop-v2 .jz-filter-card .jz-pill-n { margin-inline-start: 5px; font-size: 10.5px; font-weight: 600; color: var(--sh-muted); opacity: .85; }
body.jz-shop-v2 .jz-filter-card .jz-pill.is-active .jz-pill-n { color: #F5C46B; }
body.jz-shop-v2 .jz-filter-card .is-empty .jz-pill-n { display: none; }
body.jz-shop-v2 .jz-fs--ojrat .jz-pill-n { margin-inline-start: 3px; font-size: 9.5px; }
body.jz-shop-v2 .jz-filter-card .jz-swatch-item .jz-pill-n { margin: -6px 0 0; font-size: 10px; }
body.jz-shop-v2 .jz-filter-card .jz-pill .jz-pill-n::before { content: "("; }
body.jz-shop-v2 .jz-filter-card .jz-pill .jz-pill-n::after { content: ")"; }


/* Weight chart */
.jz-wt-hist { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin: 0 2px -14px; }
.jz-wt-hist span { flex: 1; min-height: 3px; border-radius: 3px 3px 0 0; background: #EFE8DB; transition: background .15s; }
.jz-wt-hist span.is-in { background: linear-gradient(180deg, #F7B754, #C98200); }
body.jz-shop-v2 .jz-filter-card .jz-range-labels { display: flex !important; justify-content: space-between; margin: -4px 0 0 !important; font-size: 12px !important; font-weight: 700; color: var(--sh-ink) !important; }

/* Footer: apply with live count */
.jz-filter-foot { flex-shrink: 0; display: flex; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid var(--sh-line, #ECE6DB); background: linear-gradient(180deg, #FFFFFF, #FAF7F1); }
.jz-filter-reset { display: none; }
body.jz-shop-v2 .jz-filter-card .jz-filter-apply { position: static !important; flex: 1; width: auto !important; height: 56px !important; margin: 0 !important; padding: 0 16px !important; border-radius: 18px !important; border: 0 !important; background: var(--sh-dark) !important; color: #FFFFFF !important; font-size: 15px !important; font-weight: 800 !important; display: flex !important; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px rgba(27,23,18,.25) !important; cursor: pointer; }
body.jz-shop-v2 .jz-filter-card .jz-filter-apply:hover { background: #000 !important; }
.jz-filter-apply-count { height: 28px; padding: 0 12px; border-radius: 14px; background: #F7B754; color: #1B1712; font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; gap: 4px; transition: opacity .15s; }
.jz-filter-apply-count b { font-weight: 900; }
.jz-filter-apply.is-loading .jz-filter-apply-count { opacity: .55; }
.jz-filter-apply.is-zero .jz-filter-apply-count { background: #E2DACB; }

/* ---------- Mobile ---------- */
@media (max-width: 782px) {
	.jz-shop-hero-in { padding: 14px 16px; gap: 14px; }
	.jz-shop-crumbs { display: none; }
	.jz-shop-hero-title { font-size: 25px !important; }
	.jz-shop-hero-sub { display: none; }
	/* Main shop: the title stays for search engines and screen readers only — phones get the products sooner. */
	.jz-shop-hero-title.is-main { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
	.jz-shop-hero-gold { display: none; }
	.jz-shop-hero-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.jz-shop-hero-cats::-webkit-scrollbar { display: none; }
	.jz-shop-hero-cats a { flex-shrink: 0; height: 38px; padding: 0 16px; font-size: 13px; }

	body.jz-shop-v2 #content > .col-full { padding: 0 0 120px !important; }
	body.jz-shop-v2 #primary { margin: 0 !important; }

	/* Toolbar: [فیلترها] [مرتب‌سازی] sticky, then count + chips */
	body.jz-shop-v2 .storefront-sorting { position: sticky; top: var(--jz-mobile-header-h, 60px); z-index: 20; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 4px !important; padding: 12px 16px !important; background: rgba(247,244,238,.95) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sh-line) !important; }
	body.jz-shop-v2 .storefront-sorting .jz-mobile-filter-toggle { order: 1; display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 46px; margin: 0 !important; padding: 0 10px !important; border-radius: 14px !important; border: 0 !important; background: var(--sh-dark) !important; color: #FFFFFF !important; font-size: 14px !important; font-weight: 800 !important; box-shadow: none !important; width: auto !important; }
	body.jz-shop-v2 .storefront-sorting .jz-mobile-filter-toggle .dashicons { color: var(--sh-gold); }
	body.jz-shop-v2 .storefront-sorting .jz-filter-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--sh-gold) !important; color: var(--sh-ink) !important; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; box-sizing: border-box; }
	body.jz-shop-v2 .storefront-sorting .woocommerce-ordering { order: 2; display: block !important; position: relative; margin: 0 !important; float: none !important; }
	body.jz-shop-v2 .storefront-sorting .woocommerce-ordering::before { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; pointer-events: none; background: var(--sh-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%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' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E") center / contain no-repeat; }
	body.jz-shop-v2 .storefront-sorting .woocommerce-ordering select { width: 100% !important; height: 46px !important; margin: 0 !important; padding: 0 40px 0 12px !important; border-radius: 14px !important; border: 1px solid var(--sh-line) !important; background: var(--sh-paper) !important; color: var(--sh-ink) !important; font-family: inherit; font-size: 14px !important; font-weight: 700; -webkit-appearance: none; appearance: none; background-image: none !important; box-shadow: none !important; text-align: center; text-align-last: center; }
	body.jz-shop-v2 .jz-shop-sortpills { display: none; }
	body.jz-shop-v2 .jz-shop-result-count { order: 3; grid-column: 1 / -1; font-size: 12px; margin: 2px 0 -4px; }
	body.jz-shop-v2 .jz-shop-active-filters { order: 4; grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px !important; padding-inline: 16px; }
	body.jz-shop-v2 .jz-shop-active-filters .jz-filter-chip { flex-shrink: 0; height: 30px; padding: 0 10px; }

	body.jz-shop-v2 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 16px 0 !important; }
	body.jz-shop-v2 ul.products li.product { border-radius: 20px !important; }
	body.jz-shop-v2 ul.products li.product:hover { transform: none; }
	body.jz-shop-v2 ul.products li.product .jz-wish { top: 8px !important; right: 8px !important; width: 34px !important; height: 34px !important; }
	body.jz-shop-v2 ul.products li.product .jz-cmp, body.jz-shop-v2 ul.products li.product .jz-qv { right: 8px !important; width: 34px !important; height: 34px !important; }
	body.jz-shop-v2 ul.products li.product .jz-cmp { top: 48px !important; }
	body.jz-shop-v2 ul.products li.product .jz-qv { top: 88px !important; }
	body.jz-shop-v2 ul.products li.product .jz-card-flag { top: 10px; left: 10px; height: 24px; font-size: 11px; padding: 0 8px; }
	/* Weight / اجرت ride on the photo as one dark pill */
	body.jz-shop-v2 ul.products li.product .jz-card-tags { position: absolute; top: calc(100cqw - 30px); right: 8px; left: 8px; z-index: 2; padding: 0; gap: 0; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span { height: 22px; padding: 0 8px; border-radius: 0; background: rgba(27,23,18,.82); color: #FFFFFF; font-size: 12px; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:first-child { border-radius: 0 11px 11px 0; padding-right: 8px; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:last-child { border-radius: 11px 0 0 11px; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:only-child { border-radius: 11px; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span + span::before { content: "·"; margin-left: 4px; }
	body.jz-shop-v2 ul.products li.product .jz-in-cart-badge:not([hidden]) { top: 8px; right: auto; left: 8px; }
	body.jz-shop-v2 ul.products li.product .woocommerce-loop-product__title { padding: 10px 12px 0 !important; font-size: 13px !important; }
	body.jz-shop-v2 ul.products li.product .jz-product-footer { padding: 8px 12px 12px !important; gap: 6px !important; }
	body.jz-shop-v2 ul.products li.product .price { font-size: 14px !important; }
	body.jz-shop-v2 ul.products li.product .price bdi { flex-direction: column-reverse; align-items: flex-start; gap: 0; }
	body.jz-shop-v2 ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: 12px; }
	body.jz-shop-v2 ul.products li.product .jz-product-footer .button { width: 36px !important; height: 36px !important; border-radius: 12px !important; }
	body.jz-shop-v2 .woocommerce-pagination { padding: 22px 16px 0; }

	.jz-shop-safe-in { grid-template-columns: 1fr; gap: 10px; padding: 24px 16px 110px; }

	/* Filter: bottom sheet instead of a side drawer */
	body.jz-shop-v2.jz-shop-js #secondary.widget-area { inset: auto 0 0 0 !important; width: 100% !important; height: calc(100dvh - 56px) !important; max-height: none; padding: 0 !important; background: var(--sh-paper) !important; border-radius: 30px 30px 0 0; overflow: hidden !important; transform: translateY(105%); box-shadow: 0 -10px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; }
	body.jz-shop-v2.jz-shop-filters-open #secondary.widget-area { transform: translateY(0); }
	body.jz-shop-v2 #secondary .widget_price_filter { flex: 1; min-height: 0; display: flex; flex-direction: column; }
	body.jz-shop-v2 .jz-filter-card { flex: 1; min-height: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
	body.jz-shop-v2 .jz-filter-card-head { padding: 22px 18px 18px !important; }
	body.jz-shop-v2 .jz-filter-card-head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(255,255,255,.25); }
	body.jz-shop-v2 .jz-filter-card-head { position: relative !important; }
	body.jz-shop-v2 .jz-filter-close { display: inline-flex; order: -1; }
	body.jz-shop-v2 .jz-filter-head-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
	body.jz-shop-v2 .jz-filter-head-chips a { flex-shrink: 0; height: 32px; }
	body.jz-shop-v2 form#jz-filter-form { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px; }
	body.jz-shop-v2 .jz-filter-card .jz-pill { height: 46px; font-size: 13px !important; }
	body.jz-shop-v2 .jz-filter-card .jz-pill-grid--2col { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
	body.jz-shop-v2 .jz-filter-card .jz-pill-grid--2col .jz-pill { height: 44px; border-radius: 13px !important; }
	body.jz-shop-v2 .jz-fs--ojrat .jz-pill { height: 44px; }
	body.jz-shop-v2 .jz-filter-card .jz-swatch { width: 52px !important; height: 52px !important; }
	body.jz-shop-v2 .jz-filter-card .ui-slider .ui-slider-handle { width: 26px !important; height: 26px !important; margin: -13px -13px 0 !important; }
	.jz-filter-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #FFFFFF; box-shadow: 0 -10px 30px rgba(27,23,18,.08); }
	.jz-filter-reset { display: inline-flex; align-items: center; height: 56px; text-decoration: none !important; padding: 0 18px; border-radius: 18px; border: 1px solid #ECE6DB; color: #1B1712; font-size: 14px; font-weight: 700; text-decoration: none; }
	body.jz-shop-v2 .jz-shop-filter-overlay:not([hidden]) { z-index: 1200; }
}

/* ---------- Dark mode ---------- */
html.jz-dark body.jz-shop-v2 {
	--sh-ink: #F4F2F6;
	--sh-paper: #1C1C20;
	--sh-ground: #26252B;
	--sh-photo: #26252B;
	--sh-line: #39373F;
	--sh-line-soft: #302E36;
	--sh-chip: #2B2930;
	--sh-muted: #B7B3BF;
	--sh-gold-ink: #F5C46B;
	--sh-gold-tint: #3A3020;
	--sh-dark: #111114;
}
html.jz-dark .jz-filter-foot { background: #1C1C20; border-color: #39373F; }
html.jz-dark body.jz-shop-v2 .jz-price-box { background: #26252B; }
html.jz-dark body.jz-shop-v2 .jz-filter-card .ui-slider, html.jz-dark .jz-wt-hist span:not(.is-in) { background: #39373F !important; }
html.jz-dark body.jz-shop-v2 .jz-shop-sortpills a.is-on { background: #F7B754; color: #1B1712; }
html.jz-dark body.jz-shop-v2 .jz-filter-card .jz-pill.is-empty { background: #222126 !important; border-color: #39373F !important; color: #6C6874 !important; }
@media (max-width: 782px) {
	html.jz-dark body.jz-shop-v2 .storefront-sorting { background: rgba(38,37,43,.95) !important; }
	html.jz-dark .jz-filter-reset { border-color: #39373F; color: #F4F2F6; }
}

/* ---------- Category guide text under the products (inc/category-seo.php) ---------- */
body.jz-shop-v2 .jz-cat-seo { margin: 28px 0 8px; padding: 28px 30px; background: var(--sh-paper); border: 1px solid var(--sh-line); border-radius: 24px; color: var(--sh-text, #5A5248); }
body.jz-shop-v2 .jz-cat-seo h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px !important; font-size: 20px !important; font-weight: 900 !important; color: var(--sh-ink) !important; }
body.jz-shop-v2 .jz-cat-seo h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, #F7B754, #C98200); flex-shrink: 0; }
body.jz-shop-v2 .jz-cat-seo p { margin: 0 0 12px !important; font-size: 14.5px; line-height: 2.1; }
body.jz-shop-v2 .jz-cat-seo-tips { list-style: none; margin: 14px 0 0 !important; padding: 14px 18px !important; border-radius: 16px; background: var(--sh-chip); display: grid; gap: 8px; }
body.jz-shop-v2 .jz-cat-seo-tips li { position: relative; margin: 0 !important; padding-inline-start: 22px; font-size: 13.5px; line-height: 1.9; color: var(--sh-ink); }
body.jz-shop-v2 .jz-cat-seo-tips li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--sh-gold-dk); }
body.jz-shop-v2 .jz-cat-seo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
body.jz-shop-v2 .jz-cat-seo-links span { font-size: 12.5px; font-weight: 700; color: var(--sh-muted); }
body.jz-shop-v2 .jz-cat-seo-links a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--sh-line); background: var(--sh-paper); color: var(--sh-ink) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
body.jz-shop-v2 .jz-cat-seo-links a:hover { border-color: var(--sh-gold); background: var(--sh-chip); }
@media (max-width: 782px) {
	body.jz-shop-v2 .jz-cat-seo { margin: 20px 16px 0; padding: 20px 18px; border-radius: 20px; }
	body.jz-shop-v2 .jz-cat-seo h2 { font-size: 17px !important; }
	body.jz-shop-v2 .jz-cat-seo p { font-size: 13.5px; line-height: 2; }
	body.jz-shop-v2 .jz-cat-seo-tips { padding: 12px 14px !important; }
	body.jz-shop-v2 .jz-cat-seo-tips li { font-size: 12.5px; }
}

/* ---------- Phones: shop/category cards look like the home page's product card ----------
   Photo inset with rounded corners, «درصد ٪» badge top-right, heart / compare / quick view
   stacked top-left, no «جدید» flag, and weight · اجرت as a plain text line under the title
   (it used to ride on the photo, where it collided with the buttons). */
@media (max-width: 782px) {
	/* Storefront keeps a ~23px margin on each side of the content on phones; with the list's own
	   16px that made the cards noticeably narrower than the home page's. */
	body.jz-shop-v2 #content > .col-full { margin-left: 0 !important; margin-right: 0 !important; }
	body.jz-shop-v2 ul.products { gap: 10px !important; }
	body.jz-shop-v2 ul.products li.product { padding: 8px !important; }
	body.jz-shop-v2 ul.products li.product img { border-radius: 14px !important; }
	body.jz-shop-v2 ul.products li.product .jz-card-flag { display: none !important; }

	body.jz-shop-v2 ul.products li.product .jz-card-discount { display: inline-flex !important; align-items: center; position: absolute !important; top: 8px !important; right: 8px !important; left: auto !important; z-index: 3; width: auto !important; height: auto !important; margin: 0 !important; padding: 3px 8px !important; border-radius: 999px !important; background: var(--sh-dark) !important; color: var(--sh-gold) !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1.5 !important; direction: rtl; box-shadow: none !important; }
	/* The badge itself now says «اجرت ۱۲٪» (functions.php); no prefix here. */

	body.jz-shop-v2 ul.products li.product .jz-wish, body.jz-shop-v2 ul.products li.product .jz-cmp, body.jz-shop-v2 ul.products li.product .jz-qv { left: 16px !important; right: auto !important; width: 32px !important; height: 32px !important; }
	body.jz-shop-v2 ul.products li.product .jz-wish { top: 16px !important; }
	body.jz-shop-v2 ul.products li.product .jz-cmp { top: 54px !important; }
	body.jz-shop-v2 ul.products li.product .jz-qv { top: 92px !important; }
	body.jz-shop-v2 ul.products li.product :is(.jz-wish, .jz-cmp, .jz-qv) .dashicons { font-size: 17px !important; width: 17px !important; height: 17px !important; }
	body.jz-shop-v2 ul.products li.product .jz-in-cart-badge:not([hidden]) { top: calc(100cqw - 30px); right: 8px; left: auto; }

	body.jz-shop-v2 ul.products li.product .woocommerce-loop-product__title { order: 1; padding: 8px 4px 0 !important; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags { order: 2; position: static !important; display: flex; flex-wrap: wrap; padding: 2px 4px 0 !important; gap: 0; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span,
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:first-child,
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:last-child,
	body.jz-shop-v2 ul.products li.product .jz-card-tags span:only-child { height: auto; padding: 0; border-radius: 0; background: none; color: var(--sh-muted); font-size: 12px; font-weight: 500; line-height: 1.7; }
	body.jz-shop-v2 ul.products li.product .jz-card-tags span + span::before { content: "·"; margin: 0 4px; }
	body.jz-shop-v2 ul.products li.product .jz-product-footer { order: 3; padding: 8px 4px 2px !important; }
	/* Price on one line («۵۲,۰۸۸,۰۵۸ تومان»), like the home card. */
	body.jz-shop-v2 ul.products li.product .price { font-size: 13px !important; min-width: 0; }
	body.jz-shop-v2 ul.products li.product .price bdi { flex-direction: row-reverse; align-items: baseline; gap: 3px; white-space: nowrap; }
	body.jz-shop-v2 ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: 12px; }
	body.jz-shop-v2 ul.products li.product .jz-product-footer .button { width: 40px !important; height: 40px !important; border-radius: 14px !important; background: var(--sh-gold) !important; }
	body.jz-shop-v2 ul.products li.product .jz-product-footer .button::before { background: var(--sh-dark); }
}

/* Stock on the shop's cards: a sold-out product has no «+» (it would just open the page); the label sits with the weight line. */
body.jz-shop-v2 ul.products li.product.outofstock .jz-product-footer .button { display: none !important; }
body.jz-shop-v2 ul.products li.product .jz-stock { padding: 0 16px; margin-top: -2px; }
@media (max-width: 782px) {
	body.jz-shop-v2 ul.products li.product .jz-stock { order: 2; padding: 2px 4px 0; font-size: 12px; }
	body.jz-shop-v2 ul.products li.product .jz-oos { top: 0; }
}
