/* =========================================================
   KRUPAOLGA — стили главной страницы
   Рабочая чистая версия.
   Файл: wp-content/mu-plugins/krupa-home.css
   ========================================================= */


/* =========================================================
   1. Фиксы WordPress
   ========================================================= */

.wp-block-post-title,
.entry-title,
h1.wp-block-post-title {
  display: none !important;
}

.wp-site-blocks,
.wp-block-post-content,
.entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.wp-block-post-content > .wp-block-shortcode,
.entry-content > .wp-block-shortcode {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* =========================================================
   2. Цвета и главный контейнер
   ========================================================= */

.krupa-home {
  --bg-main: #FAF7F2;
  --bg-soft: #F1EAE3;
  --bg-card: #FFFFFF;
  --bg-accent-soft: #F4E9E5;

  --text-main: #3A3331;
  --text-strong: #2C2624;
  --text-muted: #7A6D68;

  --primary: #4B2026;
  --primary-hover: #5C2A31;
  --accent: #883B43;
  --accent-soft: #B9858B;

  --border: #DED3CB;
  --border-accent: #C9B2AD;

  --shadow-soft: 0 10px 28px rgba(75, 32, 38, 0.10);
  --shadow-medium: 0 16px 38px rgba(75, 32, 38, 0.14);
  --shadow-button: 0 10px 24px rgba(75, 32, 38, 0.20);

  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 76px;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

.krupa-home * {
  box-sizing: border-box;
}

.krupa-home a {
  text-decoration: none;
}


/* =========================================================
   3. Общие блоки и кнопки
   ========================================================= */

.ko-section {
  padding: 30px 20px;
}

.ko-section-main {
  background: var(--bg-main);
}

.ko-section-soft {
  background: var(--bg-soft);
}

.ko-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ko-section-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.ko-title {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ko-subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ko-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ko-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 16px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ko-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.ko-btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.ko-btn-outline {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.46);
  border: 1.5px solid var(--border-accent);
}

.ko-btn-outline:hover {
  background: var(--bg-accent-soft);
}

.ko-btn-light {
  background: #fff;
  color: var(--primary);
}

.ko-btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}


/* =========================================================
   4. Hero
   ========================================================= */

.ko-hero {
  padding: 34px 20px 30px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(136, 59, 67, 0.08), transparent 46%),
    linear-gradient(180deg, var(--bg-main), var(--bg-soft));
}

.ko-hero h1 {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.ko-hero h1 span {
  color: var(--accent);
}

.ko-hero-text {
  max-width: 350px;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ko-hero-points {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ko-hero-point {
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.25;
}

.ko-hero-point strong {
  display: block;
  margin-bottom: 2px;
  color: var(--primary);
  font-size: 14px;
}


/* =========================================================
   5. Преимущества
   ========================================================= */

.ko-benefits {
  display: grid;
  gap: 12px;
}

.ko-benefit-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.ko-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-accent-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ko-benefit-card h3 {
  margin: 0 0 4px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 850;
}

.ko-benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.42;
}


/* =========================================================
   6. Карточки товаров
   ========================================================= */

.ko-products {
  display: grid;
  gap: 14px;
}

.ko-product-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.ko-product-image {
  min-height: 210px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(185, 133, 139, 0.28), rgba(75, 32, 38, 0.12));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ko-badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ko-heart {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.ko-product-info {
  padding: 17px;
}

.ko-product-info h3 {
  margin: 0 0 5px;
  color: var(--text-strong);
  font-size: 17px;
  font-weight: 900;
}

.ko-product-info p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ko-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ko-price {
  color: var(--primary);
  font-size: 16px;
  font-weight: 950;
}

.ko-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}


/* =========================================================
   7. Готовые образы
   ========================================================= */

.ko-look-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.ko-look-header .ko-title {
  margin-bottom: 0;
}

.ko-look-header a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.ko-look-scroll {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ko-look-scroll::-webkit-scrollbar {
  display: none;
}

.ko-look-card {
  flex: 0 0 265px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 23px;
  box-shadow: var(--shadow-soft);
}

.ko-look-image {
  height: 180px;
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(185, 133, 139, 0.24), rgba(75, 32, 38, 0.10));
  background-size: cover;
  background-position: center;
  position: relative;
}

.ko-look-badge {
  position: absolute;
  top: 13px;
  left: 13px;
}

.ko-look-price {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 8px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 14px;
  font-weight: 950;
}

.ko-look-info {
  padding: 16px;
}

.ko-look-info h3 {
  margin: 0 0 5px;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 900;
}

.ko-look-info p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ko-look-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ko-look-item {
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--bg-accent-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 750;
}

.ko-look-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-decoration: none !important;
}


/* =========================================================
   8. Story / quality / reviews / community
   ========================================================= */

.ko-story-card,
.ko-quality-card,
.ko-review-card,
.ko-community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.ko-story-card {
  padding: 22px;
  border-radius: 24px;
}

.ko-story-quote {
  margin: 0 0 17px;
  color: var(--text-strong);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  font-style: italic;
}

.ko-story-quote:before {
  content: "“";
  display: block;
  margin-bottom: -8px;
  color: var(--accent-soft);
  font-size: 52px;
  line-height: 0.8;
}

.ko-author {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 17px;
}

.ko-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 950;
  flex-shrink: 0;
}

