/**
 * f2p_qa_fixes.css — Inline review fixes (tunnel QA Aug 2026)
 * @intent: Хедер/карточки/кнопки/футер/типографика по чеклисту Cursor comments.
 * @see: live https://dem-vienna-pdas-happen.trycloudflare.com/
 * Load LAST after f2p_ds / catalog / pdp.
 */

/* —— 11.2 Base + Task05 typography (Inter everywhere under Make chrome) —— */
body.f2p-make-chrome,
body.f2p-make-chrome button,
body.f2p-make-chrome input,
body.f2p-make-chrome select,
body.f2p-make-chrome textarea,
body.f2p-make-chrome .btn {
  font-family: var(--font-family-base, Inter, system-ui, sans-serif) !important;
}

body.f2p-make-chrome {
  background-color: #F6F8F7 !important;
  color: #1D2923 !important;
  -webkit-font-smoothing: antialiased;
  font-size: var(--type-body-size, 16px) !important;
  line-height: var(--type-body-line, 1.6) !important;
}

body.f2p-make-chrome h1 { font-size: var(--type-h1-size, clamp(28px, 3vw, 36px)) !important; font-weight: var(--type-h1-weight, 700) !important; line-height: var(--type-h1-line, 1.2) !important; }
body.f2p-make-chrome h2 { font-size: var(--type-h2-size, clamp(22px, 2.5vw, 28px)) !important; font-weight: var(--type-h2-weight, 600) !important; line-height: var(--type-h2-line, 1.25) !important; }
body.f2p-make-chrome h3 { font-size: var(--type-h3-size, clamp(18px, 2vw, 22px)) !important; font-weight: var(--type-h3-weight, 600) !important; }
body.f2p-make-chrome .f2p-price-amount,
body.f2p-make-chrome .product-thumb .price-new.f2p-price-amount {
  font-size: var(--type-price-size, 17px) !important;
  font-weight: var(--type-price-weight, 800) !important;
  font-feature-settings: "tnum" 1;
}
body.f2p-make-chrome .f2p-pdp-price__current {
  font-size: var(--type-price-lg-size, clamp(24px, 2.5vw, 28px)) !important;
  font-weight: var(--type-price-weight, 700) !important;
}
body.f2p-make-chrome .f2p-btn-buy,
body.f2p-make-chrome .f2p-make-btn,
body.f2p-make-chrome .f2p-make-hero__cta {
  font-size: var(--type-button-size, 15px) !important;
  font-weight: var(--type-button-weight, 600) !important;
}

/* —— 1.2 Top / service bar —— */
#top.f2p-service-bar,
.f2p-service-bar {
  background-color: #123D2E !important;
  color: rgba(255, 255, 255, 0.75) !important;
  border-bottom: 1px solid #0D3024 !important;
}
.f2p-service-bar a,
.f2p-service-bar__item {
  color: rgba(255, 255, 255, 0.75) !important;
}
.f2p-service-bar a:hover {
  color: #fff !important;
}
.f2p-service-bar__wa {
  color: #4ADE80 !important;
}

/* —— 1.3–1.7 Main header —— */
header.f2p-site-header,
.f2p-make-header,
.f2p-header-bar {
  background-color: #184E3B !important;
  border-bottom: 2px solid #123D2E !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.f2p-make-header__brand-name,
.f2p-make-header__brand-tag,
.f2p-make-header__nav a,
.f2p-make-header__icon,
.f2p-make-header__icon span {
  color: rgba(255, 255, 255, 0.85) !important;
}
.f2p-make-header__nav a {
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms, background 150ms;
  padding: 6px 4px;
}
.f2p-make-header__nav a:hover {
  color: #fff !important;
  border-bottom-color: #F68B1F;
  background: rgba(255, 255, 255, 0.06);
}
.f2p-make-header__catalog {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
}
.f2p-make-header__catalog:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}
.f2p-make-header__mark {
  background: #F68B1F !important;
  color: #fff !important;
}

/* Search on green header */
.f2p-header-bar__search #search input,
.f2p-header-bar__search #search .form-control,
#search input.form-control {
  background: rgba(255, 255, 255, 0.12) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  height: 40px;
  font-size: 14px;
}
.f2p-header-bar__search #search input::placeholder,
#search input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}
.f2p-header-bar__search #search input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 0 0 2px rgba(246, 139, 31, 0.4) !important;
}
.f2p-header-bar__search #search .btn,
#search button {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Language pills */
#form-language .btn-group,
.f2p-service-bar__lang .btn-group {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  overflow: hidden;
}
#form-language .btn,
.f2p-service-bar__lang .btn {
  padding: 5px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  border: none !important;
  text-transform: uppercase;
}
#form-language .btn:hover,
#form-language .btn.active,
.f2p-service-bar__lang .btn:focus {
  background: #F68B1F !important;
  color: #fff !important;
}

