/*
Theme Name: Мангал Патриот
Theme URI: https://mangalpatriot.ru/
Author: Мангал Патриот
Author URI: https://mangalpatriot.ru/
Description: Классическая тема для производителя мангалов, барбекю-комплексов и беседок.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mangalpatriot
Tags: custom-logo, custom-menu, featured-images, translation-ready
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
Theme Name: Мангал Патриот
Theme URI: https://mangalpatriot.ru/
Author: Мангал Патриот
Author URI: https://mangalpatriot.ru/
Description: Каталожная тема для производителя мангалов и беседок.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mangalpatriot
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============ Base ============ */
:root {
  --black: #000;
  --white: #fff;
  --gray-text: #918b8b;
  --gray-border: #b0b0b0;
  --orange: #f2610d;
  --red: #f31515;
  --radius-lg: 18px;
  --radius-md: 10px;
  --container: 1320px;
  --font: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}
.mobile-nav-phone{
  display:none;
}
img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
a img,
button img,
[role="button"] img,
.header-cart img,
.header-logo img,
.swiper img,
.slick img,
.is-interactive img {
  -webkit-user-drag: auto;
  -khtml-user-drag: auto;
  -moz-user-drag: auto;
  -o-user-drag: auto;
  user-drag: auto;
  pointer-events: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}
.header-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 0 5.5px rgba(0, 0, 0, 0.25);
  padding: 10px 20px;
}
.logo {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
}
.logo img {
  height: 42px;
  width: auto;
}

.search-form {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  padding: 6px 16px;
  flex: 0 1 240px;
}
.search-form input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 16px;
  color: var(--black);
}
.search-form input::placeholder {
  color: var(--gray-border);
}
.search-form button {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
}

.main-nav {
  display: flex;
  min-width: 0;
  gap: 24px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  font-size: 16px;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav .primary-menu > li > a:hover {
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-decoration-line: underline;
  color: #f2610d;
}
.main-nav .primary-menu,
.main-nav .sub-menu {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .primary-menu > li,
.main-nav .sub-menu > li {
  position: relative;
}
.main-nav .primary-menu > li > a,
.main-nav .sub-menu > li > a {
  display: block;
}
.main-nav .primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 190px;
  padding: 16px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 150;
}
.main-nav .primary-menu .sub-menu li + li {
  margin-top: 8px;
}
.main-nav .primary-menu li:hover > .sub-menu,
.main-nav .primary-menu li:focus-within > .sub-menu,
.main-nav .primary-menu li > .sub-menu.open {
  display: flex;
}
.main-nav .primary-menu > li.has-dropdown > .sub-menu.open,
.main-nav .primary-menu > li.has-dropdown:hover > .sub-menu,
.main-nav .primary-menu > li.has-dropdown:focus-within > .sub-menu {
  display: flex;
}
.main-nav .primary-menu .sub-menu .sub-menu {
  top: -16px;
  left: calc(100% + 12px);
}
.main-nav .primary-menu .has-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 10px;
  height: 10px;
  background: url("../images/menu-chevron.png") center / contain no-repeat;
}
.main-nav .primary-menu .sub-menu .has-dropdown > a::after {
  content: "›";
}
.main-nav .has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav .primary-menu > li.has-dropdown {
  display: block;
}
.main-nav .primary-menu > li.has-dropdown > .mega-menu {
  left: -40px;
}
.main-nav .primary-menu > li > .mega-menu {
  top: calc(100% + 12px);
}

