/* Unified mobile spacing and typography, 2026-08-02 */
@media (max-width: 767px) {
  body:not(.common-home) header .header_nav,
  body:not(.common-home) header .header_nav > .container,
  body:not(.common-home) header .header_nav .row {
    min-height: 126px !important;
    height: 126px !important;
  }

  body:not(.common-home) header .header_nav .row {
    grid-template-rows: 70px 56px !important;
  }

  body:not(.common-home) header .header-logo {
    min-height: 70px !important;
    height: 70px !important;
    padding: 5px 12px !important;
  }

  body:not(.common-home) header #logo {
    width: 205px !important;
    max-width: calc(100vw - 72px) !important;
  }

  body:not(.common-home) header .header-logo img {
    max-width: 205px !important;
    max-height: 56px !important;
  }

  body:not(.common-home) header .header_search {
    height: 56px !important;
    padding: 0 12px 8px !important;
  }

  body:not(.common-home) .breadcrumb {
    margin: 8px 0 12px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body:not(.common-home) .category_details h1,
  body:not(.common-home) #content > h1 {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.12 !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.025em !important;
  }

  body:not(.common-home) .category_details h2,
  body:not(.common-home) .category_details h3 {
    font-size: 19px !important;
    line-height: 1.28 !important;
    margin: 0 0 10px !important;
  }

  body:not(.common-home) .category_details p,
  body:not(.common-home) .category_details li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Compact header contact trigger */
