/* =======================================================================
   SOLBA SHOP — MOBILE / RESPONSIVE LAYER
   همه‌ی قوانین این فایل داخل مدیا کوئری هستند؛ نسخه‌ی دسکتاپ دست‌نخورده می‌ماند.
   نقاط شکست:  ≤1024 تبلت  ·  ≤900 موبایل  ·  ≤560 موبایل کوچک  ·  ≤380 خیلی کوچک
   ======================================================================= */

/* ────────────────────────────────────────────────────────────
   MOBILE BOTTOM NAV  (پیش‌فرض پنهان — فقط در موبایل دیده می‌شود)
   ──────────────────────────────────────────────────────────── */
.mnav{display:none}

/* حذف highlight آبی مرورگر روی touch */
@media(max-width:900px){
  a,button,[tabindex],input,select,textarea{
    -webkit-tap-highlight-color:transparent;
    outline:none;
  }
  a:focus,button:focus,[tabindex]:focus{outline:none;box-shadow:none}
}

@media(max-width:900px){
  .mnav{
    display:flex;
    position:fixed;bottom:0;left:0;right:0;z-index:150;
    background:rgba(254,242,251,.97);
    backdrop-filter:blur(14px) saturate(1.4);
    border-top:1.5px solid var(--lav-2);
    box-shadow:0 -6px 22px -10px rgba(120,80,160,.35);
    padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));
  }
  .mnav-item{
    position:relative;flex:1;min-width:0;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    padding:5px 2px;border-radius:14px;
    color:#9c92bd;text-decoration:none;
    transition:color .18s,background .18s;
  }
  .mnav-item.on{color:var(--hotpink);background:rgba(229,63,133,.09)}
  .mnav-ico{display:flex;align-items:center;justify-content:center}
  .mnav-ico svg{width:21px;height:21px;display:block}
  .mnav-lbl{font-size:10.5px;font-weight:800;line-height:1;white-space:nowrap}
  .mnav .badge{top:2px;right:calc(50% - 24px);left:auto}

  /* جا برای نوار پایین */
  body{padding-bottom:66px}
}

/* ────────────────────────────────────────────────────────────
   TABLET  ≤1024
   ──────────────────────────────────────────────────────────── */
@media(max-width:1024px){
  .wrap{padding:0 20px}
  .hero{padding:88px 24px 16px;gap:14px}
  .hero h1{font-size:40px}
  .sh-text{font-size:24px}
  .brand-logo-img{height:48px}
  .brand-logo-card{padding:0 26px}
  .foot-pixel-badge{width:230px;height:230px}
  .foot-mascot{width:210px}
  .foot-top{padding:48px 200px 26px;min-height:0}
}

/* ════════════════════════════════════════════════════════════
   MOBILE  ≤900
   ════════════════════════════════════════════════════════════ */
