.pf-catalog{width:min(1600px,100%);margin:64px auto 80px;padding:0 80px;box-sizing:border-box;min-height:50vh;color:var(--pf-text)}
.pf-catalog-count{display:flex;justify-content:flex-end;margin-bottom:28px;font-size:12px}.pf-catalog-count .woocommerce-result-count{margin:0!important;float:none!important;color:var(--pf-secondary)}
.pf-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:44px}.pf-catalog-heading h1{font-size:clamp(24px,2.4vw,38px);font-weight:800;margin:0;line-height:1.6}
.pf-catalog-filters{display:flex;align-items:center;gap:16px;flex-wrap:wrap;max-width:65%}.pf-catalog-filters>label{display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--pf-border);border-radius:14px;background:#ffffff09;backdrop-filter:blur(7px);color:var(--pf-text);min-height:52px;box-sizing:border-box}
.pf-catalog-filters>label>span{font-size:12px;font-weight:700;padding-inline-end:16px;border-inline-end:1px solid var(--pf-border);white-space:nowrap}
html[data-pf-theme] body .pf-catalog-filters select{appearance:auto;background:transparent!important;border:0!important;color:var(--pf-text)!important;font:inherit;font-size:12px;padding:2px!important;min-width:135px;max-width:220px;cursor:pointer}.pf-catalog-filters option{background:var(--pf-page);color:var(--pf-text)}
.pf-catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:46px 28px;isolation:isolate;overflow:visible;padding:12px 0 40px}
/* Archive grids retain normal document flow, with room for spring tilt and halos. */
html[data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme] body :is(#pf-catalog-surface,.pf-catalog-grid,.pf-related-grid)>.pf-catalog-card{width:100%!important;min-width:0!important;max-width:none!important;overflow:visible!important;filter:none!important;opacity:1!important;isolation:isolate}
.pf-catalog-card .pf-shelf-caption{color:#fff!important}.pf-catalog-card .pf-shelf-name-en{color:#fff!important}.pf-catalog-card .pf-shelf-name-fa{color:#fff!important;font-size:13px}.pf-catalog-card .pf-shelf-price{color:#fff!important}
.pf-catalog-card .pf-shelf-halo{opacity:.35}.pf-catalog-card:focus-within{z-index:60}
body.pf-catalog-page .woocommerce-pagination{margin:28px 0 40px}.pf-catalog-page .woocommerce-pagination ul{border:0!important;display:flex!important;justify-content:center;gap:10px;flex-wrap:wrap}.pf-catalog-page .woocommerce-pagination ul li{border:0!important;float:none!important}.pf-catalog-page .woocommerce-pagination :is(a,span){display:grid!important;place-items:center;min-width:42px;min-height:42px;border:1px solid var(--pf-border)!important;border-radius:10px;background:#ffffff09!important;color:var(--pf-text)!important;text-decoration:none}.pf-catalog-page .woocommerce-pagination .current{background:#8edcc528!important;border-color:#8edcc5!important}
.pf-catalog-empty{padding:70px 24px;text-align:center}
/* Native scrolling clips at its outer edge, well beyond the visible cover edges. */
body.single-product .pf-product-layout :is(.pf-section-related,.pf-section-related>.pf-section-body){overflow:visible!important;min-width:0}
body.single-product .pf-product-layout .pf-related-grid{display:flex!important;gap:20px!important;width:calc(100% + 192px);max-width:none;margin-inline:-96px;padding:64px 96px 76px!important;margin-block:-42px -48px;scroll-padding-inline:96px;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x mandatory;box-sizing:border-box;isolation:isolate;cursor:grab}
html[data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme] body.single-product :is(#pf-catalog-surface,.pf-related-grid)>.pf-catalog-card{flex:0 0 calc((100% - 60px)/4)!important;width:calc((100% - 60px)/4)!important;scroll-snap-align:start}
/* WooCommerce archive styling must not constrain or shift the shared footer. */
body.pf-catalog-page .pf-footer-stage{width:100%;max-width:none;clear:both;flex-shrink:0}
body.pf-catalog-page .elementor-location-footer{width:100%!important;max-width:none!important;left:auto!important;right:auto!important;margin-inline:0!important;float:none!important;transform:none!important}
body.pf-catalog-page .pf-footer-shell{width:100%;max-width:1400px;margin-inline:auto!important;direction:rtl}
body.pf-catalog-page .pf-footer-grid{width:100%;min-width:0}.pf-catalog-page .pf-footer-grid>*{min-width:0}
@media(max-width:1200px){.pf-catalog{padding-inline:80px}.pf-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}.pf-catalog-filters{gap:10px}.pf-catalog-filters>label{padding:10px}.pf-catalog-filters select{min-width:110px!important;max-width:180px!important}}
@media(max-width:900px){.pf-catalog-heading{align-items:flex-start;flex-direction:column;gap:18px}.pf-catalog-filters{max-width:100%}.pf-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.pf-catalog{margin:32px auto 40px;padding-inline:22px}.pf-catalog-count{margin-bottom:16px}.pf-catalog-heading{margin-bottom:24px}.pf-catalog-filters{width:100%;gap:10px}.pf-catalog-filters>label{width:100%;justify-content:space-between;padding:12px 14px}.pf-catalog-filters select{flex:1;max-width:none!important}.pf-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}.pf-catalog-card .pf-shelf-name-fa,.pf-catalog-card .pf-shelf-name-en{font-size:10px}.pf-catalog-card .pf-shelf-price{font-size:11px}.pf-catalog-card .pf-shelf-caption{inset-inline:7px}.pf-catalog-card .pf-shelf-actions{inset-inline:7px}.pf-catalog-card .pf-shelf-cart{width:32px!important;flex-basis:32px!important;min-height:32px!important;padding:6px!important}body.single-product .pf-product-layout .pf-related-grid{width:calc(100% + 40px);margin-inline:-20px;padding:32px 20px 44px!important;scroll-padding-inline:20px;margin-block:-12px -24px;gap:14px!important}html[data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme] body.single-product :is(#pf-catalog-surface,.pf-related-grid)>.pf-catalog-card{flex:0 0 155px!important;width:155px!important}}

/* Catalog pagination stays above a normal footer, never under the sticky runway. */
body.pf-catalog-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}body.pf-catalog-page>.pf-catalog{flex:1 0 auto}body.pf-catalog-page>.pf-footer-stage{margin-top:auto!important;height:auto!important}body.pf-catalog-page .pf-sticky-footer{position:relative!important;top:auto!important}

.pf-catalog-filters>label{position:relative;padding:0!important}
.pf-catalog-filters>label>span{position:absolute;inset-inline-start:16px;top:50%;transform:translateY(-50%);pointer-events:none;z-index:3}
html[data-pf-theme] body .pf-catalog-filters select{display:block;width:100%;max-width:none;min-height:52px;height:52px;padding-inline-start:90px!important;padding-inline-end:18px!important;margin:0;position:relative;z-index:2}

body.single-product .pf-product-layout .pf-related-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;margin:0!important;padding:20px 12px 28px!important;overflow:visible!important;gap:16px!important;cursor:auto;box-sizing:border-box}
html[data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme][data-pf-theme] body.single-product :is(#pf-catalog-surface,.pf-related-grid)>.pf-catalog-card{width:100%!important;min-width:0!important;flex-basis:auto!important}
@media(max-width:767px){body.single-product .pf-product-layout .pf-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px 0 20px!important;gap:14px!important}}