.header-right {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-phone {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.header-cart {
  position: relative;
  display: flex;
  width: 32px;
  height: 32px;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count[hidden] {
  display: none;
}
.header-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.mini-cart {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 180;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.mini-cart[hidden] {
  display: none;
}
.mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-border);
}
.mini-cart__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.mini-cart__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  line-height: 1;
}
.mini-cart__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px;
}
.mini-cart__recommendations {
  padding: 10px 16px 12px;
  border-top: 1px solid var(--gray-border);
}
.mini-cart__section-title {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
}
.mini-cart__recommendation-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-cart__recommendation-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 0;
  color: var(--black);
  font-size: 12px;
}
.mini-cart__recommendation-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fafafa;
}
.mini-cart__recommendation-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-cart__recommendation-item strong {
  color: var(--red);
  font-size: 12px;
  white-space: nowrap;
}
.mini-cart__empty {
  margin: 16px 0;
  color: var(--gray-text);
  font-size: 14px;
}
.mini-cart__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-cart__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-border);
}
.mini-cart__item:last-child {
  border-bottom: 0;
}
.mini-cart__media {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
}
.mini-cart__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-cart__meta {
  min-width: 0;
}
.mini-cart__title-link {
  display: block;
  overflow: hidden;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-cart__title-link:hover {
  color: var(--red);
}
.mini-cart__details,
.mini-cart__qty {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--gray-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-cart__line-total {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.mini-cart__more {
  margin: 6px 0 2px;
  color: var(--gray-text);
  font-size: 12px;
  text-align: center;
}
.mini-cart__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-border);
}
.mini-cart__total {
  display: flex;
  flex-direction: column;
  color: var(--gray-text);
  font-size: 13px;
}
.mini-cart__total strong {
  color: var(--black);
  font-size: 16px;
}
.mini-cart__cta {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-size: 13px;
}
@media (max-width: 860px) {
  .mini-cart {
    display: none !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 900;
  font-size: 16px;
  padding: 8px 20px;
  border: none;
  white-space: nowrap;
}
.btn-black {
  background: var(--black);
  color: var(--white);
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-outline {
  background: none;
  border: 1px solid var(--black);
  color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle.is-active {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--black);
  border-radius: 50%;
  justify-content: center;
}
.nav-toggle.is-active span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  transform-origin: center;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  height: 811px;
  margin-top: -92px;
  padding-top: 72px;
  color: var(--white);
  background: rgb(43 43 43 / 31%);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
    justify-content: space-around;
}
.hero-title {
  font-weight: 900;
  font-size: clamp(64px, 10.83vw, 156px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 881px;
}
.hero-title.small {
  font-size: clamp(44px, 7.36vw, 106px);
  line-height: 1;
  margin-top: -6px;
  max-width: 528px;
}
.hero-tagline {
  font-weight: 900;
  font-size: clamp(18px, 2.5vw, 36px);
  line-height: 1.22;
  margin-top: clamp(18px, 1.74vw, 25px);
  text-align: center;
  max-width: 460px;
}
.hero-tagline.small {
  font-size: clamp(14px, 1.67vw, 24px);
  font-weight: 900;
  line-height: 1.21;
  margin-top: clamp(8px, 0.7vw, 10px);
  text-align: center;
  max-width: 249px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: clamp(0px, 1vw, 14px);
}
.hero-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 36px);
  line-height: 1;
  border-radius: 10px;
  padding: 0;
  width: clamp(168px, 13.4vw, 193px);
  height: clamp(48px, 3.9vw, 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.hero-arrow {
  background: var(--orange);
  border-radius: 10px;
  width: clamp(48px, 3.68vw, 53px);
  height: clamp(48px, 3.9vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--white);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.hero-arrow:hover {
  background: var(--red);
  transform: translateY(2px);
}
.hero-cta:hover {
  background: var(--orange);
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 36px);
  line-height: 1;
  text-align: center;
  text-decoration-line: underline;
  color: #ffffff;
}

/* ============ Section base ============ */
.section {
 padding:20px 0; 
  position: relative;
}
.section-title {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.04;
  margin: 0 0 98px;
  letter-spacing: -0.01em;
}

/* ============ About ============ */
.about-section {
  position: relative;
  padding: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.about-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 680px;
  background: linear-gradient(to bottom, #fff, rgba(183, 183, 183, 0.3));
  z-index: 0;
}
.about-grid {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 0;
}
.about-grid .section-title {
  max-width: 648px;
  font-size: 48px;
  line-height: 1;
  height: auto;
  margin: 0 0 13px;
}
.about-text {
  max-width: 648px;
}
.about-text p {
  margin: 13px 0 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 648px;
}
.about-cta {
  margin-top: 40px;
  width: 200px;
  height: 34px;
  font-size: 16px;
  line-height: 1;
  border-radius: 10px;
}
.about-media {
  position: absolute;
  top: 161px;
  right: -205px;
  width: 818px;
  height: 818px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e2e2;
  z-index: 0;

}
.about-media1 {
  position: absolute;
  top: 161px;
  right: -205px;
  width: 818px;
  height: 818px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e2e2;
  z-index: 0;
  display:contents;
}
body.home {
  overflow-x: hidden;
}
.about-media img {

  object-fit: cover;
  display: block;
}
.about-media1 img {
  width: 20%;
  object-fit: cover;
  display: block;
}

/* ============ Advantages ============ */
.advantages-section {
  padding-top: 120px;
  padding-bottom: 80px;
}
.advantages-section .section-title {
  margin-top: 60px;
  margin-bottom: 60px;
  font-size: 48px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 312px);
  gap: 24px;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.advantage-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  height: 251px;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.advantage-card.alt {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}
.advantage-card:hover {
  background: linear-gradient(
    192.03deg,
    #ffffff 42.04%,
    rgba(255, 217, 195, 0.3) 91.22%,
  
  );
  box-shadow: 0 0 13.9px 3px #ffd9c3;
  cursor: default;
}
.advantage-card img {
  margin: 0 auto 20px;
  height: 90px;
  min-width: 1px;
  display: block;
}
.advantage-card p {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  line-height: 1.04;
  max-width: 200px;
}

/* ============ Promo banner ============ */
.promo-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  color: var(--white);
  background: #1a1a1a;
  aspect-ratio: 1319/317;
}
.promo-track {
  position: absolute;
  inset: 0;
  display: flex;
}
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.promo-slide.active {
  opacity: 1;
  z-index: 1;
}
.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: var(--white);
  pointer-events: none;
}
.promo-badge {
  position: absolute;
  top: 20px;
  left: 53px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 7px 12px 6px;
  border-radius: 0;
  margin: 0;
}
.promo-title {
  position: absolute;
  top: 31px;
  left: 635px;
  right: 138px;
  font-weight: 900;
  font-size: 128px;
  line-height: 1;
  margin: 0;
}
.promo-subtitle {
  position: absolute;
  top: 175px;
  right: 98px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  margin: 0;
}
.promo-price {
  position: absolute;
  top: 199px;
  left: 738px;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  margin: 0;
  padding-top: 20px;
}
.promo-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.promo-dots .promo-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.promo-dots .promo-dot::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
}
.promo-dots .promo-dot:hover {
  background: rgba(0, 0, 0, 0.55);
}
.promo-dots .promo-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.promo-dots .promo-dot.active {
  background: var(--orange);
  transform: scale(1.25);
}

/* ============ Responsive promo banner ============ */
@media (max-width: 1024px) {
  .promo-section .promo-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
    padding: clamp(28px, 6.5vw, 48px) clamp(16px, 5vw, 48px) 20px 42%;
    gap: 4px;
  }
  .promo-section .promo-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--white);
    color: var(--orange);
    font-size: 12px;
  }
  .promo-section .promo-title,
  .promo-section .promo-subtitle,
  .promo-section .promo-price {
    position: static;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .promo-section .promo-title {
    font-size: clamp(34px, 11vw, 96px);
    line-height: 0.98;
  }
  .promo-section .promo-subtitle,
  .promo-section .promo-price {
    font-size: clamp(19px, 6.4vw, 40px);
    line-height: 1;
  }
  .promo-section .promo-banner img {
    object-position: left center;
  }
  .promo-section .scroll-arrows {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 12px;
  }
  .promo-section .scroll-arrow {
    width: 40px;
    height: 40px;
    border: 0;
    color: var(--white);
  }
  .promo-section .scroll-arrow-prev,
  .promo-section .scroll-arrow-prev[disabled] {
    background: #d8d8d8;
    opacity: 1;
  }
  .promo-section .scroll-arrow-next {
    background: var(--orange);
  }
  .promo-section .scroll-arrow:hover:not([disabled]) {
    background: var(--red);
    color: var(--white);
  }
  .promo-section .promo-dots {
    gap: 10px;
    margin-top: 14px;
  }
  .promo-section .promo-dots .promo-dot {
    width: 9px;
    height: 9px;
    background: transparent;
    border: 1px solid var(--orange);
  }
  .promo-section .promo-dots .promo-dot::before {
    inset: 0;
  }
  .promo-section .promo-dots .promo-dot.active {
    background: var(--orange);
    transform: none;
  }
}

@media(max-width:1024px){
  .about-media {
    position: absolute;
    top: 470px;
    right: -205px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e2e2;
    z-index: 0;
}
}

