:root {
  --primary: #ffc531;
  --secondary: #ff805a; }

img {
  max-width: 100%; }

.snippet-instructions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin: 30px 0; }
  .snippet-instructions .video {
    margin-bottom: 10px; }
    .snippet-instructions .video iframe {
      width: 100%;
      height: 200px; }
  .snippet-instructions .title {
    font-weight: bold;
    font-size: 20px; }

.snippet-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 30px 0; }
  .snippet-products article {
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden; }
  .snippet-products .image {
    position: relative; }
    .snippet-products .image img {
      width: 100%; }
  .snippet-products header {
    padding: 16px;
    flex: 1;
    font-weight: bold;
    font-size: 18px; }
  .snippet-products footer {
    padding: 16px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-end; }
  .snippet-products .price {
    font-weight: 500;
    font-size: 24px; }
  .snippet-products footer a {
    color: var(--secondary); }
/* Стикеры «Новинка» (зелёный) и «Хит» (красный) */
.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  pointer-events: none; }

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  animation: kf-badge-shine 2.4s ease-in-out infinite; }

.product-badge--new {
  background-color: #2ea44f; }

.product-badge--hit {
  background-color: #e03131; }

.product-badges--detail {
  position: static;
  margin: 0;
  flex-direction: row;
  align-items: center;
  pointer-events: auto; }

.product-badges--detail .product-badge {
  animation: none; }

.product-badges--option {
  top: 6px;
  right: 6px;
  gap: 3px; }

.product-badges--option .product-badge {
  font-size: 10px;
  padding: 2px 7px; }

.product-detail-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.5rem; }

.product-detail-title-wrap .title-boat.float-start {
  margin-bottom: 0; }

.product-cards .card {
  position: relative;
  overflow: hidden; }

.product-cards .card .product-badges {
  top: 10px;
  right: 10px; }

@keyframes kf-badge-shine {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }

  50% {
    filter: brightness(1.18);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.35), 0 1px 4px rgba(0, 0, 0, 0.18); } }

@media (prefers-reduced-motion: reduce) {
  .product-badge {
    animation: none; } }

.snippet-articles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0; }
  .snippet-articles__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff; }
  .snippet-articles__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.3333333333;
    background: #f3f3f3; }
    .snippet-articles__image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.25s ease; }
    .snippet-articles__image:hover img {
      transform: scale(1.03); }
  .snippet-articles__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e4e4e4); }
  .snippet-articles__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0 0; }
  .snippet-articles__date {
    color: #9b9b9b;
    font-size: 14px;
    line-height: 1.2; }
  .snippet-articles__name {
    color: #282b31;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase; }
    .snippet-articles__name:hover {
      color: #f07a24; }
  .snippet-articles__more {
    margin-top: auto;
    color: #f07a24;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none; }
    .snippet-articles__more:hover {
      text-decoration: underline; }
  @media (max-width: 1199.98px) {
  .snippet-articles {
    grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 991.98px) {
  .snippet-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; } }
  @media (max-width: 575.98px) {
  .snippet-articles {
    grid-template-columns: 1fr; } }

.kf-articles-page {
  padding: 24px 0 48px; }
  .kf-articles-page__h1 {
    margin: 0 0 28px;
    color: #282b31;
    font-size: clamp(1.75rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center; }

.kf-articles-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  margin-top: 36px; }
  .kf-articles-pager__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    background: #f07a24;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease; }
    .kf-articles-pager__more:hover {
      background: #d9681a;
      color: #fff;
      text-decoration: none; }
  .kf-articles-pager .snippet-pagination {
    margin: 0; }

.snippet-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none; }
  .snippet-pagination li a, .snippet-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    color: #282b31;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none; }
  .snippet-pagination li.active span {
    background: #ffc531;
    color: #282b31; }
  .snippet-pagination li a:hover {
    color: #f07a24; }

.kf-article-page {
  padding: 24px 0 48px; }
  .kf-article-page__h1 {
    margin: 0 0 24px;
    color: #282b31;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.25; }
  .kf-article-page__back {
    margin: 32px 0 0; }
    .kf-article-page__back a {
      color: #f07a24;
      font-weight: 600;
      text-decoration: none; }
      .kf-article-page__back a:hover {
        text-decoration: underline; }

.kf-home-articles {
  padding: 48px 0 56px;
  background: #fff; }
  .kf-home-articles__head {
    margin-bottom: 28px;
    text-align: center; }
  .kf-home-articles__title {
    margin: 0;
    color: #282b31;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase; }
  .kf-home-articles__cta {
    margin-top: 32px;
    text-align: center; }
  .kf-home-articles__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    background: #f07a24;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease; }
    .kf-home-articles__btn:hover {
      background: #d9681a;
      color: #fff;
      text-decoration: none; }
  .kf-home-articles .snippet-articles {
    margin-top: 0; }

.kf-article-recommended {
  margin: 40px 0 16px;
  padding-top: 8px; }
  .kf-article-recommended__title {
    margin: 0 0 24px;
    color: #282b31;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center; }
  .kf-article-recommended__grid {
    margin: 0; }
  .kf-article-recommended__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1.3333333333;
    background: linear-gradient(135deg, #f0f0f0, #e4e4e4); }
  .kf-article-recommended__cta {
    margin-top: 28px;
    text-align: center; }
    .kf-article-recommended__cta a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      border-radius: 4px;
      background: #f07a24;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s ease; }
      .kf-article-recommended__cta a:hover {
        background: #d9681a;
        color: #fff;
        text-decoration: none; }

.kf-article-page__preview {
  margin: 0 0 24px; }
  .kf-article-page__preview img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 4px; }

.kf-article-page__intro {
  margin-bottom: 28px; }

.kf-article-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 0 16px; }

.kf-article-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center; }
  .kf-article-block--reverse .kf-article-block__text {
    order: 2; }
    .kf-article-block--reverse .kf-article-block__media {
      order: 1; }
  .kf-article-block__title {
    margin: 0 0 12px;
    color: #282b31;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3; }
  .kf-article-block__subtitle {
    margin: 0 0 12px;
    color: #6b6f76;
    font-size: 1rem; }
  .kf-article-block__body {
    color: #282b31;
    font-size: 16px;
    line-height: 1.6; }
    .kf-article-block__body p:last-child {
      margin-bottom: 0; }
  .kf-article-block__media {
    min-width: 0; }
    .kf-article-block__media img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 4px;
      object-fit: cover; }
  .kf-article-block__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 4px;
    background: #111; }
    .kf-article-block__video iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0; }
  @media (max-width: 767.98px) {
  .kf-article-block {
    grid-template-columns: 1fr;
    gap: 16px; }
    .kf-article-block--reverse .kf-article-block__text, .kf-article-block--reverse .kf-article-block__media {
      order: initial; } }

.snippet-page .preview {
  display: inline-block; }
  @media screen and (min-width: 641px) {
      .snippet-page .preview.left, .snippet-page .preview.right {
        width: 360px; } }
  .snippet-page .preview.left {
    margin: 0 30px 20px 0;
    float: left; }
  .snippet-page .preview.right {
    margin: 0 0 20px 30px;
    float: right; }
  .snippet-page .preview.center {
    margin: 0 0 20px 0; }

.snippet-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 30px;
  margin: 30px 0; }
  .snippet-videos .video iframe {
    min-height: 320px;
    width: 100%; }
