/* =========================================================
   IF-TROPHY — дизайн-система: Неоновий енергайзер
   Світла, яскрава спортивна палітра — без темних секцій.
   ========================================================= */

:root {
  /* --- яскраві акценти --- */
  --c1: #ff2d78;
  --c1-dark: #d61760;
  --c1-light: #ff7aa8;
  --c2: #00c2cb;
  --c2-dark: #009da5;
  --c2-light: #5fe1e6;
  --c3: #c6f000;
  --c3-dark: #93c400;
  --c3-light: #e3fb70;

  /* --- база: усе світле --- */
  --paper: #ffffff;
  --paper-alt: #faf5ff;
  --white: #ffffff;

  /* --- текст --- */
  --text: #1c1d24;
  --text-light: #6b6f7a;
  --text-on-dark: #ffffff;
  --text-on-dark-light: rgba(255, 255, 255, 0.82);

  /* --- сумісність зі старими шаблонами --- */
  --primary: var(--c1);
  --primary-dark: var(--c1-dark);
  --primary-light: var(--c1-light);
  --bg: var(--paper);
  --border: #e7e9ef;
  --success: #2f8a5b;
  --error: #d6304a;

  --shadow-sm: 0 4px 16px rgba(20, 20, 30, 0.06);
  --shadow-md: 0 14px 36px rgba(20, 20, 30, 0.10);
  --shadow-lg: 0 26px 60px rgba(20, 20, 30, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --transition: all 0.25s ease;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-main: var(--font-body);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 70px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 0;
  letter-spacing: 0.01em;
}

h1 { font-weight: 700; text-transform: uppercase; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

p { margin-top: 0; color: var(--text-light); }

a { color: var(--c1-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--c1); }

img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--c3-light); color: var(--c1-dark); }

/* =========================================================
   HEADER
   ========================================================= */

header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto 25px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--border);
}

header .logo {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
header .logo::after { content: "."; color: var(--c1); }

nav { display: flex; align-items: center; gap: 8px; }
nav a { margin: 0; padding: 10px 15px; border-radius: 10px; color: var(--text-light); font-size: 0.92rem; font-weight: 600; }
nav a:hover { color: var(--text); background: color-mix(in srgb, var(--c1) 10%, white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(20, 20, 30, 0.05);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 1200px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header .logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-header .logo img { display: block; width: auto; height: 50px; object-fit: contain; }

.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { padding: 0; border-radius: 0; color: var(--text); font-weight: 600; position: relative; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--c1); transition: right 0.25s ease;
}
.site-header nav a:hover { color: var(--text); background: none; }
.site-header nav a:hover::after { right: 0; }

@media (max-width: 700px) {
  .site-header__inner { min-height: 68px; padding: 0 16px; gap: 12px; }
  .site-header .logo img { height: 40px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 13px; }
}

/* =========================================================
   КНОПКИ
   ========================================================= */

.btn, button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px; border: 0; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em;
  text-transform: uppercase; font-size: 0.92rem; cursor: pointer; transition: var(--transition);
}

.btn--primary, button[type="submit"] {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--c1) 40%, transparent);
}
.btn--primary::after, button[type="submit"]::after {
  content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.22);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.btn--primary:hover::after, button[type="submit"]:hover::after { transform: scaleX(1); }
.btn--primary:hover, button[type="submit"]:hover {
  color: #ffffff; transform: translateY(-3px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--c1) 48%, transparent);
}

.btn--ghost {
  color: var(--text); background: var(--paper-alt); border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); background: var(--white); transform: translateY(-3px); }

.btn--light {
  color: var(--c2-dark); background: var(--white); border: 2px solid var(--c2);
}
.btn--light:hover {
  color: #ffffff; background: var(--c2); border-color: var(--c2); transform: translateY(-3px);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 540px;
  margin: 20px 0 90px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--c1) 20%, white), transparent 50%),
    radial-gradient(circle at 6% 95%, color-mix(in srgb, var(--c2) 18%, white), transparent 48%),
    linear-gradient(160deg, var(--paper-alt) 0%, var(--white) 65%);
  box-shadow: var(--shadow-lg);
}

.hero__bg, .hero__image { position: absolute; inset: 0; }
.hero__image img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.92;
  transform: scale(1.01); transition: transform 1s ease;
}
.hero:hover .hero__image img { transform: scale(1.05); }
.hero__overlay, .hero__image::after { content: ""; position: absolute; inset: 0; }
.hero__image::after {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.92) 5%, rgba(255, 255, 255, 0.5) 42%, rgba(255, 255, 255, 0.08) 72%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
}

.hero__content { position: relative; z-index: 2; width: 100%; max-width: 720px; padding: 55px 48px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; margin-bottom: 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c1) 12%, white);
  border: 1px solid color-mix(in srgb, var(--c1) 35%, white);
  color: var(--c1-dark);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero__badge span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--c1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, white);
}