@media (min-width: 641px) and (max-width: 1024px) {
  .promo-section {
    padding-inline: clamp(24px, 6.67vw, 56px);
  }
  

  .promo-section .section-head {
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin-bottom: clamp(28px, 4.8vw, 40px);
  }
  .promo-section .section-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.04;
  }
  .promo-section .promo-banner {
    aspect-ratio: 723 / 317;
    background: var(--orange);
  }
  .promo-section .promo-slide-content {
    padding-right: clamp(28px, 5.5vw, 48px);
  }
  .promo-section .promo-title {
    font-size: clamp(56px, 10.5vw, 96px);
  }
  .promo-section .promo-subtitle,
  .promo-section .promo-price {
    font-size: clamp(24px, 4.5vw, 40px);
  }
}

@media (max-width: 640px) {
  .promo-section {
    padding-inline: 0;
  }
  .promo-section .section-head {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 36px;
    padding-inline: 14px;
  }
  .promo-section .section-title {
    flex: 1 1 0;
    min-width: 0;
    max-width: 270px;
    margin: 0;
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.04;
  }
  .promo-section .promo-banner {
    aspect-ratio: 440 / 212;
    background: var(--orange);
  }
  .promo-section .promo-slide-content {
    padding: clamp(28px, 6.5vw, 38px) 16px 14px 42%;
  }
  .promo-section .promo-title {
    font-size: clamp(34px, 11vw, 48px);
  }
  .promo-section .promo-subtitle,
  .promo-section .promo-price {
    font-size: clamp(19px, 6.4vw, 28px);
  }
}

/* ============ Card grids (projects / reviews) ============ */
.cards-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 312px;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  overscroll-behavior-x: contain;
}
.cards-scroll:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.cards-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.cards-scroll.is-dragging > * {
  pointer-events: none;
}
.cards-scroll::-webkit-scrollbar {
  display: none;
}
.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  width: 312px;
  height: 403px;
  scroll-snap-align: start;
  background: #222;
  transform: scale(1);
  transition: transform 240ms ease;
}
.cards-scroll img {
  user-select: none;
  -webkit-user-drag: none;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 194px;
  padding: 114px 26px 26px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (hover: hover) and (pointer: fine) {
  .projects-section .project-card:hover,
  .projects-section .project-card:focus-within {
    transform: scale(1.03);
    z-index: 1;
  }
  .projects-section .project-card figcaption {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
  }
  .projects-section .project-card:hover figcaption,
  .projects-section .project-card:focus-within figcaption,
  .projects-section .cards-scroll:focus-visible .project-card figcaption {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: none), (max-width: 640px) {
  .projects-section .project-card:hover,
  .projects-section .project-card:focus-within {
    transform: none;
  }
  .projects-section .project-card figcaption {
    opacity: 1;
    transform: none;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .projects-section .project-card:hover,
  .projects-section .project-card:focus-within {
    transform: none;
  }
}
.review-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #f4f4f4;
  width: 312px;
}
.review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.scroll-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
}
.scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  background: var(--white);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}
.scroll-arrow:hover:not([disabled]) {
  background: var(--orange);
  color: var(--white);
}
.scroll-arrow[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.scroll-arrow svg {
  display: block;
}

/* ============ Contact form ============ */
.contact-section-wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-section-wrap--home .contact-bg {
  background: linear-gradient(180deg, #e6e6e6 0%, #ffffff 100%);
  border-radius: 50px 50px 0 0;
  box-shadow: 0 -14px 36.9px -21px rgba(0, 0, 0, 0.25);
}
.contact-section {
  position: relative;
  z-index: 1;
  padding: 80px 10px 88px;
}
.contact-section .section-title {
  margin-bottom: 40px;
  font-size: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 649px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact-grid > div:first-child > .field {
  margin-bottom: 16px;
}
.contact-grid > div:last-child > .field {
  margin-bottom: 0;
}
.contact-grid > div:last-child {
  display: flex;
  flex-direction: column;
}
.field {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 18px;
  padding: 20px;
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
  outline: 0;
}
.field input {
  height: 58px;
}
.field textarea {
  min-height: 280px;
  resize: vertical;
  display: block;
}
.field label {
  position: absolute;
  left: 20px;
  top: 19px;
  font-size: 16px;
  color: var(--black);
  pointer-events: none;
  background: var(--white);
  padding: 0 4px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-26px);
  font-size: 12px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  border-width: 2px;
  padding: 19px;
}
.field input:invalid:not(:placeholder-shown),
.field input:invalid:focus,
.field textarea:invalid:not(:placeholder-shown),
.field textarea:invalid:focus {
  border-color: var(--red);
  border-width: 2px;
  padding: 19px;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--red);
  border-width: 2px;
  padding: 19px;
}
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 23px;
}
.contact-submit-row > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 200px;
}
.consent-text {
  font-size: 12px;
  color: var(--gray-text);
  margin: 0;
  max-width: 540px;
  align-self: center;
  line-height: 1.11;
}
.btn-submit {
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  border-radius: 10px;
  padding: 0 20px;
  width: 200px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.form-status[role="status"] {
  font-size: 14px;
  margin-top: 8px;
}

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  top: 75%;
  left: 80%;
  z-index: 200;
  width: min(360px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 14px 44px 14px 16px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  color: var(--black);
  font-size: 12px;
  line-height: 1.45;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  margin: 0;
}
.cookie-banner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cookie-banner-close:hover {
  background: var(--black);
  color: var(--white);
}
.cookie-banner-close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.cookie-banner-close svg {
  display: block;
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  background: #d8d8d8;
  border-radius: 50px 50px 0 0;
  box-shadow: 0 -14px 36.9px -21px rgba(0, 0, 0, 0.25);
  padding: 53px 0 0;
  margin-top: 48px;
}
.site-footer .container {
  padding: 0 54px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 449px) minmax(0, 656px);
  gap: 0;
  align-items: start;
}
.footer-logo img {
  height: 42px;
  margin: 0 0 10px;
  display: block;
}
.footer-copy {
  font-size: 14px;
  margin: 0 0 26px;
}
.footer-address {
  font-size: 14px;
  line-height: 1.6;
  font-style: normal;
  margin: 0;
}
.footer-address a {
  display: block;
  color: inherit;
}
.footer-right {
  padding-left: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  gap: 0;
  margin: 0 0 11px;
  align-items: baseline;
}
.footer-nav li{
  list-style: none;
}
.footer-nav a {
  color: var(--black);
  display: inline-block;
}
.footer-nav a:first-child {
  font-weight: 700;
  margin-right: 20px;
}
.footer-nav a:not(:first-child) {
  margin-right: 16px;
}
.footer-divider-wrap {
  position: relative;
  height: 4px;
  margin: 0 0 16px;
}
.footer-divider-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 589px;
  background: #cdcdcd;
}
.footer-divider {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 4px;
  width: 70px;
  background: var(--black);
  border: 0;
  margin: 0;
}
.footer-categories {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 24px;
}
.footer-categories li {
  margin: 0;
  padding: 0;
}
.footer-categories a,
.footer-categories span {
  color: inherit;
}
.footer-legal {
  text-align: center;
  font-size: 14px;
  margin: 80px 0 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 50px;
}
.footer-legal li{
  list-style: none;
}
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