/* Cart badge colors (кнопка корзины — блок HEADER ACTIONS в конце файла) */
#cart .f2p-cart-badge,
#cart .badge,
.f2p-mobile-cart-badge,
.f2p-header-cart-badge {
  background-color: #F68B1F !important;
  color: #fff !important;
  font-weight: 800 !important;
}

/* —— 2.x Product cards —— */
.product-thumb,
.f2p-make-card {
  border-radius: 16px !important;
  border: 1px solid #E2E8E5 !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 200ms, transform 200ms;
}
.product-thumb:hover,
.f2p-make-card:hover {
  box-shadow: 0 4px 20px rgba(24, 78, 59, 0.12) !important;
  transform: translateY(-2px);
}
.product-thumb .image,
.f2p-make-card .image {
  position: relative;
  overflow: hidden;
  background-color: #EEF5F1;
}
.product-thumb .image a {
  display: block;
  aspect-ratio: 1 / 1;
}
.product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}
.product-thumb:hover .image img {
  transform: scale(1.04);
}
.product-thumb .caption {
  padding: 12px 14px 14px !important;
}
.product-thumb .caption h4,
.product-thumb .caption h4 a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1D2923 !important;
  line-height: 1.4 !important;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px !important;
}

/* Price */
.product-thumb .price,
.product-thumb .price-new,
.f2p-make-card .price {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #184E3B !important;
  font-variant-numeric: tabular-nums;
}
.product-thumb .price-old {
  font-size: 12px !important;
  color: #98A39E !important;
  text-decoration: line-through !important;
}
.product-thumb .f2p-price-suffix,
.f2p-product-price__suffix,
.product-thumb .price .f2p-price-unit {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #66736D !important;
}

/* Buy button — CRITICAL orange */
.product-thumb .button-group button,
.product-thumb .f2p-btn-buy,
.f2p-make-card .f2p-btn-buy,
.product-thumb button[onclick*="cart.add"],
.f2p-product-card__buy,
.f2p-make-card .button-group .btn {
  background-color: #F68B1F !important;
  border: 2px solid #F68B1F !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  width: auto !important;
  max-width: 100%;
  white-space: normal !important;
}
.product-thumb .f2p-btn-buy:hover,
.product-thumb button[onclick*="cart.add"]:hover {
  background-color: #E07B0F !important;
  border-color: #E07B0F !important;
  box-shadow: 0 4px 12px rgba(246, 139, 31, 0.35) !important;
}

/* Placeholder images — нейтральный фон + лёгкая иконка, не «сломанная» карточка */
.product-thumb .image img[src*="no_image"],
.product-thumb .image img[src*="placeholder"],
.product-thumb .image img[src*="f2p-zero"],
.product-thumb .image img[src*="zero"] {
  object-fit: contain !important;
  padding: 24% !important;
  opacity: 0.18 !important;
  filter: grayscale(1) sepia(0.3);
  background: #EEF5F1 !important;
}
.product-thumb .image:has(img[src*="f2p-zero"])::after,
.product-thumb .image:has(img[src*="no_image"])::after,
.product-thumb .image:has(img[src*="placeholder"])::after {
  content: "🌿";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 2;
}

/* Image box: фиксированный кадр — бейджи absolute не влияют на высоту ряда */
.product-thumb .image {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.f2p-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 16px);
  pointer-events: none;
}

/* Stock status (no exact kg) */
.f2p-stock {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin: 4px 0 0 !important;
  white-space: nowrap !important;
}
.f2p-stock--plenty,
.f2p-stock--in,
.product-thumb .f2p-stock.f2p-stock--plenty {
  color: #168A52 !important;
}
.f2p-stock--low,
.f2p-stock--ending {
  color: #F68B1F !important;
}
.f2p-stock--ending {
  color: #EA580C !important;
}
.f2p-stock--unlimited {
  color: #2563EB !important;
}
.f2p-stock--out {
  color: #D92D20 !important;
}
.f2p-stock--preorder,
.f2p-stock--expected {
  color: #B45309 !important;
}

