:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #ef4444;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.lang-btn {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.lang-btn.is-active {
  background: var(--text);
  color: #fff;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  padding: 0 6px;
}

.hero {
  padding: 64px 0 32px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero__subtitle,
.section-heading p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.stat-pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
  font-weight: 700;
}

.hero__price-row {
  margin-bottom: 28px;
}

.hero__price-label {
  margin: 0 0 6px;
  color: var(--muted);
}

.hero__price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.hero__buttons,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.2);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--full {
  width: 100%;
}

.hero-card,
.image-panel,
.gallery-card,
.review-card,
.topic-card,
.feature-item,
.problem-card,
.benefit-card,
.step-card,
.word-card,
.faq-item,
.cta-box {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 32px;
  padding: 20px;
}

.section {
  padding: 88px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.45);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  text-align: left;
  margin: 0 0 24px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card,
.benefit-card,
.topic-card,
.review-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.problem-card h3,
.benefit-card h3,
.word-card h3,
.review-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.problem-card p,
.benefit-card p,
.review-card p,
.topic-card {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.image-panel {
  border-radius: 28px;
  padding: 24px;
}

.feature-list,
.steps-list,
.words-columns,
.kit-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.feature-item,
.step-card,
.word-card,
.faq-item {
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-item strong,
.step-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-item p,
.step-card p,
.word-card p,
.faq-answer {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.kit-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.kit-visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.kit-visual img {
  width: 85%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Дорожній футляр */

.kit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.kit-item:last-child {
  border-bottom: none;
}

.kit-item__num {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 800;
}

.kit-item__text strong {
  display: block;
  margin-bottom: 4px;
}

.words-columns {
  grid-template-columns: repeat(3, 1fr);
}

.word-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.topic-card {
  text-align: center;
  font-weight: 700;
}

.gallery-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  padding: 18px;

  height: 420px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}

.review-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  text-align: left;
  font-weight: 800;
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding-top: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  padding-top: 14px;
}

.cta-section {
  padding-top: 24px;
  padding-bottom: 100px;
}

.cta-box {
  border-radius: 32px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.cta-price {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.cart-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: 0.2s ease;
}

.cart-drawer.is-open,
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__overlay,
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100%;
  background: var(--surface);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
}

.cart-drawer__header,
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 20px 22px;
}

.cart-drawer__footer {
  padding: 18px 22px 24px;
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 6px;
}

.cart-item__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.cart-item__price {
  color: var(--muted);
  margin: 0;
}

.cart-item__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qty-btn,
.remove-btn,
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.empty-cart {
  color: var(--muted);
  margin: 0;
}

.modal__dialog {
  position: relative;
  width: min(100% - 24px, 640px);
  margin: 8vh auto 0;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal__body {
  padding: 24px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1100px) {

  .hero__grid,
  .two-col,
  .kit-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .gallery-grid,
  .reviews-grid,
  .words-columns {
    grid-template-columns: 1fr 1fr;
  }

  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 740px) {
  .hero {
    padding-top: 34px;
  }

  .section {
    padding: 68px 0;
  }

  .header__inner {
    min-height: 68px;
  }

  .hero__buttons,
  .cta-actions,
  .header__actions {
    flex-wrap: wrap;
  }

  .cards-grid,
  .gallery-grid,
  .reviews-grid,
  .words-columns,
  .topics-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .image-panel,
  .kit-visual,
  .cta-box {
    padding: 16px;
  }

  .cta-box {
    align-items: flex-start;
  }

}




.sample-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.sample-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.topics-wrap {
  margin-top: 32px;
}

.topics-toggle {
  margin: 24px auto 0;
  display: flex;
}

@media (max-width: 740px) {
  .sample-cards {
    grid-template-columns: 1fr;
  }
}

.modal__dialog--order {
  width: min(100% - 24px, 860px);
}

@media (max-width: 768px) {

  .modal__dialog--order {
    width: calc(100% - 20px);
    max-width: 100%;
    margin: 10px;
    max-height: calc(100vh - 20px);
  }

  .modal__body--order {
    flex-direction: column;
  }

}

.modal__body--order {
  padding: 0;
}

.order-summary {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.order-summary__product {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.order-summary__image {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.summary-product__image img {
  max-width: 80%;
  max-height: 80%;

  width: auto;
  height: auto;

  object-fit: contain;

  display: block;
}

.summary-product__image img,
.order-product-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-summary__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.order-summary__info h4 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.order-summary__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.summary-meta-box {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
}

.summary-meta-box__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.summary-meta-box__label {
  color: var(--muted);
  font-size: 0.95rem;
}

.qty-control--order {
  justify-content: center;
}

.order-form {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-error {
  min-height: 20px;
  font-size: 0.92rem;
  color: #dc2626;
}

.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08) !important;
}

.phone-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: stretch;
}

.phone-country {
  display: flex;
  align-items: center;
}

.phone-country .iti {
  width: 100%;
}

.phone-country .iti__selected-country-primary {
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 0 14px;
}

.phone-country .iti__arrow {
  margin-left: 10px;
}

.phone-country .iti__dropdown-content {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phone-country .iti__search-input {
  border-radius: 12px;
}

.phone-row input {
  min-height: 54px;
}

@media (max-width: 740px) {
  .order-summary__meta {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .order-summary__info h4 {
    font-size: 1.2rem;
  }

  .summary-meta-box__value {
    font-size: 1.5rem;
  }
}


.modal {
  overflow-y: auto;
  padding: 24px 12px;
}

.modal__dialog {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
}

.modal__dialog--order {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal__body {
  overflow: visible;
}

body.modal-open {
  overflow: hidden;
}

.phone-row {
  display: block;
}

.phone-row .iti {
  width: 100%;
}

.phone-row input {
  width: 100%;
  min-height: 54px;
}

.delivery-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.delivery-main {
  display: grid;
  gap: 24px;
}

.delivery-card,
.summary-card {
  background: white;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.delivery-title {
  margin: 0 0 24px;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.radio-group {
  display: grid;
  gap: 14px;
}

.radio-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
}

.radio-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.invoice-fields {
  display: none;
  margin-top: 24px;
}

.invoice-fields.is-visible {
  display: block;
}

.summary-product {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.summary-product__image {
  width: 90px;
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 16px;
  background: #f7f7f7;
}

.summary-product h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.summary-product p {
  margin: 0;
  color: var(--muted);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-row--total {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

@media (max-width: 980px) {

  .delivery-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .delivery-sidebar {
    order: -1;
  }

}

.form-error {
  min-height: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #dc2626;
  margin-top: 6px;
}


.extra-product {
  margin-top: 32px;
}

.extra-product__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 28px;
}

.extra-product__image {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
}

.extra-product__image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.extra-product__content h3 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.extra-product__content p {
  color: var(--muted);
  line-height: 1.7;
}

.extra-product__subtitle {
  font-weight: 800;
  color: var(--text) !important;
  margin-bottom: 12px;
}

.extra-product__bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.extra-product__bottom strong {
  font-size: 2rem;
}

@media (max-width: 740px) {
  .extra-product__card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.order-product-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-product-row__image {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.order-product-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-product-row__content strong {
  color: var(--text);
}

.order-product-row__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 10px;
  font-size: 1.1rem;
}

.order-addon-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.order-addon-box strong {
  display: block;
  color: var(--text);
}

.order-addon-box p {
  margin: 4px 0 0;
  color: var(--muted);
}

@media (max-width: 740px) {
  .order-product-row {
    grid-template-columns: 64px 1fr;
  }

  .order-product-row__image {
    width: 64px;
    height: 64px;
  }

  .order-product-row__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
}

.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.radio-card.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.summary-product__image,
.order-product-row__image,
.cart-item img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.summary-product__image img,
.order-product-row__image img,
.cart-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ===================================== */
/* TABLET */
/* ===================================== */

@media (max-width: 1024px) {

  .hero__grid,
  .kit-layout,
  .two-col,
  .delivery-layout,
  .cta-box {
    grid-template-columns: 1fr !important;
  }

  .hero__visual,
  .kit-visual,
  .image-panel,
  .sample-cards {
    order: -1;
  }

  .delivery-sidebar {
    position: static !important;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===================================== */
/* MOBILE */
/* ===================================== */

@media (max-width: 768px) {

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: 42px !important;
    line-height: 1.1;
  }

  .section-heading h2 {
    font-size: 36px !important;
    line-height: 1.15;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .cards-grid,
  .gallery-grid,
  .topics-grid,
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }

  .words-columns {
    grid-template-columns: 1fr !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .sample-cards {
    grid-template-columns: 1fr !important;
  }

  .hero-card img,
  .kit-visual img,
  .image-panel img {
    max-width: 100%;
    height: auto;
  }

  .gallery-card {
    height: 320px;
  }

  .gallery-card img {
    object-fit: contain;
  }

}


/* ===================================== */
/* SMALL MOBILE */
/* ===================================== */

@media (max-width: 480px) {

  .hero__title {
    font-size: 32px !important;
  }

  .section-heading h2 {
    font-size: 28px !important;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .header__inner {
    flex-direction: column;
    gap: 16px;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .cart-button {
    width: 100%;
  }

  .gallery-card {
    height: 260px;
  }

}


@media (max-width: 768px) {

  .delivery-layout {
    display: flex;
    flex-direction: column;
  }

  .delivery-sidebar {
    order: -1;
    margin-bottom: 20px;
  }

  .summary-card {
    position: static !important;
    width: 100%;
  }

}



@media (max-width:768px) {

  .gallery-card {
    height: 260px;
    padding: 15px;
  }

  .gallery-card img {
    transform: scale(1.15);
  }

}


.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.header-contacts a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.header-contacts a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .header__inner {
    align-items: flex-start;
  }

  .header__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-contacts {
    width: 100%;
    order: 3;
    font-size: 0.78rem;
    text-align: right;
  }
}

@media (max-width: 520px) {
  .header__inner {
    align-items: stretch;
  }

  .header__actions {
    justify-content: center;
  }

  .header-contacts {
    text-align: center;
  }
}