#_desktop_contact_link{float:right!important;margin:0!important}
#contact-link>ul{display:flex!important;align-items:center!important;margin:0!important}
#contact-link li.contact{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 16px!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:12px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;transition:background .2s ease,transform .2s ease!important}
#contact-link li.contact:hover,#contact-link li.contact:focus{background:rgba(255,255,255,.22)!important;transform:translateY(-1px)!important;outline:2px solid rgba(255,255,255,.45)!important;outline-offset:2px!important}
#contact-link li.contact>*{display:none!important}
#contact-link li.contact::before{content:"\f095";margin-right:8px;font-family:FontAwesome;font-size:15px;font-weight:400}
#contact-link li.contact::after{content:"Контакти";font:800 13px/1.1 'Rubik',Arial,sans-serif;letter-spacing:.01em}
@media(max-width:767px){#_desktop_contact_link{display:none!important}}
#_desktop_contact_link{display:flex!important;align-items:center!important;gap:10px!important}.kss-header-phone-link{display:inline-flex;align-items:center;min-height:42px;color:#fff!important;font:800 14px/1 'Rubik',Arial,sans-serif;text-decoration:none!important;white-space:nowrap}.kss-header-phone-link::before{content:"\f095";margin-right:7px;font-family:FontAwesome;font-size:14px}.kss-header-phone-link:hover,.kss-header-phone-link:focus{color:#ffd43b!important}@media(max-width:767px){.kss-header-phone-link{display:none!important}}
/* Icon-only contact trigger refinement */
#contact-link li.contact{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:50%!important;background:#1688d4!important;box-shadow:0 6px 16px rgba(13,98,180,.26)!important}
#contact-link li.contact::before{content:"\f075"!important;margin:0!important;font-size:17px!important}
#contact-link li.contact::after{content:none!important;display:none!important}
#contact-link li.contact:hover,#contact-link li.contact:focus{background:#0875c5!important}
.kss-header-phone-link::before{content:none!important;display:none!important}
.kss-header-phone-link{margin-left:0!important;padding:0 2px!important;font-size:14px!important;letter-spacing:.01em!important}
/* Readable header phone typography */
.kss-header-phone-link{font-family:Arial,"Helvetica Neue",sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.025em!important;font-variant-numeric:tabular-nums!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.12)}
/* 2026-08-02: polished mobile header and home layout */
.kss-mobile-phone-row{display:none}
@media(max-width:767px){
header .header_nav>.container>.row{display:flex!important;flex-direction:column!important;align-items:stretch!important}
header .header-logo{order:1!important;width:100%!important;margin:0!important;padding:10px 16px 4px!important;min-height:64px!important}
header .kss-mobile-phone-row{order:2!important;display:flex!important;justify-content:center!important;width:100%!important;padding:0 16px 10px!important}
header .kss-mobile-phone-row a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 18px!important;border:1px solid rgba(255,255,255,.38)!important;border-radius:999px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;font:700 16px/1.2 Arial,"Helvetica Neue",sans-serif!important;letter-spacing:.02em!important;text-decoration:none!important;box-shadow:0 5px 16px rgba(5,45,88,.16)!important;font-variant-numeric:tabular-nums!important}
header .nav2{order:4!important}
header .header_search{order:3!important;position:static!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 16px 14px!important;transform:none!important}
header .header_search #searchbox{width:100%!important;max-width:none!important;margin:0!important}
header .header_search input{width:100%!important;min-width:0!important}
.common-home .hometab{overflow:hidden!important}
.common-home .hometab .tab-head{display:block!important;min-width:0!important}
.common-home .hometab .hometab-heading{font-size:27px!important;line-height:1.15!important;text-align:center!important}
.common-home .hometab .htabs{width:100%!important;max-width:100%!important;overflow:hidden!important}
.common-home .hometab .etabs{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:4px 2px 10px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important}
.common-home .hometab .etabs::-webkit-scrollbar{display:none!important}
.common-home .hometab .etabs li{flex:0 0 auto!important;float:none!important;margin:0!important;scroll-snap-align:start!important}
.common-home .hometab .etabs li a{display:block!important;max-width:none!important;padding:10px 14px!important;font-size:12px!important;white-space:nowrap!important}
.common-home .hometab .product-block,.common-home .hometab .product-thumb,.common-home .hometab .product-block-inner{height:auto!important;min-height:0!important}
.common-home .hometab .double-slideitem>ul{height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
.common-home .hometab .product-thumb .image{height:180px!important;min-height:0!important;padding:10px!important}
.common-home .hometab .product-thumb .image>a{display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important}
.common-home .hometab .product-thumb .image img{width:100%!important;height:100%!important;max-height:160px!important;object-fit:contain!important}
.common-home .hometab .product-thumb .caption{height:auto!important;min-height:185px!important;padding:14px!important}
.common-home .hometab .product-thumb h4{min-height:44px!important;margin-bottom:7px!important}
.common-home .hometab .product-thumb .rating{margin:6px 0!important}
.common-home .hometab .product-thumb .price{margin:8px 0!important;font-size:17px!important}
.common-home #wdcmssubbanner{padding:12px!important}
.common-home #wdcmssubbanner .subbanner-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.common-home #wdcmssubbanner .category_block_img{position:relative!important;float:none!important;width:100%!important;min-width:0!important;margin:0!important;border-radius:16px!important;aspect-ratio:1/1.55!important}
.common-home #wdcmssubbanner .category_block_img>a{display:block!important;width:100%!important;height:100%!important}
.common-home #wdcmssubbanner .category_block_img img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:16px!important}
.common-home #wdcmssubbanner .description{position:absolute!important;z-index:2!important;left:14px!important;right:auto!important;top:42%!important;bottom:auto!important;width:52%!important;max-width:52%!important;transform:none!important}
.common-home #wdcmssubbanner .subtitle{display:none!important}
.common-home #wdcmssubbanner .title{margin:0 0 7px!important;font-size:15px!important;line-height:1.25!important;font-weight:700!important;overflow-wrap:anywhere!important;hyphens:auto!important}
.common-home #wdcmssubbanner .price-text{font-size:13px!important;line-height:1.25!important;white-space:normal!important}
.common-home .webdigifyblog .box-heading{color:#fff!important;text-shadow:none!important;font-size:26px!important}
}
@media(max-width:390px){
.common-home .hometab .product-thumb .image{height:160px!important}
.common-home .hometab .product-thumb .caption{min-height:175px!important;padding:12px!important}
.common-home #wdcmssubbanner .title{font-size:14px!important}
.common-home #wdcmssubbanner .description{left:12px!important;width:54%!important;max-width:54%!important}
}
/* 2026-08-02: mobile footer contrast repair */
@media(max-width:767px){
footer #footer{background:#fff!important;padding:8px 0!important}
footer #footer .footer-blocks{display:block!important;padding:0 18px!important}
footer #footer .column,footer #footer .footerleft,footer #footer #footer-left{float:none!important;width:100%!important;margin:0!important;padding:0!important}
footer #footer h5.toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:52px!important;margin:0!important;padding:14px 4px!important;border-bottom:1px solid #e3e9f0!important;color:#172b4d!important;background:#fff!important;font:700 15px/1.25 Arial,"Helvetica Neue",sans-serif!important;opacity:1!important}
footer #footer h5.toggle .mobile_togglemenu{position:static!important;display:block!important;flex:0 0 30px!important;width:30px!important;height:24px!important;margin-left:12px!important;color:#172b4d!important}
footer #footer .column>ul,footer #footer .contact-block>ul{margin:0!important;padding:10px 4px 15px!important;background:#fff!important}
footer #footer .column>ul[style*="display: none"],footer #footer .contact-block>ul[style*="display: none"]{padding:0!important}
footer #footer li,footer #footer li a{color:#52657a!important;font-size:13px!important;line-height:1.55!important}
footer .bottomfooter{padding:20px 16px!important}
footer .bottomfooter .powered{margin:0!important;font-size:12px!important;line-height:1.6!important;text-align:center!important}
}
/* 2026-08-02: compact mobile commerce modules */
@media(max-width:767px){
.common-home .hometab .product-carousel .product-block,.common-home .hometab .product-carousel .product-thumb,.common-home .hometab .product-carousel .product-block-inner{height:370px!important;min-height:370px!important;max-height:370px!important;margin-bottom:10px!important;overflow:hidden!important}
.common-home .hometab .product-carousel .product-thumb .image{height:160px!important;min-height:160px!important;max-height:160px!important;padding:9px!important}
.common-home .hometab .product-carousel .product-thumb .image img{max-height:142px!important}
.common-home .hometab .product-carousel .product-details{height:208px!important;min-height:0!important;max-height:208px!important;padding:12px 11px!important;overflow:hidden!important}
.common-home .hometab .product-carousel .caption{height:auto!important;min-height:0!important;max-height:none!important;padding:0!important}
.common-home .hometab .product-carousel .product-cat{display:block!important;min-height:30px!important;margin:0 0 6px!important;font-size:9px!important;line-height:1.35!important;letter-spacing:.02em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.common-home .hometab .product-carousel h4{display:-webkit-box!important;min-height:38px!important;max-height:38px!important;margin:0 0 6px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
.common-home .hometab .product-carousel h4 a{font-size:12px!important;line-height:1.45!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.common-home .hometab .product-carousel .rating{height:19px!important;margin:4px 0 7px!important;overflow:hidden!important}
.common-home .hometab .product-carousel .price{height:auto!important;margin:7px 0 0!important;font-size:16px!important;line-height:1.25!important}
.common-home .hometab .product-carousel .product_hover_block,.common-home .hometab .product-carousel .button-group,.common-home .hometab .product-carousel .action{display:none!important}
.common-home #wdcmssubbanner .category_block_img{aspect-ratio:1/1.12!important;min-height:0!important;max-height:none!important}
.common-home #wdcmssubbanner .description{left:11px!important;top:50%!important;width:64%!important;max-width:64%!important;transform:translateY(-50%)!important}
.common-home #wdcmssubbanner .title{display:-webkit-box!important;margin:0 0 6px!important;font-size:13px!important;line-height:1.28!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.common-home #wdcmssubbanner .price-text{font-size:11px!important;line-height:1.3!important;margin:0!important}
}
@media(max-width:390px){
.common-home .hometab .product-carousel .product-block,.common-home .hometab .product-carousel .product-thumb,.common-home .hometab .product-carousel .product-block-inner{height:350px!important;min-height:350px!important;max-height:350px!important}
.common-home .hometab .product-carousel .product-thumb .image{height:148px!important;min-height:148px!important;max-height:148px!important}
.common-home .hometab .product-carousel .product-details{height:200px!important;max-height:200px!important;padding:11px 10px!important}
.common-home #wdcmssubbanner .title{font-size:12px!important}
}