.hero__title {
  max-width: 680px; margin-bottom: 20px; color: var(--text);
  font-family: var(--font-display); font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1.05; text-transform: uppercase;
}
.hero__title span {
  font-weight: 700;
  background: linear-gradient(100deg, var(--c1), var(--c3-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__subtitle { max-width: 560px; margin-bottom: 32px; color: var(--text-light); font-size: 1.1rem; line-height: 1.7; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__mini-info { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); }
.hero__mini-info > div { display: flex; flex-direction: column; gap: 3px; }
.hero__mini-info strong {
  color: var(--c1-dark); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.hero__mini-info span { color: var(--text-light); font-size: 0.82rem; font-weight: 500; }

/* =========================================================
   SECTION / SECTION-HEADING
   ========================================================= */

.section { margin: 90px 0; }
.section__title { margin-bottom: 10px; color: var(--text); font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; }
.section__title::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 13px; border-radius: 10px; background: var(--c1); }
.section__lead { max-width: 700px; margin-bottom: 30px; color: var(--text-light); font-size: 1rem; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-heading__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--c2-dark);
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.section-heading__eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--c1); }
.section-heading .section__title { margin-bottom: 0; }
.section-heading__link { padding-bottom: 4px; color: var(--text); font-weight: 700; font-size: 0.94rem; border-bottom: 2px solid var(--c1); white-space: nowrap; }
.section-heading__link:hover { color: var(--c1-dark); }

/* portfolio heading used to sit on a dark panel — now the page is all light, so this stays identical to the default heading */
.section-heading--light .section-heading__eyebrow { color: var(--c2-dark); }
.section-heading--light .section-heading__eyebrow::before { background: var(--c1); }
.section-heading--light .section__title { color: var(--text); }
.section-heading--light .section__lead, .portfolio-section .section__lead { color: var(--text-light); }

/* =========================================================
   КАТЕГОРІЇ
   ========================================================= */

.categories-section { padding-top: 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; }

.cat-card {
  position: relative; min-height: 210px; padding: 22px; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--c2), var(--c2-dark));
  box-shadow: var(--shadow-sm); color: #ffffff; text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card__gradient { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 15, 20, 0.85) 0%, rgba(15, 15, 20, 0.1) 60%, rgba(15, 15, 20, 0.3) 100%); }
.cat-card__content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.cat-card__icon { font-size: 1.9rem; line-height: 1; }
.cat-card h3 { margin: 0; color: #ffffff; font-size: 1.02rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.cat-card__arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  color: #ffffff; font-size: 0.95rem; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.cat-card:hover .cat-card__arrow { background: #ffffff; color: var(--c1-dark); transform: translate(2px, -2px); }

.cat-card--1::before, .cat-card--2::before, .cat-card--3::before,
.cat-card--4::before, .cat-card--5::before, .cat-card--6::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 4px;
}
.cat-card--1::before { background: var(--c1); }
.cat-card--2::before { background: var(--c3); }
.cat-card--3::before { background: var(--c2-light); }
.cat-card--4::before { background: var(--c1-light); }
.cat-card--5::before { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.cat-card--6::before { background: linear-gradient(90deg, var(--c3), var(--c1)); }

.cat-card:not(:has(img)) { background: linear-gradient(150deg, var(--c2), var(--c2-dark)); }

/* =========================================================
   ПОРТФОЛІО
   ========================================================= */

.portfolio-section {
  margin: 90px 0; padding: 70px 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c2) 10%, white) 0%, color-mix(in srgb, var(--c1) 7%, white) 100%);
  box-shadow: var(--shadow-md);
}
.portfolio-section__inner { margin: 0 auto; }
.portfolio-swiper { width: 100%; padding: 10px 5px 60px; overflow: hidden; }
.portfolio-swiper .swiper-slide { height: auto; }

.portfolio-card {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-md);
  border: 2px solid color-mix(in srgb, var(--c2) 22%, white);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.portfolio-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c1); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.swiper-slide:nth-child(even) .portfolio-card::before { background: var(--c2); }
.swiper-slide:nth-child(even) .portfolio-card { border-color: color-mix(in srgb, var(--c1) 22%, white); }
.swiper-slide:nth-child(3n) .portfolio-card::before { background: var(--c3-dark); }

.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(20, 20, 30, 0.18); }
.portfolio-card:hover, .swiper-slide:nth-child(even) .portfolio-card:hover {
  border-color: color-mix(in srgb, var(--c2) 50%, white);
}
.swiper-slide:nth-child(odd) .portfolio-card:hover { border-color: color-mix(in srgb, var(--c1) 50%, white); }
.portfolio-card:hover::before { transform: scaleX(1); }
.portfolio-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 15, 20, 0.82), transparent 55%); }
.portfolio-card__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px 22px 22px; }
.portfolio-card__content span {
  display: inline-block; margin-bottom: 6px; color: var(--c2-light); font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.portfolio-card__content h3 { margin: 0; color: #ffffff; font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.portfolio-card__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px;
  background: linear-gradient(150deg, var(--c2), var(--c2-dark));
  color: #ffffff; text-align: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-transform: uppercase;
}
.portfolio-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -14px; }
.portfolio-arrow, .portfolio-swiper .swiper-button-prev, .portfolio-swiper .swiper-button-next {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  border: 1px solid color-mix(in srgb, var(--c2) 30%, white);
  color: var(--text); font-size: 1rem; cursor: pointer; transition: var(--transition);
}
.portfolio-arrow:hover, .portfolio-swiper .swiper-button-prev:hover, .portfolio-swiper .swiper-button-next:hover {
  background: var(--c2); border-color: var(--c2); color: #ffffff;
}
.portfolio-swiper .swiper-pagination-bullet { background: color-mix(in srgb, var(--c2) 30%, white); opacity: 1; }
.portfolio-swiper .swiper-pagination-bullet-active { width: 22px; border-radius: 10px; background: var(--c1); }

/* =========================================================
   ПРО НАС
   ========================================================= */

