/* =========================================================
   0) FONT
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");


/* =========================================================
   1) DESIGN TOKENS
   ========================================================= */
:root {
  --ct-black: #090909;
  --ct-black-soft: #090909;
  --ct-graphite: #121416;
  --ct-white: #ffffff;
  --ct-surface: #f5f6f7;
  --ct-border: rgba(255, 255, 255, 0.12);
  --ct-text: #15171a;
  --ct-text-muted: rgba(255, 255, 255, 0.56);
  --ct-danger: #ff2d2d;
  --ct-muted: rgba(255, 255, 255, 0.72);

  --ct-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ct-font-main: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --ct-size-10: 10px;
  --ct-size-11: 11px;
  --ct-size-12: 12px;
  --ct-size-13: 13px;
  --ct-size-14: 14px;
  --ct-size-15: 15px;
  --ct-size-16: 16px;
  --ct-size-18: 18px;
  --ct-size-20: 20px;
  --ct-size-24: 24px;
  --ct-size-28: 28px;

  --ct-radius: 5px;
  --ct-space-8: 8px;
  --ct-space-12: 12px;
  --ct-space-16: 16px;
  --ct-space-20: 20px;
  --ct-space-24: 24px;
  --ct-space-32: 32px;
  --ct-space-48: 48px;

  --ct-shell: 1600px;
  --ct-gutter: 20px;
  --ct-container-gutter: 20px;
  --ct-container-max: 1600px;
  --ct-control: 50px;

  --ct-header-main: 76px;
  --ct-header-nav: 44px;
  --ct-header-mobile: 65px;
  --ct-header-h: 120px;
  --ct-bottom-bar: 72px;
  --ct-logo-d: 48px;
  --ct-logo-t: 42px;
  --ct-logo-m: 36px;

  --ct-z-header: 9990;
  --ct-z-overlay: 9995;
  --ct-z-panel: 9998;
  --ct-z-bottom: 9991;

  --ct-fast: 160ms;
  --ct-normal: 240ms;
  --ct-duration-normal: 240ms;
  --ct-duration-slow: 320ms;
  --ct-ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --ct-weight-semibold: 600;

  --ct-section-pad-y: 120px;
  --ct-section-pad-y-tablet: 88px;
  --ct-section-pad-y-mobile: 72px;
  --ct-section-title-gap: 24px;
  --ct-section-content-gap: 64px;
  --ct-section-content-gap-mobile: 40px;
  --ct-section-lead-max: 760px;

  --bs-cat-image: none;
  --bs-header-anchor-height: 0px;
  --bs-bottom-height: var(--ct-bottom-bar);
  --bs-control: var(--ct-control);
  --bs-radius: var(--ct-radius);
  --bs-font: var(--ct-font);
  --bs-danger: var(--ct-danger);
  --bs-header-black: var(--ct-black);
  --bs-fast: var(--ct-fast) ease;
  --bs-header-live-height: 120px;
}

@media (min-width: 1200px) {
  :root {
    --ct-gutter: 40px;
    --ct-container-gutter: 40px;
  }
}

@media (max-width: 1024px) {
  :root {
    --ct-control: 46px;
    --ct-section-pad-y: var(--ct-section-pad-y-tablet);
    --ct-section-content-gap: var(--ct-section-content-gap-mobile);
    --ct-header-h: 65px;
    --bs-header-live-height: 65px;
  }
}

@media (max-width: 640px) {
  :root {
    --ct-section-pad-y: var(--ct-section-pad-y-mobile);
  }
}


/* =========================================================
   2) SHARED SECTION TYPE
   ========================================================= */
.bs-sec-title {
  margin: 0;
  color: #fff;
  font-family: var(--ct-font);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.bs-sec-lead {
  max-width: var(--ct-section-lead-max);
  margin: var(--ct-section-title-gap) 0 0;
  color: var(--ct-muted);
  font-family: var(--ct-font);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.6;
}


/* =========================================================
   3) GLOBAL UX HELPERS
   ========================================================= */
html.bs-lock,
body.bs-lock {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
body.bs-lock {
  touch-action: none;
}

.bs-contacts__socials a,
.bs-reviews__ycta,
.bs-action,
.bs-catalog-trigger,
.bs-footer__cta a,
a.bs-bottom-item {
  text-decoration: none !important;
}

#bsCertsLightbox,
#bsCertsLightbox * {
  font-family: var(--ct-font, "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
}


/* =========================================================
   4) TILDA FIX — промокод в корзине (flex вместо table)
   Высота = --ct-control (50px). Не ломать.
   ========================================================= */
.t-inputpromocode__wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.t-inputpromocode {
  flex: 1 1 auto !important;
  height: var(--ct-control, 50px) !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
}

.t-inputpromocode__btn {
  height: var(--ct-control, 50px) !important;
  padding: 0 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--ct-radius, 5px) !important;
  background: transparent !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  transition: .25s ease;
}

.t-inputpromocode__btn:hover {
  background: #000 !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .t-inputpromocode__wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .t-inputpromocode,
  .t-inputpromocode__btn {
    width: 100% !important;
  }
}