/* medipharma.by — вёрстка по дизайну живого сайта (Astra + Elementor kit) */
@import url('/fonts/manrope.css');

:root {
  --c-dark: #2A3F52;        /* elementor primary: заголовки, текст, шапка */
  --c-dark-2: #233649;      /* навбар, чуть темнее */
  --c-gray: #87919A;        /* elementor secondary */
  --c-link: #046bd2;        /* astra color-0 */
  --c-link-h: #045cb4;      /* astra color-1 */
  --c-border: #D1D5DB;
  --c-border-lt: #E5E7EB;
  --c-bg-lt: #F0F5FA;
  --c-white: #fff;
  --font: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-dark);
  background: var(--c-white);
}
img { max-width: 100%; height: auto; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-link-h); }
h1, h2, h3, h4 { font-weight: 600; color: var(--c-dark); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 44px; text-transform: uppercase; }
h2 { font-size: 34px; text-transform: uppercase; }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
[x-cloak] { display: none !important; }

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

/* ---------- Шапка ---------- */
.topbar { background: var(--c-dark); color: #fff; }
.topbar .container {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 82px; gap: 16px;
}
.topbar__made { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.topbar__flag { width: 26px; height: 18px; border-radius: 2px; }
.topbar__logo img { width: 250px; max-width: 42vw; display: block; }
.topbar__search { justify-self: end; }
.search-form { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.85); padding: 7px 12px; min-width: 166px; }
.search-form svg { flex: 0 0 auto; opacity: .9; }
.search-form input {
  background: transparent; border: 0; outline: 0; color: #fff;
  font-family: var(--font); font-size: 14px; margin-left: 8px; width: 110px;
}
.search-form input::placeholder { color: rgba(255,255,255,.7); }

.navbar { background: var(--c-dark-2); position: relative; z-index: 50; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px; color: #fff;
  font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .2px;
  padding: 22px 13px; white-space: nowrap;
}
.nav > li > a:hover { color: #cfe0f2; }
.nav .caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--c-dark); box-shadow: 0 14px 40px rgba(16,36,54,.18);
  display: none; padding: 28px 32px; gap: 44px; text-transform: none;
}
.nav li:hover .nav__drop { display: flex; }
.nav__col { min-width: 190px; }
.nav__col-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.nav__col ul { list-style: none; margin: 0; padding: 0; }
.nav__col li { margin: 6px 0; }
.nav__col a { color: var(--c-link); font-size: 14.5px; }
.nav__promo { width: 220px; text-align: center; font-size: 14px; }
.nav__promo img { height: 150px; object-fit: contain; margin-bottom: 8px; }

