/* Mobile shell: loaded last so legacy desktop rules remain unchanged. */
.mobile-header-search{display:none}
.mobile-dock__icon{display:grid;place-items:center;width:28px;height:28px;flex:none}
.mobile-dock__icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:991px){
  body{padding-bottom:0}
  body.has-mobile-dock{padding-bottom:calc(var(--mobile-dock-height,78px) + 12px)}
  body.mobile-menu-open{overflow:hidden}
  .main-container{padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left))}
  header.main-header{padding:env(safe-area-inset-top) 0 0;background:#fff}
  header.main-header .topbar{padding:10px 0 8px}
  header.main-header .topbar>.row{align-items:center}
  header.main-header .topbar>.row>div{flex:0 0 50%;max-width:50%}
  header.main-header .hidden-sm{display:none!important}
  header.main-header .logo-area{margin:0;display:flex;align-items:center;min-height:44px}
  header.main-header .logo-area img{width:132px;max-width:100%;height:auto;max-height:44px;object-fit:contain}
  header.main-header .topbar-left .nav-link{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 10px;font-size:12px}
  header.main-header .topbar-left .account .dropdown-menu{max-width:calc(100vw - 24px);min-width:225px}
  header.main-header .topbar-left .dropdown-item{min-height:44px;display:flex;align-items:center;gap:8px;white-space:normal}
  header.main-header .bottom-header{background:#fff;border:0;padding:0 0 10px;box-shadow:0 3px 10px rgba(35,25,25,.04);margin:0}
  header.main-header .main-menu{display:flex;align-items:center;gap:8px;position:relative;float:none;min-height:44px}
  header.main-header .main-menu>.nav{display:none}
  header.main-header .main-menu>.list{display:none!important}
  header.main-header button.btn-menu{display:grid;place-items:center;position:static;order:-1;flex:0 0 44px;width:44px;height:44px;padding:10px;border-radius:12px;background:#f4f2f2}
  header.main-header button.btn-menu .align{margin:0;width:22px}
  header.main-header button.btn-menu .align span{width:22px;margin-bottom:5px;background:#39363c;border-radius:2px}
  header.main-header button.btn-menu .align span:last-child{width:15px;margin-bottom:0}
  .mobile-header-search{display:flex;align-items:center;flex:1;min-width:0;height:44px;margin:0;border:1px solid #e8e3e3;border-radius:12px;background:#f8f7f7;overflow:hidden}
  .mobile-header-search input{width:100%;min-width:0;flex:1;border:0;outline:0;background:transparent;color:#302b31;padding:8px 12px;height:42px;font:inherit}
  .mobile-header-search button{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;background:transparent;color:var(--par-red-text);font-size:23px}
  .mobile-header-search:focus-within{border-color:var(--par-red);box-shadow:0 0 0 3px rgba(210,52,60,.08)}
  .main-menu>.live-search-results{top:calc(100% + 6px);max-height:min(440px,60dvh)}
  .live-search-item{min-height:62px;padding:9px 10px}
  .live-search-item__body strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .live-search-all{min-height:44px;background:#fcf7f7}
  header.main-header .side-menu .live-search-item{display:flex;align-items:center;gap:10px;min-height:64px;padding:9px 10px}
  header.main-header .side-menu .live-search-all{position:sticky;bottom:0;background:#fcf7f7}
  header.main-header .side-menu{display:block;right:0;width:min(88vw,360px);height:100vh;height:100dvh;padding:16px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) 16px;transform:translateX(105%);visibility:hidden;transition:transform .25s ease;box-shadow:-12px 0 40px rgba(30,25,30,.15);overscroll-behavior:contain;z-index:1055}
  header.main-header .side-menu.open{transform:translateX(0);visibility:visible}
  header.main-header .overlay-side-menu{z-index:1054;background:rgba(25,23,28,.46)}
  header.main-header .overlay-side-menu.show{display:block!important}
  .mobile-menu-close{display:grid;place-items:center;position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;width:44px;height:44px;border:0;border-radius:12px;background:#f4f2f2;color:#554d53;font-size:24px}
  header.main-header .side-menu .logo-nav-res{float:none;margin:10px 48px 22px 0;width:auto;min-height:44px;text-align:right!important}
  header.main-header .side-menu .logo-nav-res img{width:140px;max-height:50px;object-fit:contain}
  header.main-header .side-menu .search-box-side-menu{float:none;margin:0 0 16px!important}
  header.main-header .side-menu .search-box-side-menu form{display:flex;align-items:center;border:1px solid #e8e3e3;border-radius:12px;background:#f8f7f7;overflow:hidden}
  header.main-header .side-menu .search-box-side-menu input{flex:1;min-width:0;width:100%;max-width:none;height:44px;line-height:normal;padding:8px 10px;background:transparent;color:#302b31}
  .mobile-menu-search-submit{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;background:transparent;color:var(--par-red-text)}
  header.main-header .side-menu .search-box-side-menu form i{position:static;font-size:23px}
  header.main-header .side-menu>ul{float:none;display:flow-root;margin:0;padding:0;clear:both}
  header.main-header .side-menu>ul li{float:none;display:flow-root;margin:0;width:100%}
  header.main-header .side-menu ul a{position:relative;display:flex;align-items:center;min-height:46px;padding:9px 12px;border-radius:10px;background:transparent;color:#403a40;font-size:14px;line-height:1.8;text-align:right;overflow-wrap:anywhere}
  header.main-header .side-menu ul>li.sub-menu>a{padding-left:38px}
  header.main-header .side-menu ul>li.sub-menu>a::after{top:50%;left:12px;transform:translateY(-50%);color:#847b80}
  header.main-header .side-menu ul>li.sub-menu.open>a::after{transform:translateY(-50%) rotate(180deg)}
  header.main-header .side-menu ul>li.sub-menu.open>a{background:#faeeee;color:var(--par-red-text);font-weight:700}
  header.main-header .side-menu ul ul{float:none;direction:rtl;width:auto;margin:4px 10px 8px 0;padding:4px 8px 4px 0;background:#faf9f9;border:0;border-right:2px solid #eadcdd;border-radius:10px;box-shadow:none}
  header.main-header .side-menu ul ul li a{font-size:13px;color:#60565d;padding:9px 10px;line-height:1.8;background:transparent}
  header.main-header .side-menu ul>li>ul>li::before{display:none}
  header.main-header .side-menu ul a:hover,header.main-header .side-menu ul a:focus-visible{background:#f5eeee;color:var(--par-red-text)}
  header.main-header .side-menu a.mobile-menu-custom{background:#faeeee;color:var(--par-red-text);font-weight:700;margin-top:8px;border:1px solid #f0d9db}
  .mobile-menu-support{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid #eee8ea}
  header.main-header .side-menu .mobile-menu-support a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:46px;padding:8px 4px;background:#f6f4f4;border-radius:10px;font-size:12px;color:#51484e}
  .mobile-menu-support i{font-size:19px}
  .mobile-menu-support a:last-child i{color:#187644}
  .side-menu .pwa-install-button.is-visible{display:block!important;width:100%;min-height:44px;margin:0 0 8px;padding:10px;border-radius:10px;text-align:right}
  .mobile-dock{position:fixed;bottom:0;right:0;left:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:2px;z-index:1030;padding:5px max(6px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));border-radius:20px 20px 0 0;border-top:1px solid #eee7e8;background:rgba(255,255,255,.98);box-shadow:0 -4px 24px rgba(37,25,32,.08)}
  .mobile-dock .mobile-dock__item{position:relative;min-height:60px;gap:3px;padding:4px 1px;border-radius:12px;font-size:11px;line-height:1.5;color:#655e65}
  .mobile-dock .mobile-dock__item[aria-current=page]{color:var(--par-red-text);background:#fcf1f2;font-weight:700}
  .mobile-dock .mobile-dock__item--search{color:var(--par-red-text);font-weight:700}
  .mobile-dock__item--search .mobile-dock__icon{width:42px;height:34px;border-radius:11px;background:var(--par-red);color:#fff;box-shadow:0 3px 8px rgba(170,39,48,.18)}
  .mobile-dock .mobile-dock__item:active{background:#f7ebed}
  body.mobile-input-active .mobile-dock{display:none}
  .mobile-dock__item--search .mobile-dock__icon svg{width:22px;height:22px}
  /* Support stays in the drawer/footer, never over product prices or purchase controls. */
  .contact-float{display:none}
  .pwa-update,.product-quick-feedback{bottom:calc(var(--mobile-dock-height,72px) + 12px);left:12px;right:12px;max-width:none}
  .shopping-page~.pwa-update,.shopping-page~.product-quick-feedback{bottom:12px}
  .main-content{margin-top:14px!important}
  .product-card .product-pricing{gap:0;padding:5px 4px}
  .product-card .product-pricing__current{font-size:13px;line-height:1.8}
  .product-card .product-pricing__current i{display:none}
  .product-card .product-pricing del{font-size:10px}
  .product-card .product-pricing .product-quick-add{flex-basis:44px}
  .product-card__meta{flex-wrap:wrap;gap:4px}
  .product-card__meta .product-meta{flex:1;min-width:35px}
  .product-card .product-title a{min-height:44px!important}
  .product-detail-purchase{flex-wrap:wrap;gap:12px}
  .product-detail-tabs .ah-tab{white-space:nowrap;overflow-x:auto}
  .product-detail-tabs .description-product table{display:block;max-width:100%;overflow-x:auto}
  .shopping-page .header-shopping>.container{padding-right:16px;padding-left:16px}
  .shopping-page .form-ui>.row.p-3{margin-right:0;margin-left:0;padding:12px 0!important}
  .shopping-page .checkout-address-action{min-height:44px}
  .shopping-page .checkout-shipment .message-custom{margin:10px 12px;padding:12px 18px;text-align:right}
  .shopping-page .cart-page-content .section-title h2{height:auto;line-height:1.9;white-space:normal}
  .shopping-page .cart-page-content>.page-content>.dt-sn{padding-right:12px;padding-left:12px}
  .shopping-page .w-res-sidebar{max-width:100%;padding:0}
  .shopping-page .cart-page-content .mt-5{margin-top:20px!important;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
  .shopping-page .cart-page-content .mt-5>.btn-primary-cm{flex:1}
  .main-content .col-md-4.sticky-sidebar,.main-content .col-xl-9.col-lg-8.col-md-8{flex:0 0 100%;max-width:100%}
  .profile-sidebar .profile-menu ul{display:flex;flex-wrap:wrap;gap:4px}
  .profile-sidebar .profile-menu ul li{flex:1;min-width:125px}
  .profile-sidebar .profile-menu ul li a{min-height:44px;padding:10px;border-radius:10px;font-size:12px}
  .ps-footer__main{padding-bottom:20px}
  .ps-footer__copyright>.container{gap:14px;padding-top:14px;padding-bottom:14px}
  .ps-footer__back-to-top{min-height:44px;display:inline-flex;align-items:center}
  .pwa-guide__close{min-width:44px;min-height:44px}
  .pwa-guide .modal-body{max-height:calc(100dvh - 150px);overflow-y:auto}
  .modal-dialog{margin:12px;max-width:calc(100% - 24px)}
  .modal-content{border-radius:16px}
  .side-menu button:focus-visible,.side-menu a:focus-visible,.btn-menu:focus-visible{outline:2px solid var(--par-red);outline-offset:2px}
}
@media(min-width:992px){.mobile-header-search,.mobile-dock{display:none!important}}
@media(max-width:359px){.product-card .product-card-body{padding-right:7px!important;padding-left:7px!important}.product-card .product-pricing__current{font-size:11px}.mobile-dock .mobile-dock__item{font-size:10px}}
@media(prefers-reduced-motion:reduce){header.main-header .side-menu{transition:none}.mobile-dock *{transition:none!important}}