/* ============ Breadcrumbs & page heading ============ */
.breadcrumbs {
  font-size: 16px;
  color: #939393;
  margin: 24px 0 0;
}
.breadcrumbs a {
  color: #939393;
}
.breadcrumbs a:hover {
  color: var(--black);
}
.breadcrumbs .current {
  color: var(--black);
}
.page-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 32px;
}
.page-title {
  font-weight: 900;
  font-size: clamp(32px, 6vw, 64px);
  margin: 0;
}
.page-price {
  font-weight: 900;
  font-size: clamp(28px, 5vw, 64px);
  color: var(--red);
  margin: 0;
}
.page-intro {
  font-size: 16px;
  line-height: 1.6;
  max-width: 854px;
  margin: 0 0 48px;
}
.sku {
  font-size: 16px;
  margin: 0 0 24px;
}
.main-nav a[aria-current="page"]:active,
.main-nav > a:active {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  color: #f31515;
}
.main-nav a[aria-current="page"],
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 19px;
  color: var(--red);
  font-weight: 600;
}
.main-nav .current-menu-item > a:hover,
.main-nav .current-menu-ancestor > a:hover,
.main-nav a[aria-current="page"]:hover {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

/* ============ Category grid (catalog page) ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.category-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 312/342;
  border: 1px solid transparent;
  background: #efefef;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  cursor: pointer;
}
.category-tile:hover {
  box-shadow: 0px 9px 13.7px 1px rgba(0, 0, 0, 0.25);
}
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile.empty {
  color: var(--black);
  background: var(--white);
}
.category-tile span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.18;
  padding: 24px;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.category-tile.empty::after {
  content: none;
}

/* ============ Product page ============ */
.product-panel {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.product-gallery-main {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 613/514;
  background: #eee;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.product-thumbs button {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  width: 88px;
  height: 70px;
  padding: 0;
  background: #eee;
}
.product-thumbs button.active {
  border-color: var(--black);
}
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-group {
  margin-bottom: 24px;
}
.option-group-label {
  font-size: 16px;
  margin: 0 0 10px;
}
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.option-btn {
  border: 1px solid var(--black);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
}
.option-btn.selected {
  background: var(--black);
  color: var(--white);
}

.addons-title {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
}
.addons-list {
  margin-bottom: 24px;
}
.addon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 16px;
}
.addon-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.addon-row input[type="checkbox"]:hover {
  border-color: var(--red);
}
.addon-row input[type="checkbox"]:checked,
.addon-row input[type="checkbox"]:checked:focus {
  background: var(--white) !important;
  border-color: var(--black) !important;
  box-shadow: none !important;
}
.addon-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 1px;
  background: var(--black);
}
.addon-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.addon-row input[type="checkbox"]:checked:focus-visible {
  outline-color: var(--red);
}
.addon-thumb {
  width: 56px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex: none;
}
.addon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift-note {
  font-size: 16px;
  margin: 0 0 24px;
}
.gift-note strong {
  display: block;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.qty-add-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--black);
  border-radius: 10px;
  overflow: hidden;
}
.qty-stepper button {
  background: none;
  border: 0;
  width: 36px;
  height: 34px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper input {
  width: 36px;
  border: 0;
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  text-align: center;
  font-size: 16px;
  height: 34px;
}

.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
}
.product-tabs button {
  background: none;
  border: 1px solid #b7b7b7;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 12px 24px;
  font-size: 16px;
  color: #b7b7b7;
  margin-bottom: -1px;
}
.product-tabs button.active {
  border-color: var(--black);
  color: var(--black);
  font-weight: 500;
}
.tab-panel {
  display: none;
  padding: 40px 0;
}
.tab-panel.active {
  display: block;
}
.spec-table {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 60px;
  row-gap: 14px;
  font-size: 16px;
  max-width: 700px;
}
.spec-table dt {
  color: var(--black);
}
.spec-table dd {
  margin: 0;
}

/* ============ Mega menu ============ */
.has-dropdown {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -40px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0;
  display: none;
  min-width: 760px;
  z-index: 150;
  overflow: hidden;
}
.mega-menu.open {
  display: block;
}
.mega-menu-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f1f1;
}
.mega-menu-brand {
  font-weight: 900;
  font-size: 18px;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mega-menu-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  padding: 6px 12px;
  max-width: 300px;
  background: var(--white);
}
.mega-menu-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  background: transparent;
  min-width: 0;
  padding: 0;
  color: var(--black);
}
.mega-menu-search input::placeholder {
  color: var(--gray-border);
}
.mega-menu-search button {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  color: var(--gray-text);
}
.mega-menu-search button:hover {
  color: var(--black);
}
.mega-menu-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--black);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.mega-menu-close:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.mega-menu-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 24px;
}
.mega-menu-promo {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
}
.mega-menu-promo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.mega-menu-lists {
  min-width: 0;
}
.mega-menu-links {
  columns: 2;
  column-gap: 40px;
  font-size: 18px;
  line-height: 2.2;
  margin: 0;
  padding: 0;
}
.mega-menu-links a {
  display: block;
  white-space: nowrap;
  color: var(--black);
}
.mega-menu-links a:hover {
  color: var(--orange);
}
.mega-menu-links a.current {
  font-weight: 900;
  text-decoration: underline;
}