.ko-author-name {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 900;
}

.ko-author-role {
  color: var(--text-muted);
  font-size: 13px;
}

.ko-story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.ko-story-fact {
  text-align: center;
}

.ko-story-fact strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 21px;
  line-height: 1;
}

.ko-story-fact span {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.25;
}

.ko-quality,
.ko-reviews {
  display: grid;
  gap: 12px;
}

.ko-quality-card,
.ko-review-card {
  padding: 18px;
  border-radius: 21px;
}

.ko-quality-card h3 {
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 900;
}

.ko-quality-card p,
.ko-review-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ko-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}

.ko-review-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-accent-soft);
  color: var(--primary);
  font-weight: 950;
}

.ko-review-name {
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 900;
}

.ko-review-product {
  color: var(--text-muted);
  font-size: 12px;
}

.ko-community-card {
  padding: 25px 20px;
  border-radius: 26px;
  text-align: center;
}

.ko-community-card h2 {
  margin: 0 0 9px;
  color: var(--text-strong);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
}

.ko-community-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}


/* =========================================================
   9. Stylist / final / footer
   ========================================================= */

.ko-stylist-card {
  padding: 24px 20px;
  background: var(--primary);
  border-radius: 26px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.ko-stylist-card:before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.ko-stylist-card h2,
.ko-stylist-card p,
.ko-stylist-card .ko-btn-row {
  position: relative;
}

.ko-stylist-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 950;
}

.ko-stylist-card p {
  margin: 0 0 18px;
  opacity: 0.86;
  font-size: 14px;
  line-height: 1.5;
}

.ko-final {
  padding: 30px 20px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.ko-final h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

.ko-final p {
  margin: 0 0 18px;
  opacity: 0.86;
  font-size: 14px;
  line-height: 1.55;
}

.ko-footer {
  padding: 28px 20px 38px;
  background: var(--bg-main);
  text-align: center;
}

.ko-footer-logo {
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.ko-footer-tagline {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.ko-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 20px;
}

.ko-footer-links a {
  color: var(--text-muted);
  font-size: 13px;
}

.ko-footer-copy {
  color: var(--text-muted);
  opacity: 0.75;
  font-size: 12px;
}


/* =========================================================
   10. Sticky chat
   ========================================================= */

.ko-sticky-chat {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 430px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  overflow: hidden;
}

.ko-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.ko-chat-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ko-chat-name {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 900;
}

.ko-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 11px;
}

.ko-chat-name,
.ko-chat-status {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ko-chat-status:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
}

.ko-chat-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none;
}


/* =========================================================
   11. Mobile
   ========================================================= */

