/* Footer brand: a compact geometric wordmark with an explicit place in the grid. */
.ref-footer-brand{display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:10px;min-width:0}
.ref-footer-brand .ref-footer-boo{width:92px;height:48px;object-fit:contain;margin:0}
.ref-footer-brand .ref-wordmark{display:block;width:156px;max-width:100%;padding:0;font-size:0;line-height:1;letter-spacing:0}
.ref-footer-brand .ref-wordmark img{display:block;width:100%;height:auto}
.ref-footer-brand p{font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px;font-weight:500;letter-spacing:0;white-space:normal;color:#555;margin:0;line-height:1.8}
.ref-footer-brand nav{justify-content:flex-start;gap:16px;margin-top:2px}
@media(min-width:1101px){
 .ref-footer-main{grid-template-columns:1.2fr .9fr .9fr .9fr 1.6fr 1fr}
 .ref-footer-brand{grid-column:1;grid-row:1}
 .ref-footer-contact{grid-column:6;grid-row:1}
 .ref-footer-group:nth-child(2){grid-column:2;grid-row:1}
 .ref-footer-group:nth-child(3){grid-column:3;grid-row:1}
 .ref-footer-group:nth-child(4){grid-column:4;grid-row:1}
 .ref-footer-newsletter{grid-column:5;grid-row:1}
}
@media(min-width:651px) and (max-width:1100px){
 .ref-footer-main{grid-template-columns:1.2fr 1fr 1fr 1fr}
 .ref-footer-brand{grid-column:1;grid-row:1}
 .ref-footer-group:nth-child(2){grid-column:2;grid-row:1}
 .ref-footer-group:nth-child(3){grid-column:3;grid-row:1}
 .ref-footer-group:nth-child(4){grid-column:4;grid-row:1}
 .ref-footer-newsletter{grid-column:2/5;grid-row:2}
}
@media(max-width:650px){
 .ref-footer-brand{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:60px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 10px;align-items:center;text-align:right}
 .ref-footer-brand .ref-footer-boo{grid-column:1;grid-row:1/3;width:60px;height:40px;margin:0}
 .ref-footer-brand .ref-wordmark{grid-column:2;grid-row:1;width:118px;max-width:100%;font-size:0}
 .ref-footer-brand p{grid-column:2;grid-row:2;font-size:10px}
 .ref-footer-brand nav{grid-column:3;grid-row:1/3;gap:12px;margin:0}
 .ref-footer-group{grid-row:2}
 .ref-footer-newsletter{grid-row:3;grid-column:1/-1}
}
/* The sidebar scrolls as one unit; category controls have no separate sticky layer. */
.vsp-sidebar .vsp-toolbar{position:static!important;inset:auto!important;z-index:auto!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}
.vsp-sidebar .vsp-filters,.vsp-sidebar .vsp-tools{position:static!important;inset:auto!important;z-index:auto!important;transform:none!important}
.vsp-sidebar .vsp-sort-options{position:static;box-shadow:none;margin-top:5px}
@media(min-width:651px){.vsp-sidebar{top:130px;max-height:calc(100dvh - 150px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}}
@media(max-width:650px){.vsp-sidebar{max-height:100dvh;overscroll-behavior:contain}}

/* Product image and wishlist are separate controls, with separate dimensions. */
.product-grid .product .product-img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;position:relative;border-radius:0!important;overflow:hidden;isolation:isolate}
.product-grid .product>button[aria-label]:not(.product-img){width:30px!important;height:30px!important;top:8px!important;left:8px!important;border-radius:50%!important;background:#fff!important;border:1px solid #e5e5e5!important;backdrop-filter:none!important;z-index:3}
.product-grid .velora-product-sale-badge{right:8px!important;left:auto!important;top:8px!important;bottom:auto!important;font-size:11px!important;font-weight:800!important;line-height:1.6!important;min-width:36px;padding:3px 8px!important;border-radius:6px!important;background:#e14a0b!important;color:#fff!important;text-align:center;transform:none!important}
.product-grid .product-info{gap:8px!important;padding:11px 12px 5px!important}
.product-grid .product-info>span:first-child{font-size:13px;font-weight:700;line-height:1.8}
.product-grid .product-info .product-prices{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;min-height:44px;direction:rtl;font-size:14px;line-height:1.7}
.product-grid .product-prices .product-old-price{font-size:11px!important;color:#737373;opacity:1!important;font-weight:500;white-space:nowrap;margin:0!important;text-decoration-thickness:1px}
.product-grid .product-prices .product-current-price{font-size:15px;color:#171717;font-weight:850;white-space:nowrap}
.product-grid .ref-color-dots{padding:3px 12px 11px;gap:6px}
@media(max-width:650px){
 .product-grid .product-info{padding:8px 9px 4px!important;gap:5px!important}
 .product-grid .product-info>span:first-child{font-size:11px;line-height:1.8}
 .product-grid .product-info .product-prices{min-height:39px;gap:1px}
 .product-grid .product-prices .product-old-price{font-size:10px!important}
 .product-grid .product-prices .product-current-price{font-size:13px}
 .product-grid .velora-product-sale-badge{font-size:10px!important;right:6px!important;top:6px!important;padding:2px 6px!important}
 .product-grid .product>button[aria-label]:not(.product-img){width:27px!important;height:27px!important;left:6px!important;top:6px!important}
 .product-grid .ref-color-dots{padding:2px 9px 9px}
}