/* Badges: layout only — цвета из f2p_badges.css + f2p-tokens.css */
.f2p-badges .f2p-badge {
  display: inline-flex !important;
  margin: 0 !important;
}
.f2p-badge-more,
.f2p-badge--overflow {
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 7px !important;
  border-radius: 8px !important;
}

/* —— 3.x Category —— */
.f2p-catalog-grid,
.row.f2p-product-grid.product-grid:not(.f2p-make-row__track) {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
.f2p-catalog-grid > [class*="col-"],
.row.f2p-product-grid:not(.f2p-make-row__track) > [class*="col-"] {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}
@media (max-width: 1024px) {
  .f2p-catalog-grid,
  .row.f2p-product-grid.product-grid:not(.f2p-make-row__track) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .f2p-catalog-grid,
  .row.f2p-product-grid.product-grid:not(.f2p-make-row__track) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 360px) {
  .f2p-catalog-grid,
  .row.f2p-product-grid.product-grid:not(.f2p-make-row__track) {
    grid-template-columns: 1fr !important;
  }
}
#input-sort,
#input-limit {
  border-radius: 10px !important;
  border: 1px solid #E2E8E5 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* —— 4.x PDP —— */
#product-product .f2p-pdp-cta__cart,
#product-product #button-cart {
  background-color: #184E3B !important;
  border-color: #184E3B !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
#product-product .f2p-pdp-cta__buy,
#product-product #button-buy-now {
  background-color: #F68B1F !important;
  border-color: #F68B1F !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
#product-product .f2p-pdp-price__current {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #184E3B !important;
}

/* —— 5–6 Modals —— */
.f2p-dev-notice-modal__panel,
.modal-content {
  border-radius: 20px !important;
  border: none !important;
  overflow: hidden;
}
.f2p-dev-notice-modal__title {
  background: linear-gradient(135deg, #184E3B 0%, #123D2E 100%);
  color: #fff !important;
  margin: 0 !important;
  padding: 20px 24px !important;
  font-weight: 800 !important;
  font-size: 18px !important;
}
.f2p-dev-notice-modal__dismiss,
.f2p-dev-notice-modal .f2p-btn--primary {
  background: #F68B1F !important;
  border-color: #F68B1F !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  width: 100%;
}
.modal-header {
  background: linear-gradient(135deg, #184E3B 0%, #123D2E 100%) !important;
  border-bottom: none !important;
}
.modal-header .modal-title {
  color: #fff !important;
  font-weight: 800 !important;
}
.modal-header .close {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

/* —— 7 Trust / stats —— */
.f2p-make-why,
.f2p-make-trust {
  background: #EEF5F1 !important;
  border-top: 1px solid #D5E8DF;
  border-bottom: 1px solid #D5E8DF;
}
.f2p-make-why__ico {
  width: 48px;
  height: 48px;
  background: #184E3B !important;
  border-radius: 12px;
  color: #fff !important;
}
.f2p-make-stats {
  background: #184E3B !important;
}
.f2p-make-stats__value {
  color: #F68B1F !important;
  font-size: 32px !important;
  font-weight: 800 !important;
}
.f2p-make-stats__label {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* —— 9 Footer —— */
footer.f2p-footer,
.f2p-make-footer {
  background: #1D2923 !important;
  color: rgba(255, 255, 255, 0.65) !important;
}
.f2p-make-footer a {
  color: rgba(255, 255, 255, 0.65) !important;
}
.f2p-make-footer a:hover {
  color: #fff !important;
}
.f2p-make-footer__heading {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center !important;
}

/* @intent: 4 колонки футера по центру после удаления brand-блока. */
.f2p-make-footer__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px 20px !important;
  justify-items: center !important;
  text-align: center !important;
}

@media (min-width: 992px) {
  .f2p-make-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.f2p-make-footer__col,
.f2p-make-footer__links {
  text-align: center !important;
  width: 100%;
}

.f2p-make-footer__links,
.f2p-footer-legal__list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.f2p-make-footer__links > li::before,
.f2p-footer-legal__list > li::before {
  content: none !important;
}

.f2p-make-footer__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.f2p-make-footer__phones .footer-phone {
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
}
.f2p-make-footer__phones .footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4ADE80 !important;
  padding: 5px 12px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 20px;
}

/* —— 10 Mobile: service bar + hide desktop nav —— */
@media (max-width: 767px) {
  /* @intent: На 390px оставляем телефон + язык; доставка/часы/WA — в футере. */
  .f2p-service-bar__item:not([href^="tel"]) {
    display: none !important;
  }
  .f2p-service-bar__inner {
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px;
  }
  .f2p-service-bar__meta {
    flex: 1 1 auto;
    min-width: 0;
  }
  .f2p-service-bar__lang {
    flex: 0 0 auto;
  }
  .f2p-make-header__nav {
    display: none !important;
  }
  body.f2p-make-chrome {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }
}

/* —— 11 Breadcrumbs —— */
.breadcrumb {
  background: transparent !important;
  padding: 12px 0 !important;
  margin-bottom: 16px !important;
  font-size: 13px !important;
}
.breadcrumb > li > a {
  color: #184E3B !important;
}
.breadcrumb > .active {
  color: #66736D !important;
}

/* ══════════════════════════════════════════
   FIX 1: HEADER — три иконки на одной оси
   ══════════════════════════════════════════ */
/* @intent: Избранное / Войти / Корзина — одна высота 44px, одна ось. */

.f2p-make-header__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 2px !important;
  height: 100% !important;
}

.f2p-make-header__account,
.f2p-make-header__cart-wrap {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  height: auto !important;
  width: auto !important;
  position: relative !important;
}

.f2p-make-header__cart-wrap .f2p-cart-widget,
.f2p-make-header__cart-wrap #cart.btn-group {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  float: none !important;
  position: relative !important;
}

.f2p-make-header__icon,
.f2p-make-header__account .f2p-make-header__icon,
.f2p-make-header__cart-wrap #f2p-cart-trigger,
.f2p-make-header__cart-wrap #cart > .btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 3px !important;
  min-width: 56px !important;
  width: auto !important;
  padding: 4px 8px !important;
  height: 44px !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.f2p-make-header__icon:hover,
.f2p-make-header__icon:focus,
.f2p-make-header__account .f2p-make-header__icon:hover,
.f2p-make-header__cart-wrap #f2p-cart-trigger:hover,
.f2p-make-header__cart-wrap #cart > .btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
}

