/* ==========================================================================
   Главная страница `thecbd.ru` — Волна 1 (1-to-1 Figma 7328:28209 + Адаптив)
   ========================================================================== */

/* Top dark announcement bar (Figma 7713:5809) */
.cbd-topbar {
  background: var(--color-bar-dark, #19191a);
  color: #ffffff;
  height: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.cbd-topbar__marquee {
  display: flex;
  width: max-content;
  animation: cbd-marquee 28s linear infinite;
}

.cbd-topbar:hover .cbd-topbar__marquee {
  animation-play-state: paused;
}

.cbd-topbar__text {
  font-family: var(--font-announcement, "Onest", "Montserrat", sans-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: 1.4px;
  color: #ffffff;
  white-space: nowrap;
  padding-inline: 18px;
}

@keyframes cbd-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cbd-topbar__marquee {
    animation: none;
    width: 100%;
    justify-content: center;
  }
  .cbd-topbar__text[aria-hidden="true"] {
    display: none;
  }
}

/* Section scaffolding */
.cbd-section {
  padding-block: 100px;
  background: var(--color-bg-page, #ffffff);
  overflow-x: clip;
}

.cbd-section--compact {
  padding-block: 48px;
}

.cbd-section--popular {
  padding-top: 48px;
  padding-bottom: 100px;
}

.cbd-section--mint {
  background: var(--color-brand-mint, #fdf9f9);
  padding-block: 100px;
}

.cbd-section--sage {
  background: #dce4d9;
  padding-block: 56px;
}

.cbd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.cbd-section-head--stack {
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 12px;
  margin-bottom: 32px;
}

.cbd-section-title {
  margin: 0;
  font-size: var(--text-2xl, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary, #202c25);
}

.cbd-section-title--lg {
  font-size: 36px;
  line-height: 1.15;
}

.cbd-section-subtitle {
  margin: 0;
  font-size: var(--text-sm, 14px);
  line-height: 1.7;
  color: var(--color-text-secondary, #5b685f);
}

/* Header link buttons matching Figma borderless / soft variants */
.cbd-link-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand-primary, #317627);
  text-decoration: none;
  background: transparent;
  border: 0;
  white-space: nowrap;
  transition: background var(--transition-fast, 150ms ease), opacity var(--transition-fast, 150ms ease);
}

.cbd-link-ghost:hover {
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-link-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand-primary, #317627);
  text-decoration: none;
  background: var(--color-brand-soft, #e6efe2);
  border: 1px solid var(--color-border, #dce4d9);
  white-space: nowrap;
  transition: border-color var(--transition-fast, 150ms ease), background var(--transition-fast, 150ms ease);
}

.cbd-link-soft:hover {
  border-color: var(--color-brand-primary, #317627);
  background: #dce8d7;
}

.cbd-reviews-head-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cbd-icon-link-44 {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-icon-link-44:hover {
  background: var(--color-brand-soft, #e6efe2);
}

/* Header (Figma 7331:2742) */
.cbd-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-bg-page, #ffffff);
  border-bottom: 1px solid var(--color-header-border, rgba(0, 0, 0, 0.1));
}

.cbd-header__container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--container-pad-header, 100px);
}

.cbd-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 21px;
  padding-bottom: 16px;
}

.cbd-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cbd-header__logo img {
  width: 136px;
  height: 24px;
  max-width: none;
}

.cbd-header__contacts {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-shrink: 0;
}

.cbd-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}

.cbd-header__phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78b968;
  flex-shrink: 0;
}

.cbd-header__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 12px;
  background: #f5f5f5;
  color: var(--color-brand-accent, #3f892c);
  font-size: 12px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-header__help:hover {
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-header__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cbd-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9.818px;
  border: 0.818px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color var(--transition-fast, 150ms ease), background var(--transition-fast, 150ms ease);
}

.cbd-icon-box:hover {
  border-color: var(--color-brand-primary, #317627);
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-icon-box--muted {
  background: rgba(136, 136, 136, 0.1);
  border-color: transparent;
  border-radius: 12px;
  position: relative;
}

.cbd-badge-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 19px;
  height: 15px;
  padding: 0 5px;
  border-radius: 30px;
  background: #e5e5e5;
  color: #656565;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cbd-header__search {
  position: relative;
  width: 224px;
  height: 35px;
  flex-shrink: 0;
}

.cbd-header__search input {
  width: 100%;
  height: 35px;
  padding: 0 36px 0 16px;
  border: 1px solid #efefef;
  border-radius: 12px;
  background: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #000000;
  outline: none;
  transition: border-color var(--transition-fast, 150ms ease);
}

.cbd-header__search input::placeholder {
  color: #888888;
}

.cbd-header__search input:focus {
  border-color: var(--color-brand-accent, #3f892c);
}

.cbd-header__search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cbd-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cbd-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 94px;
  height: 36px;
  padding: 0 15px;
  border-radius: 12px;
  background: var(--color-brand-accent, #3f892c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-header__login:hover {
  background: var(--color-brand-primary-hover, #275f1f);
}

.cbd-header__bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 8px;
  padding-bottom: 16px;
}

/* Interactive City Selector matching production & Figma */
.cbd-city-wrap {
  position: relative;
  width: 170px;
  flex-shrink: 0;
}

.cbd-header__city {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #000000;
  cursor: pointer;
  white-space: nowrap;
}

.cbd-header__city:hover {
  color: var(--color-brand-primary, #317627);
}

.cbd-city-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(310px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(32, 44, 37, 0.14);
  padding: 16px;
  z-index: 70;
}

.cbd-city-wrap.is-open .cbd-city-dropdown {
  display: block;
}

.cbd-city-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cbd-city-dropdown__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary, #202c25);
}

.cbd-city-dropdown__close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f5f5f5;
  color: var(--color-text-primary, #202c25);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cbd-city-dropdown__close:hover {
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-city-dropdown__search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #fdf9f9;
  font-family: inherit;
  font-size: 13px;
  color: var(--color-text-primary, #202c25);
  margin-bottom: 10px;
  outline: none;
}

.cbd-city-dropdown__search:focus {
  border-color: var(--color-brand-primary, #317627);
}

.cbd-city-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}

.cbd-city-dropdown__item {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary, #202c25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cbd-city-dropdown__item:hover {
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
}

.cbd-city-dropdown__item.is-active {
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
  font-weight: 600;
}

/* Main Navigation spanning full remainder like Figma 7331:2742 */
.cbd-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cbd-nav__catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 36px;
  padding: 0 15px;
  border-radius: 12px;
  background: var(--color-brand-accent, #3f892c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-nav__catalog:hover {
  background: var(--color-brand-primary-hover, #275f1f);
}

.cbd-nav__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast, 150ms ease);
}

.cbd-nav__link:hover {
  color: var(--color-brand-primary, #317627);
}

.cbd-nav-dropdown {
  position: relative;
}

.cbd-nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.cbd-nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 224px;
  background: #ffffff;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 12px;
  box-shadow: var(--shadow-md, 0 8px 24px rgba(32, 44, 37, 0.08));
  padding: 8px;
  z-index: 55;
  flex-direction: column;
  gap: 2px;
}

.cbd-nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -8px;
  right: -8px;
  height: 16px;
}

.cbd-nav-dropdown:hover .cbd-nav-dropdown__menu,
.cbd-nav-dropdown:focus-within .cbd-nav-dropdown__menu,
.cbd-nav-dropdown.is-open .cbd-nav-dropdown__menu {
  display: flex;
}

.cbd-nav-dropdown__menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary, #202c25);
  text-decoration: none;
}

.cbd-nav-dropdown__menu a:hover {
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
}

.cbd-burger {
  display: none;
  border: 1px solid var(--color-border, #dce4d9);
  background: #ffffff;
  border-radius: 10px;
  height: 36px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary, #202c25);
  cursor: pointer;
}

/* ==========================================================================
   1. Hero Banner Carousel (Figma 7328:28873 + 7465:991 + 7717:6851 + 7719:6954)
   ========================================================================== */
.cbd-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 598px;
  aspect-ratio: 1440 / 598;
  background: #f5f2eb;
}

.cbd-hero__slides {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 598px;
  aspect-ratio: 1440 / 598;
  height: 100%;
}

.cbd-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-top: clamp(80px, 7vw, 136px);
  padding-bottom: clamp(32px, 3.5vw, 64px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), visibility 600ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.cbd-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.cbd-hero__slide--lifestyle {
  background: #274838;
}

.cbd-hero__bg-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.cbd-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  z-index: 0;
}

.cbd-hero__bg-img--pets {
  object-position: right bottom;
}

.cbd-hero__bg-img--lifestyle {
  left: auto;
  right: 0;
  width: 55%;
  object-position: right bottom;
}

/* Frosted blur + green/gold atmospheric glow blobs matching Figma 7328:28873, 7717:6851, 7719:6954 */
.cbd-hero__decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.cbd-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cbd-hero__blob--glass {
  left: 179px;
  top: -40px;
  width: 622px;
  height: 622px;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(72px);
  backdrop-filter: blur(72px);
  -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 72%);
  mask-image: radial-gradient(circle, #000 38%, transparent 72%);
}

.cbd-hero__blob--lime {
  right: -140px;
  top: -40px;
  width: 380px;
  height: 380px;
  background: #99c452;
  opacity: 0.65;
  filter: blur(110px);
}

.cbd-hero__blob--forest {
  left: -40px;
  top: 360px;
  width: 320px;
  height: 320px;
  background: #317627;
  opacity: 0.22;
  filter: blur(100px);
}

.cbd-hero__blob--gold {
  right: -60px;
  top: 380px;
  width: 280px;
  height: 280px;
  background: #e3ba61;
  opacity: 0.45;
  filter: blur(90px);
}

.cbd-hero__blob--glass-wide {
  left: -109px;
  top: -175px;
  width: 892px;
  height: 892px;
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(72px);
  backdrop-filter: blur(72px);
  -webkit-mask-image: radial-gradient(circle, #000 42%, transparent 74%);
  mask-image: radial-gradient(circle, #000 42%, transparent 74%);
}

.cbd-hero__blob--lime-left {
  left: -80px;
  top: -40px;
  width: 440px;
  height: 440px;
  background: #99c452;
  opacity: 0.65;
  filter: blur(110px);
}

.cbd-hero__blob--forest-left {
  left: -128px;
  top: 323px;
  width: 503px;
  height: 503px;
  background: #317627;
  opacity: 0.22;
  filter: blur(100px);
}

.cbd-hero__blob--gold-left {
  left: 240px;
  top: 190px;
  width: 385px;
  height: 385px;
  background: #e3ba61;
  opacity: 0.45;
  filter: blur(90px);
}

.cbd-hero__bokeh {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}

.cbd-hero__bokeh--center {
  left: 42%;
  bottom: -45px;
  width: 170px;
  height: 185px;
  filter: blur(6px);
}

.cbd-hero__bokeh--right {
  right: -140px;
  bottom: -95px;
  width: 320px;
  height: 310px;
  filter: blur(8px);
  transform: rotate(-118deg) scaleY(-1);
}

/* Soft scrim complementing blobs and securing text readability */
.cbd-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.cbd-hero__slide:not(.cbd-hero__slide--lifestyle) .cbd-hero__scrim {
  background:
    linear-gradient(90deg, rgba(242, 240, 234, 0.56) 0%, rgba(242, 240, 234, 0.24) 44%, rgba(242, 240, 234, 0) 68%);
}

.cbd-hero__slide--lifestyle .cbd-hero__scrim {
  background:
    linear-gradient(90deg, rgba(164, 198, 128, 0.72) 0%, rgba(133, 166, 122, 0.48) 38%, rgba(39, 72, 56, 0) 68%);
}

.cbd-hero__content {
  position: relative;
  z-index: 3;
}

.cbd-hero__offer {
  position: relative;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.cbd-hero__brand-mark {
  position: absolute;
  top: -58px;
  left: 0;
  width: 207px;
  height: 40px;
  background-color: #4a4a4a;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: left center;
  mask-position: left center;
}

.cbd-hero__title {
  margin: 0;
  min-height: 177px;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-text-primary, #202c25);
}

.cbd-hero__subtitle {
  margin: 0;
  min-height: 54px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
  max-width: 460px;
}

.cbd-hero__slide--lifestyle .cbd-hero__subtitle {
  color: #2f3c32;
}

.cbd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Figma button styling (48px height, 8px radius, 14px SemiBold) */
.cbd-btn-figma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-btn-figma--primary {
  background: var(--color-brand-primary, #317627);
  color: #ffffff;
}

.cbd-btn-figma--primary:hover {
  background: var(--color-brand-primary-hover, #275f1f);
}

.cbd-btn-figma--secondary {
  background: #ffffff;
  border-color: var(--color-border, #dce4d9);
  color: var(--color-brand-primary, #317627);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cbd-btn-figma--secondary:hover {
  background: #f5f9f3;
  border-color: var(--color-brand-primary, #317627);
}

.cbd-btn-figma--white {
  background: #ffffff;
  border-color: transparent;
  color: var(--color-brand-primary, #317627);
}

.cbd-btn-figma--white:hover {
  background: #f5f9f3;
}

.cbd-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d3d3d3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-hero__arrow:hover {
  border-color: var(--color-brand-primary, #317627);
  transform: translateY(-50%) scale(1.05);
}

.cbd-hero__arrow--prev { left: 16px; }
.cbd-hero__arrow--next { right: 16px; }

.cbd-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbd-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3d3d3;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-hero__dot.is-active {
  background: var(--color-brand-primary, #317627);
  transform: scale(1.15);
}

/* ==========================================================================
   2. Почему безопасно покупать у нас (Figma 7328:29132)
   ========================================================================== */
.cbd-adv-card {
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: transform var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.cbd-adv-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}

.cbd-adv-card__icon {
  position: relative;
  width: 146px;
  height: 152px;
  border-radius: 74.5px;
  background: var(--color-brand-tint, #ecf3ea);
  flex-shrink: 0;
}

.cbd-adv-card__icon img {
  position: absolute;
  left: 2px;
  top: -12px;
  width: 146px;
  height: 146px;
  max-width: none;
}

.cbd-adv-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary, #202c25);
}

.cbd-adv-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-adv-card__text p {
  margin: 0 0 12px;
}

.cbd-adv-card__text p:last-child {
  margin-bottom: 0;
}

.cbd-adv-card__list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary, #5b685f);
}

/* ==========================================================================
   3. Каталог CBD-продукции (Figma 7328:28908)
   ========================================================================== */
.cbd-cat-card {
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  padding: 16px;
  min-height: 290px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-cat-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}

.cbd-cat-card__img {
  height: 182px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cbd-cat-card__img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.cbd-cat-card__title {
  margin: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text-primary, #202c25);
}

.cbd-cat-card__count {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

/* ==========================================================================
   4. Популярные товары — Horizontal Carousel + White Photo Bg + Cashback Tooltips
   ========================================================================== */
.cbd-products-track {
  display: flex;
  gap: 16px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 4px;
}

.cbd-products-track::-webkit-scrollbar {
  display: none;
}

.cbd-product-card {
  position: relative;
  flex: 0 0 308px;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.cbd-product-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}

.cbd-product-card__media {
  position: relative;
  height: 192px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.cbd-product-card__media > img {
  height: 180px;
  width: 100%;
  object-fit: contain;
}

.cbd-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.cbd-pill--yellow {
  background: var(--color-yellow, #ffcc00);
  color: var(--color-yellow-badge-ink, #3f403f);
}

.cbd-pill--beige {
  background: var(--color-card-beige, #f3eee3);
  color: var(--color-brand-primary, #317627);
}

.cbd-product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.cbd-product-card__wish {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-product-card__wish:hover,
.cbd-product-card__wish.is-active {
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-product-card__wish:hover {
  transform: scale(1.06);
}

.cbd-product-card__brand {
  font-size: 11px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-product-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 44px;
  color: var(--color-text-primary, #202c25);
}

.cbd-product-card__meta {
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-product-card__rating {
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-brand-primary, #317627);
}

.cbd-product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
}

.cbd-product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cbd-product-card__price {
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
  color: var(--color-text-primary, #202c25);
  white-space: nowrap;
}

.cbd-product-card__old-price {
  font-size: 12px;
  color: var(--color-text-secondary, #5b685f);
  text-decoration: line-through;
  white-space: nowrap;
}

/* Cashback badges + popups (Figma 7547:3300 standard / 7547:3289 enhanced) */
.cbd-cashback-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.cbd-cashback-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0;
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  cursor: pointer;
  white-space: nowrap;
}

.cbd-cashback-btn--enhanced {
  background: var(--color-yellow, #ffcc00);
  color: var(--color-yellow-ink, #2c2300);
}

.cbd-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 220px;
  max-width: calc(100vw - 48px);
  padding: 12px;
  border-radius: 12px;
  background: #202c25;
  color: #ffffff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.14);
  z-index: 30;
  text-align: left;
  pointer-events: auto;
}

.cbd-tooltip--enhanced {
  background: var(--color-brand-primary, #317627);
}

.cbd-tooltip__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #ffffff;
}

.cbd-tooltip__box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.cbd-tooltip__box strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 4px;
}

.cbd-cashback-wrap:hover .cbd-tooltip,
.cbd-cashback-wrap:focus-within .cbd-tooltip,
.cbd-cashback-wrap.is-open .cbd-tooltip {
  display: block;
}

/* Carousel Bottom Controls (Progress track + Prev/Next arrows) */
.cbd-carousel-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cbd-carousel-progress {
  flex: 1 1 auto;
  width: auto;
  max-width: 340px;
  min-width: 0;
  height: 3px;
  background: var(--color-border, #dce4d9);
  position: relative;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
}

.cbd-carousel-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 50%;
  background: var(--color-brand-primary, #317627);
  border-radius: 2px;
  transition: width 150ms ease, transform 150ms ease;
}

.cbd-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cbd-carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-carousel-arrow-btn:hover {
  background: var(--color-brand-soft, #e6efe2);
}

/* ==========================================================================
   5. Подбор продукта и расчёт дозировки (Figma 7328:29095)
   ========================================================================== */
.cbd-calc-box {
  background: #ffffff;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 654px) minmax(0, 542px);
  gap: 24px;
  align-items: stretch;
  overflow: visible;
}

.cbd-calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cbd-calc-intro {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-calc-intro__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text-primary, #202c25);
}

.cbd-calc-intro__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-calc-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: var(--color-brand-sage, #f2f6f0);
  border: 1px solid var(--color-border, #dce4d9);
}

.cbd-calc-switch__btn {
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary, #5b685f);
  cursor: pointer;
  transition: background var(--transition-fast, 150ms ease), color var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease);
}

.cbd-calc-switch__btn:hover {
  color: var(--color-brand-primary, #317627);
}

.cbd-calc-switch__btn.is-active {
  background: var(--color-brand-primary, #317627);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(49, 118, 39, 0.2);
}

.cbd-calc-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cbd-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbd-field__label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  line-height: normal;
}

/* Custom downward-opening dropdown (NOT native OS <select>) */
.cbd-select {
  position: relative;
  width: 100%;
}

.cbd-select__trigger {
  width: 100%;
  height: 48px;
  padding: 0 15px 0 20px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #fdf9f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #aeaeae;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition-fast, 150ms ease);
}

.cbd-select__trigger.has-value {
  color: var(--color-text-primary, #202c25);
}

.cbd-select.is-open .cbd-select__trigger,
.cbd-select__trigger:focus-visible {
  border-color: var(--color-brand-primary, #317627);
  outline: none;
}

.cbd-select__chevron {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cbd-select__chevron img {
  width: 8px;
  height: 14px;
  transform: rotate(-90deg);
  transition: transform 160ms ease;
}

.cbd-select.is-open .cbd-select__chevron img {
  transform: rotate(90deg);
}

.cbd-select__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(32, 44, 37, 0.14);
  max-height: 240px;
  overflow-y: auto;
}

.cbd-select.is-open .cbd-select__menu {
  display: block;
}

.cbd-select__option {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary, #202c25);
  text-align: left;
  cursor: pointer;
}

.cbd-select__option:hover,
.cbd-select__option.is-selected {
  background: var(--color-brand-soft, #e6efe2);
  color: var(--color-brand-primary, #317627);
}

/* Custom Weight Range Slider */
.cbd-slider-wrap {
  padding-top: 8px;
}

.cbd-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #d3d3d3;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.cbd-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-brand-accent, #3f892c);
  border: 1px solid #d3d3d3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.cbd-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-brand-accent, #3f892c);
  border: 1px solid #d3d3d3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.cbd-calc-weight-readout {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}

/* Right Preview Banner (Figma 7347:2944 — NO white box overlay) */
.cbd-calc-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 496px;
  height: 100%;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  background: #e5e8d6;
}

.cbd-calc-preview__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cbd-calc-preview__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 88%, rgba(188, 212, 108, 0.85) 0%, rgba(188, 212, 108, 0.42) 50%, transparent 80%),
    radial-gradient(45% 45% at 75% 92%, rgba(227, 186, 97, 0.55) 0%, transparent 75%);
}

.cbd-calc-preview__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary, #202c25);
}

.cbd-calc-preview__text {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 388px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: #171717;
}

/* ==========================================================================
   6. Акции (Figma 7328:29155)
   ========================================================================== */
.cbd-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cbd-promo-card {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-card-beige, #f3eee3);
  transition: transform var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease);
}

.cbd-promo-card--beige {
  background: var(--color-card-beige, #f3eee3);
}

.cbd-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
}

.cbd-promo-card__offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.cbd-promo-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-brand-primary, #317627);
}

.cbd-promo-card__title {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary, #202c25);
}

.cbd-promo-card__date {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-promo-card__img {
  width: 210px;
  height: 210px;
  border-radius: 39px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   7. Отзывы покупателей — Carousel + Pagination Dots (Figma 7328:29178)
   ========================================================================== */
.cbd-reviews-stage {
  position: relative;
}

.cbd-reviews-track {
  display: flex;
  gap: 20px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 4px;
}

.cbd-reviews-track::-webkit-scrollbar {
  display: none;
}

.cbd-review-card {
  flex: 0 0 413px;
  min-height: 362px;
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.cbd-review-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
}

.cbd-review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cbd-review-card__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary, #202c25);
}

.cbd-review-card__date {
  font-size: 11px;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-review-card__stars {
  color: var(--color-brand-primary, #317627);
  font-size: 17px;
  line-height: 1.55;
  margin-block: 10px 8px;
}

.cbd-review-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-primary, #202c25);
}

.cbd-review-card__text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cbd-review-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-brand-primary, #317627);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cbd-review-card__more:hover {
  background: var(--color-brand-soft, #e6efe2);
}

.cbd-review-card__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border, #dce4d9);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-primary, #317627);
  text-decoration: underline;
}

.cbd-review-card__product img {
  width: 48px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.cbd-reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d3d3d3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast, 150ms ease);
}

.cbd-reviews-arrow:hover {
  border-color: var(--color-brand-primary, #317627);
}

.cbd-reviews-arrow--prev { left: -24px; }
.cbd-reviews-arrow--next { right: -24px; }

.cbd-reviews-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cbd-reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d3d3d3;
  cursor: pointer;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-reviews-dot.is-active {
  background: var(--color-brand-primary, #317627);
}

/* ==========================================================================
   8. Бренды (Figma 7328:29269) — Strictly B&W / Monochrome logos
   ========================================================================== */
.cbd-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cbd-brand-card {
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 8px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-brand-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}

.cbd-brand-mask {
  display: block;
  width: 206px;
  max-width: 100%;
  height: 40px;
  background-color: #4a4a4a;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.cbd-brand-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   9. Что такое CBD (Figma 7384:5349) — 1-to-1 Bento + Bottom Strip
   ========================================================================== */
.cbd-what-grid {
  display: grid;
  grid-template-columns: minmax(0, 472px) minmax(0, 1fr);
  gap: 24px;
}

.cbd-what-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cbd-what-bottom-row {
  display: grid;
  grid-template-columns: 407fr 351fr;
  gap: 24px;
}

.cbd-what-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 346px;
  background: #ffffff;
}

.cbd-what-card--tall {
  min-height: 716px;
}

.cbd-what-card--dark {
  background: #1a241e;
  color: #ffffff;
}

.cbd-what-card--green {
  background: linear-gradient(180deg, #235d1a 0%, #3f892c 100%);
  color: #ffffff;
}

.cbd-what-card--photo {
  padding: 0;
  background: #e6dfd5;
}

.cbd-what-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cbd-what-card__scrim--tall {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(242, 246, 240, 0.98) 0%, rgba(242, 246, 240, 0.96) 14%, rgba(255, 255, 255, 0) 39%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(242, 246, 240, 0.98) 92%);
}

.cbd-what-card__scrim--dark {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
}

.cbd-what-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-what-card__num {
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}

.cbd-what-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.cbd-what-card__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 377px;
}

.cbd-what-card__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-brand-primary, #317627);
  width: fit-content;
}

.cbd-what-card__link--white {
  color: #ffffff;
}

.cbd-what-card__link img {
  width: 12px;
  height: 12px;
}

.cbd-what-editorial {
  margin-top: 32px;
  border-top: 1px solid var(--color-border, #dce4d9);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.cbd-what-editorial__left {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-what-editorial__title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary, #202c25);
}

.cbd-what-editorial__text {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #363636;
}

/* ==========================================================================
   10. Статьи о CBD + Подписывайся на рассылку (Figma 7328:29307 + 7558:3255)
   ========================================================================== */
.cbd-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cbd-article-card {
  border: 1px solid var(--color-border, #dce4d9);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast, 150ms ease), box-shadow var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.cbd-article-card:hover {
  border-color: var(--color-brand-primary, #317627);
  box-shadow: var(--shadow-sm, 0 4px 6px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}

.cbd-article-card__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.cbd-article-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbd-article-card__tag {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-brand-primary, #317627);
}

.cbd-article-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 64px;
  color: var(--color-text-primary, #202c25);
}

.cbd-article-card__date {
  font-size: 11px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-subscribe {
  margin-top: 80px;
  background: var(--color-brand-sub, #d5e7d0);
  border-radius: 24px;
  padding: 14px 36px 14px 14px;
  display: grid;
  grid-template-columns: minmax(0, 507px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  min-height: 488px;
}

.cbd-subscribe__img {
  width: 100%;
  height: 455px;
  object-fit: cover;
  border-radius: 39px;
}

.cbd-subscribe__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: #111827;
}

.cbd-subscribe__row {
  display: flex;
  gap: 8px;
  margin-block: 24px 16px;
  max-width: 629px;
}

.cbd-subscribe__row input[type="email"] {
  flex: 1;
  height: 40px;
  padding: 0 22px;
  border-radius: 8px;
  border: 0;
  background: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary, #202c25);
  outline: none;
}

.cbd-subscribe__row input[type="email"]::placeholder {
  color: #727272;
}

.cbd-subscribe__submit {
  width: 152px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--color-brand-accent, #3f892c);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast, 150ms ease);
}

.cbd-subscribe__submit:hover {
  background: var(--color-brand-primary-hover, #275f1f);
}

.cbd-subscribe .cbd-consent {
  padding: 6px 8px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--color-text-secondary, #5b685f);
}

.cbd-subscribe .cbd-consent input[type="checkbox"] {
  margin-top: 0;
}

.cbd-subscribe__soc-heading {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #000000;
}

.cbd-subscribe__socials {
  display: flex;
  gap: 22px;
  margin-top: 16px;
}

.cbd-subscribe__soc-btn {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--color-brand-accent, #3f892c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.cbd-subscribe__soc-btn:hover {
  background: var(--color-brand-primary-hover, #275f1f);
  transform: translateY(-2px);
}

/* ==========================================================================
   11. Full Footer (Figma 7393:5549)
   ========================================================================== */
.cbd-footer {
  background: var(--color-footer-bg, #193d2c);
  color: var(--color-footer-text, #e0ebe0);
  padding-block: 48px;
  overflow-x: clip;
}

.cbd-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.cbd-footer__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
}

.cbd-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-footer__list a {
  font-size: 12px;
  line-height: 1.55;
  color: #e0ebe0;
  text-decoration: none;
}

.cbd-footer__list a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.cbd-footer__mid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cbd-footer__contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cbd-footer__phone-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cbd-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.cbd-footer__help-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 18px;
  border-radius: 60px;
  background: rgba(120, 185, 104, 0.15);
  color: #78b968;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.cbd-footer__help-pill:hover {
  background: rgba(120, 185, 104, 0.25);
}

.cbd-footer__email-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  font-weight: 500;
}

.cbd-footer__email-label {
  color: #aeaeae;
}

.cbd-footer__email-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid var(--color-brand-accent, #3f892c);
  padding-bottom: 4px;
  line-height: 22px;
}

.cbd-footer__email-link:hover {
  border-color: #78b968;
}

.cbd-footer__social-yandex {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cbd-footer__soc-btn {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.cbd-footer__soc-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.cbd-footer__address {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #ffffff;
}

.cbd-footer__brand-pay {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cbd-footer__payments {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cbd-footer__mir-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.cbd-footer__disclaimer {
  margin: 32px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
}

.cbd-footer__disclaimer a {
  color: #93a799;
  text-decoration: none;
}

.cbd-footer__disclaimer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cbd-footer__copy {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.55;
  color: #dce8db;
}

/* ==========================================================================
   Mobile Bottom Tabbar (<992px)
   ========================================================================== */
.cbd-tabbar {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1279px) {
  .cbd-hero,
  .cbd-hero__slides {
    min-height: 520px;
  }
  .cbd-hero__title {
    font-size: clamp(34px, 3.2vw, 44px);
    min-height: 0;
  }
  .cbd-hero__subtitle {
    font-size: 15px;
    min-height: 0;
  }
  .cbd-hero__arrow {
    width: 40px;
    height: 40px;
  }
  .cbd-hero__arrow--prev { left: 8px; }
  .cbd-hero__arrow--next { right: 8px; }
  .cbd-header__container {
    padding-inline: 32px;
  }
  .cbd-header__socials {
    display: none;
  }
  .cbd-calc-box {
    grid-template-columns: 1fr;
  }
  .cbd-what-grid {
    grid-template-columns: 1fr;
  }
  .cbd-what-card--tall {
    min-height: 460px;
  }
  .cbd-subscribe {
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    gap: 28px;
    padding: 16px 28px 16px 16px;
    min-height: 0;
    align-items: stretch;
  }
  .cbd-subscribe__img {
    height: 100%;
    min-height: 340px;
    max-height: 410px;
    border-radius: 20px;
    object-position: center 20%;
  }
  .cbd-subscribe__title {
    font-size: 20px;
  }
  .cbd-subscribe__row {
    max-width: 100%;
    margin-block: 18px 12px;
  }
  .cbd-subscribe__soc-heading {
    margin-top: 16px;
    font-size: 15px;
  }
  .cbd-subscribe__socials {
    gap: 14px;
    margin-top: 12px;
  }
  .cbd-subscribe__soc-btn {
    width: 48px;
    height: 48px;
  }
  .cbd-subscribe__soc-btn img {
    max-width: 24px;
    max-height: 24px;
  }
  .cbd-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cbd-reviews-arrow--prev { left: 8px; }
  .cbd-reviews-arrow--next { right: 8px; }
}

@media (max-width: 1023px) {
  .cbd-subscribe {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 20px 16px 16px;
  }
  .cbd-subscribe__img {
    min-height: 280px;
    border-radius: 18px;
  }
  .cbd-subscribe__title {
    font-size: 18px;
  }
  .cbd-subscribe__submit {
    width: 132px;
  }
  .cbd-subscribe__soc-btn {
    width: 44px;
    height: 44px;
  }
  .cbd-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cbd-what-editorial {
    flex-direction: column;
    gap: 16px;
  }
  .cbd-what-editorial__left {
    width: auto;
  }
}

@media (max-width: 991px) {
  body {
    padding-bottom: 70px;
  }
  .cbd-header__search,
  .cbd-header__bottom {
    display: none;
  }
  .cbd-header__actions a[href="/basket/"],
  .cbd-header__login {
    display: none !important;
  }
  .cbd-header__bottom.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cbd-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cbd-nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border-color: var(--color-border, #dce4d9);
    margin-top: 6px;
  }
  .cbd-burger {
    display: inline-flex;
    align-items: center;
  }
  .cbd-hero,
  .cbd-hero__slides,
  .cbd-hero__slide {
    min-height: 460px;
  }
  .cbd-hero__slide {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .cbd-hero__brand-mark {
    position: static;
  }
  .cbd-hero__title {
    font-size: 36px;
    line-height: 1.18;
    min-height: 0;
  }
  .cbd-hero__subtitle {
    font-size: 16px;
    line-height: 1.5;
    min-height: 0;
  }
  .cbd-section-title {
    font-size: 26px;
  }
  .cbd-section-title--lg {
    font-size: 28px;
  }
  .cbd-what-editorial__title {
    font-size: 24px;
  }
  .cbd-what-card__title,
  .cbd-promo-card__title,
  .cbd-calc-preview__title {
    font-size: 20px;
  }
  .cbd-subscribe__title {
    font-size: 21px;
  }
  .cbd-what-editorial__text,
  .cbd-calc-preview__text {
    font-size: 16px;
  }
  .cbd-hero__arrow {
    display: none;
  }
  .cbd-hero__bg-img--lifestyle {
    width: 100%;
    opacity: 0.45;
  }
  .cbd-promo-grid {
    grid-template-columns: 1fr;
  }
  .cbd-what-bottom-row {
    grid-template-columns: 1fr;
  }
  .cbd-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .cbd-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: #ffffff;
    border-top: 1px solid var(--color-border, #dce4d9);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  }
  .cbd-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-secondary, #5b685f);
    text-decoration: none;
    transition: color 150ms ease;
  }
  .cbd-tabbar a.is-active,
  .cbd-tabbar a:hover {
    color: var(--color-brand-primary, #317627);
    font-weight: 600;
  }
  .cbd-tabbar svg {
    display: block;
  }
  .cbd-tabbar__icon-wrap {
    position: relative;
    display: inline-flex;
  }
  .cbd-tabbar__badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 14px;
    font-size: 9px;
    padding: 0 4px;
  }
}

.cbd-section-foot-link {
  display: none;
}
.cbd-brands-wrap {
  position: relative;
  width: 100%;
}
.cbd-brands-grid--dup {
  display: none;
}
.cbd-footer__logo-mobile {
  display: none;
}

@keyframes cbd-brands-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}

@media (max-width: 639px) {
  .cbd-header__container {
    padding-inline: 12px;
  }
  .cbd-header__top {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .cbd-header__logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .cbd-header__logo img {
    width: clamp(86px, 26vw, 106px);
    height: auto;
  }
  .cbd-header__actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .cbd-icon-box--muted {
    width: 36px;
    height: 36px;
  }
  .cbd-header__actions a[href="/basket/"],
  .cbd-header__login {
    display: none !important;
  }
  .cbd-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--color-border, #dce4d9);
    background: #ffffff;
    color: var(--color-text-primary, #202c25);
    cursor: pointer;
  }
  .cbd-burger__text {
    display: none;
  }
  .cbd-burger__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15px;
    height: 11px;
  }
  .cbd-burger__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary, #202c25);
    border-radius: 1px;
  }
  .cbd-header__contacts {
    display: none;
  }
  .cbd-hero,
  .cbd-hero__slides {
    width: 100%;
    aspect-ratio: 375 / 670;
    min-height: 0 !important;
    height: auto !important;
    position: relative;
    overflow: hidden;
  }
  .cbd-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    padding-top: clamp(24px, 8.8vw, 36px);
    padding-bottom: clamp(16px, 6.4vw, 28px);
    box-sizing: border-box;
  }
  .cbd-hero .cbd-container {
    padding-inline: 24px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cbd-hero__decor {
    display: none !important;
  }
  .cbd-hero__scrim {
    display: none !important;
  }
  .cbd-hero__bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .cbd-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
  .cbd-hero__bg-img--pets {
    object-position: center bottom;
  }
  .cbd-hero__bg-img--lifestyle {
    object-position: center bottom;
    opacity: 1;
  }
  .cbd-hero__slide--lifestyle .cbd-hero__title {
    color: var(--color-text-primary, #202c25);
  }
  .cbd-hero__slide--lifestyle .cbd-hero__subtitle {
    color: var(--color-text-secondary, #5b685f);
  }
  .cbd-hero__dots {
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
  }
  .cbd-section,
  .cbd-section--mint,
  .cbd-section--popular {
    padding-block: 48px;
  }
  .cbd-section--compact {
    padding-block: 40px;
  }
  .cbd-section--sage {
    background: #dce4d9 !important;
    padding-block: 40px;
  }
  .cbd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 0;
  }
  .cbd-section-head--stack {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .cbd-section-head--stack .cbd-section-title,
  .cbd-section-head--stack .cbd-section-subtitle {
    text-align: left !important;
  }
  .cbd-what-card,
  .cbd-what-card__inner,
  .cbd-what-card__title,
  .cbd-what-card__desc,
  .cbd-what-editorial,
  .cbd-what-editorial__left,
  .cbd-what-editorial__title,
  .cbd-what-editorial__text {
    text-align: left !important;
  }
  .cbd-link-ghost--head {
    display: none !important;
  }
  .cbd-section-foot-link {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
  }
  .cbd-section-foot-link .cbd-btn-figma {
    width: 100%;
    max-width: 320px;
    height: 44px;
    font-size: 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cbd-link-ghost {
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

  /* Russian typography: natural line wrapping without awkward word splits or hyphens */
  *, *::before, *::after {
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  .cbd-hero__title,
  .cbd-section-title,
  .cbd-adv-card__title,
  .cbd-cat-card__title,
  .cbd-product-card__title,
  .cbd-promo-card__title,
  .cbd-what-card__title,
  .cbd-what-editorial__title,
  .cbd-calc-intro__title,
  .cbd-calc-preview__title,
  .cbd-subscribe__title,
  .cbd-footer__title {
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  p,
  .cbd-hero__subtitle,
  .cbd-section-subtitle,
  .cbd-adv-card__text,
  .cbd-adv-card__list,
  .cbd-review-card__text,
  .cbd-what-card__desc,
  .cbd-what-editorial__text,
  .cbd-calc-intro__sub,
  .cbd-calc-preview__text,
  .cbd-footer__address,
  .cbd-footer__disclaimer,
  .cbd-footer__copy {
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  .cbd-topbar {
    height: 38px;
  }
  .cbd-topbar__text {
    font-size: 11px;
    line-height: 20px;
    letter-spacing: 0.8px;
    padding-inline: 12px;
  }

  /* Mobile typography hierarchy: H1 > H2 > H3 > Body > Caption */
  .cbd-hero__offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 328px;
    width: 100%;
  }
  .cbd-hero__title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.18 !important;
    color: #202c25 !important;
    min-height: 85px !important;
    margin-bottom: 12px !important;
    display: block !important;
    letter-spacing: normal !important;
  }
  .cbd-hero__subtitle {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #5b685f !important;
    max-width: 230px !important;
    min-height: 48px !important;
    margin-bottom: 44px !important;
  }
  .cbd-hero__brand-mark {
    display: none !important;
  }
  .cbd-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 328px !important;
    margin-top: 0 !important;
  }
  .cbd-hero__actions .cbd-btn-figma {
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    letter-spacing: 0 !important;
  }
  .cbd-hero__actions .cbd-btn-figma--primary {
    flex: 1 1 147px !important;
    width: auto !important;
    max-width: 155px !important;
    background: #317627 !important;
    color: #ffffff !important;
    border-color: transparent !important;
  }
  .cbd-hero__actions .cbd-btn-figma--secondary {
    flex: 1.15 1 168px !important;
    width: auto !important;
    max-width: 175px !important;
    background: #e6efe2 !important;
    border: 1px solid #dce4d9 !important;
    color: #317627 !important;
    box-shadow: none !important;
  }
  .cbd-hero__actions .cbd-btn-figma--secondary:hover {
    background: #dbe8d6 !important;
  }
  .cbd-section-title {
    font-size: 22px;
    line-height: 1.25;
  }
  .cbd-section-title--lg {
    font-size: 24px;
    line-height: 1.2;
  }
  .cbd-subscribe__title {
    font-size: 18px;
    line-height: 1.3;
  }
  .cbd-what-editorial__title,
  .cbd-what-card__title,
  .cbd-promo-card__title,
  .cbd-calc-preview__title {
    font-size: 18px;
    line-height: 1.3;
  }
  .cbd-adv-card__title,
  .cbd-cat-card__title,
  .cbd-calc-intro__title,
  .cbd-article-card__title {
    font-size: 16px;
    line-height: 1.35;
  }
  .cbd-cat-card__title,
  .cbd-article-card__title {
    min-height: 0;
  }
  .cbd-product-card__title,
  .cbd-footer__title {
    font-size: 15px;
    line-height: 1.35;
  }
  body,
  .cbd-section-subtitle,
  .cbd-adv-card__text,
  .cbd-adv-card__list,
  .cbd-review-card__text,
  .cbd-what-card__desc,
  .cbd-what-editorial__text,
  .cbd-calc-preview__text {
    font-size: 14px;
    line-height: 1.55;
  }
  .cbd-calc-intro__sub,
  .cbd-footer__address,
  .cbd-footer__list a {
    font-size: 13px;
    line-height: 1.5;
  }
  .cbd-cat-card__count,
  .cbd-promo-card__date,
  .cbd-article-card__date,
  .cbd-review-card__date,
  .cbd-footer__disclaimer,
  .cbd-footer__copy {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Advantage cards icon scaling for mobile */
  .cbd-adv-card__icon {
    width: 84px;
    height: 88px;
    border-radius: 44px;
    margin-bottom: 4px;
  }
  .cbd-adv-card__icon img {
    width: 84px;
    height: 84px;
    top: -6px;
    left: 0;
  }

  .cbd-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .cbd-cat-card {
    min-height: 190px;
    padding: 12px 10px;
    gap: 6px;
  }
  .cbd-cat-card__img {
    height: 96px;
  }
  .cbd-cat-card__title {
    font-size: 13px;
    line-height: 1.3;
    min-height: 34px;
    text-align: center;
  }
  .cbd-cat-card__count {
    font-size: 11px;
  }

  .cbd-product-card {
    flex: 0 0 min(286px, calc(100% - 20px));
  }
  .cbd-calc-box {
    padding: 20px 16px;
  }
  .cbd-calc-box > *,
  .cbd-subscribe > * {
    min-width: 0;
  }
  .cbd-calc-switch__btn {
    font-size: 13px;
    padding: 0 8px;
  }
  .cbd-calc-preview {
    min-height: 300px;
    height: 300px;
    padding: 24px 20px 20px;
  }
  .cbd-promo-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cbd-promo-grid::-webkit-scrollbar {
    display: none;
  }
  .cbd-promo-card {
    flex: 0 0 calc(100% - 32px);
    max-width: 340px;
    scroll-snap-align: start;
    flex-direction: column;
    padding: 20px;
  }
  .cbd-promo-card__img {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
  }
  .cbd-reviews-arrow {
    display: none;
  }
  .cbd-review-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 0;
    padding: 20px;
  }
  .cbd-brands-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
  .cbd-brands-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: cbd-brands-marquee 24s linear infinite;
  }
  .cbd-brands-track:hover,
  .cbd-brands-track:focus-within {
    animation-play-state: paused;
  }
  .cbd-brands-grid {
    display: flex !important;
    gap: 12px;
    flex-shrink: 0;
  }
  .cbd-brands-grid--dup {
    display: flex !important;
  }
  .cbd-brand-card {
    flex: 0 0 148px;
    height: 68px;
    padding: 8px 12px;
  }
  .cbd-brand-card img {
    max-height: 38px;
  }
  .cbd-brand-mask {
    height: 24px;
    width: 120px;
  }
  .cbd-what-card {
    padding: 24px 20px;
    min-height: 280px;
  }
  .cbd-what-card--tall {
    min-height: 380px;
  }
  .cbd-articles-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cbd-articles-grid::-webkit-scrollbar {
    display: none;
  }
  .cbd-article-card {
    flex: 0 0 270px;
    max-width: 270px;
    scroll-snap-align: start;
  }
  .cbd-subscribe {
    grid-template-columns: 1fr;
    background: #d5e7d0 !important;
    margin-top: 48px;
    padding: 20px 16px;
    border-radius: 20px;
    gap: 20px;
    min-height: 0;
  }
  .cbd-subscribe__img {
    height: 220px;
    min-height: 0;
    border-radius: 20px;
  }
  .cbd-subscribe__row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-block: 20px 16px !important;
  }
  .cbd-subscribe__row input[type="email"] {
    flex: none !important;
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    background: #ffffff !important;
    padding: 0 16px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--color-text-primary, #202c25) !important;
    outline: none !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
  }
  .cbd-subscribe__submit {
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--color-brand-accent, #3f892c) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }
  .cbd-subscribe__socials {
    gap: 12px;
    flex-wrap: wrap;
  }
  .cbd-subscribe__soc-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .cbd-subscribe__soc-btn img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
  }
  .cbd-footer__logo-mobile {
    display: block;
    margin-bottom: 24px;
  }
  .cbd-footer__brand-pay > a {
    display: none;
  }
  .cbd-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 16px;
  }
  .cbd-footer__soc-btn {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
  .cbd-footer__soc-btn img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
  }
  .cbd-footer__social-yandex img[src*="yandex-rating-badge"] {
    max-width: 140px;
    height: auto;
  }
  .cbd-footer__payments {
    gap: 14px 18px;
    align-items: center;
  }
  .cbd-footer__payments img {
    height: auto;
    max-height: 24px;
    width: auto;
    object-fit: contain;
  }
}

/* Мобильное позиционирование тултипа кешбэка (не вылезает за края экрана) */
@media (max-width: 768px) {
  .cbd-tooltip {
    width: 220px !important;
    max-width: calc(100vw - 32px) !important;
    z-index: 90 !important;
  }
  .cbd-products-track > :nth-child(odd) .cbd-tooltip,
  .cbd-popular-grid > :nth-child(odd) .cbd-tooltip,
  .cbd-product-card:nth-child(odd) .cbd-tooltip,
  .cbd-card:nth-child(odd) .cbd-tooltip {
    left: 0 !important;
    right: auto !important;
  }
  .cbd-products-track > :nth-child(even) .cbd-tooltip,
  .cbd-popular-grid > :nth-child(even) .cbd-tooltip,
  .cbd-product-card:nth-child(even) .cbd-tooltip,
  .cbd-card:nth-child(even) .cbd-tooltip {
    right: 0 !important;
    left: auto !important;
  }
}

/* Глобальные хлебные крошки */
.cbd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 24px;
}
.cbd-breadcrumbs a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}
.cbd-breadcrumbs a:hover {
  color: #2D6A4F;
}
.cbd-breadcrumbs__sep {
  color: #D1D5DB;
}
.cbd-breadcrumbs__current {
  color: #111827;
  font-weight: 500;
}