.about-section { padding-top: 10px; }
.about {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 45px; align-items: center;
  padding: 48px; overflow: hidden; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.about::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -140px; top: -140px; border-radius: 50%;
  background: color-mix(in srgb, var(--c3) 25%, white);
}
.about__content, .about__text, .about__stats { position: relative; z-index: 1; }
.about__content h2, .about__text h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 18px; text-transform: uppercase; }
.about__content h2 span, .about__text h2 span { font-weight: 700; color: var(--c1); }
.about__content p, .about__text p { max-width: 620px; margin-bottom: 14px; line-height: 1.8; }
.about__link { display: inline-block; margin-top: 10px; color: var(--text); font-weight: 700; border-bottom: 2px solid var(--c1); padding-bottom: 3px; }
.about__link:hover { color: var(--c1-dark); }

.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.stat, .about-stat { padding: 25px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper); text-align: center; }
.stat__num, .about-stat strong {
  display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.stat__label, .about-stat span { display: block; margin-top: 9px; color: var(--text-light); font-size: 0.8rem; font-weight: 600; }

.about-stat--teal strong { color: var(--c1-dark); }
.about-stat--purple strong { color: var(--c2-dark); }
.about-stat--yellow strong { color: var(--c3-dark); }
.about-stat--pink strong { color: var(--c1); }

.about-stat--teal { background: color-mix(in srgb, var(--c1) 10%, white); border-color: color-mix(in srgb, var(--c1) 25%, white); }
.about-stat--purple { background: color-mix(in srgb, var(--c2) 10%, white); border-color: color-mix(in srgb, var(--c2) 25%, white); }
.about-stat--yellow { background: color-mix(in srgb, var(--c3) 16%, white); border-color: color-mix(in srgb, var(--c3) 30%, white); }
.about-stat--pink { background: color-mix(in srgb, var(--c1) 16%, white); border-color: color-mix(in srgb, var(--c1) 30%, white); }

/* =========================================================
   ПЕРЕВАГИ
   ========================================================= */

.advantages-section { padding-top: 10px; }
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.adv-card {
  position: relative; min-height: 220px; padding: 26px 22px; border: 1px solid var(--border);
  border-top: 3px solid var(--c1); border-radius: var(--radius-md); background: var(--white);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.adv-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.adv-card__number { margin-bottom: 14px; color: var(--border); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.adv-card__icon { display: block; margin-bottom: 15px; font-size: 1.9rem; }
.adv-card h3 { margin-bottom: 10px; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
.adv-card p { margin: 0; font-size: 0.88rem; line-height: 1.65; }

.adv-card--teal { border-top-color: var(--c1); }
.adv-card--yellow { border-top-color: var(--c3-dark); }
.adv-card--purple { border-top-color: var(--c2); }
.adv-card--pink { border-top-color: var(--c1-light); }
.adv-card--blue { border-top-color: var(--c2-dark); }

.adv-card--teal .adv-card__icon { color: var(--c1); }
.adv-card--yellow .adv-card__icon { color: var(--c3-dark); }
.adv-card--purple .adv-card__icon { color: var(--c2); }
.adv-card--pink .adv-card__icon { color: var(--c1-light); }
.adv-card--blue .adv-card__icon { color: var(--c2-dark); }

/* =========================================================
   КАТАЛОГ
   ========================================================= */

.catalog { padding-top: 25px; }
.catalog__categories { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.catalog__categories a {
  padding: 9px 17px; border: 1px solid var(--border); border-radius: 999px; background: var(--white);
  color: var(--text-light); font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
}
.catalog__categories a:hover, .catalog__categories a.active { border-color: var(--c1); background: var(--c1); color: #ffffff; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); transition: var(--transition); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__image { width: 100%; height: 270px; display: block; object-fit: cover; background: var(--paper-alt); }
.product-card__content { padding: 22px; }
.product-card__title { margin-bottom: 9px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.product-card__description { margin-bottom: 15px; font-size: 0.9rem; line-height: 1.6; }
.product-card__characteristic { margin-bottom: 6px; font-size: 0.85rem; color: var(--text-light); }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; }
.product-card__price { color: var(--c1-dark); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-card__bottom .btn { min-height: 44px; padding: 10px 17px; }

/* =========================================================
   ФОРМИ
   ========================================================= */

form { display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field label { color: var(--text); font-size: 0.88rem; font-weight: 650; }
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 11px;
  outline: none; background: var(--white); color: var(--text); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 16%, white);
}
.field textarea { min-height: 125px; resize: vertical; }
.field small { color: var(--text-light); font-size: 0.8rem; }
.field .errorlist { margin: 3px 0 0; padding: 0; list-style: none; color: var(--error); font-size: 0.84rem; font-weight: 650; }
.field-checkbox { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 5px; }
.field-checkbox input[type="checkbox"] { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--c1); }
.field-checkbox label { color: var(--text-light); font-weight: 500; }

/* =========================================================
   КАЛЬКУЛЯТОР / КОНСУЛЬТАЦІЯ
   ========================================================= */

#calculator-form, .consultation-form, body:has(#calculator-form) main > form {
  max-width: 760px; margin: 30px auto 0; padding: 35px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md);
}
.calc-result {
  margin: 15px 0 25px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--paper-alt); color: var(--text-light); text-align: center; font-size: 1rem;
  font-variant-numeric: tabular-nums; transition: var(--transition);
}
.calc-result--ok {
  border-color: color-mix(in srgb, var(--c1) 30%, white); background: color-mix(in srgb, var(--c1) 12%, white);
  color: var(--c1-dark); font-size: 1.25rem; font-weight: 750;
}
#diameter-field { transition: var(--transition); }
body:has(.contact-form) main > form:not(.contact-form) {
  max-width: 720px; margin: 35px auto; padding: 35px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md);
}

/* =========================================================
   КОНТАКТИ
   ========================================================= */

.contact-section { margin: 90px 0; }
.contact, .contact-info {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: var(--shadow-lg);
}
.contact { padding: 45px; }
.contact .section__title { color: #ffffff; }
.contact .section__title::after { background: #ffffff; }

.contact-info::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px;
  background: rgba(255, 255, 255, 0.14); border-radius: 50%;
}
.contact-info { padding: 48px 44px; color: var(--text-on-dark); }
.contact-info__main { position: relative; z-index: 1; max-width: 560px; margin-bottom: 34px; }
.contact-info__main h2 { color: #ffffff; font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin: 10px 0 16px; text-transform: uppercase; }
.contact-info__main h2 span { font-weight: 700; color: var(--c3-light); }
.contact-info__main p { color: var(--text-on-dark-light); }

.contact-info__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 26px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); color: var(--text-on-dark); transition: var(--transition); }
.contact-item:hover { background: rgba(255, 255, 255, 0.14); transform: translateX(3px); }
.contact-item__icon {
  flex-shrink: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: rgba(255, 255, 255, 0.22); color: #ffffff; font-size: 1.2rem;
}
.contact-item small { display: block; margin-bottom: 3px; color: var(--text-on-dark-light); font-size: 0.76rem; font-weight: 600; }
.contact-item strong { color: #ffffff; font-weight: 700; }
.contact-info__footer {
  position: relative; z-index: 1; margin-top: 34px !important; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28); display: flex; flex-wrap: wrap; gap: 10px 28px;
  color: var(--text-on-dark-light); font-size: 0.9rem;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; margin-top: 30px; }
.contact-form { padding: 28px; border-radius: var(--radius-md); background: var(--white); }
.contact-form input, .contact-form textarea { background: #ffffff; }

/* =========================================================
   ПОВІДОМЛЕННЯ
   ========================================================= */

.messages { max-width: 760px; margin: 20px auto; padding: 0; list-style: none; }
.messages li { margin-bottom: 10px; padding: 14px 18px; border: 1px solid rgba(47, 138, 91, 0.25); border-radius: 11px; background: #eaf6ee; color: var(--success); font-weight: 650; }
.messages li.error { border-color: rgba(214, 48, 74, 0.25); background: #fbebec; color: var(--error); }

/* =========================================================
   ДЯКУЄМО / ПІДСУМОК ЗАЯВКИ
   ========================================================= */

body:has(.lead-summary) main { max-width: 850px; }
.lead-summary { margin: 30px 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.lead-summary h2 { margin-bottom: 20px; font-size: 1.5rem; }
.lead-summary table { width: 100%; border-collapse: collapse; }
.lead-summary th, .lead-summary td { padding: 14px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.lead-summary th { color: var(--text-light); font-size: 0.8rem; font-weight: 750; text-transform: uppercase; }
.lead-summary td { color: var(--text); }
.lead-total { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--border); color: var(--text); font-size: 1.15rem; }
.lead-total strong { color: var(--c1-dark); font-size: 1.35rem; font-variant-numeric: tabular-nums; }

/* =========================================================
   ПРОКРУТКА / ЕФЕКТИ
   ========================================================= */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   ФУТЕР
   ========================================================= */

.site-footer { width: 100%; margin: 100px 0 0; padding: 0; border-top: 1px solid var(--border); background: var(--paper-alt); color: var(--text); }
.site-footer__top { width: 100%; padding: 80px 5% 70px; }
.site-footer__grid { width: min(1400px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 70px; }
.footer-col__logo, .footer-col__logo-img { margin: 0 0 22px; }
.footer-col__logo { color: var(--text); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.footer-col__logo-img { display: block; width: auto; max-height: 46px; }
.footer-col__desc { max-width: 400px; margin: 0 0 26px; color: var(--text-light); font-size: 0.94rem; line-height: 1.75; }
.footer-col__socials { display: flex; gap: 10px; }
.footer-social {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 11px;
  background: var(--white); border: 1px solid var(--border); color: var(--text); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social:hover { background: var(--c1); border-color: var(--c1); color: #ffffff; transform: translateY(-2px); }
.footer-col__title { margin: 4px 0 24px; color: var(--text-light); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
.footer-links, .footer-contacts { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-contacts a { color: var(--text); font-size: 0.94rem; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--c1-dark); }
.footer-contacts__muted { color: var(--text-light); font-size: 0.9rem; }

.footer-form { display: flex; flex-direction: column; gap: 11px; }
.footer-form__input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; outline: none;
  background: var(--white); color: var(--text); font-size: 0.88rem; transition: border-color 0.2s ease, background 0.2s ease;
}
.footer-form__input::placeholder { color: var(--text-light); }
.footer-form__input:focus { border-color: var(--c1); background: var(--white); }
.footer-form__textarea { min-height: 72px; resize: vertical; }
.footer-form__consent { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 4px; color: var(--text-light); font-size: 0.72rem; line-height: 1.4; cursor: pointer; }
.footer-form__consent input { width: 16px; height: 16px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--c1); }
.footer-form__btn {
  width: 100%; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--c1);
  color: #ffffff; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.footer-form__btn:hover { background: var(--c1-dark); transform: translateY(-2px); }

.site-footer__bottom { width: 100%; padding: 22px 5%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 30px; border-top: 1px solid var(--border); }
.site-footer__bottom p { max-width: 1400px; margin: 0; color: var(--text-light); font-size: 0.8rem; }
.site-footer__delivery { margin-left: auto; }

@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 1fr; gap: 50px; }
  .footer-col--form { grid-column: 1 / -1; max-width: 600px; }
}
@media (max-width: 700px) {
  .site-footer { margin-top: 70px; }
  .site-footer__top { padding: 50px 6% 45px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-col--form { grid-column: auto; max-width: none; }
  .site-footer__bottom { padding: 20px 6%; flex-direction: column; align-items: flex-start; }
  .site-footer__delivery { margin-left: 0; }
}

/* =========================================================
   АДАПТИВНІСТЬ
   ========================================================= */

@media (max-width: 950px) {
  .cat-grid, .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about::before { display: none; }
}

@media (max-width: 700px) {
  main { width: min(100% - 28px, 1180px); }
  header { width: calc(100% - 28px); min-height: auto; padding: 16px 0; flex-direction: column; align-items: flex-start; }
  nav { width: 100%; flex-wrap: wrap; }
  nav a { padding: 8px 10px; }
  .hero { min-height: 600px; margin-bottom: 60px; border-radius: 20px; }
  .hero__content { padding: 35px 25px; }
  .hero__title { font-size: 2.5rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__mini-info { gap: 22px; }
  .cat-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-section { padding: 50px 14px; border-radius: var(--radius-md); }
  .portfolio-card { border-radius: var(--radius-md); }
  .portfolio-card::before { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .portfolio-swiper .swiper-button-prev, .portfolio-swiper .swiper-button-next { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact { padding: 28px 22px; }
  .contact-info { padding: 32px 24px; }
  .contact-info__grid { grid-template-columns: 1fr; gap: 20px; }
  #calculator-form, .consultation-form, body:has(.contact-form) main > form:not(.contact-form) { padding: 25px 20px; }
}

@media (max-width: 520px) {
  .section { margin: 65px 0; }
  .portfolio-section { padding: 50px 10px; margin: 65px 0; }
  .hero { min-height: 580px; }
  .hero__title { font-size: 2.1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cat-grid, .adv-grid, .catalog-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 170px; }
  .product-card__image { height: 240px; }
  .about { padding: 28px 20px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .contact { padding: 25px 18px; }
  .lead-summary { padding: 20px 15px; overflow-x: auto; }
  .lead-summary table { min-width: 520px; }
  footer { width: calc(100% - 28px); }
}
/* =========================================================
   ДОПОВНЕННЯ ДО style.css
   Додати в кінець існуючого файлу стилів. Нічого зі старих
   правил не перевизначається — тільки нові класи.
   ========================================================= */

/* ---------- Каталог: посилання на сторінку товару ---------- */

.product-card__link { display: block; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--c1-dark); }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 24px 0 10px; color: var(--text-light); font-size: 0.85rem;
}
.breadcrumbs a { padding: 0; color: var(--text-light); }
.breadcrumbs a:hover { color: var(--c1-dark); background: none; }
.breadcrumbs > span { color: var(--border); }
.breadcrumbs > span.breadcrumbs__current { color: var(--text); font-weight: 600; }
/* ---------- Сторінка товару ---------- */

.product-detail { padding-top: 10px; }

.product-detail__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start;
}

.product-detail__gallery,
.product-detail__info { min-width: 0; }

.product-detail__main-image {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--paper-alt); box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}
.product-detail__main-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-detail__no-image {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 30px; text-align: center; color: #ffffff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase;
  background: linear-gradient(150deg, var(--c2), var(--c2-dark));
}

.product-detail__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-thumb {
  width: 68px; height: 68px; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid var(--border); background: var(--white); cursor: pointer; transition: var(--transition);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb:hover { border-color: color-mix(in srgb, var(--c2) 50%, white); }
.product-thumb.active { border-color: var(--c1); }

.product-detail__category {
  display: inline-block; margin-bottom: 10px; color: var(--c2-dark);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.product-detail__title {
  margin-bottom: 14px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); text-transform: none;
}
.product-detail__price {
  margin-bottom: 26px; color: var(--c1-dark); font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700;
}

.product-detail__specs { list-style: none; margin: 0 0 30px; padding: 0; }
.product-detail__specs li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem;
}
.product-detail__specs li span { color: var(--text-light); }
.product-detail__specs li strong { color: var(--text); font-weight: 700; text-align: right; }

.product-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.product-detail__block { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); }
.product-detail__block-title {
  margin-bottom: 14px; font-size: 1.3rem; text-transform: uppercase;
}
.product-detail__block-text { color: var(--text-light); line-height: 1.8; }
.product-detail__block-text p { margin: 0 0 10px; color: var(--text-light); }

@media (max-width: 900px) {
  .product-detail__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* ---------- Індивідуальне виготовлення ---------- */

.custom-block {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center;
  padding: 48px; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 9%, white) 0%, color-mix(in srgb, var(--c2) 9%, white) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.custom-block__content h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin: 10px 0 16px; text-transform: uppercase; }
.custom-block__content h2 span { color: var(--c1); }
.custom-block__content p { margin-bottom: 14px; }

.custom-block__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0 0 20px; padding: 0; list-style: none;
}
.custom-block__list li {
  display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 0.94rem;
}
.custom-block__list li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--c1); color: #ffffff;
  font-size: 0.7rem; flex-shrink: 0;
}

.custom-block__flow { margin-bottom: 22px; color: var(--text); font-weight: 600; }

.custom-block__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.custom-block__photo {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1 / 1;
  border: 2px solid color-mix(in srgb, var(--c2) 22%, white); box-shadow: var(--shadow-sm);
}
.custom-block__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .custom-block { grid-template-columns: 1fr; padding: 30px 22px; }
}

/* ---------- Відгуки клієнтів ---------- */

.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px;
}
.testimonial-card {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card__stars { margin-bottom: 14px; color: var(--c3-dark); letter-spacing: 2px; font-size: 1.1rem; }
.testimonial-card__quote { margin-bottom: 20px; color: var(--text); font-style: italic; line-height: 1.7; }
.testimonial-card__author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card__author strong { color: var(--text); font-family: var(--font-display); }
.testimonial-card__author span { color: var(--text-light); font-size: 0.85rem; }
.testimonial-card__source {
  display: inline-block; margin-top: 14px; color: var(--c2-dark); font-size: 0.82rem; font-weight: 600;
}
.testimonial-card__source:hover { color: var(--c1-dark); }

/* ---------- Матеріали та технології ---------- */

.materials-section__note {
  max-width: 820px; margin-top: 24px; color: var(--text-light); line-height: 1.8;
}



/* ---------- CTA-банер «Не знаєте, що обрати?» ---------- */

.cta-banner {
  text-align: center; padding: 56px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c2) 12%, white) 0%, color-mix(in srgb, var(--c1) 10%, white) 100%);
  border: 1px solid var(--border);
}
.cta-banner h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; }
.cta-banner p { max-width: 560px; margin: 0 auto 26px; }