@media(max-width:900px){

  html{-webkit-text-size-adjust:100%}
  body{cursor:auto;line-height:1.75}
  a,button,[role="button"],select,label[for],
  input[type="submit"],input[type="button"],input[type="reset"]{cursor:pointer!important}
  body::before{opacity:.35}

  .wrap{padding:0 16px}
  section{padding:24px 0}

  /* ── HEADER ───────────────────────────────────────────── */
  header{padding-top:10px}
  .nav-shell{padding:0 12px;gap:8px}
  .brand-img{height:72px;width:72px}

  /* آیتم‌های خانه/فروشگاه به نوار پایین منتقل شده‌اند */
  nav.icon-dock .dock-item{display:none}
  nav.icon-dock{gap:0}
  .nav-spacer{flex:1}

  /* ── جستجو: دقیقاً مثل نسخه دسکتاپ (همان انیمیشن goo) ─── */
  .goo-search{height:42px;width:98px}
  .goo-btn{height:42px;width:98px;padding:0 13px;gap:6px}
  .goo-lbl{font-size:15px}
  .goo-ico svg{width:15px;height:15px}
  .goo-inp{font-size:16px}

  /* هنگام باز شدن، زیرِ ردیف هدر و روی کل عرض باز می‌شود */
  .nav-shell{position:relative}
  nav.icon-dock{position:static}
  .goo-search.open{
    position:absolute;top:calc(100% + 10px);right:12px;margin-top:0;
    width:calc(100% - 24px);z-index:60;
    animation:gooDrop .45s cubic-bezier(.22,.8,.36,1);
  }
  @keyframes gooDrop{from{opacity:0;transform:translateY(-12px) scale(0.97)}to{opacity:1;transform:translateY(0) scale(1)}}
  .goo-btn.expanded{width:100%;padding:0 15px;gap:7px}
  .goo-btn.expanded .goo-close{display:flex;}
  .goo-ri{max-width:100%;box-sizing:border-box}

  .head-actions{gap:7px}
  .icon-btn{width:42px;height:42px}
  .icon-btn-img img{width:26px;height:26px}
  .badge{min-width:17px;height:17px;font-size:10px;top:-5px;right:-5px}

  /* ── HERO ─────────────────────────────────────────────── */
  /* ترتیب موبایل: تیتر → عکس‌ها → دکمه‌ها
     hero-copy با display:contents حذف می‌شود تا فرزندانش
     مستقیم آیتم‌های فلکسِ .hero شوند و بشود order داد */
  .hero{
    padding:84px 16px 104px;
    display:flex;flex-direction:column;align-items:center;
    gap:6px;text-align:center;
  }
  .hero-copy{display:contents}
  .hero h1,.hero-sub,.cta-row{position:relative;z-index:2;width:100%}
  .hero h1{order:1}
  .hero-sub{order:2}
  .hero-art{order:3}
  .cta-row{order:4}
  .h1-r1{display:inline}
  .hero-icon-tag{display:none}
  .hero h1{font-size:clamp(27px,7.6vw,40px);line-height:1.3;margin-bottom:6px}
  .hero-candy-ico{width:34px;height:34px;margin-right:4px}
  .hero-sub{font-size:14.5px;max-width:100%;margin:6px auto 0}

  /* هر دو دکمه در یک خط، هم‌اندازه و هم‌تراز */
  .cta-row{
    margin:10px auto 6px;gap:8px;z-index:6;
    flex-wrap:nowrap;justify-content:center;align-items:stretch;
    max-width:360px;
  }
  .cta-row .btn,.cta-row .btn-ghost-pink{
    flex:1 1 0;min-width:0;justify-content:center;
    padding:0 10px;height:44px;font-size:12.5px;gap:6px;
    white-space:nowrap;
  }
  .cta-row svg{width:15px;height:15px;flex:0 0 auto}

  .hero-art{height:300px;width:100%}
  .stage{width:100%}
  .prod3d{width:100%;max-width:320px;height:100%;perspective:800px}
  .prod3d img{max-height:250px}
  .hero-art .sa{width:38px;height:38px}
  .hero-art .sa svg{width:16px;height:16px}
  .hero-art .sa.prev{right:2px}
  .hero-art .sa.next{left:2px}
  .dots{bottom:4px}
  /* محو شدن پایین هیرو: بلندتر و با انتهای کاملاً یکدست،
     تا لبه‌های شیدر (خط‌های محوِ حباب‌ها) در مرز با بقیه‌ی سایت دیده نشوند */
  .shader-zone::after{height:98px;background:linear-gradient(to bottom,transparent,var(--bg) 72%)}

  /* ── SECTION TITLES ───────────────────────────────────── */
  .sec-en{font-size:12px;letter-spacing:2.5px}

  /* ── CATEGORY TICKER ──────────────────────────────────── */
  .cat-ticker-track-wrap{padding:20px 0}
  .cat-ticker-card{margin:0 14px;gap:8px}
  .cat-ticker-card img{width:95px;height:95px}
  .cat-ticker-name{font-size:13px}
  .cat-ticker-sep{font-size:17px;margin:0 3px}

  /* ── SWEET HITS ───────────────────────────────────────── */
  .sweet-hits-section{padding:26px 0 34px}
  .sweet-hits-title{margin:0 auto;gap:8px;padding:0 10px;max-width:calc(100% - 56px)}
  .sh-text{font-size:17px;white-space:normal;text-align:center;line-height:1.4}
  .sh-deco{font-size:19px}
  .sh-box-frame{border-width:5px;border-radius:20px;padding:18px 12px 22px;margin-top:-13px}
  .sh-track-wrap{gap:6px}
  .sh-arrow{width:32px;height:32px}
  .sh-arrow svg{width:15px;height:15px}
  .sh-track{gap:12px}
  .sh-dots{margin-top:14px;gap:6px}

  /* ── PRODUCT CARDS ────────────────────────────────────── */
  .sshop-img-wrap{height:150px}
  .sshop-img-wrap img{max-height:126px}
  .sshop-body{padding:11px 12px 13px}
  .sshop-name{font-size:13px}
  .sshop-name-en{font-size:10px}
  .sshop-price{font-size:14px}
  .sshop-old,.sshop-unit{font-size:10px}
  .sshop-cart-btn{width:36px;height:36px}
  .sshop-cart-btn svg{width:16px;height:16px}
  .wish-btn,.add-btn{width:34px;height:34px}
  .wish-btn svg,.add-btn svg{width:16px;height:16px}
  .sshop-card,.prod-card,.prod-card-outer{--r:20px;--s:24px}
  .prod-img{height:140px!important}
  .prod-img img{max-height:120px!important}
  .prod-name{font-size:13.5px}
  .price b{font-size:17px}
  .grid-products,.sshop-grid{gap:14px}

  /* ── BEST SELLERS ─────────────────────────────────────── */
  .bs-section{padding:36px 0}
  .bs-inner{gap:18px}
  .bs-arrow-img{display:none}
  .bs-img-col{padding-top:0}
  .bs-promo-img{max-width:240px}
  .bs-dots{
    position:static;transform:none;
    flex-direction:row;margin-top:12px;
  }
  .bs-dot.on{width:24px;height:8px}
  .bs-scroll-window,.bs-scroll-card{height:210px}
  .bs-sc-name{font-size:13px}
  .bs-sc-price{font-size:14px}
  .bs-sc-img{width:76px;height:76px}
  .bs-sc-img img{max-width:70px;max-height:70px}

  /* ── BRAND RIBBON ─────────────────────────────────────── */
  .ribbon-sitters{display:block;left:4px;transform:translateY(-58%)}
  .brand-ribbon-section{padding:14px 0;margin-top:36px}
  .brand-logo-card{padding:0 18px}
  .brand-logo-img{height:38px;max-width:100px}

  /* ── DUAL BANNERS ─────────────────────────────────────── */
  .dual-banners-section{padding:26px 0 0}
  .dual-banner-item:last-child{margin-top:0}

  /* ── TRUST ────────────────────────────────────────────── */
  .trust-section{padding:34px 0 22px}
  .trust{grid-template-columns:repeat(2,1fr);gap:16px 10px}
  .trust-item{grid-template-rows:66px auto auto;gap:5px}
  .trust-ico{width:62px;height:62px}
  .trust-item h3{font-size:13.5px;line-height:1.45}
  .trust-item p{font-size:11.5px;line-height:1.5}

  /* ── FOOTER ───────────────────────────────────────────── */
  .footer-wave-wrap{margin-top:26px;margin-bottom:-2px}
  .footer-wave-wrap svg{height:70px;display:block}
  .foot-mascot-wrap{display:none!important}
  .foot-pixel-badge-wrap{display:block;position:absolute;top:-95px;left:50%;right:auto;transform:translateX(-50%);z-index:25;pointer-events:none}
  .foot-pixel-badge{width:190px;height:190px;object-fit:contain;display:block}
  .foot-top{grid-template-columns:1fr;gap:28px;padding:120px 4px 22px}
  .foot-col h4{font-size:15px;margin-bottom:13px}
  .foot-col ul{gap:9px}
  .foot-col ul a{font-size:13.5px}
  .contact-item{font-size:13px;margin-bottom:8px}
  .foot-bottom{font-size:11.5px;padding:14px 0 calc(14px + 66px + env(safe-area-inset-bottom,0px));line-height:1.9;flex-direction:column;justify-content:center;gap:2px}
  footer{margin-bottom:-66px}

  /* ── PAGE HEADS ───────────────────────────────────────── */
  .page-head{padding:88px 0 4px}
  .page-head h1{font-size:26px}
  .page-head .sec-en,.sec-en{font-size:12px;letter-spacing:2.5px}
  .page-sub{font-size:13.5px}
  .greeting-ico{width:40px;height:40px}
  .breadcrumb{font-size:12px;flex-wrap:wrap;justify-content:center}

  /* ── SHOP PAGE ────────────────────────────────────────── */
  .shop-hero-section{padding:84px 0 10px;background:transparent}
  .shop-hero-glow{display:none}
  .shop-hero-section::before{height:0;background:none}
  .shop-hero-section::after{height:0;background:none}
  .shop-hero-inner{grid-template-columns:1fr}
  .shop-hero-video{display:none}
  .shop-hero-copy{padding:0;gap:14px;align-items:center;padding-bottom:10px}
  .shop-hero-img1{max-width:230px}
  .shop-hero-img2{max-width:100%}

  /* negative pull لازمِ ویدیوی دسکتاپ در موبایل باید صفر شود */
  .shop-body-section{margin-top:0;padding:10px 0 40px;background:var(--bg)}
  .shop-layout{grid-template-columns:1fr;gap:18px}
  .shop-sidebar{position:static;top:auto}
  .sfb-panel{border-radius:20px}
  .sfb-title{padding:14px 16px;font-size:16px}
  .sfb-drop-head{padding:12px 16px;font-size:13.5px}
  .sfb-opt{padding:10px 16px}
  .sfb-char-img{display:none}
  .sfb-char-inline{
    display:block;text-align:center;
    padding:6px 16px 4px;margin-top:-2px;
    border-top:1.5px solid rgba(138,107,210,.12);
  }
  .sfb-char-inline img{
    width:100%;max-width:165px;display:block;margin:0 auto;
    pointer-events:none;user-select:none;
  }
  .shop-empty{padding:50px 16px}
  .shop-empty-title{font-size:22px}

  /* ── PRODUCT PAGE ─────────────────────────────────────── */
  .pd-wrap{padding:86px 16px 40px}
  .pd-crumb{margin-bottom:18px;font-size:12px}
  .pd-hero{gap:20px}
  .pd-gal-main{border-radius:22px}
  .pd-thumb{width:60px;height:60px}
  .pd-info{gap:14px;align-items:center;text-align:center}
  .pd-title{font-size:24px;text-align:center}
  .pd-rat-row{justify-content:center}
  .pd-tags{justify-content:center}
  .pd-price-box{padding:10px 15px;align-self:stretch;text-align:center;align-items:center}
  .pd-cart-row{justify-content:center}
  .pd-save{justify-content:center}
  .pd-price-main{font-size:27px}
  .pd-tabs-section{margin-top:34px}
  .pd-tabs-nav{margin-bottom:20px;justify-content:flex-start}
  .pd-tab-btn{padding:9px 18px;font-size:13px}
  .pd-desc-wrap{padding:22px 18px;border-radius:20px}
  .pd-desc-body{font-size:14px;line-height:1.95}
  .pd-desc-heading{font-size:17px}
  .pd-desc-icon{width:34px;height:34px}
  .pd-related{margin-top:36px;padding-bottom:30px}
  .pd-related-title{font-size:19px;white-space:normal;text-align:center}
  .pd-related-head{gap:10px;margin-bottom:18px}
  .pd-rel-emoji{width:24px;height:24px}
  /* در دسکتاپ flex با کارت 280px است؛ در موبایل سرریز می‌کند */
  .pd-related .grid-products{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
  .pd-related .prod-card{width:auto}

  /* نوار چسبان محصول بالای نوار پایین موبایل */
  .pd-sticky{bottom:calc(55px + env(safe-area-inset-bottom,0px))!important;padding:8px 14px}
  .pd-sticky-inner{gap:10px}
  .pd-sticky-img{width:42px;height:42px}
  .pd-sticky-name{font-size:12.5px;max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pd-sticky-price{font-size:15px}
  .pd-sticky-btn{padding:9px 16px;font-size:13px}

  /* ── CART / CHECKOUT / ORDER PANELS ───────────────────── */
  .flow{gap:16px;margin-top:10px}
  .panel{padding:18px 16px;border-radius:22px}
  .panel h2{font-size:20px}
  .summary{position:static}
  .btn-block{padding:13px 18px;font-size:15px}

  .cart-row{
    position:relative;
    display:grid;
    grid-template-columns:58px 1fr auto;
    grid-template-rows:auto auto;
    gap:6px 10px;align-items:center;
    padding:14px 0;
  }
  .cart-row .cart-img{grid-column:1;grid-row:1/3;width:58px;height:58px;border-radius:14px}
  .cart-row .cart-info{grid-column:2/4;grid-row:1;padding-left:26px}
  .cart-row .cart-info .nm{font-size:13.5px;line-height:1.5}
  .cart-row .cart-info .pr{font-size:12px}
  .cart-row .qty{grid-column:2;grid-row:2;justify-self:start}
  .cart-row .cart-line-total{grid-column:3;grid-row:2;min-width:0;text-align:left;font-size:14px}
  .cart-row form[action="/cart/remove"]{position:absolute;top:10px;left:0}
  .cart-remove{font-size:18px}

  .sum-row{font-size:13.5px;padding:8px 0}
  .sum-row.total{font-size:16px}
  .sum-row.total b{font-size:19px}
  .sum-prod-img{width:38px;height:38px}
  .sum-prod-name{font-size:12.5px}
  .shipping-opt{padding:9px 12px}
  .shipping-opt-name{font-size:13px}

  .field input,.field select,.field textarea{font-size:16px;padding:11px 14px}
  .field label{font-size:13px}

  /* ── AUTH ─────────────────────────────────────────────── */
  .auth-split-wrap{min-height:auto;padding:86px 16px 30px}
  .auth-card{width:100%;max-width:100%;padding:26px 20px;border-radius:26px}
  .auth-card h1{font-size:24px}
  .auth-mascot{max-width:190px}

  /* ── DASHBOARD ────────────────────────────────────────── */
  .dash{gap:16px;margin-top:12px}
  .dash-nav{border-radius:20px;padding:12px}
  .dash-nav a{padding:10px 12px;font-size:14px}
  .stat-cards{gap:12px;margin-bottom:16px}
  .stat{padding:15px 16px;border-radius:20px}
  .stat .val{font-size:22px}
  .stat-ico{width:44px;height:44px}
  .order{padding:14px 16px;border-radius:20px;flex-wrap:wrap;gap:10px}
  .order .o-total{font-size:16px}
  .empty-panda{width:150px;height:150px}
  .empty{padding:34px 12px}
  .empty-shop-btn{padding:12px 30px;font-size:15px}

  /* ── ORDER SUCCESS / FAILED ───────────────────────────── */
  .success-page{margin:86px auto 24px;padding:0 16px;grid-template-columns:1fr;gap:14px}
  .success-video-col{position:static;order:-1}
  .success-hero-wrap{margin-top:0}
  .success-hero-img{max-width:250px}
  .success-title{font-size:21px;gap:8px}
  .success-title-icon{width:38px;height:38px}
  .success-panel{padding:16px 15px;border-radius:18px}
  .fail-wrap{margin:26px auto}
  .fail-icon-img{width:190px;height:190px}
  .fail-title{font-size:22px}
  .fail-panel{padding:18px 16px}

  /* ── CART POPUP ───────────────────────────────────────── */
  #cartFirstPopup{
    left:12px;right:12px;width:auto;bottom:74px;
    padding:16px 14px 13px;border-radius:20px;
  }
  .cfp-items-list{max-height:68px}
  .cfp-item-img{width:44px;height:44px}
  .cfp-item-name{font-size:12.5px}

  /* ── TOUCH: افکت‌های hover مخصوص ماوس را خنثی کن ────── */
  .dual-banner-item,.cat-ticker-card{transition:none}
}

@media(max-width:900px) and (hover:none){
  .dock-item:hover{width:46px}
  .dock-item:hover .dock-icon{transform:none}
  .dock-item:hover .dock-label{transform:scale(0)}
  .prod-card:hover,.sshop-card:hover,.dual-banner-item:hover,
  .cat-ticker-card:hover,.brand-logo-card:hover{transform:none}
  .sshop-card:hover .sshop-img-wrap img{transform:none}
  .icon-btn:hover,.btn:hover,.btn-primary:hover,.btn-ghost:hover,
  .btn-ghost-pink:hover,.wish-btn:hover,.add-btn:hover,
  .sshop-cart-btn:hover,.empty-shop-btn:hover{transform:none}
}

/* ════════════════════════════════════════════════════════════
   SMALL PHONES  ≤560
   ════════════════════════════════════════════════════════════ */
@media(max-width:560px){
  .wrap{padding:0 13px}

  .hero{padding:80px 13px 100px}
  .hero-art{height:250px}
  .prod3d{max-width:260px}
  .prod3d img{max-height:210px}
  .cta-row{flex-direction:row;align-items:stretch;width:100%;max-width:320px;margin-inline:auto}
  .cta-row .btn,.cta-row .btn-ghost-pink{justify-content:center;font-size:12px;padding:0 8px;gap:5px}

  /* دو ستونه ماندن گرید محصولات در موبایل (به‌جای تک‌ستونه شدن) */
  .sshop-grid{grid-template-columns:repeat(2,1fr);gap:11px}
  .grid-products{grid-template-columns:repeat(2,1fr);gap:11px}
  .sshop-img-wrap{height:125px}
  .sshop-img-wrap img{max-height:105px}
  .sshop-body{padding:9px 10px 11px}
  .sshop-name{font-size:12px}
  .sshop-foot{margin-top:9px;padding-top:9px}
  .sshop-price{font-size:13px}
  .prod-img{height:118px!important}
  .prod-img img{max-height:100px!important}
  .prod-name{font-size:12.5px}
  .price b{font-size:15px}
  .prod-card{padding:11px 11px}

  .cat-ticker-card img{width:80px;height:80px}
  .cat-ticker-card{margin:0 10px}
  .cat-ticker-name{font-size:12px}

  .sh-box-frame{padding:22px 9px 18px}
  .sh-text{font-size:15px}
  .sh-arrow{width:28px;height:28px}
  .sh-track{gap:10px}

  .bs-scroll-window,.bs-scroll-card{height:190px}
  .bs-promo-img{max-width:190px}
  .bs-video{height:220px}

  .trust{gap:14px 8px}
  .trust-ico{width:54px;height:54px}
  .trust-item{grid-template-rows:58px auto auto}
  .trust-item h3{font-size:12.5px}
  .trust-item p{font-size:11px}

  .brand-logo-img{height:32px;max-width:82px}
  .brand-logo-card{padding:0 13px}

  .page-head h1{font-size:23px}
  .pd-title{font-size:21px}
  .pd-price-main{font-size:24px}
  .pd-trust{grid-template-columns:1fr;gap:8px}
  .pd-trust-item{flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 14px}
  .pd-trust-item div{align-items:flex-start;text-align:right}
  .pd-spec-row{grid-template-columns:112px 1fr}
  .pd-spec-k,.pd-spec-v{padding:9px 11px;font-size:12.5px}

  /* دکمه افزودن به سبد در صفحه محصول یک ردیف کامل */
  .pd-cart-row{gap:8px}
  .pd-stepper{order:1}
  .pd-wish{order:2}
  .pd-btn-cart{order:3;flex:1 0 100%;height:50px;font-size:15px}
  .pd-step-btn{width:40px;height:48px;font-size:20px}
  .pd-step-val{width:44px;font-size:16px}
  button.pd-wish{width:48px;height:48px}

  .field-grid{grid-template-columns:1fr;gap:0}
  .panel{padding:16px 13px}
  .panel h2{font-size:18px}

  .success-hero-img{max-width:210px}
  .fail-icon-img{width:155px;height:155px}

  .foot-top{padding:90px 2px 14px;gap:20px}
  .footer-wave-wrap svg{height:60px}
  .foot-pixel-badge{width:165px;height:165px}
  .foot-pixel-badge-wrap{top:-82px}

  .announce-inner{font-size:12px}
  .announce-bar{padding:8px 12px}
}

/* ════════════════════════════════════════════════════════════
   TINY PHONES  ≤380
   ════════════════════════════════════════════════════════════ */
@media(max-width:380px){
  .sfb-char-inline img{max-width:142px}
  .nav-shell{padding:0 9px;gap:6px}
  .brand-img{height:54px;width:54px}
  .icon-btn{width:38px;height:38px}
  .icon-btn-img img{width:23px;height:23px}
  .goo-search,.goo-btn{width:88px;height:38px}
  .goo-lbl{font-size:14px}
  .goo-search.open{right:9px;width:calc(100% - 18px);margin-top:0}
  .head-actions{gap:5px}
  .mnav-lbl{font-size:9.5px}
  .mnav-ico svg{width:19px;height:19px}

  .hero h1{font-size:25px}
  .hero-art{height:225px}
  .prod3d img{max-height:185px}

  .sshop-grid,.grid-products{gap:9px}
  .sshop-img-wrap{height:112px}
  .sshop-name{font-size:11.5px}
  .cart-row{grid-template-columns:50px 1fr auto}
  .cart-row .cart-img{width:50px;height:50px}
}

/* ════════════════════════════════════════════════════════════
   LANDSCAPE PHONES — ارتفاع کم
   ════════════════════════════════════════════════════════════ */
@media(max-width:900px) and (max-height:520px) and (orientation:landscape){
  .hero-art{height:210px}
  .prod3d img{max-height:180px}
  .page-head{padding:76px 0 4px}
}

/* ════════════════════════════════════════════════════════════
   BEST-SELLERS: در ≤600 چیدمان گرید باید کاملاً تک‌ستونه شود
   (قرارگیری grid-column از بریک‌پوینت ۹۰۰ باقی می‌ماند و ستون
    ضمنی می‌سازد؛ اینجا صفر می‌شود)
   ════════════════════════════════════════════════════════════ */
@media(max-width:600px){
  .bs-inner{grid-template-columns:1fr;grid-template-rows:none;gap:14px}
  .bs-img-col,.bs-scroll-col,.bs-video-col{grid-column:1/-1;grid-row:auto}
  .bs-img-col{max-width:220px;margin:0 auto}
  .bs-video-wrap{max-width:340px;margin:0 auto}
  .bs-video-glow{inset:-26px -8px}
}

/* ════════════════════════════════════════════════════════════
   SHOP — پنل فیلتر جمع‌شونده (فقط موبایل)
   ════════════════════════════════════════════════════════════ */
.sfb-mobile-toggle{display:none}

@media(max-width:900px){
  .sfb-mobile-toggle{
    display:flex;align-items:center;gap:9px;width:100%;
    padding:13px 16px;margin-bottom:14px;
    background:var(--card);border:1.5px solid var(--lav-2);border-radius:16px;
    font-family:inherit;font-size:14px;font-weight:800;color:var(--indigo);
    box-shadow:0 8px 20px -16px rgba(120,80,160,.5);
    cursor:pointer;
  }
  .sfb-mobile-toggle > span:first-of-type{flex:1;text-align:right}
  .sfb-mt-count{
    background:var(--hotpink);color:#fff;font-size:11px;font-weight:900;
    border-radius:999px;padding:1px 8px;line-height:1.7;
  }
  .sfb-mt-chev{color:var(--lilac);transition:transform .25s;flex-shrink:0}
  .shop-sidebar.open .sfb-mt-chev{transform:rotate(180deg)}
  .shop-sidebar.open .sfb-mobile-toggle{
    border-color:var(--pink-soft);margin-bottom:10px;
  }

  .sfb-collapse{display:none}
  .shop-sidebar.open .sfb-collapse{display:block;margin-bottom:6px}
  /* عنوان داخل پنل با دکمه‌ی بالا تکراری می‌شود */
  .shop-sidebar .sfb-title{display:none}
  .shop-sidebar .sfb-chips{padding-top:14px}
}
