/* =========================================================
   MOBILE STYLES
   Всі мобільні CSS-правила сайту зібрані в одному файлі.
   Файл підключається після основних стилів, щоб мобільні
   правила мали пріоритет і не були розкидані по різних CSS.
   ========================================================= */

/* ===== Mobile styles moved from style.css ===== */
@media (max-width:1180px){
  .product-grid,
  .grid-products{grid-template-columns:repeat(3,minmax(0,1fr));}
  .mainnav{display:none;}
  .burger{display:inline-flex;align-items:center;justify-content:center;}
  .premium-search{width:360px;margin-left:auto;}
}

@media (max-width:900px){
  .catalog-layout{grid-template-columns:1fr;}
  .catalog-sidebar,
  .category-sidebar{position:relative;top:auto;}
  .product-detail{grid-template-columns:1fr;gap:18px;}
  .detail-img{padding:24px;}
  .detail-img img{max-height:420px;}
  .detail-info{padding:24px;}
  .detail-info h1{font-size:36px;}
}

@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden;}
  .wrap{width:100%;max-width:100%;padding-left:14px;padding-right:14px;}
  .premium-header{padding-bottom:0;overflow:visible;background:rgba(255,248,243,.96);box-shadow:0 10px 34px rgba(91,54,34,.08);}
  .premium-header.search-is-open{padding-bottom:0;}
  .nav{height:70px;gap:8px;position:relative;}
  .premium-logo,.flogo{font-size:28px;letter-spacing:-1.2px;white-space:nowrap;}
  .icons{margin-left:auto;gap:7px;}
  .icons .ico{width:40px;height:40px;border-radius:15px;}
  .call-ico{display:none;}
  .search-trigger{display:inline-flex;align-items:center;justify-content:center;}
  .mainnav{display:none;}
  .mainnav.open{display:grid;position:absolute;top:70px;left:14px;right:14px;z-index:300;margin:0;gap:4px;padding:12px;border:1px solid var(--line);border-radius:22px;background:#fffdfb;box-shadow:0 20px 50px rgba(72,42,24,.18);}
  .mainnav.open a{padding:13px 14px;border-radius:15px;background:#fff7f1;}
  .burger{display:inline-flex;align-items:center;justify-content:center;}

  .premium-header .header-search.premium-search{
    position:absolute;
    left:14px;
    right:14px;
    top:calc(100% + 8px);
    width:auto;
    max-width:none;
    height:52px;
    margin:0;
    padding:5px 6px 5px 15px;
    z-index:500;
    border-radius:999px;
    background:#fff;
    box-shadow:0 20px 55px rgba(47,25,12,.20);
    display:flex;
    visibility:hidden;
    opacity:0;
    transform:translateY(-8px) scale(.985);
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  }
  .premium-header .header-search.premium-search.open{
    visibility:visible;
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
  }
  .premium-header .header-search.premium-search input{width:100%;min-width:0;font-size:16px;}
  .premium-header .header-search.premium-search button{flex:0 0 auto;padding:11px 13px;font-size:13px;}
  .premium-header .header-search.premium-search .unified-search-results{left:0;right:0;top:calc(100% + 8px);min-width:0;width:100%;max-height:58vh;border-radius:20px;z-index:600;}

  .lb-section{padding:28px 14px;}
  .lb-section-head{align-items:flex-end;gap:10px;margin-bottom:14px;}
  .lb-section-head h2,.catalog-page h1{font-size:29px;line-height:1.05;}
  .lb-category-cards{grid-template-columns:1fr;gap:10px;}
  .lb-category-cards a{min-height:96px;padding:16px;border-radius:22px;}

  .product-grid,
  .grid-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
  .product-card,
  .premium-product-card{border-radius:22px;overflow:hidden;box-shadow:0 14px 36px rgba(91,52,30,.10);}
  .product-card .pic{height:142px;padding:10px;background:linear-gradient(180deg,#fff8f3,#fff);}
  .product-card .card-chip{top:8px;left:8px;font-size:9px;padding:5px 7px;}
  .card-body{padding:10px;gap:6px;}
  .product-card .brand{font-size:9px;letter-spacing:.08em;}
  .product-card h3{font-size:13px;line-height:1.22;min-height:32px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .product-card .code{font-size:10px;line-height:1.2;margin-bottom:0;}
  .product-card .dual-prices{grid-template-columns:1fr;gap:6px;margin:6px 0;}
  .product-card .price-box{border-radius:14px;padding:8px;}
  .product-card .price-box span{font-size:9px;margin-bottom:2px;}
  .product-card .price-box b{font-size:15px;line-height:1.08;}
  .product-card .old{font-size:10px;}
  .product-card .js-add-to-cart button,
  .product-card .orange{width:100%;min-height:42px;padding:0 8px;border-radius:15px;font-size:12px;}

  .catalog-layout{display:block;}
  .category-sidebar,
  .catalog-sidebar{position:relative;top:auto;margin:0 0 14px;padding:12px;border-radius:22px;}
  .category-sidebar a,.catalog-sidebar a{padding:10px 11px;font-size:13px;}
  .toolbar{display:grid;grid-template-columns:1fr;gap:9px;margin-bottom:14px;}
  .toolbar input,.toolbar select,.toolbar button{width:100%;max-width:100%;height:46px;border-radius:16px;}

  .product-page{padding-top:18px;}
  .product-detail{display:grid;grid-template-columns:1fr;gap:14px;align-items:start;}
  .detail-img{border-radius:24px;padding:16px;box-shadow:0 14px 34px rgba(92,52,31,.09);}
  .detail-img img{max-height:330px;width:100%;object-fit:contain;}
  .detail-info{border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(92,52,31,.09);}
  .detail-info h1{font-size:30px;line-height:1.08;}
  .price-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .price-pair.retail-only{grid-template-columns:1fr;}
  .price-pair .price-box{padding:11px;border-radius:17px;}
  .price-pair .price-box b{font-size:18px;}
  .big{width:100%;font-size:15px;padding:15px 18px;}
  .tabs-block{padding:16px;border-radius:22px;overflow:hidden;}
  .spec-table,.spec-table tbody,.spec-table tr,.spec-table td{display:block;width:100%;}
  .spec-table tr{padding:10px 0;border-bottom:1px solid var(--line);}
  .spec-table td{border:0;padding:3px 0;}
  .spec-table td:first-child{width:100%;font-size:12px;}
}

@media (max-width:430px){
  .product-grid,
  .grid-products{grid-template-columns:1fr;}
  .product-card .pic{height:220px;}
  .product-card h3{font-size:15px;min-height:auto;-webkit-line-clamp:3;}
  .product-card .price-box b{font-size:17px;}
  .icons .ico{width:40px;height:40px;}
  .detail-info h1{font-size:27px;}
  .price-pair{grid-template-columns:1fr;}
}

@media (max-width:1020px){
  .home-shop-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}
  .home-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-shop-categories__list{max-height:520px}
}

@media (max-width:760px){
  .home-shop-layout{display:block;padding-top:14px;padding-bottom:28px}
  .home-shop-categories{position:relative;top:auto;margin-bottom:16px;border-radius:22px}
  .home-shop-categories__head{padding:14px 14px 8px}
  .home-shop-categories__head strong{font-size:18px}
  .home-shop-categories__list{display:flex;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .home-shop-categories__list a{flex:0 0 auto;min-height:40px;padding:10px 12px;border:1px solid var(--line);background:#fff;white-space:nowrap;scroll-snap-align:start;font-size:13px}
  .home-shop-categories__list a:hover{transform:none}
  .home-shop-products__top{align-items:flex-start;margin-bottom:12px}
  .home-shop-products__top h2{font-size:30px}
  .home-shop-products__top p{font-size:12px;padding:9px 11px}
  .home-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
}

@media (max-width:360px){
  .home-shop-grid{gap:9px}
}

@media (max-width: 680px){
  .footer-info-links{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .footer-info-links a{
    width:100%;
    min-height:44px;
  }
  .info-page-card{
    padding:18px;
    border-radius:18px;
  }
}

@media (max-width: 980px){
  .nav{gap:12px}
  .manager-contact{margin-left:0}
  .manager-contact__button{padding:10px 13px;font-size:13px}
}

@media (max-width: 760px){
  .manager-contact{order:3;width:100%;margin-top:8px}
  .manager-contact__button{width:100%;justify-content:center;min-height:44px}
  .manager-contact__popup{left:0;right:0;width:auto;top:calc(100% + 8px)}
  .manager-contact__popup:before{right:50%;margin-right:-8px}
  .mainnav{display:none!important}
}

@media (max-width:768px){
  .wrap{padding-left:12px;padding-right:12px;}
  .nav{width:100%;min-height:70px;height:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px;padding-bottom:8px;}
  .premium-logo,.flogo{flex:0 1 auto;max-width:calc(100vw - 150px);font-size:clamp(23px,7vw,30px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .icons{margin-left:auto;flex:0 0 auto;display:flex;align-items:center;gap:6px;}
  .icons .ico{width:38px;height:38px;min-width:38px;font-size:18px;}
  .burger{width:38px;height:38px;min-width:38px;}
  .manager-contact{order:5;width:100%;margin:2px 0 0;z-index:120;}
  .manager-contact__button{width:100%;min-height:42px;padding:10px 12px;font-size:13px;white-space:normal;text-align:center;line-height:1.2;}
  .manager-contact__popup{position:absolute;left:0;right:0;top:calc(100% + 8px);width:100%;max-width:calc(100vw - 24px);max-height:70vh;overflow:auto;padding:12px;border-radius:18px;z-index:600;}
  .manager-contact__item{min-height:44px;padding:10px;font-size:14px;}
  .premium-header .header-search.premium-search{left:12px;right:12px;max-width:calc(100vw - 24px);}
  .premium-header .header-search.premium-search button{white-space:nowrap;}

  .home-shop-layout,.catalog-layout{display:block;width:100%;max-width:100%;}
  .home-shop-categories,.category-sidebar,.catalog-sidebar{position:relative;top:auto;width:100%;max-width:100%;margin-bottom:14px;overflow:hidden;}
  .home-shop-categories__list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;max-width:100%;max-height:none;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .home-shop-categories__list a{flex:0 0 auto;max-width:78vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .category-sidebar,.catalog-sidebar{max-height:240px;overflow:auto;}
  .category-sidebar a,.catalog-sidebar a{overflow-wrap:anywhere;}
  .home-shop-products__top{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;}
  .home-shop-products__top h2{font-size:clamp(26px,8vw,32px);line-height:1.05;min-width:0;}
  .home-shop-products__top p{white-space:normal;}

  .home-shop-grid,.product-grid,.grid-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%;}
  .product-card,.premium-product-card{height:100%;display:flex;flex-direction:column;border-radius:18px;min-width:0;}
  .product-card .pic{height:clamp(128px,39vw,170px);padding:8px;}
  .product-card .pic img{max-width:100%;max-height:100%;object-fit:contain;}
  .product-card .card-body,.card-body{padding:9px;display:flex;flex-direction:column;flex:1;min-width:0;}
  .product-card h3{font-size:12.5px;line-height:1.22;min-height:31px;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .product-card .code{font-size:10px;overflow-wrap:anywhere;}
  .product-card .dual-prices{grid-template-columns:1fr;gap:5px;margin:5px 0;}
  .product-card .price-box{padding:7px;border-radius:13px;min-width:0;}
  .product-card .price-box b{font-size:14px;line-height:1.12;white-space:normal;}
  .product-card .orange,.product-card button.orange{margin-top:auto;min-height:40px;padding:8px 6px;font-size:12px;border-radius:14px;white-space:normal;}

  .product-detail{grid-template-columns:1fr!important;width:100%;max-width:100%;gap:14px;}
  .detail-img,.detail-info{width:100%;max-width:100%;padding:15px;border-radius:22px;overflow:hidden;}
  .detail-img img{width:100%;max-height:320px;object-fit:contain;}
  .detail-info h1{font-size:clamp(25px,8vw,32px);line-height:1.08;}
  .detail-price{font-size:clamp(24px,8vw,32px);}
  .price-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .price-pair .price-box b{font-size:clamp(16px,5vw,20px);white-space:normal;}
  .big,.detail-info .orange{width:100%;min-height:46px;white-space:normal;}
  .tabs-block{padding:14px;border-radius:20px;overflow:hidden;}
  .spec-table,.spec-table tbody,.spec-table tr,.spec-table td{display:block;width:100%;}
  .spec-table tr{border-bottom:1px solid var(--line);padding:8px 0;}
  .spec-table td{border:0!important;padding:3px 0!important;overflow-wrap:anywhere;}
  .spec-table td:first-child{width:100%!important;}

  .cart-row{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:11px;border-radius:18px;}
  .cart-row img{width:64px;height:64px;}
  .cart-row > *:nth-child(n+3){grid-column:2;justify-self:start;max-width:100%;}
  .qtybox{max-width:132px;}

  .footer{padding:32px 0;margin-top:30px;overflow:hidden;}
  .footgrid{grid-template-columns:1fr!important;gap:14px;text-align:left;}
  .footer-info-links{grid-template-columns:1fr;display:grid;gap:8px;}
  .footer-info-links a{width:100%;min-height:44px;text-align:center;white-space:normal;}
  .info-page-card{max-width:100%;padding:16px;border-radius:18px;overflow:hidden;}
  .info-page-content{font-size:15px;line-height:1.62;}
}

@media (max-width:430px){
  .wrap{padding-left:10px;padding-right:10px;}
  .home-shop-grid,.product-grid,.grid-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .product-card .pic{height:clamp(112px,37vw,148px);}
  .product-card .card-body,.card-body{padding:8px;}
  .product-card h3{font-size:11.8px;min-height:30px;}
  .product-card .price-box b{font-size:13px;}
  .product-card .orange,.product-card button.orange{min-height:38px;font-size:11.5px;}
  .price-pair{grid-template-columns:1fr;}
  .home-shop-categories__list a{max-width:82vw;}
  .manager-contact__popup{max-width:calc(100vw - 20px);}
}

@media (max-width:360px){
  .icons .ico,.burger{width:35px;height:35px;min-width:35px;font-size:16px;}
  .premium-logo,.flogo{max-width:calc(100vw - 136px);font-size:23px;}
  .product-card .pic{height:108px;}
  .product-card h3{font-size:11.2px;}
  .product-card .brand,.product-card .code{font-size:9px;}
  .product-card .price-box{padding:6px;}
  .product-card .price-box span{font-size:8.5px;}
  .product-card .price-box b{font-size:12px;}
}

@media (max-width:980px){
  .manager-contact{
    margin-left:4px;
  }
  .manager-contact__button{
    min-height:32px!important;
    padding:7px 10px!important;
    font-size:12.5px!important;
  }
}

@media (max-width:760px){
  .nav{
    align-items:center;
  }
  .manager-contact{
    order:3;
    width:auto!important;
    max-width:calc(100vw - 170px);
    margin:0 0 0 4px!important;
  }
  .manager-contact__button{
    width:auto!important;
    max-width:100%;
    min-height:32px!important;
    padding:7px 9px!important;
    font-size:12px!important;
    text-align:center;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .manager-contact__popup{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:72px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 92px)!important;
    overflow:auto!important;
    z-index:1000!important;
  }
  .manager-contact__popup:before{
    display:none!important;
  }
}

@media (max-width:430px){
  .manager-contact{
    max-width:calc(100vw - 150px);
  }
  .manager-contact__button{
    padding:6px 8px!important;
    font-size:11.5px!important;
  }
}

@media (max-width:360px){
  .manager-contact{
    max-width:calc(100vw - 135px);
  }
  .manager-contact__button{
    padding:6px 7px!important;
    font-size:11px!important;
  }
}

@media (max-width:1024px){
  .wrap,
  .container,
  .premium-header .nav,
  .lb-section,
  .cart-page,
  .product-page,
  .catalog-page,
  .info-page{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  .premium-header .nav{
    justify-content:flex-start;
    gap:12px;
  }

  .premium-logo,
  .flogo{
    font-size:28px!important;
  }
}

@media (max-width:768px){
  .premium-header{
    overflow:visible!important;
  }

  .premium-header .nav{
    min-height:0!important;
    padding:10px 14px!important;
    gap:8px 10px!important;
    flex-wrap:wrap!important;
    justify-content:space-between!important;
    align-items:center!important;
  }

  .premium-logo,
  .flogo{
    font-size:24px!important;
    max-width:calc(100vw - 130px)!important;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .manager-contact{
    margin-left:auto!important;
    max-width:130px!important;
  }

  .manager-contact__button{
    min-height:32px!important;
    padding:7px 9px!important;
    font-size:12px!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap!important;
  }

  .premium-header .header-search.premium-search{
    order:10!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    margin-top:2px!important;
  }

  .premium-header .header-search.premium-search button{
    padding:9px 12px!important;
    font-size:12px!important;
  }

  .manager-contact__popup{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:72px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 90px)!important;
    overflow:auto!important;
  }

  .product-grid,
  .grid-products,
  .home-shop-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  .footgrid{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:430px){
  .wrap,
  .container,
  .premium-header .nav,
  .lb-section,
  .cart-page,
  .product-page,
  .catalog-page,
  .info-page{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .premium-logo,
  .flogo{
    font-size:22px!important;
    max-width:calc(100vw - 124px)!important;
  }

  .manager-contact{
    max-width:116px!important;
  }

  .manager-contact__button{
    padding:6px 8px!important;
    font-size:11.5px!important;
  }

  .premium-header .header-search.premium-search{
    height:40px!important;
    padding-left:12px!important;
  }

  .premium-header .header-search.premium-search input{
    font-size:12px!important;
  }

  .premium-header .header-search.premium-search button{
    padding:8px 10px!important;
  }
}

@media (max-width:360px){
  .premium-logo,
  .flogo{
    font-size:20px!important;
    max-width:calc(100vw - 112px)!important;
  }

  .manager-contact{
    max-width:106px!important;
  }

  .manager-contact__button{
    font-size:11px!important;
    padding:6px 7px!important;
  }
}

@media (max-width:768px){
  .premium-header .nav{
    justify-content:space-between!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px 10px!important;
    padding:10px 12px!important;
  }
  .premium-header .premium-logo{
    order:1!important;
    flex:0 1 auto!important;
    max-width:calc(100% - 120px)!important;
    font-size:22px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .premium-header .manager-contact{
    order:2!important;
    flex:0 0 auto!important;
    max-width:112px!important;
    margin-left:auto!important;
  }
  .premium-header .manager-contact__button{
    min-height:32px!important;
    padding:6px 9px!important;
    font-size:12px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .premium-header .header-search.premium-search{
    order:3!important;
    flex:1 1 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:40px!important;
    margin-top:0!important;
    padding:4px 5px 4px 12px!important;
  }
  .premium-header .header-search.premium-search input{
    min-width:0!important;
    font-size:13px!important;
  }
  .premium-header .header-search.premium-search button{
    flex:0 0 auto!important;
    padding:8px 10px!important;
    font-size:12px!important;
  }
  .premium-header .manager-contact__popup{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:74px!important;
    width:auto!important;
    max-width:none!important;
  }
}

@media (max-width:360px){
  .premium-header .premium-logo{font-size:20px!important;max-width:calc(100% - 104px)!important;}
  .premium-header .manager-contact{max-width:104px!important;}
  .premium-header .manager-contact__button{font-size:11px!important;padding:6px 7px!important;}
  .premium-header .header-search.premium-search{height:38px!important;}
  .premium-header .header-search.premium-search button{padding:7px 8px!important;}
}

@media (max-width:768px){
  .premium-header .nav{
    min-height:auto!important;
    height:auto!important;
  }
  .premium-header .premium-logo,
  .premium-header .header-search.premium-search,
  .premium-header .manager-contact{
    min-width:0!important;
  }
  .premium-header .header-search.premium-search{
    box-shadow:0 8px 22px rgba(88,48,25,.05)!important;
  }
  .footer.premium-footer.footer--simple-links{
    margin-top:22px!important;
    padding:14px 0 18px!important;
  }
  .footer--simple-links .footer-info-links{
    gap:8px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .footer--simple-links .footer-info-links a{
    flex:1 1 calc(50% - 8px)!important;
    min-width:135px!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.25!important;
  }
}

@media (max-width:360px){
  .footer--simple-links .footer-info-links a{
    min-width:0!important;
    font-size:12px!important;
    padding:8px 10px!important;
  }
}

@media (max-width:768px){
  .site-header.premium-header .wrap.nav{
    width:calc(100% - 20px)!important;
    padding:9px 0!important;
    grid-template-columns:auto 1fr auto!important;
    gap:7px!important;
  }
  .site-header.premium-header .premium-logo{
    font-size:18px!important;
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .site-header.premium-header .header-search.premium-search{
    max-width:none!important;
    height:38px!important;
    padding:3px 4px 3px 9px!important;
    gap:4px!important;
  }
  .site-header.premium-header .header-search.premium-search span{
    display:none!important;
  }
  .site-header.premium-header .header-search.premium-search input{
    font-size:12px!important;
  }
  .site-header.premium-header .header-search.premium-search input::placeholder{
    font-size:11px!important;
  }
  .site-header.premium-header .header-search.premium-search button{
    padding:8px 9px!important;
    font-size:11px!important;
  }
  .site-header.premium-header .manager-contact{
    max-width:88px!important;
  }
  .site-header.premium-header .manager-contact__button{
    width:100%!important;
    min-height:34px!important;
    padding:6px 7px!important;
    font-size:11px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .site-header.premium-header .manager-contact__dot{
    width:6px!important;
    height:6px!important;
    flex:0 0 auto!important;
  }
  .site-header.premium-header .manager-contact__popup{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:62px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 76px)!important;
    overflow:auto!important;
  }
}

@media (max-width:390px){
  .site-header.premium-header .wrap.nav{
    width:calc(100% - 16px)!important;
    gap:5px!important;
  }
  .site-header.premium-header .premium-logo{
    font-size:16px!important;
    max-width:78px!important;
  }
  .site-header.premium-header .manager-contact{
    max-width:78px!important;
  }
  .site-header.premium-header .manager-contact__button{
    font-size:10px!important;
    padding:6px 5px!important;
  }
  .site-header.premium-header .header-search.premium-search{
    height:36px!important;
    padding-left:7px!important;
  }
  .site-header.premium-header .header-search.premium-search button{
    padding:7px 7px!important;
    font-size:10px!important;
  }
}

@media (max-width:340px){
  .site-header.premium-header .premium-logo{
    font-size:15px!important;
    max-width:70px!important;
  }
  .site-header.premium-header .manager-contact{
    max-width:72px!important;
  }
  .site-header.premium-header .manager-contact__button{
    font-size:9.5px!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
  .site-header.premium-header .header-search.premium-search input::placeholder{
    color:transparent!important;
  }
  .site-header.premium-header .header-search.premium-search button{
    padding-left:6px!important;
    padding-right:6px!important;
  }
}

@media(max-width:520px){.home-load-more{width:100%;max-width:340px}.home-load-more-wrap{padding:0 12px}}

/* ===== Mobile styles moved from unified-product-search.css ===== */
@media (max-width:768px){
  body{
    overflow-x:hidden!important;
    scroll-padding-top:118px!important;
  }

  .site-header.premium-header{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    overflow:visible!important;
  }

  .site-header.premium-header .header-search.premium-search{
    position:relative!important;
    overflow:visible!important;
    z-index:1201!important;
  }

  .site-header.premium-header .header-search.premium-search input{
    font-size:16px!important;
  }

  .header-search .unified-search-results,
  .search-head .unified-search-results,
  .catalog-filter-form .unified-search-results,
  form[data-unified-search] .unified-search-results{
    left:50%!important;
    right:auto!important;
    top:calc(100% + 7px)!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:58vh!important;
    border-radius:16px!important;
    padding:5px!important;
  }

  .unified-search-card{
    grid-template-columns:54px minmax(0, 1fr)!important;
    grid-template-areas:
      "photo main"
      "photo actions"!important;
    gap:7px 10px!important;
    min-height:82px!important;
    padding:9px!important;
  }

  .unified-search-photo{
    grid-area:photo!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }

  .unified-search-main{
    grid-area:main!important;
  }

  .unified-search-actions{
    grid-area:actions!important;
    width:100%!important;
    min-width:0!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }

  .unified-search-title{
    font-size:13px!important;
  }

  .unified-search-meta{
    font-size:11px!important;
  }

  .unified-search-price{
    font-size:14px!important;
  }

  .unified-search-button{
    min-height:28px!important;
    padding:6px 8px!important;
    font-size:10px!important;
  }
}

@media (max-width:360px){
  .header-search .unified-search-results,
  .search-head .unified-search-results,
  .catalog-filter-form .unified-search-results,
  form[data-unified-search] .unified-search-results{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
  }

  .unified-search-card{
    grid-template-columns:48px minmax(0, 1fr)!important;
  }

  .unified-search-photo{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
  }
}

@media (max-width: 768px){
  .site-header.premium-header .header-search.premium-search .unified-search-results,
  .header-search.premium-search .unified-search-results,
  form.header-search .unified-search-results{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:calc(100% + 8px)!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 16px)!important;
    min-width:0!important;
    max-width:calc(100vw - 16px)!important;
    max-height:62vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:8px!important;
    background:#fff!important;
    border:1px solid rgba(120,70,35,.18)!important;
    border-radius:16px!important;
    box-shadow:0 18px 45px rgba(45,25,12,.24)!important;
    z-index:2147483000!important;
    box-sizing:border-box!important;
    color:#241711!important;
    -webkit-transform:translateX(-50%)!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-results[hidden],
  .header-search.premium-search .unified-search-results[hidden],
  form.header-search .unified-search-results[hidden]{
    display:none!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-list,
  .header-search.premium-search .unified-search-list,
  form.header-search .unified-search-list{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-card,
  .header-search.premium-search .unified-search-card,
  form.header-search .unified-search-card{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:78px!important;
    height:auto!important;
    padding:9px!important;
    margin:0!important;
    box-sizing:border-box!important;
    background:#fff!important;
    color:#241711!important;
    text-decoration:none!important;
    border:1px solid rgba(120,70,35,.10)!important;
    border-radius:14px!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-card *,
  .header-search.premium-search .unified-search-card *,
  form.header-search .unified-search-card *{
    visibility:visible!important;
    opacity:1!important;
    box-sizing:border-box!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-photo,
  .header-search.premium-search .unified-search-photo,
  form.header-search .unified-search-photo{
    display:flex!important;
    flex:0 0 56px!important;
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border-radius:12px!important;
    background:#faf2ec!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-photo img,
  .header-search.premium-search .unified-search-photo img,
  form.header-search .unified-search-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-main,
  .header-search.premium-search .unified-search-main,
  form.header-search .unified-search-main{
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    flex-direction:column!important;
    gap:4px!important;
    color:#241711!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-title,
  .header-search.premium-search .unified-search-title,
  form.header-search .unified-search-title{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    color:#241711!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:900!important;
    white-space:normal!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-meta,
  .header-search.premium-search .unified-search-meta,
  form.header-search .unified-search-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px 7px!important;
    color:#7b6a60!important;
    font-size:11px!important;
    line-height:1.25!important;
    white-space:normal!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-actions,
  .header-search.premium-search .unified-search-actions,
  form.header-search .unified-search-actions{
    display:flex!important;
    flex:0 0 auto!important;
    min-width:72px!important;
    max-width:88px!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:6px!important;
    color:#241711!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-price,
  .header-search.premium-search .unified-search-price,
  form.header-search .unified-search-price{
    display:block!important;
    color:#e6541a!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }

  .site-header.premium-header .header-search.premium-search .unified-search-button,
  .header-search.premium-search .unified-search-button,
  form.header-search .unified-search-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:26px!important;
    padding:6px 7px!important;
    background:#fff3eb!important;
    color:#df5b22!important;
    border:1px solid rgba(233,100,40,.18)!important;
    border-radius:999px!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
}

@media (max-width: 360px){
  .site-header.premium-header .header-search.premium-search .unified-search-results,
  .header-search.premium-search .unified-search-results,
  form.header-search .unified-search-results{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
    padding:6px!important;
  }
  .site-header.premium-header .header-search.premium-search .unified-search-photo,
  .header-search.premium-search .unified-search-photo,
  form.header-search .unified-search-photo{
    flex-basis:50px!important;
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
  }
  .site-header.premium-header .header-search.premium-search .unified-search-actions,
  .header-search.premium-search .unified-search-actions,
  form.header-search .unified-search-actions{
    min-width:62px!important;
    max-width:76px!important;
  }
  .site-header.premium-header .header-search.premium-search .unified-search-button,
  .header-search.premium-search .unified-search-button,
  form.header-search .unified-search-button{
    display:none!important;
  }
}

/* ===== Mobile styles moved from scroll-to-top.css ===== */
@media(max-width:768px){
    .lb-scroll-top{
        right:16px;
        bottom:88px;
        width:48px;
        height:48px;
    }
}

/* ===== Mobile styles moved from dimshop-cart-modal-clean-orange-v20260522.css ===== */
@media(max-width:768px){.lb-one-floating-cart{width:58px;height:58px;right:16px;bottom:16px;border-radius:20px}.lb-cart-panel{left:0;right:0;transform:none;width:100vw}.lb-cart-items{max-height:190px}.lb-cart-body{padding-bottom:18px}.lb-cart-two{gap:7px}.lb-cart-form input,.lb-cart-form textarea{font-size:16px}.lb-cart-head small{display:none}@keyframes lbSlide{from{transform:translateY(18px);opacity:.6}to{transform:translateY(0);opacity:1}}}

@media (max-width:390px){
  .lb-cart-body{padding-left:8px!important;padding-right:8px!important}
  .lb-cart-item{
    grid-template-columns:64px minmax(0,1fr) 96px!important;
    gap:8px!important;
    padding:9px!important;
    min-height:108px!important;
  }
  .lb-cart-item > img,
  .lb-cart-item-img{
    width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;
  }
  .lb-cart-item-actions{width:96px!important;min-width:96px!important}
  .lb-cart-qty{width:92px!important;min-width:92px!important;height:34px!important;padding:0 9px!important}
  .lb-cart-item-info b{font-size:11px!important}
  .lb-cart-item-info small{font-size:9px!important}
  .lb-cart-item-info strong{font-size:13px!important}
}

@media (max-width:390px){
  .lb-cart-accordion{padding:10px!important}
  .lb-cart-accordion-toggle{min-height:38px!important}
  .lb-cart-accordion-toggle b{font-size:16px!important}
  .lb-cart-accordion-toggle .lb-cart-arrow{width:30px!important;height:30px!important;min-width:30px!important;font-size:24px!important}
}

@media (max-width: 480px){
  .lb-one-floating-cart{
    right:14px!important;
    bottom:14px!important;
    width:58px!important;
    height:58px!important;
    border-radius:20px!important;
  }

  .lb-cart-panel{
    width:100vw!important;
    max-width:100vw!important;
    left:0!important;
    transform:none!important;
    border-radius:0!important;
  }

  .lb-cart-head{
    height:54px!important;
    grid-template-columns:40px 1fr auto!important;
    padding:0 10px!important;
  }

  .lb-cart-body{
    padding:10px 9px 18px!important;
  }

  .lb-cart-products-card,
  .lb-cart-section,
  .lb-cart-empty,
  .lb-cart-error{
    border-radius:18px!important;
  }

  .lb-cart-items{
    max-height:245px!important;
  }

  .lb-cart-item{
    grid-template-columns:64px 1fr 28px!important;
    gap:9px!important;
    padding:8px!important;
    border-radius:16px!important;
    min-height:82px!important;
  }

  .lb-cart-item img,
  .lb-cart-item__pic img{
    width:64px!important;
    height:64px!important;
    object-fit:contain!important;
  }

  .lb-cart-item__title,
  .lb-cart-item-title{
    font-size:12.5px!important;
    line-height:1.22!important;
  }

  .lb-cart-qty,
  .lb-cart-item__qty{
    height:30px!important;
    border-radius:999px!important;
  }

  .lb-cart-qty button,
  .lb-cart-item__qty button{
    width:30px!important;
    height:30px!important;
  }

  .lb-cart-accordion{
    border-radius:18px!important;
    padding:11px!important;
  }

  .lb-cart-accordion-toggle{
    min-height:42px!important;
    padding:0!important;
  }

  .lb-cart-accordion-toggle b{
    font-size:16px!important;
  }

  .lb-cart-arrow{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }
}


/* Compact product card purchase controls */
.product-card h3 a{
  font-weight:950;
  border-bottom:2px solid rgba(255,106,26,.28);
}
.product-card h3 a::after{
  content:' →';
  color:var(--orange2);
}
.product-card .card-buy-form{
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:7px;
}
.product-card .card-buy-form .product-qty{
  width:96px;
  height:38px;
}
.product-card .card-buy-form .product-qty__btn{
  width:29px;
  height:38px;
  font-size:18px;
}
.product-card .card-buy-form .product-qty__input{
  width:34px;
  height:38px;
  font-size:14px;
}
.product-card .card-buy-form .orange{
  min-height:38px!important;
  padding:8px 8px!important;
  border-radius:14px!important;
  font-size:12px!important;
  line-height:1.15!important;
}

/* === FIX 2026-05-29: mobile reviews and cart layout, without cart logic changes === */
@media (max-width: 760px){
  html, body{overflow-x:hidden!important;}
  .site-review-form.wrap,
  section.site-review-form.wrap{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin:18px auto 34px!important;
    padding:14px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:22px!important;
  }
  .site-review-form__info,
  .review-public-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:16px!important;
    border-radius:18px!important;
  }
  .site-review-form__info h2{
    font-size:clamp(23px,7vw,30px)!important;
    line-height:1.12!important;
    overflow-wrap:anywhere!important;
  }
  .review-public-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .review-public-form label,
  .review-public-form input,
  .review-public-form select,
  .review-public-form textarea,
  .review-public-form button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .review-public-form textarea{
    min-height:106px!important;
  }
  .review-alert.review-alert--top.wrap{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin:16px auto 0!important;
    box-sizing:border-box!important;
  }
}

@media (max-width: 480px){
  .lb-cart-panel{
    width:100vw!important;
    max-width:100vw!important;
    left:0!important;
    right:0!important;
    transform:none!important;
  }
  .lb-cart-body{
    padding-left:6px!important;
    padding-right:6px!important;
    overflow-x:hidden!important;
  }
  .lb-cart-products-card{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding:10px!important;
    overflow:hidden!important;
  }
  .lb-cart-item{
    grid-template-columns:66px minmax(0,1fr) 102px!important;
    grid-template-areas:"photo info actions"!important;
    gap:8px!important;
    min-height:108px!important;
    padding:9px!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .lb-cart-item > img,
  .lb-cart-item-img{
    width:66px!important;
    height:66px!important;
    min-width:66px!important;
    max-width:66px!important;
    border-radius:12px!important;
  }
  .lb-cart-item-info{
    min-width:0!important;
    overflow:hidden!important;
  }
  .lb-cart-item-info b{
    font-size:11.5px!important;
    line-height:1.12!important;
    -webkit-line-clamp:2!important;
    max-width:100%!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
  }
  .lb-cart-item-info small{
    font-size:9.5px!important;
    line-height:1.15!important;
    max-width:100%!important;
  }
  .lb-cart-item-info strong{
    font-size:15px!important;
    line-height:1.1!important;
    color:#2d2018!important;
  }
  .lb-cart-unit-price{
    white-space:normal!important;
  }
  .lb-cart-item-actions{
    width:102px!important;
    min-width:102px!important;
    align-items:flex-end!important;
    justify-content:center!important;
  }
  .lb-cart-remove{
    top:-2px!important;
    right:0!important;
    width:22px!important;
    height:22px!important;
    font-size:22px!important;
    color:#ff3d00!important;
  }
  .lb-cart-qty{
    width:98px!important;
    min-width:98px!important;
    height:36px!important;
    padding:0 9px!important;
  }
  .lb-cart-qty button{
    width:24px!important;
    height:32px!important;
    font-size:20px!important;
  }
  .lb-cart-qty span{
    min-width:18px!important;
    font-size:15px!important;
  }
  .lb-cart-inline-total{
    margin-top:12px!important;
    font-size:13px!important;
  }
  .lb-cart-inline-total b{
    font-size:18px!important;
  }
}

@media (max-width: 360px){
  .lb-cart-item{
    grid-template-columns:58px minmax(0,1fr) 92px!important;
    gap:7px!important;
    padding:8px!important;
  }
  .lb-cart-item > img,
  .lb-cart-item-img{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    max-width:58px!important;
  }
  .lb-cart-item-actions{
    width:92px!important;
    min-width:92px!important;
  }
  .lb-cart-qty{
    width:88px!important;
    min-width:88px!important;
    padding:0 6px!important;
  }
  .lb-cart-item-info b{font-size:11px!important;}
  .lb-cart-item-info strong{font-size:14px!important;}
}


/* === FIX 2026-05-31: mobile uploaded logo adaptation only ===
   Keeps current search and Contacts button layout. */
@media (max-width:768px){
  .site-header.premium-header .wrap.nav{
    grid-template-columns:auto 1fr auto!important;
  }
  .site-header.premium-header .premium-logo:has(.site-logo-img){
    flex:0 0 74px!important;
    width:74px!important;
    max-width:74px!important;
    min-width:74px!important;
    height:40px!important;
    max-height:40px!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  .site-header.premium-header .premium-logo .site-logo-img{
    width:74px!important;
    max-width:74px!important;
    height:auto!important;
    max-height:40px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
}
@media (max-width:390px){
  .site-header.premium-header .premium-logo:has(.site-logo-img){
    flex-basis:68px!important;
    width:68px!important;
    max-width:68px!important;
    min-width:68px!important;
  }
  .site-header.premium-header .premium-logo .site-logo-img{
    width:68px!important;
    max-width:68px!important;
  }
}
@media (max-width:340px){
  .site-header.premium-header .premium-logo:has(.site-logo-img){
    flex-basis:60px!important;
    width:60px!important;
    max-width:60px!important;
    min-width:60px!important;
  }
  .site-header.premium-header .premium-logo .site-logo-img{
    width:60px!important;
    max-width:60px!important;
  }
}

/* === FIX 2026-06-01: catalog buttons must not collapse after return/back === */
.product-card .card-buy-form{
  min-width:0!important;
}
.product-card .card-buy-form .orange,
.product-card button.orange,
.product-card .orange{
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  hyphens:none!important;
}
@media (max-width:760px){
  .home-shop-grid,.product-grid,.grid-products{
    grid-template-columns:repeat(2,minmax(150px,1fr))!important;
  }
  .product-card .card-buy-form{
    grid-template-columns:1fr!important;
  }
  .product-card .card-buy-form .product-qty,
  .product-card .card-buy-form .orange,
  .product-card button.orange,
  .product-card .orange{
    width:100%!important;
    min-width:0!important;
  }
}
@media (max-width:380px){
  .home-shop-grid,.product-grid,.grid-products{
    grid-template-columns:1fr!important;
  }
}

/* ===== Mobile homepage catalog dropdown/card ===== */
@media (max-width:760px){
  .home-shop-layout{
    padding-top:10px!important;
  }

  .home-shop-categories{
    position:sticky!important;
    top:0!important;
    z-index:850!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .home-shop-categories__head{
    display:block!important;
    width:100%!important;
    padding:13px 16px!important;
    border:1px solid rgba(255,106,26,.22)!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(92,52,31,.10)!important;
    text-align:left!important;
    cursor:pointer!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }

  .home-shop-categories__head span{
    display:block!important;
    margin-bottom:4px!important;
    color:#ff3d12!important;
    font-size:10px!important;
    font-weight:950!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }

  .home-shop-categories__head strong{
    display:block!important;
    color:#1d120d!important;
    font-size:20px!important;
    line-height:1.1!important;
    font-weight:950!important;
  }

  .home-shop-categories__list{
    display:none!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 8px)!important;
    max-height:250px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:12px!important;
    border:1px solid rgba(255,106,26,.18)!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 22px 50px rgba(58,35,22,.18)!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
  }

  .home-shop-categories.is-open .home-shop-categories__list{
    display:block!important;
  }

  .home-shop-categories__list a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:42px!important;
    margin:0 0 7px!important;
    padding:10px 12px!important;
    border:1px solid rgba(255,106,26,.20)!important;
    border-radius:15px!important;
    background:#fff4ed!important;
    color:#ff3d12!important;
    font-size:13px!important;
    font-weight:950!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    transform:none!important;
  }

  .home-shop-categories__list a:last-child{
    margin-bottom:0!important;
  }

  .home-shop-categories__list a.active{
    background:#fff0e7!important;
    color:#ff3d12!important;
    box-shadow:inset 0 0 0 1px rgba(255,106,26,.24)!important;
  }
}

/* ===== Mobile catalog button visual polish ===== */
@media (max-width:760px){
  .home-shop-categories__head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:64px!important;
    width:100%!important;
    padding:12px 18px!important;
    border:2px solid #ff6a1a!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#fffaf6 0%,#ffffff 100%)!important;
    box-shadow:0 12px 30px rgba(255,106,26,.14),0 10px 26px rgba(92,52,31,.08)!important;
    text-align:center!important;
  }

  .home-shop-categories__head span{
    margin:0 0 3px!important;
    text-align:center!important;
  }

  .home-shop-categories__head strong{
    width:100%!important;
    text-align:center!important;
  }

  .home-shop-categories.is-open .home-shop-categories__head{
    border-color:#ff3d12!important;
    box-shadow:0 14px 34px rgba(255,106,26,.18),0 10px 28px rgba(92,52,31,.10)!important;
  }
}

/* ===== Mobile catalog fixed-on-scroll improvement ===== */
@media (max-width:760px){
  .home-shop-layout{
    overflow:visible!important;
  }

  .home-shop-categories[data-mobile-catalog]{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:8px!important;
    z-index:1200!important;
    align-self:flex-start!important;
    transform:translateZ(0);
  }

  .home-shop-categories[data-mobile-catalog] .home-shop-categories__head{
    position:relative!important;
    z-index:2!important;
  }

  .home-shop-categories[data-mobile-catalog] .home-shop-categories__list{
    z-index:1!important;
  }
}


/* ===== REAL WORKING FIX: mobile fixed catalog button on scroll ===== */
@media (max-width:760px){
  .home-shop-catalog-fixed-placeholder{
    display:none;
    width:100%;
    pointer-events:none;
  }
  .home-shop-categories.is-fixed-catalog{
    position:fixed!important;
    z-index:5000!important;
    margin:0!important;
    padding:0 12px!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
    overflow:visible!important;
    transform:none!important;
  }
  .home-shop-categories.is-fixed-catalog .home-shop-categories__head{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    min-height:58px!important;
    border:1.5px solid #ff6a1a!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(92,52,31,.16)!important;
    text-align:center!important;
  }
  .home-shop-categories.is-fixed-catalog .home-shop-categories__list{
    left:12px!important;
    right:12px!important;
  }
}

/* === DimShop: акуратная карточка товара для телефона ===
   Только мобильная версия. Десктоп, корзина и логика товаров не изменяются. */
@media (max-width:480px){
  .home-shop-grid,
  .product-grid,
  .grid-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    align-items:stretch!important;
  }

  .product-card,
  .premium-product-card{
    max-width:none!important;
    width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    border-radius:18px!important;
    border:1px solid rgba(255,106,26,.18)!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 12px 28px rgba(68,36,18,.09)!important;
  }

  .product-card .pic{
    height:130px!important;
    padding:12px 9px 6px!important;
    background:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .product-card .pic img{
    max-width:100%!important;
    max-height:112px!important;
    object-fit:contain!important;
  }

  .product-card .card-chip{
    top:8px!important;
    left:8px!important;
    padding:5px 7px!important;
    border-radius:999px!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:950!important;
    background:#241711!important;
    color:#fff!important;
    box-shadow:0 5px 12px rgba(36,23,17,.14)!important;
  }

  .product-card .card-body,
  .card-body{
    padding:10px 9px 11px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }

  .product-card .brand{
    margin-bottom:6px!important;
    font-size:8px!important;
    line-height:1!important;
    letter-spacing:.10em!important;
    color:var(--orange2)!important;
    font-weight:950!important;
  }

  .product-card h3{
    min-height:34px!important;
    margin:0 0 10px!important;
    font-size:12px!important;
    line-height:1.18!important;
    font-weight:950!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  .product-card h3 a{
    color:#1d0f09!important;
    text-decoration:underline!important;
    text-decoration-color:rgba(255,106,26,.45)!important;
    text-underline-offset:3px!important;
  }

  .product-card .code{
    margin:0 0 10px!important;
    font-size:10px!important;
    line-height:1.2!important;
    color:var(--muted)!important;
    font-weight:850!important;
  }

  .product-card .dual-prices{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    margin:0 0 8px!important;
  }

  .product-card .dual-prices.retail-only{
    grid-template-columns:1fr!important;
  }

  .product-card .price-box{
    min-height:54px!important;
    padding:8px 6px!important;
    border-radius:12px!important;
    background:#fffaf6!important;
    border:1px solid rgba(255,106,26,.24)!important;
  }

  .product-card .price-box span{
    margin-bottom:3px!important;
    font-size:7.5px!important;
    line-height:1.05!important;
    font-weight:950!important;
    color:var(--muted)!important;
  }

  .product-card .price-box b{
    font-size:12px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    color:#1d0f09!important;
  }

  .product-card .old{
    margin:0 0 7px!important;
    font-size:10px!important;
    line-height:1.15!important;
    color:#a98b7b!important;
    text-decoration:line-through!important;
  }

  .product-card .card-buy-form{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    align-items:center!important;
    margin-top:auto!important;
  }

  .product-card .product-qty--card{
    width:100%!important;
    height:32px!important;
    min-height:32px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0 9px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,106,26,.18)!important;
    background:#fffaf6!important;
  }

  .product-card .product-qty__btn{
    width:24px!important;
    height:30px!important;
    border:0!important;
    background:transparent!important;
    color:var(--orange2)!important;
    font-size:17px!important;
    font-weight:950!important;
    line-height:1!important;
  }

  .product-card .product-qty__input{
    width:26px!important;
    height:30px!important;
    border:0!important;
    background:transparent!important;
    text-align:center!important;
    font-size:14px!important;
    font-weight:950!important;
    color:#1d0f09!important;
    padding:0!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
  }

  .product-card .product-qty__input::-webkit-outer-spin-button,
  .product-card .product-qty__input::-webkit-inner-spin-button{
    -webkit-appearance:none!important;
    margin:0!important;
  }

  .product-card .orange,
  .product-card button.orange{
    width:100%!important;
    min-height:36px!important;
    margin:0!important;
    padding:8px 8px!important;
    border-radius:12px!important;
    font-size:10px!important;
    line-height:1.05!important;
    font-weight:950!important;
    white-space:normal!important;
    box-shadow:0 10px 22px rgba(255,80,20,.18)!important;
  }
}

@media (min-width:481px) and (max-width:768px){
  .product-card,
  .premium-product-card{
    border-radius:22px!important;
    border:1px solid rgba(255,106,26,.16)!important;
    box-shadow:0 14px 32px rgba(68,36,18,.09)!important;
  }

  .product-card .dual-prices{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }

  .product-card .card-buy-form{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:7px!important;
    align-items:center!important;
  }

  .product-card .product-qty--card{
    width:92px!important;
    height:36px!important;
    border-radius:999px!important;
  }

  .product-card .orange,
  .product-card button.orange{
    min-height:38px!important;
    border-radius:14px!important;
  }
}


/* Product photo gallery mobile */
@media(max-width:760px){
  .product-gallery-main{min-height:320px;padding:14px;}
  .product-gallery-main img{max-height:320px;}
  .product-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity;}
  .product-gallery-thumb{flex:0 0 68px;width:68px;height:68px;border-radius:14px;scroll-snap-align:start;}
}