/* ---------- Доставка та оплата ---------- */

.delivery-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px;
}
.delivery-col {
  padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.delivery-col h3 { margin-bottom: 18px; text-transform: uppercase; font-size: 1.05rem; }
.delivery-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.delivery-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.delivery-list__icon {
  width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: color-mix(in srgb, var(--c2) 14%, white); font-size: 1.1rem;
}

@media (max-width: 700px) {
  .delivery-grid { grid-template-columns: 1fr; }
  .custom-block__list { grid-template-columns: 1fr; }
}
/* =========================================================
   РОЗШИРЕННЯ НАВІГАЦІЇ ТА ДИНАМІЧНИХ ЕЛЕМЕНТІВ (ІНТЕГРАЦІЯ)
   ========================================================= */

/* --- Адаптивна та фіксована шапка --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.site-header--hidden {
  transform: translateY(-100%);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-phone-btn:hover {
  color: var(--c1-dark);
  background: color-mix(in srgb, var(--c1) 8%, white);
}

/* --- Навігаційне меню та випадаючі списки (Dropdown) --- */
.nav-menu__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu__item {
  position: relative;
}

.nav-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  color: var(--c1-dark);
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-menu__item--has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.nav-menu__item--has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-menu__link:hover {
  color: var(--c1-dark);
  background: color-mix(in srgb, var(--c1) 8%, white);
  padding-left: 24px;
}

.nav-menu__item--mobile-only {
  display: none;
}

/* --- Мобільна кнопка (Бургер) --- */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.burger-btn.is-active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Мобільні адаптивні стилі --- */
@media (max-width: 992px) {
  .burger-btn {
    display: flex;
  }

  .header-phone-btn,
  .header-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    padding: 90px 28px 40px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.is-active {
    right: 0;
  }

  .nav-menu__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-menu__item {
    width: 100%;
  }

  .nav-menu__link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 5px 0 5px 15px;
    display: none;
    background: transparent;
  }

  .nav-menu__item--has-dropdown.dropdown-open .dropdown-menu {
    display: block;
  }

  .nav-menu__item--mobile-only {
    display: block;
    margin-top: 15px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .faq-item summary {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-item__content {
    padding: 0 16px 16px;
  }
}

/* --- Плаваюча кнопка швидкого зв'язку --- */
.quick-contacts {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.quick-contacts__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1-dark) 100%);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--c1) 40%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-contacts__toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--c1) 50%, transparent);
}