/* ============ Category page: price filter + product grid ============ */
.filter-bar {
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 17px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-bar label {
  font-size: 16px;
  white-space: nowrap;
}
.price-range {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-range output {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.price-range-controls {
  position: relative;
  flex: 1;
  min-width: 160px;
  height: 24px;
}
.price-range-controls::before,
.price-range-controls::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
}
.price-range-controls::before {
  left: 0;
  right: 0;
  background: #d8d8d8;
}
.price-range-controls::after {
  left: var(--range-start, 0%);
  right: calc(100% - var(--range-end, 100%));
  background: var(--orange);
}
.price-range-controls input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.price-range-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}
.price-range-controls input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}
.price-range-controls input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  cursor: pointer;
  -webkit-appearance: none;
}
.price-range-controls input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  cursor: pointer;
}
.price-range-controls input[type="range"]#priceMinRange {
  z-index: 2;
}
.price-range-controls input[type="range"]#priceMaxRange {
  z-index: 1;
}
.price-range.max-active .price-range-controls input[type="range"]#priceMaxRange,
.price-range.min-active
  .price-range-controls
  input[type="range"]#priceMinRange {
  z-index: 3;
}
.price-range-controls input[type="range"]:focus-visible {
  z-index: 4 !important;
}

@media (max-width: 640px) {
  .price-range {
    width: 100%;
  }
  .price-range-controls {
    min-width: 0;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.product-tile {
  position: relative;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 16px;
  text-align: center;
  cursor: pointer;
}
.product-tile:hover {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid #aaa6a6;
  box-shadow: 0px 9px 13px 1px rgba(0, 0, 0, 0.25);
}
.product-tile-media {
  aspect-ratio: 312/240;
  overflow: hidden;
  background: #efefef;
}
.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 16px;
  border-radius: 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  z-index: 1;
}
.product-badge.new {
  background: var(--orange);
}
.product-badge.sale {
  background: var(--red);
}
.product-tile h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 6px;
}
.product-tile .product-tile-desc {
  font-size: 16px;
  color: #a6a6a6;
  margin: 0 0 8px;
}
.product-tile .product-tile-price {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}
.product-tile .product-tile-price .old {
  color: #767676;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 20px;
  margin-left: 8px;
}
.product-tile .product-tile-price.sale-price {
  color: var(--red);
}
.load-more-wrap {
  text-align: center;
  margin-bottom: 80px;
}

/* ============ Article / about content pages ============ */
.article-hero {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1319/370;
  margin-bottom: 48px;
  background: #eee;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.delivery-intro {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.delivery-copy.article-body {
  max-width: none;
  margin: 0;
}
.article-hero.delivery-photo {
  aspect-ratio: 424/521;
  margin: 0;
}
.article-body {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 60px;
}
.article-body p {
  margin: 0 0 16px;
}
.article-body h2 {
  font-weight: 700;
  font-size: 28px;
  margin: 32px 0 12px;
  line-height: 1.25;
}
.article-body h3 {
  font-weight: 700;
  font-size: 22px;
  margin: 28px 0 10px;
  line-height: 1.3;
}
.article-body ul {
  margin: 0 0 16px;
  padding-left: 24px;
  list-style: disc;
}
.article-body li {
  margin-bottom: 4px;
}
.article-body .lead {
  color: #7f7f7f;
  font-style: italic;
}

/* ============ Article layout with ACF inline figures ============ */
.article-body__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
  margin: 0;
}
.article-body--no-right .article-body__layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.article-body--no-right .article-body__aside {
  display: none;
}
.article-body__content {
  min-width: 0;
}
.article-body__aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: sticky;
  top: 24px;
}
.article-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
  display: block;
}
.article-figure__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-figure--left {
  aspect-ratio: 4 / 3;
}
.article-figure--right {
  aspect-ratio: 4 / 5;
}
.article-figure__caption {
  font-size: 14px;
  line-height: 1.4;
  color: #7f7f7f;
  padding: 10px 4px 0;
}

@media (max-width: 1024px) {
  .article-body__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-body__aside {
    position: static;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .article-body__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-body__aside {
    max-width: none;
    margin: 0;
  }
}

/* ============ About page layout ============ */
.page-about > .article-hero {
  aspect-ratio: 1319/370;
}
.page-about-text-row {
 display: flex;
    justify-content: space-between;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.page-about-copy.article-body {
  max-width: none;
  margin: 0;
}
.page-about-circle {
  width: min(100%, 512px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border-radius: 50%;
  background: #eee;
}
.page-about-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-about-production-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 32px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.article-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 312/255;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  background: #333;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.article-card > a {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  color: inherit;
  cursor: pointer;
}
.article-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  transition: background 0.22s ease;
  pointer-events: none;
}
.article-card:hover,
.article-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}
.article-card:hover img,
.article-card:focus-within img {
  transform: scale(1.06);
  filter: brightness(0.78);
}
.article-card:hover::after,
.article-card:focus-within::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(242, 97, 13, 0.08));
}
.article-card span {
  position: relative;
  z-index: 2;
  padding: 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  transition: transform 0.22s ease, color 0.22s ease;
}
.article-card:hover span,
.article-card:focus-within span {
  transform: translateY(-2px);
  color: #fff;
}
.article-card > a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}

.production-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.production-gallery-item {
  aspect-ratio: 312/217;
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
}
.production-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Request modal + thank-you modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.5);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  z-index: 300;
  overflow-y: auto;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--white);
  border-radius: 50px;
  padding: 48px;
  max-width: 780px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 24.5px 6px rgba(0, 0, 0, 0.15);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.modal-close:hover {
  background: #f2f2f2;
}
.modal-logo {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}
.modal-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.modal-title {
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  text-align: center;
  margin: 0 0 32px;
}
.modal-thanks {
  text-align: center;
  padding: 60px 20px;
}
.modal-thanks h2 {
  font-weight: 900;
  font-size: clamp(32px, 6vw, 64px);
  margin: 0 0 20px;
}
.modal-thanks p {
  font-size: 16px;
  margin: 0;
}

/* Request form geometry shared by desktop and mobile mockups. */
#requestModal.modal-overlay {
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(25px, 2.7vh, 48px) clamp(16px, 4.2vw, 60px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#requestModal .modal-box {
  width: min(100%, 780px);
  max-width: none;
  min-height: clamp(819px, 94.6vh, 875px);
  margin: auto;
  border-radius: clamp(24px, 3.5vw, 50px);
  padding: clamp(68px, 8.55vh, 79px) clamp(22px, 4.55vw, 65px) 24px;
}
#requestModal .modal-close {
  position: fixed;
  top: clamp(16px, 3.9vh, 36px);
  right: clamp(16px, 4.2vw, 60px);
  width: clamp(33px, 2.8vw, 40px);
  height: clamp(33px, 2.8vw, 40px);
  font-size: clamp(24px, 2vw, 30px);
}
#requestModal .modal-title {
  font-size: clamp(32px, 3.35vw, 48px);
  line-height: 1.04;
  text-align: center;
  margin: 0 0 clamp(21px, 5.2vh, 48px);
}
#requestModal .field {
  padding-bottom: 0;
  margin: 0 0 23px;
}
#requestModal .field input {
  height: 58px;
}
#requestModal .field textarea {
  min-height: 225px;
  height: 225px;
}
#requestModal .consent-text {
  max-width: 536px;
  margin: -6px auto 0;
  line-height: 1.33;
  text-align: center;
}
#requestModal .btn-red {
  width: min(100%, 200px);
  height: 34px;
  margin-top: clamp(23px, 4vh, 37px);
  padding: 0 20px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