@media (max-width: 420px) {
  .ko-hero h1 {
    font-size: 25px;
  }

  .ko-hero-points {
    grid-template-columns: 1fr;
  }

  .ko-story-facts {
    grid-template-columns: 1fr;
  }

  .ko-hero .ko-btn,
  .ko-stylist-card .ko-btn,
  .ko-community-card .ko-btn,
  .ko-final .ko-btn {
    width: 240px !important;
    min-height: 48px !important;
  }

  .ko-sticky-chat {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    padding: 10px 12px;
    gap: 10px;
    border-radius: 0;
  }

  .ko-chat-avatar {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .ko-chat-name {
    font-size: 12px;
  }

  .ko-chat-status {
    font-size: 10px;
  }

  .ko-chat-btn {
    min-width: 92px;
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }
}


/* =========================================================
   12. Tablet and desktop
   ========================================================= */

@media (min-width: 768px) {
  .krupa-home {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 0;
  }

  .ko-hero,
  .ko-section,
  .ko-final,
  .ko-footer {
    width: 100% !important;
  }

  .ko-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 64px 40px 56px;
    text-align: center !important;
  }

  .ko-hero .ko-label,
  .ko-hero h1,
  .ko-hero-text,
  .ko-hero .ko-btn-row,
  .ko-hero-points {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-hero h1 {
    max-width: 760px;
    font-size: 46px;
    line-height: 1.05;
  }

  .ko-hero-text {
    max-width: 680px;
    font-size: 18px;
  }

  .ko-hero-points {
    max-width: 720px;
  }

  .ko-section {
    padding: 58px 40px;
    text-align: center !important;
  }

  .ko-section-kicker,
  .ko-title,
  .ko-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .ko-section-kicker {
    display: block !important;
  }

  .ko-title {
    max-width: 860px !important;
    font-size: 34px;
  }

  .ko-subtitle {
    max-width: 760px !important;
    font-size: 17px;
  }

  .ko-section > .ko-section-kicker,
  .ko-section > .ko-title,
  .ko-section > .ko-subtitle,
  .ko-section > .ko-benefits,
  .ko-section > .ko-products,
  .ko-section > .ko-look-header,
  .ko-section > .ko-look-scroll,
  .ko-section > .ko-story-card,
  .ko-section > .ko-quality,
  .ko-section > .ko-stylist-card,
  .ko-section > .ko-reviews,
  .ko-section > .ko-community-card {
    width: 100% !important;
    max-width: 980px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ko-product-image {
    min-height: 300px;
  }

  .ko-btn-row {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-hero .ko-btn-row,
  .ko-stylist-card .ko-btn-row,
  .ko-community-card .ko-btn-row,
  .ko-final .ko-btn-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-hero .ko-btn,
  .ko-stylist-card .ko-btn,
  .ko-community-card .ko-btn,
  .ko-final .ko-btn {
    width: 280px !important;
    max-width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: nowrap !important;
  }

  .ko-look-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 28px !important;
  }

  .ko-look-header > div,
  .ko-look-header .ko-section-kicker,
  .ko-look-header .ko-title {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-look-header a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: var(--accent) !important;
    text-align: center !important;
  }

  .ko-final {
    padding: 58px 40px;
  }

  .ko-final h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 38px;
  }

  .ko-final p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
  }

  .ko-sticky-chat {
    left: auto;
    right: 24px;
    bottom: 0;
    transform: none;
    width: 420px;
    max-width: 420px;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 22px 22px 0 0;
  }

  .ko-chat-btn {
    min-width: 110px;
    height: 42px;
    padding: 0 18px;
    font-size: 12px;
  }
}


/* =========================================================
   13. Desktop
   ========================================================= */