.quick-contacts__popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-contacts.is-active .quick-contacts__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quick-contacts__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  transition: var(--transition);
}

.quick-contacts__item:hover {
  color: #ffffff;
  background: var(--c1);
  border-color: var(--c1);
  transform: translateX(-4px);
}



/* --- Додаткові утиліти розмітки --- */
.font-bold {
  font-weight: 700 !important;
}
/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 800px;
  width: 100%;
  margin: 24px auto 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: color-mix(in srgb, var(--c1) 35%, white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.faq-question:hover {
  background: var(--paper-alt);
}

.faq-question.active {
  background: #f5f5f5;
  color: var(--c1);
}

.faq-icon {
  flex-shrink: 0;
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c1);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  transition: max-height 0.3s ease;
}

.faq-answer__inner {
  padding: 16px 24px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer__inner p {
  margin: 0 0 10px;
}

.faq-answer__inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .faq-list {
    gap: 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer__inner {
    padding: 14px 18px 18px;
    font-size: 0.9rem;
  }

  .faq-icon {
    font-size: 1.4rem;
  }
}
/* Центрування заголовка FAQ */
.faq-heading {
  width: 100%;
  text-align: center;
}

.faq-heading__eyebrow {
  display: flex;
  justify-content: center;
}

.faq-heading__title {
  text-align: center;
}
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--c2-dark);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading .section__title {
  margin-bottom: 0;
}
/* Прибрати рожеву паличку під заголовком FAQ */
.faq-heading__title::after {
  display: none;
}
/* Виправлення мобільного меню, що вилазить за межі екрана */
@media (max-width: 992px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-menu {
    right: 0;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  }

  .nav-menu.is-active {
    transform: translateX(0);
    visibility: visible;
  }
}

