/* ===============================
   RESPONSIVE (DESKTOP-FIRST)
   Breakpoints:
   <= 1200px, <= 992px, <= 768px, <= 480px
=============================== */



@media (max-width: 1300px) {
  /* Header */
  .site-header {
    height: 100px;
  }

  .header-left {
    gap: 32px;
  }

  .header-logo img {
    height: 90px;
  }

  .header-nav {
    gap: 20px;
  }

  .header-nav a {
    font-size: 32px;
  }

  .site-header.is-scrolled .header-nav a {
    font-size: 22px;
  }

  .site-header.is-scrolled .catalog-dropdown a {
    font-size: 15px;
  }

  .catalog-dropdown a {
    font-size: 15px;
  }

  /* Info banner */
  .info-banner {
    margin: 28px 0;
  }

  .info-title {
    font-size: 16px;
    gap: 8px;
  }

  .info-badge {
    font-size: 18px;
  }

  .info-list li {
    font-size: 18px;
  }

  /* Products grid / cards */
  .products-grid {
    gap: 20px;
  }

  .product-image img {
    height: 200px;
  }

  /* Single product */
  .product-hero-grid {
    gap: 28px;
  }

  .product-info .product-title {
    font-size: 34px;
  }

  /* Contacts */
  .contacts-title {
    font-size: 32px;
  }

  /* Footer */
  body > footer > div.footer-bottom {
    padding: 25px;
  }

  footer .footer-inner {
    max-width: none;
    padding: 0 60px;
    gap: 20px;
  }
}

@media (max-width: 1150px) {
  /* Header */
  body > footer > div.container.footer-inner {
    display: flex;
    justify-content: space-between;
  }

  .site-header {
    height: 100px;
    padding: 10px 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header-left {
    flex-direction: column;
    gap: 18px;
  }

  .header-logo img {
    height: 74px;
  }

  .header-nav {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .header-nav a {
    font-size: 26px;
  }

  .site-header.is-scrolled {
    height: auto;
  }

  .site-header.is-scrolled .header-logo img {
    height: 78px;
  }

  .site-header.is-scrolled .header-nav a {
    font-size: 26px;
  }

  .main,
  .site-content,
  .page-content,
  body {
    padding-top: 140px;
  }

  /* Info banner */
  .info-banner .container-banner {
    padding: 18px;
  }

  .info-list {
    justify-content: center;
    gap: 14px;
  }

  /* Products grid / cards */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Single product */
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-main {
    aspect-ratio: 4 / 3;
  }

  .product-specs-list {
    grid-template-columns: 1fr;
  }

  /* Contacts */
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer .footer-inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: initial;
    padding: 0 60px;
  }

  .catalog-dropdown a {
    font-size: 15px;
  }

  .site-header.is-scrolled .catalog-dropdown a {
    font-size: 15px;
  }

  .catalog-dropdown {
    min-width: 260px;
    position: absolute;
    top: calc(100% + 10px);
  }
}

@media (max-width: 778px) {
  /* Header */
  .site-header {
    padding: 8px 0;
    position: fixed;
    width: 100%;
    height: 190px;
  }

  .info-banner {
    padding-top: 100px;
  }

  .header-left {
    width: 100%;
    align-items: center;
  }

  .header-logo img {
    height: 84px;
  }

  .site-header.is-scrolled .header-logo img {
    height: 84px;
  }

  .site-header .header-nav .catalog-dropdown a {
    font-size: 15px;
  }

  .site-header .header-nav .catalog-submenu a {
    font-size: 13px;
  }

  .site-header.is-scrolled .catalog-dropdown a {
    font-size: 15px;
  }

  .main,
  .site-content,
  .page-content,
  body {
    padding-top: 120px;
  }

  /* Info banner */
  .info-title {
    flex-direction: column;
  }

  .info-list {
    flex-direction: column;
    align-items: center;
  }

  /* Products grid / cards */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image img {
    height: 190px;
  }

  /* Single product */
  .product-gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .product-gallery-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .product-gallery-thumb {
    flex: 0 0 auto;
  }

  .product-info .product-title {
    font-size: 28px;
  }

  .product-price-row {
    flex-wrap: wrap;
  }

  /* Contacts */
  .contacts-item {
    grid-template-columns: 1fr;
  }

  .contacts-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-col {
    align-items: center !important;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .site-header.is-scrolled .header-logo {
    order: 2;
  }

  .site-header.is-scrolled .header-nav {
    order: 1;
  }

  .site-header.is-scrolled .header-inner {
    position: relative;
  }

  .site-header.is-scrolled .header-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10%;
    top: 8px;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 6px;
    margin: 0 auto;
    margin-left: 0;
  }

  .site-header.is-scrolled .header-lang .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* Mobile nav layout */
  .header-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    position: static;
    transform: none;
  }

  .header-nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .catalog-dropdown {
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 480px) {
  /* Header */
  .site-header {
    height: auto !important;
    padding: 10px 0 !important;
  }

  .header-inner,
  .header-left {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .header-nav {
    position: static !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100%;
  }

  .header-nav a {
    font-size: 15px !important;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .catalog-dropdown a {
    font-size: 15px;
  }

  .site-header.is-scrolled .catalog-dropdown a {
    font-size: 15px;
  }

  .header-logo img {
    height: 64px !important;
  }

  .header-lang {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 8px;
  }

  .site-header.is-scrolled {
    height: 120px;
  }

  .site-header.is-scrolled .header-logo {
    order: 2;
  }

  .site-header.is-scrolled .header-nav {
    order: 1;
  }

  .site-header.is-scrolled .header-lang {
    display: block !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    flex-direction: row !important;
    gap: 6px !important;
  }

  body > main > section.info-banner {
    margin-top: 80px;
  }

  .main,
  .site-content,
  .page-content,
  body {
    padding-top: 160px !important;
  }

  /* Info banner */
  .info-badge {
    font-size: 16px;
  }

  .info-list li {
    font-size: 16px;
  }

  /* Single product */
  .product-gallery-thumb img {
    width: 64px;
    height: 64px;
  }

  .product-price-current {
    font-size: 26px;
  }

  /* Contacts */
  .contacts-title {
    font-size: 26px;
  }


}

@media (max-width: 320px) {

  html, body {
  overflow-x: hidden;
}

  .site-header {
    height: 96px; /* чуть компактнее */
  }

  .header-logo img {
    height: 56px; /* уменьшить лого */
  }

  .header-nav a,
  .catalog-dropdown a {
    font-size: 14px; /* чтобы всё влезало */
  }

  .header-left {
    gap: 12px;
  }
}


