#requestModal .btn-red:hover {
  background: #d6341f;
}
#requestModal .form-status:empty {
  display: none;
}

.modal-box--thanks {
  max-width: 440px;
  border-radius: 24px;
  padding: 48px 36px;
}

/* ============ Compact desktop header ============ */
@media (min-width: 861px) and (max-width: 1280px) {
  .header-bar {
    gap: 16px;
  }
  .main-nav,
  .main-nav .primary-menu,
  .main-nav .sub-menu {
    gap: 16px;
  }
  .header-right {
    gap: 14px;
  }
  .search-form {
    flex-basis: 200px;
  }
}

@media (min-width: 862px) and (max-width: 912px) {
  .main-nav a {
    font-size: 10px;
  }
  .main-nav .primary-menu > li.has-dropdown > .mega-menu {
    left: -40px;
    width: 300px;
}
.mega-menu-links {
        columns: 2;
    }
}

@media (min-width: 913px) and (max-width: 1000px) {
  .main-nav a {
    font-size: 12px;
  }
    .main-nav .primary-menu > li.has-dropdown > .mega-menu {
    left: -40px;
    width: 300px;
}
.mega-menu-links {
        columns: 2;
    }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .header-phone {
    display: none;
  }
  .search-form {
    flex-basis: 180px;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .about {
    grid-template-columns: 1fr;
    padding: 40px;
    border-radius: 30px;
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section-wrap--home .contact-bg {
    border-radius: 30px 30px 0 0;
  }
  .contact-submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .contact-submit-row > div {
    flex: 0 0 auto;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-divider-wrap::before {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-panel {
    grid-template-columns: 1fr;
    border-radius: 30px;
    padding: 24px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about-text-row {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 32px;
  }
  .page-about-circle {
    justify-self: end;
  }
  .delivery-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 32px;
  }
  .production-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-menu {
    min-width: auto;
    left: 0;
    right: 0;
  }
  .mega-menu-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .mega-menu-promo {
    max-width: 240px;
    margin: 0 auto;
  }
  .mega-menu-links {
    columns: 1;
  }
  .footer-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .modal-box {
    padding: 32px 24px;
    border-radius: 30px;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .product-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .spec-table {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .spec-table dd {
    margin-bottom: 10px;
    color: #666;
  }
  .page-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-about-text-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-about-circle {
    width: min(100%, 360px);
    justify-self: center;
  }
  .delivery-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .delivery-intro .delivery-photo {
    width: min(100%, 360px);
    justify-self: center;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .production-gallery {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-section-wrap--home .contact-bg {
    border-radius: 20px 20px 0 0;
  }
  .contact-section {
    padding: 48px 0 56px;
  }
  .contact-section .section-title {
    font-size: 32px;
    margin-bottom: 24px;
  }
}

@media (max-width: 860px) {
  .main-nav > .search-form {
    width: 100%;
    flex: 0 0 auto;
    order: 0;
    margin-bottom: 8px;
  }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(100vw, 420px);
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 200;
    width:100vw;
  }
  .main-nav.open {
    transform: translateX(0);
    padding: 60px 24px;
  }
  .main-nav .primary-menu,
  .main-nav .sub-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .main-nav .primary-menu {
    align-items: flex-start;
  }
  .main-nav > .has-dropdown,
  .main-nav > .primary-menu,
  .main-nav > .primary-menu > li,
  .main-nav > .primary-menu > li > .has-dropdown {
    flex-shrink: 0;
  }
  .main-nav .primary-menu > li,
  .main-nav .sub-menu > li,
  .main-nav > .has-dropdown {
    width: 100%;
  }
  .main-nav .has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .main-nav .primary-menu > li.has-dropdown {
    display: flex;
    align-items: flex-start;
  }
  .main-nav .primary-menu > li.has-dropdown > a {
    width: auto;
  }
  .main-nav .primary-menu .sub-menu {
    position: static;
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    align-items: stretch;
    gap: 24px;
  }
  .main-nav .primary-menu .sub-menu li + li {
    margin-top: 0;
  }
  .main-nav .mega-menu,
  .main-nav .primary-menu > li > .mega-menu,
  .main-nav > .has-dropdown > .mega-menu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
  }
  .main-nav .mega-menu-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .main-nav .mega-menu-promo {
    display: none;
  }
  .main-nav .mega-menu-links {
    columns: 1;
    line-height: 1.6;
    font-size: 14px;
    padding-left: 20px;
  }
  .header-right {
    margin-left: 0;
  }
  .header-phone {
    display: none;
  }
  .btn-black.header-cta-text {
    display: inline-flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    border-radius: 0 0 30px 30px;
  }
  .footer-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-header {
    padding: 8px 0;
  }
  .header-bar {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 12px;
    box-shadow: none;
  }
  .header-bar > .logo {
    min-width: 0;
    margin-right: auto;
    position:relative;
    z-index:999;
  }
  .header-bar > .logo img {
    height: 28px;
    width: auto;
  }
  .header-right {
    gap: 8px;
  }
  .btn-black.header-cta-text {
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 10px;
  }
  .header-cart-wrap {
    order: 2;
  }
  .header-cart {
    width: 28px;
    height: 28px;
  }
  .mini-cart {
    display: none !important;
  }
  .header-cta-text {
    order: 1;
  }
  .nav-toggle {
    order: 3;
  }
  .header-cart-icon {
    width: 20px;
    height: auto;
  }
  .cart-count {
    top: -5px;
    right: -6px;
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
  .nav-toggle {
    width: 25px;
    height: 21px;
  }
  .main-nav > .search-form {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: 42px;
    padding: 6px 12px;
    margin-bottom: 8px;
  }
  .main-nav > .search-form input {
    min-width: 0;
    font-size: 14px;
  }
  .cookie-banner {
    top: 12px;
    width: calc(100vw - 24px);
    padding: 12px 40px 12px 14px;
    font-size: 11.5px;
  }
  .cookie-banner-close {
    top: 6px;
    right: 6px;
  }
}

/* ============ Tablet header ============ */
@media (min-width: 641px) and (max-width: 860px) {

.site-header{
    background: #fff;
    padding: 0;
    border-radius: 0 0 15px 15px;
   box-shadow: 0 0 5.5px rgba(0, 0, 0, 0.25);
  }
.header-bar{
  box-shadow:none;
}
      .main-nav.open {

        margin-top: 0px;
        width: 100vw;
    }
  .header-bar {
    gap: 12px;
    padding: 8px 12px;
    min-height: 52px;
    background: var(--white);
    position: relative;
    z-index: 999;
  }
  .logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
  }
  .logo img {
    height: 32px;
    width: auto;
  }
  .search-form {
    flex: 1 1 auto;
    width: auto;
    min-width: 120px;
    max-width: 220px;
    height: 30px;
    padding: 4px 10px;
    background: var(--white);
  }
  .search-form input {
    min-width: 0;
    font-size: 11px;
  }
  .header-right {
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
  }
  .header-phone {
    display: none;
  }
  .btn-black.header-cta-text {
    display: inline-flex;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 11px;
  }
  .header-cart {
    width: 28px;
    height: 28px;
    align-items: center;
  }
  .header-cart-icon {
    width: 20px;
    height: auto;
  }
  .cart-count {
    top: -5px;
    right: -6px;
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
  .nav-toggle {
    display: flex;
    width: 26px;
    height: 22px;
    padding: 0;
  }
}

/* ============ Mobile polish (hero / about / advantages) ============ */
@media (max-width: 640px) {
  /* Hero */
  .hero {
    height: 560px;
    margin-top: -68px;
    padding-top: 68px;
  }
  .hero-inner {
    padding: clamp(40px, 12.8vw, 48px) 20px 0;
    align-items: center;
    text-align: center;
  
  }
  .hero-title {
    font-size: clamp(52px, 17.1vw, 64px);
    line-height: 0.95;
    max-width: 100%;
  }
  .hero-title.small {
    font-size: clamp(36px, 11.75vw, 44px);
    line-height: 0.95;
    max-width: 100%;
    margin-top: -4px;
  }
  .hero-tagline {
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.25;
    margin-top: 18px;
    max-width: 280px;
  }
  .hero-tagline.small {
    font-size: clamp(13px, 3.73vw, 14px);
    margin-top: 8px;
    max-width: 220px;
  }
  .hero-actions {
    flex-direction: row;
    gap: 12px;
    margin-top: 22px;
    align-items: center;
    justify-content: center;
  }
  .hero-cta {
    width: 168px;
    height: 48px;
    font-size: 18px;
    border-radius: 10px;
  }
  .hero-arrow {
    width: 48px;
    height: 48px;
  }

  /* About */
  .about-bg {
    height: 104%;
  }
  .about-grid {
    padding-top: 32px;
    padding-bottom: 0;
  }
  .about-grid .section-title {
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 100%;
  }
  .about-text {
    max-width: 100%;
  }
  .about-text p {
    font-size: 15px;
    line-height: 1.55;
    margin: 12px 0 0;
  }
  .about-cta {
    margin: 24px auto 0;
    width: 100%;
    max-width: 240px;
    height: 40px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-media {
    display: none;
  }
  .about-media1 {
    display: none;
  }
  .site-header{
    background: #fff;
    padding: 0;
    border-radius: 0 0 15px 15px;
   box-shadow: 0 0 5.5px rgba(0, 0, 0, 0.25);
  }
  .header-nav{
        border-radius: 0;
    box-shadow: none;
  }
    /* .container{
    padding:0px;
  } */
  /* Advantages */
  .advantages-section {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .advantages-section .section-title {
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 28px;
    text-align: center;
  }
  .advantages-grid {
    gap: 12px;
  }
  .advantage-card {
    height: 168px;
    padding: 20px 14px;
    border-radius: 14px;
  }
  .advantage-card img {
    height: 56px;
    margin: 0 auto 12px;
  }
  .advantage-card p {
    font-size: 14px;
    line-height: 1.2;
    max-width: 100%;
  }
}

/* ============ Mobile polish (promo / projects / reviews) ============ */
@media (max-width: 640px) {
  /* Promo is already correctly composed; tighten only its controls/spacing. */
  .promo-section {
    padding-bottom: 0;
  }
  .promo-section .scroll-arrows {
    gap: 8px;
  }
  .promo-section .scroll-arrow {
    width: 32px;
    height: 32px;
  }

  /* Projects and reviews share the same mobile carousel geometry. */
  .projects-section,
  .reviews-section {
    padding: 16px 12px 24px;
  }
  .projects-section .section-head,
  .reviews-section .section-head {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .projects-section .section-title,
  .reviews-section .section-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 210px;
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
  }
  .projects-section .scroll-arrows,
  .reviews-section .scroll-arrows {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 8px;
  }
  .projects-section .scroll-arrow,
  .reviews-section .scroll-arrow {
    width: 32px;
    height: 32px;
    border: 0;
    color: var(--white);
    background: var(--orange);
    opacity: 1;
  }
  .projects-section .scroll-arrow[disabled],
  .reviews-section .scroll-arrow[disabled] {
    background: #d8d8d8;
    color: var(--white);
    opacity: 1;
  }
  .projects-section .scroll-arrow:hover:not([disabled]),
  .reviews-section .scroll-arrow:hover:not([disabled]) {
    background: var(--red);
  }

  /* Two full cards plus a 12px gutter; the lane itself remains scrollable. */
  .projects-section .cards-scroll,
  .reviews-section .cards-scroll {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
    padding-bottom: 8px;
    scroll-padding-inline-start: 0;
  }
  .projects-section .project-card {
    width: 100%;
    height: auto;
    aspect-ratio: 312 / 403;
    margin: 0;
    border-radius: 14px;
  }
  .projects-section .project-card figcaption {
    height: 88px;
    padding: 40px 10px 10px;
    font-size: 11px;
    line-height: 1.2;
  }
  .reviews-section .review-card {
    width: 100%;
    height: auto !important;
    border-radius: 14px;
  }
}

/* ============ Mobile footer polish ============ */
@media (max-width: 640px) {
  .site-footer {
    /* width: min(calc(100% - 32px), 358px); */
    margin: 24px auto 0;
    padding: 0;
    border-radius: 28px 28px 0 0;
  }
  .site-footer > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding: 32px 14px 28px;
  }
  .site-footer .footer-top {
    display: contents;
  }
  .site-footer .footer-right {
        display: flex;
        /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
        justify-content: start;
        column-gap: 12px;
        row-gap: 8px;
        padding: 0;
        order: 1;
        flex-direction: column-reverse;
  }
  .site-footer .footer-nav {
        display: flex;
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
        column-gap: 10px;
  }
  .site-footer .footer-nav > a:first-child,
  .site-footer .footer-nav > ul > li:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
    margin: 0 0 4px;
  }
  .site-footer .footer-nav > a:first-child,
  .site-footer .footer-nav > ul > li:first-child > a {
    display: block;
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
  }
  .site-footer .footer-nav > a:not(:first-child),
  .site-footer .footer-nav > ul > li:not(:first-child) {
    grid-row: 4;
    min-width: 0;
    margin: 0;
  }
  .site-footer .footer-nav > a:not(:first-child),
  .site-footer .footer-nav > ul > li:not(:first-child) > a {
    display: block;
    color: var(--black);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
  }
  .site-footer .footer-nav > ul > li,
  .site-footer .footer-nav > li {
    list-style: none;
  }
  .site-footer .footer-nav > li > a,
  .site-footer .footer-nav > li:first-child > a {
    display: block;
    color: var(--black);
    line-height: 1.4;
    margin: 0;
  }
  .site-footer .footer-nav > li:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
    margin: 0 0 4px;
  }
  .site-footer .footer-nav > li:first-child > a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
  }
  .site-footer .footer-nav > li:not(:first-child) {
    grid-row: 4;
    min-width: 0;
    margin: 0;
  }
  .site-footer .footer-nav > li:not(:first-child) > a {
    font-size: 14px;
    white-space: nowrap;
  }
  .site-footer .footer-legal > li {
    list-style: none;
  }
  .site-footer .footer-legal > ul > li,
  .site-footer .footer-legal > li {
    list-style: none;
  }
  .site-footer .footer-divider-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 3px;
    margin: 0;
  }
  .site-footer .footer-divider-wrap::before {
    display: block;
    width: 100%;
    background: #7c7c7c;
  }
  .site-footer .footer-divider {
    z-index: 1;
    width: 56px;
    height: 3px;
  }
  .site-footer .footer-categories {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 16px;
    row-gap: 4px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
  }
  .site-footer .footer-categories li {
    flex: 0 0 auto;
  }
  .site-footer .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    column-gap: 24px;
    row-gap: 4px;
    order: 2;
    margin: 24px 0;
    padding: 0;
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
  }
  .site-footer .footer-legal > ul {
    display: contents;
  }
  .site-footer .footer-legal a,
  .site-footer .footer-legal li {
    margin: 0;
    padding: 0;
    color: var(--black);
    list-style: none;
  }
  .site-footer .footer-left {
    order: 3;
    margin-top: 8px;
  }
  .site-footer .footer-logo {
    margin: 0 0 12px;
  }
  .site-footer .footer-logo img {
    width: auto;
    height: 32px;
    margin: 0;
  }
  .site-footer .footer-copy {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.4;
  }
  .site-footer .footer-address {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }
  .site-footer .footer-address a {
    display: block;
    color: inherit;
  }
  .site-footer .footer-credit {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.4;
  }
  .site-footer .footer-vk {
    display: none;
  }
}

@media (max-width: 360px) {
  .site-footer .footer-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer .footer-nav > a:not(:first-child),
  .site-footer .footer-nav > ul > li:not(:first-child) > a {
    font-size: 13px;
  }
}

/* ============ Mobile polish (contact --home) ============ */
@media (max-width: 640px) {
  .contact-section-wrap--home .contact-bg {
    border-radius: 24px 24px 0 0;
  }
  .contact-section.contact-section--home {
    padding: 36px 20px 40px;
  }
  .contact-section.contact-section--home .section-title {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.1;
    margin: 0 0 20px;
  }
  .contact-section.contact-section--home .contact-grid {
    gap: 12px;
  }
  .contact-section.contact-section--home .contact-grid > div:first-child > .field {
    margin-bottom: 8px;
  }
  .contact-section.contact-section--home .field {
    padding-bottom: 6px;
  }
  .contact-section.contact-section--home .field input,
  .contact-section.contact-section--home .field textarea {
    padding: 16px;
    border-radius: 14px;
  }
  .contact-section.contact-section--home .field input {
    height: 52px;
    font-size: 16px;
  }
  .contact-section.contact-section--home .field textarea {
    min-height: 140px;
    font-size: 16px;
  }
  .contact-section.contact-section--home .field label {
    left: 16px;
    top: 16px;
    font-size: 14px;
  }
  .contact-section.contact-section--home .field input:focus,
  .contact-section.contact-section--home .field textarea:focus,
  .contact-section.contact-section--home .field input:invalid:not(:placeholder-shown),
  .contact-section.contact-section--home .field input:invalid:focus,
  .contact-section.contact-section--home .field textarea:invalid:not(:placeholder-shown),
  .contact-section.contact-section--home .field textarea:invalid:focus {
    padding: 15px;
  }
  .contact-section.contact-section--home .field input:focus + label,
  .contact-section.contact-section--home .field input:not(:placeholder-shown) + label,
  .contact-section.contact-section--home .field textarea:focus + label,
  .contact-section.contact-section--home .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-22px);
    font-size: 12px;
  }
  .contact-section.contact-section--home .contact-submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }
  .contact-section.contact-section--home .contact-submit-row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-basis: 100%;
  }
  .contact-section.contact-section--home .btn-submit {
    width: 100%;
    max-width: 240px;
    height: 40px;
    font-size: 15px;
    border-radius: 10px;
  }
  .contact-section.contact-section--home .form-status[role="status"] {
    text-align: center;
    margin: 0;
  }
  .contact-section.contact-section--home .consent-text {
    text-align: center;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    align-self: stretch;
  }
}

@media (max-width: 390px) {
  .contact-section-wrap--home .contact-bg {
    border-radius: 24px 24px 0 0;
  }
  .contact-section.contact-section--home .field textarea {
    min-height: 120px;
  }
}