@media (min-width: 1024px) {
  .ko-hero {
    padding: 86px 48px 72px;
  }

  .ko-hero h1 {
    max-width: 980px;
    font-size: 62px;
    line-height: 1.03;
  }

  .ko-hero-text {
    max-width: 760px;
    font-size: 20px;
  }

  .ko-hero-points {
    max-width: 860px;
    gap: 14px;
  }

  .ko-hero-point {
    padding: 18px 16px;
    font-size: 14px;
  }

  .ko-hero-point strong {
    font-size: 18px;
  }

  .ko-section {
    padding: 78px 56px;
  }

  .ko-section > .ko-section-kicker,
  .ko-section > .ko-title,
  .ko-section > .ko-subtitle,
  .ko-section > .ko-benefits,
  .ko-section > .ko-products,
  .ko-section > .ko-look-header,
  .ko-section > .ko-look-scroll,
  .ko-section > .ko-story-card,
  .ko-section > .ko-quality,
  .ko-section > .ko-stylist-card,
  .ko-section > .ko-reviews,
  .ko-section > .ko-community-card {
    max-width: 1180px;
  }

  .ko-title {
    font-size: 42px;
    line-height: 1.08;
  }

  .ko-subtitle {
    max-width: 760px;
    font-size: 18px;
  }

  .ko-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .ko-product-image {
    min-height: 360px;
  }

  .ko-product-info {
    padding: 20px;
  }

  .ko-product-info h3 {
    font-size: 19px;
  }

  .ko-product-info p {
    font-size: 14px;
  }

  .ko-benefits,
  .ko-quality,
  .ko-reviews,
  .ko-look-scroll {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-benefit-card {
    display: block;
    flex: 0 1 260px !important;
    max-width: 280px !important;
    padding: 24px;
    text-align: left !important;
  }

  .ko-benefit-icon {
    margin-bottom: 16px;
  }

  .ko-quality-card {
    flex: 0 1 320px !important;
    max-width: 340px !important;
    padding: 24px;
    text-align: left !important;
  }

  .ko-review-card {
    flex: 0 1 420px !important;
    max-width: 430px !important;
    text-align: left !important;
  }

  .ko-look-scroll {
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .ko-look-card {
    flex: 0 1 360px !important;
    max-width: 370px !important;
    text-align: left !important;
  }

  .ko-look-image {
    height: 260px;
  }

  .ko-story-card {
    padding: 34px;
    text-align: left !important;
  }

  .ko-story-quote {
    font-size: 22px;
  }

  .ko-stylist-card {
    padding: 46px 40px;
  }

  .ko-stylist-card h2 {
    font-size: 38px;
  }

  .ko-stylist-card p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
  }

  .ko-community-card {
    padding: 46px 40px;
  }

  .ko-community-card h2 {
    font-size: 38px;
  }

  .ko-community-card p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
  }

  .ko-final {
    padding: 80px 56px;
  }

  .ko-final h2 {
    font-size: 46px;
  }

  .ko-footer {
    padding: 44px 40px 58px;
  }

  .ko-hero .ko-btn,
  .ko-stylist-card .ko-btn,
  .ko-community-card .ko-btn,
  .ko-final .ko-btn {
    width: 300px !important;
  }
}


/* =========================================================
   14. Large desktop
   ========================================================= */

@media (min-width: 1440px) {
  .ko-section > .ko-section-kicker,
  .ko-section > .ko-title,
  .ko-section > .ko-subtitle,
  .ko-section > .ko-benefits,
  .ko-section > .ko-products,
  .ko-section > .ko-look-header,
  .ko-section > .ko-look-scroll,
  .ko-section > .ko-story-card,
  .ko-section > .ko-quality,
  .ko-section > .ko-stylist-card,
  .ko-section > .ko-reviews,
  .ko-section > .ko-community-card {
    max-width: 1240px;
  }

  .ko-hero h1 {
    font-size: 70px;
  }

  .ko-product-image {
    min-height: 400px;
  }

  .ko-benefits,
  .ko-quality,
  .ko-reviews,
  .ko-look-scroll {
    max-width: 1240px !important;
  }

  .ko-benefit-card {
    flex-basis: 280px !important;
  }

  .ko-quality-card {
    flex-basis: 340px !important;
  }

  .ko-review-card {
    flex-basis: 430px !important;
  }

  .ko-look-card {
    flex-basis: 380px !important;
  }
}/* =========================================================
   FIX MOBILE: кнопки внутри карточек не должны быть шире карточки
   Блоки: "Не уверены, что подойдёт?" и "Присоединяйтесь к KRUPAOLGA"
   ========================================================= */

@media (max-width: 767px) {

  .ko-stylist-card .ko-btn-row,
  .ko-community-card .ko-btn-row,
  .ko-final .ko-btn-row,
  .ko-hero .ko-btn-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ko-stylist-card .ko-btn,
  .ko-community-card .ko-btn,
  .ko-final .ko-btn,
  .ko-hero .ko-btn {
    width: 100% !important;
    max-width: 260px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Для совсем узких экранов */
@media (max-width: 360px) {

  .ko-stylist-card .ko-btn,
  .ko-community-card .ko-btn,
  .ko-final .ko-btn,
  .ko-hero .ko-btn {
    max-width: 230px !important;
  }
}