body {
  overflow-x: clip;
}
/* Надійне приховування мобільного меню */
@media (max-width: 992px) {
  .site-header .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    visibility: visible !important;
    width: 85% !important;
    max-width: 360px !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 90px 28px 40px !important;
    background: var(--paper) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow-y: auto !important;
    z-index: 1001 !important;
  }

  .site-header .nav-menu.is-active {
    display: block !important;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
/* =========================================================
   СВАЙПЕР: ДЛЯ КОГО МИ ВИГОТОВЛЯЄМО
   ========================================================= */

.audience-section { padding-top: 10px; }

.audience-swiper-wrap {
  position: relative;
  margin-top: 34px;
}

.audience-swiper {
  width: 100%;
  padding: 10px 5px 56px;
  overflow: hidden;
}

.audience-swiper .swiper-slide { height: auto; }

.audience-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 340px;
  padding: 26px 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c2), var(--c2-dark));
  border: 2px solid color-mix(in srgb, var(--c2) 22%, white);
  box-shadow: var(--shadow-md);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  height: 4px;
  background: var(--c1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.audience-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.audience-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 15, 20, 0.88) 0%, rgba(15, 15, 20, 0.15) 60%, rgba(15, 15, 20, 0.3) 100%);
}

.audience-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.audience-card__icon { font-size: 2rem; line-height: 1; }