.burger { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block; border: 1px solid var(--c-gray); color: var(--c-dark);
  background: #fff; font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 10px 26px; cursor: pointer; transition: all .2s;
}
.btn:hover { border-color: var(--c-dark); color: var(--c-dark); }
.btn-solid { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.btn-solid:hover { background: var(--c-dark-2); color: #fff; }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { font-size: 14.5px; color: var(--c-gray); margin: 34px 0 6px; }
.breadcrumbs--center { text-align: center; }
.breadcrumbs .sep { margin: 0 6px; color: var(--c-gray); }

/* ---------- Заголовки страниц ---------- */
.page-title { text-align: center; margin: 10px 0 40px; }
.section-title { margin: 0 0 30px; }

/* ---------- Карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 1px solid var(--c-border-lt); background: #fff; display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(16,36,54,.10); }
.card__img { display: flex; align-items: center; justify-content: center; padding: 26px 20px; border-bottom: 1px solid var(--c-border-lt); }
.card__img img { height: 240px; object-fit: contain; }
.card__title {
  padding: 20px 16px 26px; text-align: center; font-size: 17.5px; font-weight: 500;
  color: var(--c-dark); flex: 1; display: flex; align-items: center; justify-content: center;
}
.card:hover .card__title { color: var(--c-link); }

/* ---------- Каталог: фильтры ---------- */
.catalog-layout { display: grid; grid-template-columns: 265px 1fr; gap: 40px; align-items: start; }
.filters__group { margin-bottom: 28px; }
.filters__title { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.filters ul { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.filters li { margin: 7px 0; }
.filters label { display: flex; align-items: baseline; gap: 9px; cursor: pointer; font-size: 15.5px; }
.filters label span.name { color: var(--c-link); }
.filters label:hover span.name { color: var(--c-link-h); }
.filters .cnt { font-size: 11.5px; color: var(--c-gray); vertical-align: super; }
.filters input[type=checkbox] { accent-color: var(--c-dark); transform: translateY(1px); }
.filters__reset { font-size: 14px; background: none; border: 0; color: var(--c-gray); cursor: pointer; padding: 0; text-decoration: underline; }
.filters__reset:hover { color: var(--c-dark); }

/* ---------- Товар ---------- */
.product-layout { display: grid; grid-template-columns: 1.2fr .9fr; gap: 60px; margin-top: 10px; }
.product-title { font-size: 36px; margin-bottom: 24px; }
.product-photo { border: 1px solid var(--c-border-lt); padding: 30px; display: flex; align-items: center; justify-content: center; }
.product-photo img { max-height: 420px; object-fit: contain; }
.product-props { margin-top: 26px; font-size: 16px; }
.product-props div { margin: 6px 0; }
.product-props .lbl { color: var(--c-dark); }
.accordion { margin-top: 28px; }
.accordion details { border: 1px solid var(--c-border-lt); margin-bottom: 12px; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; font-weight: 500; font-size: 16.5px; color: var(--c-dark);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '↓'; color: var(--c-dark); font-size: 15px; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 20px 18px; font-size: 15.5px; color: var(--c-dark); }
.acc-body p { margin: 0 0 .7em; }

/* ---------- Статья / компонент / текстовая страница ---------- */
.entry { max-width: 780px; margin: 0 auto; }
.entry--wide { max-width: 100%; }
.entry__hero { text-align: center; margin-bottom: 28px; }
.entry__hero img { max-height: 420px; object-fit: cover; }
.entry h2 { font-size: 28px; text-transform: none; margin-top: 1.4em; }
.entry img { margin: 10px 0; }
.related { margin: 55px 0 20px; }

/* ---------- Главная ---------- */
.hero { position: relative; background: var(--c-bg-lt); overflow: hidden; }
.hero__slide { display: none; }
.hero__slide.active { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 46px 20px 64px max(20px, calc((100vw - var(--container)) / 2 + 20px)); }
.hero__logo { height: 64px; width: auto; align-self: flex-start; margin-bottom: 22px; object-fit: contain; }
.hero__title { font-size: 26px; font-weight: 600; text-transform: none; max-width: 420px; margin-bottom: 26px; }
.hero__img { position: relative; min-height: 320px; }
.hero__img img.bg,
.hero__img video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img img.bg.single { object-fit: contain; object-position: center bottom; padding: 26px 40px 0 0; }
.hero__img img.product { position: absolute; left: -70px; bottom: 30px; height: 65%; object-fit: contain; z-index: 2; }
.hero__nav { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #b9c4cd; border: 0; padding: 0; cursor: pointer; }
.hero__dot.active { background: var(--c-dark); }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: none; border: 0; font-size: 34px; color: var(--c-dark); cursor: pointer; padding: 6px 12px;
}
.hero__arrow--prev { left: 6px; } .hero__arrow--next { right: 6px; }

.hero__slide--concept { position: relative; isolation: isolate; min-height: 520px; background: #f8fafb; }
.hero__slide--concept::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(250,251,251,.98) 0%, rgba(250,251,251,.93) 34%, rgba(250,251,251,.48) 51%, rgba(250,251,251,0) 70%);
}
.hero__slide--concept .hero__text { position: relative; z-index: 3; }
.hero__slide--concept .hero__logo { height: 58px; max-width: 245px; margin-bottom: 25px; }
.hero__eyebrow {
  max-width: 430px; margin-bottom: 12px; color: #547083; font-size: 11px; font-weight: 700;
  line-height: 1.45; letter-spacing: 1.7px; text-transform: uppercase;
}
.hero__slide--concept .hero__title { max-width: 500px; margin-bottom: 30px; font-size: clamp(34px, 3.2vw, 49px); line-height: 1.08; letter-spacing: -.8px; }
.hero__slide--concept .hero__cta { border-color: var(--c-dark); background: var(--c-dark); color: #fff; padding: 12px 28px; }
.hero__slide--concept .hero__cta:hover { border-color: var(--c-dark-2); background: var(--c-dark-2); color: #fff; }
.hero__slide--concept .hero__img { position: absolute; inset: 0; min-height: 100%; }
.hero__slide--concept .hero__img img.bg,
.hero__slide--concept .hero__img video.bg { z-index: 0; object-fit: cover; object-position: center; padding: 0; }
.hero__slide--concept .hero__img img.product {
  left: auto; right: 3%; bottom: 3%; z-index: 2; width: 45%; height: 84%; object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(31,49,62,.16));
}
.hero__products { position: absolute; right: 4%; bottom: 2%; z-index: 2; width: 45%; height: 86%; }
.hero__product { position: absolute; max-width: none; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(31,49,62,.16)); }
.hero__product--1 { left: 13%; bottom: 1%; z-index: 1; width: 39%; height: 76%; }
.hero__product--2 { left: 22%; bottom: 0; z-index: 3; width: 58%; height: 52%; }
.hero__product--3 { right: 13%; bottom: 0; z-index: 2; width: 41%; height: 94%; }
.hero__slide--olivenol .hero__products { right: 0; bottom: 0; width: 52%; height: 92%; }
.hero__slide--olivenol .hero__products::after { content: ""; position: absolute; right: 2%; bottom: 0; z-index: 0; width: 88%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse, rgba(78,62,25,.2), rgba(78,62,25,0) 70%); filter: blur(7px); }
.hero__slide--olivenol .hero__product { height: auto; object-fit: contain; object-position: center; filter: drop-shadow(0 17px 18px rgba(48,45,30,.14)); }
.hero__slide--olivenol .hero__product--1 { left: 11%; bottom: 0; z-index: 1; width: 50%; transform: rotate(-.5deg); }
.hero__slide--olivenol .hero__product--2 { left: 31%; bottom: 14%; z-index: 2; width: 39%; transform: rotate(.5deg); }
.hero__slide--olivenol .hero__product--3 { right: 16%; bottom: 0; z-index: 3; width: 29%; }
.hero__slide--olivenol .hero__product--4 { left: 42%; bottom: 0; z-index: 5; width: 26%; }
.hero__slide--olivenol .hero__product--5 { left: 18%; bottom: 0; z-index: 4; width: 28%; }
.hero__slide--olivenol .hero__img img.product { right: 1%; bottom: 5%; width: 53%; height: 76%; }
.hero__slide--allgauer .hero__logo { height: 86px; max-width: 190px; }
.hero__slide--allgauer .hero__img img.product { right: 9%; bottom: 2%; width: 48%; height: 91%; }
.hero__slide--sonnenpflege .hero__img img.product { right: 18%; bottom: 2%; width: 42%; height: 88%; }
.hero__slide--home-spa .hero__img img.product { right: 8%; bottom: 1%; width: 52%; height: 84%; }
.hero__slide--dermastabil .hero__img img.product { right: 10%; bottom: 2%; width: 46%; height: 88%; }
.hero__slide--nachtkerzen .hero__img img.product { right: 22%; bottom: 1%; width: 51%; height: 88%; }
.hero__slide--parusan .hero__logo { height: 42px; max-width: 250px; }
.hero__slide--parusan .hero__img img.product { right: 28%; bottom: 1%; width: 39%; height: 86%; }
.hero__slide--olivenol .hero__eyebrow { color: #746328; }
.hero__slide--allgauer .hero__eyebrow { color: #1f6849; }
.hero__slide--sonnenpflege .hero__eyebrow { color: #9b6c14; }
.hero__slide--home-spa .hero__eyebrow { color: #27766e; }
.hero__slide--dermastabil .hero__eyebrow { color: #587a96; }
.hero__slide--nachtkerzen .hero__eyebrow { color: #a35e10; }
.hero__slide--parusan .hero__eyebrow { color: #167044; }

.home-section { padding: 96px 0; }
.section-kicker {
  margin-bottom: 12px; color: #708394; font-size: 11px; font-weight: 700;
  line-height: 1.4; letter-spacing: 1.8px; text-transform: uppercase;
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.7px; }
.section-heading > p { max-width: 510px; margin: 0 0 4px; color: #617383; font-size: 16px; }
.section-heading--center { justify-content: center; text-align: center; }

.trust-bar { position: relative; z-index: 6; background: #fff; box-shadow: 0 18px 50px rgba(26,45,59,.08); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-bar__grid > div { padding: 25px 34px; text-align: center; border-right: 1px solid #e7edf1; }
.trust-bar__grid > div:last-child { border-right: 0; }
.trust-bar strong { display: block; margin-bottom: 3px; color: #263f52; font-size: 16px; font-weight: 700; }
.trust-bar span { color: #788997; font-size: 12.5px; }

.home-story { overflow: hidden; background: linear-gradient(135deg, #f6f9f8 0%, #fff 58%); }
.home-story__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 78px; align-items: center; }
.home-story__copy h2 { margin-bottom: 25px; font-size: clamp(34px, 4vw, 53px); line-height: 1.08; letter-spacing: -1.2px; text-transform: none; }
.home-story__copy p { max-width: 590px; margin-bottom: 25px; color: #536a7b; font-size: 17px; }
.home-story__points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.home-story__points span { padding: 7px 12px; border: 1px solid #d5e1dc; border-radius: 30px; background: rgba(255,255,255,.65); color: #3d6255; font-size: 12px; font-weight: 600; }
.home-story__visual { position: relative; min-height: 465px; }
.home-story__visual::before { content: ''; position: absolute; inset: 30px 15px 0 52px; border-radius: 52% 48% 45% 55%; background: #dfe9e5; transform: rotate(-4deg); }
.home-story__lab { position: absolute; top: 0; right: 0; width: 82%; height: 365px; border-radius: 4px; object-fit: cover; box-shadow: 0 26px 60px rgba(28,53,61,.17); }
.home-story__components { position: absolute; left: 0; bottom: 0; width: 48%; height: 190px; border: 11px solid #fff; object-fit: cover; box-shadow: 0 20px 45px rgba(28,53,61,.13); }
.home-story__badge {
  position: absolute; right: -12px; bottom: 18px; display: flex; align-items: center; justify-content: center;
  width: 128px; height: 128px; border-radius: 50%; background: #29495b; color: #fff; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.45; letter-spacing: .7px; text-transform: uppercase;
  box-shadow: 0 18px 35px rgba(29,53,67,.22);
}

.home-brands { background: #fff; }
.brand-worlds { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.brand-world { position: relative; grid-column: span 4; min-height: 350px; overflow: hidden; background: #263f52; color: #fff; }
.brand-world:nth-child(1), .brand-world:nth-child(2), .brand-world:nth-child(6), .brand-world:nth-child(7) { grid-column: span 6; }
.brand-world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.brand-world__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,34,43,.02) 18%, rgba(18,34,43,.87) 100%); }
.brand-world__content { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: 29px; }
.brand-world__ingredient { margin-bottom: 9px; color: rgba(255,255,255,.77); font-size: 10px; font-weight: 700; letter-spacing: 1.45px; text-transform: uppercase; }
.brand-world strong { color: #fff; font-size: 27px; line-height: 1.15; }
.brand-world__tagline { max-width: 390px; margin-top: 6px; color: rgba(255,255,255,.82); font-size: 13.5px; }
.brand-world__link { margin-top: 19px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.brand-world__link b { display: inline-block; margin-left: 8px; font-size: 18px; transition: transform .25s; }
.brand-world:hover { color: #fff; }
.brand-world:hover img { transform: scale(1.045); }
.brand-world:hover .brand-world__link b { transform: translateX(5px); }

.home-popular { background: #f4f7f8; }
.featured-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.featured-product { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 28px; overflow: hidden; background: #fff; color: var(--c-dark); transition: transform .25s, box-shadow .25s; }
.featured-product::before { content: ''; position: absolute; top: -95px; right: -85px; width: 240px; height: 240px; border-radius: 50%; background: #edf3ef; }
.featured-product__brand { position: relative; z-index: 1; color: #728391; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.featured-product__img { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 330px; padding: 10px; }
.featured-product__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 19px 18px rgba(27,46,58,.13)); transition: transform .35s; }
.featured-product > strong { position: relative; z-index: 1; min-height: 54px; color: var(--c-dark); font-size: 17px; line-height: 1.45; }
.featured-product__link { position: relative; z-index: 1; margin-top: auto; padding-top: 18px; border-top: 1px solid #e7ecef; color: #426174; font-size: 12px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.featured-product__link b { float: right; font-size: 18px; transition: transform .25s; }
.featured-product:hover { color: var(--c-dark); transform: translateY(-5px); box-shadow: 0 22px 55px rgba(26,45,59,.12); }
.featured-product:hover .featured-product__img img { transform: scale(1.035); }
.featured-product:hover .featured-product__link b { transform: translateX(4px); }
.home-popular__more { margin: 34px 0 0; }

.home-buy { padding: 74px 0; background: linear-gradient(115deg, #263d4f 0%, #1f5e57 100%); color: #fff; }
.home-buy__inner { display: grid; grid-template-columns: 1.25fr .9fr auto; gap: 55px; align-items: center; }
.home-buy .section-kicker { color: #9ec3b7; }
.home-buy h2 { margin: 0; color: #fff; font-size: clamp(28px, 3.4vw, 43px); letter-spacing: -.6px; text-transform: none; }
.home-buy p { margin: 0; color: rgba(255,255,255,.76); font-size: 15px; }
.home-buy .btn-solid { min-width: 145px; border-color: #fff; background: #fff; color: #263f52; text-align: center; }
.home-buy .btn-solid:hover { background: transparent; color: #fff; }

.home-knowledge { padding-bottom: 35px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.knowledge-card { position: relative; min-height: 285px; overflow: hidden; background: #243d4f; }
.knowledge-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.knowledge-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,39,52,.84) 100%); }
.knowledge-card > span { position: absolute; z-index: 2; inset: auto 20px 19px; display: flex; align-items: end; justify-content: space-between; gap: 14px; color: #fff; }
.knowledge-card strong { color: #fff; font-size: 15px; line-height: 1.35; text-transform: uppercase; }
.knowledge-card b { font-size: 21px; transition: transform .25s; }
.knowledge-card:hover img { transform: scale(1.05); }
.knowledge-card:hover b { transform: translateX(4px); }

.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.center { text-align: center; }

/* ---------- Магазины ---------- */
.stores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.store { border: 1px solid var(--c-border-lt); display: flex; align-items: center; justify-content: center; padding: 30px 20px; min-height: 120px; }
.store img { max-height: 60px; object-fit: contain; }
.store__wordmark { color: var(--c-dark); font-size: 22px; font-weight: 700; letter-spacing: -.5px; }

/* ---------- Форма контактов ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14.5px; margin-bottom: 5px; }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid var(--c-border); padding: 11px 13px; font-family: var(--font); font-size: 15px; color: var(--c-dark);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--c-dark); outline-offset: -1px; }
.form-check { display: flex; gap: 9px; font-size: 13.5px; margin: 14px 0 18px; align-items: flex-start; }
.form-error { color: #D9534F; font-size: 13.5px; margin-top: 4px; }
.form-success { background: var(--c-bg-lt); border: 1px solid var(--c-border); padding: 14px 18px; margin-bottom: 20px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Футер ---------- */
.footer { background: var(--c-dark); color: #fff; margin-top: 70px; padding: 55px 0 45px; font-size: 14.5px; }
.footer .container { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 40px; }
.footer__logo img { width: 210px; margin-bottom: 18px; }
.footer__law { color: #B9C4CE; font-size: 13px; line-height: 1.7; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.footer a { color: #fff; }
.footer a:hover { color: #cfe0f2; }
.footer__contacts div { margin-bottom: 12px; }
.footer__contacts .lbl { font-weight: 700; display: block; }

/* ---------- Поиск ---------- */
.search-results h2 { font-size: 22px; text-transform: none; margin-top: 34px; }
.search-list { list-style: none; padding: 0; }
.search-list li { padding: 10px 0; border-bottom: 1px solid var(--c-border-lt); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 34px; } h2 { font-size: 27px; }
  .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 230px 1fr; gap: 24px; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .home-story__grid { gap: 44px; }
  .home-story__visual { min-height: 410px; }
  .home-story__lab { height: 330px; }
  .home-story__components { height: 165px; }
  .brand-world { grid-column: span 6; }
  .brand-world:nth-child(7) { grid-column: span 12; }
  .featured-product { min-height: 470px; padding: 23px; }
  .featured-product__img { height: 290px; }
  .home-buy__inner { grid-template-columns: 1fr auto; }
  .home-buy__inner p { grid-column: 1 / 2; }
  .home-buy__inner .btn { grid-column: 2; grid-row: 1 / 3; }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: repeat(3, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  h1 { font-size: 27px; } h2 { font-size: 23px; }
  .topbar .container { grid-template-columns: 40px 1fr auto; min-height: 64px; gap: 8px; }
  .topbar__made { display: none; }
  .topbar__logo { justify-self: center; } .topbar__logo img { width: 170px; }
  .search-form { min-width: 0; padding: 6px 8px; } .search-form input { width: 64px; }
  .burger { display: block; justify-self: start; }
  .navbar .nav { display: none; flex-direction: column; }
  .navbar.open .nav { display: flex; }
  .nav > li > a { padding: 13px 20px; }
  .nav__drop { position: static; transform: none; display: none; box-shadow: none; padding: 0 20px 14px; flex-direction: column; gap: 14px; background: transparent; }
  .nav__drop a { color: #cfe0f2; } .nav__drop .nav__col-title { color: #fff; }
  .nav li.open .nav__drop { display: flex; }
  .nav__promo { display: none; }
  .grid, .grid--4 { grid-template-columns: 1fr; }
  .catalog-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero__slide.active { grid-template-columns: 1fr; }
  .hero__img { display: none; }
  .hero__text { padding: 34px 20px 55px; }
  .hero__slide--concept.active { min-height: 720px; }
  .hero__slide--concept::after { background: linear-gradient(180deg, rgba(250,251,251,.98) 0%, rgba(250,251,251,.94) 42%, rgba(250,251,251,.2) 74%, rgba(250,251,251,0) 100%); }
  .hero__slide--concept .hero__text { justify-content: flex-start; padding: 28px 24px 390px; }
  .hero__slide--concept .hero__logo { height: 45px; max-width: 205px; margin-bottom: 17px; }
  .hero__slide--concept .hero__title { font-size: 34px; letter-spacing: -.5px; margin-bottom: 23px; }
  .hero__slide--concept .hero__img { display: block; }
  .hero__slide--concept .hero__img img.bg,
  .hero__slide--concept .hero__img video.bg { object-position: 72% center; }
  .hero__slide--concept .hero__img img.product { right: 50%; bottom: 20px; width: 100%; height: 310px; transform: translateX(50%); }
  .hero__products { right: 50%; bottom: 16px; width: 96%; height: 320px; transform: translateX(50%); }
  .hero__slide--olivenol .hero__products { right: 50%; bottom: 5px; width: 94%; height: 310px; }
  .hero__slide--olivenol .hero__product--1 { left: 10%; bottom: 0; width: 64%; }
  .hero__slide--olivenol .hero__product--2 { left: 31%; bottom: 12%; width: 48%; }
  .hero__slide--olivenol .hero__product--3 { right: 8%; bottom: 0; width: 36%; }
  .hero__slide--olivenol .hero__product--4 { left: 42%; bottom: 0; width: 30%; }
  .hero__slide--olivenol .hero__product--5 { left: 13%; bottom: 0; width: 36%; }
  .hero__slide--olivenol .hero__img img.product { width: 105%; height: 285px; }
  .hero__slide--allgauer .hero__logo { height: 62px; max-width: 150px; }
  .hero__slide--allgauer .hero__img img.product,
  .hero__slide--home-spa .hero__img img.product,
  .hero__slide--dermastabil .hero__img img.product,
  .hero__slide--nachtkerzen .hero__img img.product,
  .hero__slide--parusan .hero__img img.product { width: 90%; height: 318px; }
  .hero__slide--parusan .hero__logo { height: 34px; }
  .hero__slide--sonnenpflege .hero__img img.product { width: 92%; height: 315px; }
  .home-section { padding: 68px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 15px; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .trust-bar__grid > div { padding: 15px 20px; border-right: 0; border-bottom: 1px solid #e7edf1; }
  .trust-bar__grid > div:last-child { border-bottom: 0; }
  .home-story__grid { grid-template-columns: 1fr; gap: 44px; }
  .home-story__copy h2 { font-size: 35px; }
  .home-story__visual { min-height: 360px; }
  .home-story__lab { width: 90%; height: 285px; }
  .home-story__components { width: 48%; height: 135px; border-width: 7px; }
  .home-story__badge { right: 0; bottom: 4px; width: 104px; height: 104px; font-size: 10px; }
  .brand-world, .brand-world:nth-child(1), .brand-world:nth-child(2), .brand-world:nth-child(6), .brand-world:nth-child(7) { grid-column: 1 / -1; min-height: 330px; }
  .featured-products { grid-template-columns: 1fr; }
  .featured-product { min-height: 475px; }
  .featured-product__img { height: 305px; }
  .home-buy { padding: 58px 0; }
  .home-buy__inner { display: block; }
  .home-buy__inner p { margin: 18px 0 26px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 255px; }
  .carousel__track { grid-auto-columns: 85%; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr; }
}
