/* Four desktop columns; mobile keeps two and never squeezes badge outside image. */
.site-below-footer-wrap .ast-footer-copyright::after{content:none!important}.site-below-footer-wrap .ast-footer-copyright p{font-size:14px!important;color:inherit}
.home .ij-home-products ul.products,.single-product .related ul.products,.single-product .up-sells ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.home .ij-home-products ul.products::before,.home .ij-home-products ul.products::after,.single-product .related ul.products::before,.single-product .related ul.products::after,.single-product .up-sells ul.products::before,.single-product .up-sells ul.products::after{display:none!important}
.home .ij-home-products ul.products li.product,.single-product .related ul.products li.product,.single-product .up-sells ul.products li.product{width:100%!important;margin:0!important;min-width:0;float:none!important}
@media(max-width:921px){.home .ij-home-products ul.products,.single-product .related ul.products,.single-product .up-sells ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.home .ij-home-products ul.products,.single-product .related ul.products,.single-product .up-sells ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ast-search-menu-icon .search-form{width:250px!important;max-width:calc(100vw - 100px)!important}.ast-search-menu-icon .search-form label{display:block;max-width:100%}}
@media(max-width:600px){.ast-header-break-point .ast-search-menu-icon .search-form{left:-12px!important;right:auto!important}}
body.post-type-archive-product.woocommerce ul.products,body.tax-product_cat.woocommerce ul.products,body.tax-product_tag.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
body.post-type-archive-product.woocommerce ul.products::before,body.post-type-archive-product.woocommerce ul.products::after,body.tax-product_cat.woocommerce ul.products::before,body.tax-product_cat.woocommerce ul.products::after,body.tax-product_tag.woocommerce ul.products::before,body.tax-product_tag.woocommerce ul.products::after{display:none!important}
body.post-type-archive-product.woocommerce ul.products li.product,body.tax-product_cat.woocommerce ul.products li.product,body.tax-product_tag.woocommerce ul.products li.product{width:100%!important;margin:0!important;min-width:0;float:none!important}
ul.products li.product .astra-shop-thumbnail-wrap{position:relative}
body ul.products li.product .ijh-sale-badge{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0!important;padding:6px 10px!important;min-height:0!important;min-width:0!important;max-width:calc(100% - 20px);border-radius:4px!important;background:#17243e!important;color:#fff!important;line-height:1.5!important;font-family:IRANSans,Tahoma,sans-serif!important;font-size:12px!important;white-space:normal;z-index:5;pointer-events:none}
ul.products li.product .ast-select-options-trigger{display:none!important}
body ul.products li.product .ast-onsale-card{display:block!important;position:absolute!important;top:48px!important;right:10px!important;left:auto!important;bottom:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:5px 9px!important;min-width:0!important;width:fit-content;max-width:calc(100% - 20px);background:#fff!important;color:#17243e!important;border-radius:4px!important;line-height:1.5!important;font-family:IRANSans,Tahoma,sans-serif!important;font-size:11px!important;z-index:5;pointer-events:none;box-shadow:0 1px 5px rgb(0 0 0 / 12%)}
.woocommerce.single-product .summary .ast-shipping-text{display:none!important}
ul.products li.product .price{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 10px;line-height:1.8}
ul.products li.product .price del,ul.products li.product .price ins{display:inline-block;max-width:100%}
.ijh-sale-menu>a,.ijh-mega-sale{font-weight:700!important;color:#994438!important}
/* One submenu owner: legacy mega-menu has its own desktop arrow/mobile button. */
.ij-shop-menu-item:has(>.ij-shop-menu)>.sub-menu,.ijh-custom-menu-owner>.sub-menu,
.ij-shop-menu-item:has(>.ij-shop-menu)>.ast-menu-toggle,.ijh-custom-menu-owner>.ast-menu-toggle,
.ij-shop-menu-item:has(>.ij-shop-menu)>[data-ij-shop-trigger]>.dropdown-menu-toggle,
.ijh-custom-menu-owner>[data-ij-shop-trigger]>.dropdown-menu-toggle{display:none!important}
/* Never wrap desktop navigation into a second header row; mobile remains stacked. */
@media(min-width:922px){
 #ast-desktop-header{display:block!important}
 #ast-mobile-header{display:none!important}
 #ast-desktop-header .main-header-menu{flex-wrap:nowrap!important}
 #ast-desktop-header .main-header-menu>li{flex-shrink:0}
 #ast-desktop-header .main-header-menu>li>.menu-link{white-space:nowrap;padding-inline:clamp(5px,.65vw,12px)!important;font-size:clamp(13px,1.05vw,16px)!important}
 #ast-desktop-header .site-header-primary-section-left{min-width:0}
}
.ijh-mega-sale{grid-column:1/-1;padding:14px 20px;border-top:1px solid #e6e0db;display:block}
.ijh-sale-section{max-width:1240px;margin:48px auto;padding:32px;background:#f7f2ed;border-radius:8px}
.ijh-sale-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.ijh-sale-intro h2{font-family:IRANYekan,Tahoma,sans-serif;font-size:32px;margin:0}
.ijh-eyebrow{font-size:14px;margin-bottom:8px;color:#685953}
.ijh-sale-section ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ijh-sale-section ul.products::before,.ijh-sale-section ul.products::after{display:none!important}
.ijh-sale-section ul.products li.product{width:100%!important;margin:0!important;min-width:0}
.ijh-guide-link{text-align:right;margin:0 0 14px}
.ijh-open-guide{text-decoration:underline;text-underline-offset:4px;font-family:IRANSans,Tahoma,sans-serif;font-size:14px}
.ijh-guide-dialog{width:min(720px,calc(100vw - 24px));max-height:85vh;overflow:auto;padding:24px;border:0;border-radius:10px;color:#17243e;background:white;direction:rtl;margin:auto}
.ijh-guide-dialog::backdrop{background:rgb(0 0 0 / 45%)}
.ijh-guide-toolbar{position:sticky;top:-24px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;padding:12px 0;z-index:1}
.ijh-guide-toolbar h2{font-size:23px;margin:0;font-family:IRANYekan,Tahoma,sans-serif}
.ijh-close-guide{white-space:nowrap;padding:10px!important;font-family:IRANSans,Tahoma,sans-serif!important}
.ijh-size-guide{font-family:IRANSans,Tahoma,sans-serif;line-height:1.9}
.ijh-guide-group{margin:12px 0;border:1px solid #dce0e6;border-radius:6px;padding:12px}
.ijh-guide-group summary{cursor:pointer;font-weight:700;padding:5px}
.ijh-table-scroll{overflow-x:auto;margin-top:12px}
.ijh-size-guide table{width:100%;border-collapse:collapse;margin:0}
.ijh-size-guide th,.ijh-size-guide td{text-align:center;border:1px solid #e1e4e8;padding:8px}
.ijh-guide-source{font-size:12px;color:#647084}
.ijh-cart-guard{display:inline-block;max-width:100%}
.ijh-cart-guard.ijh-size-needed{cursor:pointer}
.ijh-cart-guard.ijh-size-needed button{pointer-events:none!important;opacity:.5}
.ijh-cart-guard:focus-visible{outline:2px solid #17243e;outline-offset:4px}
.ijh-size-note{font-size:13px!important;color:#6b4732;margin:10px 0!important;flex-basis:100%}
.ijh-size-note[hidden]{display:none!important}
.ijh-size-attention{outline:2px solid #b88a54;outline-offset:6px;border-radius:3px}
.single-product form.variations_form .cfvsw-swatches-container{gap:8px;flex-wrap:wrap;max-width:100%}
.single-product form.variations_form .cfvsw-swatches-option{min-width:44px!important;min-height:44px!important;cursor:pointer;transition:background-color .15s,border-color .15s}
.single-product form.variations_form .cfvsw-swatches-option:focus-visible{outline:2px solid #17243e;outline-offset:3px}
.single-product form.variations_form .cfvsw-swatches-option[aria-disabled="true"]{cursor:not-allowed}
.ijh-bank-unavailable{color:#9b2525!important;font-weight:700;line-height:1.9}
.wcf-order-review-toggle{min-height:44px;flex-wrap:wrap;gap:8px}.wcf-order-review-toggle:focus-visible{outline:2px solid #17243e;outline-offset:3px}
.ijh-cart-result{flex-basis:100%;font-size:14px;line-height:1.9}.ijh-cart-result a{text-decoration:underline}.ijh-cart-result[hidden]{display:none!important}
.woocommerce-checkout #place_order:disabled{opacity:.55;cursor:not-allowed}
.woocommerce-checkout .woocommerce-checkout-review-order-table{table-layout:fixed;width:100%!important;display:table!important}
.woocommerce-checkout .instant-checkout-order-review-table{display:block!important}
.woocommerce-checkout .instant-checkout-order-review-table tbody,.woocommerce-checkout .instant-checkout-order-review-table tfoot{display:table!important;width:100%!important;table-layout:fixed}
.woocommerce-checkout .instant-checkout-order-review-table tr{display:table-row!important;width:auto!important}
.woocommerce-checkout .instant-checkout-order-review-table th,.woocommerce-checkout .instant-checkout-order-review-table td{display:table-cell!important}
.woocommerce-checkout .instant-checkout-order-review-table tfoot th{width:35%!important}
.woocommerce-checkout .instant-checkout-order-review-table tfoot td{width:65%!important;white-space:normal!important;overflow-wrap:anywhere}
.woocommerce-checkout .instant-checkout-order-review-table tfoot label,.woocommerce-checkout .instant-checkout-order-review-table tfoot .woocommerce-shipping-methods li{white-space:normal!important;max-width:100%}
.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{width:65%!important;min-width:0;overflow-wrap:anywhere}
.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total{width:35%!important;white-space:normal!important;overflow-wrap:anywhere}
.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-Price-amount{white-space:normal!important}
.woocommerce .woocommerce-Price-currencySymbol{margin-inline-end:.25em}
@media(max-width:921px){.ijh-sale-section ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ast-search-menu-icon .search-form{max-width:calc(100vw - 72px)}.ast-search-menu-icon .search-field{max-width:100%;box-sizing:border-box}.woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]),.woocommerce-checkout select,.woocommerce-checkout textarea{font-size:16px!important}.woocommerce-checkout .form-row,.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{min-width:0;max-width:100%}.woocommerce-checkout .payment_box{overflow-wrap:anywhere}.woocommerce.single-product .summary{min-width:0}.woocommerce.single-product .summary .price{overflow-wrap:anywhere}.woocommerce.single-product .variations td{max-width:100%}.ijh-guide-group summary,.ijh-open-guide{min-height:44px;display:flex;align-items:center}.woocommerce-cart table.shop_table td{overflow-wrap:anywhere}}
@media(max-width:921px){body.post-type-archive-product.woocommerce ul.products,body.tax-product_cat.woocommerce ul.products,body.tax-product_tag.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:600px){body.post-type-archive-product.woocommerce ul.products,body.tax-product_cat.woocommerce ul.products,body.tax-product_tag.woocommerce ul.products,.ijh-sale-section ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ijh-sale-section{padding:16px;margin:28px 0}.ijh-sale-intro{align-items:flex-start;flex-direction:column}.ijh-sale-intro h2{font-size:26px}body ul.products li.product .ijh-sale-badge{top:8px!important;right:8px!important;font-size:11px!important;padding:4px 7px!important}.ijh-guide-dialog{padding:16px}.ijh-guide-toolbar{top:-16px}.ijh-guide-toolbar h2{font-size:19px}.ijh-sale-section .button{font-size:13px}}