.f2p-make-header__icon .fa,
.f2p-make-header__cart-wrap .fa-shopping-cart {
  font-size: 16px !important;
  line-height: 1 !important;
  display: block !important;
  color: inherit !important;
}

.f2p-make-header__icon span,
.f2p-make-header__cart-label {
  font-size: 9px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1 !important;
  display: block !important;
  white-space: nowrap !important;
}

.f2p-make-header__cart-wrap .dropdown-toggle::after,
.f2p-make-header__cart-wrap .caret {
  display: none !important;
}

.f2p-make-header__cart-wrap .f2p-cart-total--sr-only {
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.f2p-make-header__cart-wrap .f2p-header-cart-badge {
  position: absolute !important;
  top: 2px !important;
  right: 4px !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 8px !important;
  font-size: 9px !important;
  line-height: 16px !important;
  text-align: center !important;
}

/* ══ HERO: фото на уровне eyebrow «Алматинская область…» ══ */
/* @reason: align-items:center и margin-top на frame опускали кадр ниже eyebrow. */
@media (min-width: 992px) {
  .f2p-make-hero {
    padding-top: 48px !important;
    padding-bottom: 0 !important;
  }

  /* @reason: Bootstrap .container::before/::after (clearfix) становятся grid-items и ломают 2 колонки. */
  .f2p-make-hero__inner.container::before,
  .f2p-make-hero__inner.container::after {
    display: none !important;
    content: none !important;
  }

  .f2p-make-hero__inner {
    grid-template-columns: 1fr 1fr !important;
    align-items: start !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .f2p-make-hero__copy {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 40px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .f2p-make-hero__visual {
    grid-column: 2;
    grid-row: 1;
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .f2p-make-hero__frame {
    aspect-ratio: 5 / 3 !important;
    width: 100% !important;
    max-width: 560px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto 0 auto !important;
    margin-top: 0 !important;
    border-radius: 16px !important;
  }

  .f2p-make-hero__img {
    object-fit: contain !important;
    object-position: left center !important;
    transform: scale(0.95) !important;
    opacity: 1 !important;
  }

  /* @reason: body.f2p-make-chrome h1 !important перебивает .f2p-make-hero__title — нужна выше specificity. */
  body.f2p-make-chrome h1.f2p-make-hero__title {
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    max-width: 520px !important;
  }
}

/* ══ HOME ROWS: карусель (Хиты / Новинки), не catalog grid ══ */
/* @reason: grid 4×1fr на .f2p-make-row__track раздувал карточки до ~640px. */
.f2p-make-row__track.row.f2p-product-grid.product-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  width: max-content;
  min-width: 100%;
  margin: 0 !important;
}

.f2p-make-row__track .f2p-make-row__cell {
  float: none !important;
  flex: 0 0 auto !important;
  width: 148px !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 12px !important;
  margin: 0 !important;
}

@media (min-width: 576px) {
  .f2p-make-row__track .f2p-make-row__cell {
    width: 200px !important;
  }
}

@media (min-width: 992px) {
  .f2p-make-row__track .f2p-make-row__cell {
    width: 240px !important;
  }
}

.f2p-make-row__cell .product-thumb.f2p-make-card .caption {
  padding: 10px 12px 12px !important;
}

.f2p-make-row__cell .product-thumb.f2p-make-card .caption h4,
.f2p-make-row__cell .product-thumb.f2p-make-card .caption h4 a {
  font-size: 12px !important;
  min-height: 2.6em;
}

.f2p-make-row__cell .product-thumb.f2p-make-card .price {
  font-size: 15px !important;
}

.f2p-make-row__cell .product-thumb.f2p-make-card .f2p-btn-buy,
.f2p-make-row__cell .product-thumb.f2p-make-card .button-group .btn {
  padding: 8px 12px !important;
  font-size: 12px !important;
}

/* ═══════════════════════════════════════════════════════════
 * Hero landing polish (Cursor tasks 1–8)
 * @intent: Финальные стили hero поверх redesign/ds — кнопки, типографика, карточка, fade.
 * @see: Задания лендинга фермы 1–8
 * ═══════════════════════════════════════════════════════════ */

.f2p-make-hero__cta {
  border-radius: 12px !important;
  padding: 14px 28px !important;
  transition: all 0.2s ease !important;
}

.f2p-make-hero__cta--ghost {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

.f2p-make-hero__cta--ghost:hover {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #fff !important;
}

.f2p-make-hero__cta-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.f2p-make-hero__cta--primary:hover .f2p-make-hero__cta-arrow {
  transform: translateX(4px);
}

.f2p-make-hero__lead {
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 420px !important;
}

.f2p-make-hero__badges {
  gap: 12px !important;
  justify-content: space-between !important;
  max-width: 420px !important;
  margin-top: 28px !important;
}

.f2p-make-hero__badge,
.f2p-make-hero__badges li {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  text-align: center !important;
}

.f2p-make-hero__badge-ico {
  width: 72px !important;
  height: 72px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  color: inherit !important;
}

.f2p-make-hero__badge-ico img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  display: block !important;
}

.f2p-make-hero__badge-ico .fa {
  display: none !important;
}

.f2p-make-hero__badge-text {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #fff !important;
  line-height: 1.25 !important;
}

.f2p-make-hero__ig {
  display: flex !important;
  margin: 20px auto 0 !important;
  max-width: 320px !important;
  width: 100% !important;
}

.f2p-make-hero__float {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

.f2p-make-hero__float-label {
  color: #f97316 !important;
}

.f2p-make-hero__float-thumb-wrap {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
  flex-shrink: 0;
  line-height: 0;
}

.f2p-make-hero__float-thumb {
  width: 48px !important;
  height: 48px !important;
  display: block;
}

.f2p-make-hero__float-price {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.f2p-make-hero__title-accent {
  display: inline-block !important;
  position: relative !important;
  color: #A8E049 !important;
  padding-bottom: 0 !important;
}

.f2p-make-hero__title-accent::after {
  content: none !important;
  display: none !important;
}

.f2p-make-hero__title-main {
  display: block !important;
  color: #fff !important;
}

.f2p-make-hero__title-suffix {
  display: block;
  color: #fff !important;
}

.f2p-make-hero__float-cart {
  border-radius: 10px !important;
  background: #F68B1F !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.f2p-make-hero__float-dot.is-active {
  background: #F68B1F !important;
}

.f2p-make-hero__stat-value {
  color: #A8E049 !important;
}

@keyframes f2p-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: f2p-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.f2p-make-hero__fade {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #0f1f0f);
  pointer-events: none;
}

@media (max-width: 991px) {
  body.f2p-make-chrome h1.f2p-make-hero__title {
    font-size: clamp(32px, 8vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    max-width: 520px !important;
  }
}

/* @intent: Override любых display:!important для бейджей на фото — выключено полностью. */
.f2p-badges,
.f2p-badges .f2p-badge,
.product-thumb .f2p-badges,
.product-thumb .f2p-badge,
.f2p-badge-more,
.f2p-badge--overflow,
#product-product .thumbnails .f2p-badges,
#product-product .thumbnails .f2p-badge {
  display: none !important;
  visibility: hidden !important;
}

/* ══════════════════════════════════════════
   HEADER ALIGN — макет: ровная шапка (2026-09-15)
   @intent: Одна ось, одна высота контролов, без «смешения» стилей.
   ══════════════════════════════════════════ */
body.f2p-make-chrome header.f2p-site-header.f2p-make-header,
body.f2p-make-chrome .f2p-make-header {
  border-bottom: none !important;
  box-shadow: none !important;
}

.f2p-make-header__bar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 72px !important;
  padding: 12px 0 !important;
}

.f2p-make-header__brand,
.f2p-make-header__brand-link {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

.f2p-make-header__mark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: #F68B1F !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
}

/* Каталог — приглушённый зелёный, как на макете (не оранжевый tint из DS) */
body.f2p-make-chrome .f2p-make-header__catalog,
.f2p-make-header__catalog {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  background: #354E42 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.f2p-make-chrome .f2p-make-header__catalog:hover,
.f2p-make-header__catalog:hover {
  background: #3E5A4C !important;
  color: #fff !important;
}

.f2p-make-header__catalog .fa-bars,
.f2p-make-header__catalog .fa-angle-down {
  font-size: 14px !important;
  line-height: 1 !important;
  opacity: 0.95;
}

/* Поиск — та же высота 44px, pill */
.f2p-make-header .f2p-header-bar__search {
  flex: 1 1 auto !important;
  min-width: 140px !important;
  max-width: none !important;
  align-self: center !important;
}

.f2p-make-header .f2p-search,
.f2p-make-header #search.f2p-search {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.f2p-make-header .f2p-search__shell {
  display: flex !important;
  align-items: center !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px 0 16px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #354E42 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.f2p-make-header .f2p-search__shell:focus-within {
  background: #3E5A4C !important;
  box-shadow: 0 0 0 2px rgba(246, 139, 31, 0.28) !important;
}

.f2p-make-header .f2p-search__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 10px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
  flex-shrink: 0 !important;
}

.f2p-make-header .f2p-search__input,
.f2p-make-header #search.f2p-search .form-control.f2p-search__input,
body.f2p-make-chrome .f2p-make-header #search input.form-control {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 44px !important;
}

.f2p-make-header .f2p-search__btn-wrap,
.f2p-make-header .f2p-search__btn {
  display: none !important;
}

/* Навигация */
.f2p-make-header__nav {
  align-items: center !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

body.f2p-make-chrome .f2p-make-header__nav a,
.f2p-make-header__nav a {
  display: inline-flex !important;
  align-items: center !important;
  height: 44px !important;
  padding: 0 12px !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  background: transparent !important;
}

body.f2p-make-chrome .f2p-make-header__nav a:hover,
.f2p-make-header__nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
}

.f2p-make-header__divider {
  display: none;
  width: 1px;
  height: 28px;
  margin: 0 4px 0 8px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .f2p-make-header__divider {
    display: block;
  }
}

/* Иконки — одинаковая колонка */
.f2p-make-header__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  height: 44px !important;
  margin-left: auto !important;
}

.f2p-make-header__account,
.f2p-make-header__cart-wrap,
.f2p-make-header__cart-wrap .f2p-cart-widget,
.f2p-make-header__cart-wrap #cart.btn-group {
  display: flex !important;
  align-items: center !important;
  height: 44px !important;
  margin: 0 !important;
  float: none !important;
}

.f2p-make-header__icon,
.f2p-make-header__account .f2p-make-header__icon,
.f2p-make-header__cart-wrap #f2p-cart-trigger,
.f2p-make-header__cart-wrap #cart > .btn,
.f2p-make-header__cart-wrap .f2p-cart-trigger {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 44px !important;
  padding: 0 4px !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.f2p-make-header__icon .fa,
.f2p-make-header__cart-wrap .fa-shopping-cart {
  font-size: 18px !important;
  line-height: 1 !important;
  color: #fff !important;
}

.f2p-make-header__icon span,
.f2p-make-header__cart-label {
  display: block !important;
  max-width: 72px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.f2p-make-header__cart-wrap .f2p-header-cart-badge {
  top: 0 !important;
  right: 10px !important;
}

@media (max-width: 991px) {
  .f2p-make-header__catalog {
    display: none !important;
  }
  .f2p-make-header__actions {
    margin-left: 0 !important;
  }
}