.audience-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.audience-card__more {
  display: inline-block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--c3-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.audience-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(20, 20, 30, 0.18);
  border-color: color-mix(in srgb, var(--c1) 50%, white);
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card:hover img { transform: scale(1.07); }
.audience-card:hover .audience-card__more { max-height: 30px; opacity: 1; }
.audience-card:hover .audience-card__arrow {
  background: #ffffff;
  color: var(--c1-dark);
  transform: translate(2px, -2px);
}

.audience-card:focus-visible {
  outline: 3px solid var(--c1);
  outline-offset: 3px;
}

/* кольорові акценти верхньої смужки */
.swiper-slide:nth-child(even) .audience-card::before { background: var(--c2); }
.swiper-slide:nth-child(3n) .audience-card::before { background: var(--c3-dark); }
.swiper-slide:nth-child(even) .audience-card { border-color: color-mix(in srgb, var(--c1) 22%, white); }

/* стрілки */
.audience-swiper-wrap .swiper-button-prev,
.audience-swiper-wrap .swiper-button-next {
  top: calc(50% - 28px);
  width: 46px;
  height: 46px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--c2) 30%, white);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.audience-swiper-wrap .swiper-button-prev { left: -12px; }
.audience-swiper-wrap .swiper-button-next { right: -12px; }

.audience-swiper-wrap .swiper-button-prev::after,
.audience-swiper-wrap .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 700;
}

.audience-swiper-wrap .swiper-button-prev:hover,
.audience-swiper-wrap .swiper-button-next:hover {
  background: var(--c1);
  border-color: var(--c1);
  color: #ffffff;
}

.audience-swiper-wrap .swiper-button-disabled { opacity: 0.4; pointer-events: none; }

/* пагінація */
.audience-swiper .swiper-pagination { bottom: 8px; }
.audience-swiper .swiper-pagination-bullet {
  background: color-mix(in srgb, var(--c2) 30%, white);
  opacity: 1;
  transition: var(--transition);
}
.audience-swiper .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 10px;
  background: var(--c1);
}

@media (max-width: 992px) {
  .audience-card { height: 300px; }
}

@media (max-width: 700px) {
  .audience-swiper-wrap .swiper-button-prev,
  .audience-swiper-wrap .swiper-button-next { display: none; }
  .audience-card { height: 280px; border-radius: var(--radius-md); }
  .audience-card::before { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .audience-card__more { max-height: 30px; opacity: 1; }
}
/* ---------- Клікабельні картки типів клієнтів ---------- */

a.audience-card {
  text-decoration: none;
  color: #ffffff;
}

.audience-card--link { cursor: pointer; }

.audience-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition);
}

.audience-card__more {
  display: inline-block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--c3-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.audience-card--link:hover .audience-card__more {
  max-height: 30px;
  opacity: 1;
}

.audience-card--link:hover .audience-card__arrow {
  background: #ffffff;
  color: var(--c1-dark);
  transform: translate(2px, -2px);
}

.audience-card--link:focus-visible {
  outline: 3px solid var(--c1);
  outline-offset: 3px;
}

/* на touch-пристроях hover немає, тому підпис показуємо завжди */
@media (hover: none) {
  .audience-card--link .audience-card__more {
    max-height: 30px;
    opacity: 1;
  }
}
/* =========================================================
   Додаткові блоки: шапки сторінок, помилки форм, honeypot,
   швидкі контакти на сторінці товару, сторінка 404
   ========================================================= */

.page-head { max-width: 760px; margin: 40px auto 0; }
.page-head .section__lead { margin-bottom: 0; }

.form-step {
  margin: 8px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
  font-size: 1.15rem; text-transform: uppercase; color: var(--text);
}
.form-step:not(:first-of-type) { margin-top: 12px; }

.form-errors {
  margin-bottom: 20px; padding: 14px 18px; border: 1px solid rgba(214, 48, 74, 0.25);
  border-radius: 11px; background: #fbebec; color: var(--error); font-weight: 650;
}
.form-errors .errorlist { margin: 0; padding: 0; list-style: none; }

/* Поле-пастка для ботів: поза екраном, не display:none */
.hp-field {
  position: absolute !important; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.product-detail__contacts {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px;
  color: var(--text-light); font-size: 0.9rem;
}
.product-detail__contacts a { color: var(--text); font-weight: 700; border-bottom: 2px solid var(--c1); }
.product-detail__contacts a:hover { color: var(--c1-dark); }

.error-page { max-width: 560px; margin: 90px auto; text-align: center; }
.error-page__code {
  margin: 0 0 6px; color: var(--c1); font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; line-height: 1;
}
.error-page__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* =========================================================
   КАЛЬКУЛЯТОР: РЯДКИ ВИРОБІВ
   ========================================================= */

.item-rows { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }

.item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  padding: 24px 22px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--c1);
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  box-shadow: var(--shadow-sm);
}

.item-row > .field,
.item-row > .item-options { flex: 1 1 100%; }

.item-options:empty { display: none; }
.item-options { display: flex; flex-direction: column; }

/* атрибут hidden не повинен перебиватися display:flex від .field */
.item-diameter-field[hidden] { display: none; }

.item-row select,
.item-row input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}
.item-row select:focus,
.item-row input[type="number"]:focus {
  border-color: var(--c1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 16%, white);
}

/* Ціна позиції */
.item-price {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 4px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c1) 28%, white);
  background: color-mix(in srgb, var(--c1) 10%, white);
  color: var(--c1-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.item-price:empty { display: none; }

/* Кнопка «Видалити» */
.item-remove {
  flex: 0 0 auto;
  margin-top: 4px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.item-remove:hover {
  border-color: var(--error);
  background: color-mix(in srgb, var(--error) 8%, white);
  color: var(--error);
  transform: translateY(-2px);
}

/* Кнопка «+ Додати ще виріб» */
#add-item-btn {
  width: 100%;
  min-height: 52px;
  margin-bottom: 8px;
  padding: 13px 26px;
  border: 2px dashed color-mix(in srgb, var(--c2) 55%, white);
  border-radius: 12px;
  background: color-mix(in srgb, var(--c2) 7%, white);
  color: var(--c2-dark);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
#add-item-btn:hover {
  border-style: solid;
  border-color: var(--c2);
  background: var(--c2);
  color: #ffffff;
  transform: translateY(-3px);
}

@media (max-width: 700px) {
  .item-row { padding: 20px 16px 16px; }
  .item-price { font-size: 1.2rem; padding: 8px 14px; }
  .item-remove { padding: 10px 14px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
  .item-price, .item-remove { flex: 1 1 100%; justify-content: center; text-align: center; }
}
/* =========================================================
   ГАЛЕРЕЯ ТОВАРУ (SWIPER)
   ========================================================= */

.product-gallery { min-width: 0; max-width: 100%; }

.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--paper-alt);
  box-shadow: var(--shadow-md);
}

.product-gallery__main .swiper-wrapper { height: 100%; }

.product-gallery__main .swiper-slide {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.product-gallery__slide {
  position: absolute;
  inset: 0;
  background: var(--paper-alt);
}
.product-gallery__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.product-gallery__main .swiper-slide-active img { cursor: grab; }
.product-gallery__main:active .swiper-slide-active img { cursor: grabbing; }

/* стрілки */
.product-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--c2) 30%, white);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: var(--transition);
}
.product-gallery__arrow--prev { left: 14px; }
.product-gallery__arrow--next { right: 14px; }

.product-gallery__main:hover .product-gallery__arrow { opacity: 1; }
.product-gallery__arrow:hover {
  background: var(--c1);
  border-color: var(--c1);
  color: #ffffff;
  transform: scale(1.08);
}
.product-gallery__arrow.swiper-button-disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* лічильник */
.product-gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* мініатюри */
.product-gallery__thumbs {
  width: 100%;
  margin-top: 14px;
  padding: 3px;
}
.product-gallery__thumbs .swiper-slide {
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  opacity: 0.6;
  cursor: pointer;
  transition: var(--transition);
}
.product-gallery__thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-gallery__thumbs .swiper-slide:hover { opacity: 1; }
.product-gallery__thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--c1);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c1) 30%, transparent);
}

/* на touch-пристроях стрілки показуємо завжди */
@media (hover: none) {
  .product-gallery__arrow { opacity: 1; width: 40px; height: 40px; margin-top: -20px; }
}

@media (max-width: 700px) {
  .product-gallery__main { border-radius: var(--radius-md); }
  .product-gallery__arrow { display: none; }
}
.footer-privacy-link {
    color: inherit;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-privacy-link:hover {
    opacity: 1;
    text-decoration: underline;
}
/* =========================================================
   ЮРИДИЧНІ СТОРІНКИ (політика конфіденційності)
   ========================================================= */

.legal-page { padding-top: 10px; }

.legal-page .page-head { max-width: 820px; }

.legal-page__body {
  max-width: 820px;
  margin: 30px auto 0;
  padding: 48px 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* Заголовки розділів */
.legal-page__body h2 {
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--c1);
  font-size: 1.3rem;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
}
.legal-page__body h2:first-child { margin-top: 0; }

/* Текст: темніший за глобальний, зручний для читання */
.legal-page__body p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

/* Списки з акцентними маркерами */
.legal-page__body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.legal-page__body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}
.legal-page__body li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c1);
}

/* Посилання */
.legal-page__body a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--c1);
}
.legal-page__body a:hover {
  color: var(--c1-dark);
  border-bottom-color: var(--c1-dark);
}

.legal-page__body strong { color: var(--text); font-weight: 700; }

@media (max-width: 700px) {
  .legal-page__body {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }
  .legal-page__body h2 { margin-top: 34px; font-size: 1.15rem; }
  .legal-page__body p,
  .legal-page__body li { font-size: 0.96rem; }
}