.home .entry-content > .wp-block-group[class*="ch-"] { margin-block: 0; padding: 80px 0 0; }
.home .entry-content > .wp-block-group.ch-home-hero, .home .entry-content > .wp-block-group.ch-home-offer { padding-top: 24px; }
.home .entry-content > .wp-block-group.ch-home-reviews { padding-bottom: 96px; }
.ch-home__title, .home .ch-shelf .ch-shelf__title { margin: 0 !important; font-size: var(--ch-fs-h2); line-height: 1.1; font-weight: var(--ch-w-display); font-stretch: var(--ch-stretch-display); letter-spacing: var(--ch-track-h2); color: var(--ch-ink); }
.home .entry-content .ch-home-cats > .ch-home__title { margin-bottom: 24px !important; }

.ch-hero { position: relative; display: flex; align-items: flex-end; min-height: 600px; border-radius: 24px; overflow: hidden; background: var(--ch-ink); }
.ch-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-rating-badge { position: absolute; top: 24px; left: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; min-height: var(--ch-target); padding: 0 16px; border-radius: var(--ch-radius-pill); background: var(--ch-paper); color: var(--ch-ink); font-size: 14px; line-height: 1.2; text-decoration: none; box-shadow: 0 6px 20px rgb(11 11 13 / .12); }
.ch-rating-badge:hover { color: var(--ch-ink); }
.ch-rating-badge__avg { font-weight: var(--ch-w-bold); }
.ch-rating-badge__count { color: var(--ch-text-2); }
.ch-rating-badge:hover .ch-rating-badge__count { text-decoration: underline; text-underline-offset: 3px; }
.ch-stars svg.is-empty { fill: var(--ch-line-2); }
.ch-hero__card { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 540px; margin: 32px; padding: 36px; border-radius: var(--ch-radius-l); background: var(--ch-paper); box-shadow: 0 12px 40px rgb(11 11 13 / .16); box-sizing: border-box; }
.home .ch-hero__title { margin: 0; font-size: var(--ch-fs-h1); line-height: 1.02; font-weight: var(--ch-w-display); font-stretch: var(--ch-stretch-display); letter-spacing: var(--ch-track-h1); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.ch-hero__lead { margin: 0; font-size: 17px; line-height: var(--ch-lh-body); color: var(--ch-text-2); }
.ch-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-hero__ctas .ch-btn { min-height: var(--ch-btn-h); padding: 0 24px; font-size: var(--ch-fs-body); }
.ch-hero__ctas .ch-btn--dark { padding: 0 26px; }
.ch-hero__ctas .ch-arrow { width: 18px; height: 18px; fill: none; }

.ch-offer { display: grid; grid-template-columns: 1.1fr 3fr; gap: 16px; padding: 24px; border-radius: var(--ch-radius-l); background: var(--ch-paper); }
.ch-offer__head { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 8px; }
.ch-offer__title { font-size: 26px; line-height: 1.15; font-weight: var(--ch-w-display); font-stretch: 108%; color: var(--ch-ink); }
.ch-offer__note { font-size: 14px; line-height: 1.5; color: var(--ch-text-2); }
.ch-offer__tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ch-offer__tier { --ring: var(--ch-mist); display: flex; align-items: center; gap: 16px; margin: 0; padding: 18px; border-radius: var(--ch-radius); background: var(--ring); color: var(--ch-ink); }
.ch-offer__tier--mid { --ring: var(--ch-accent-tint); }
.ch-offer__tier--top { --ring: var(--ch-ink); color: var(--ch-paper); }
.ch-offer__thumbs { display: flex; flex-shrink: 0; }
.ch-offer__thumb { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ring); }
.ch-offer__thumb + .ch-offer__thumb { margin-left: -18px; }
.ch-offer__body { display: flex; flex-direction: column; gap: 2px; }
.ch-offer__label { font-size: 14px; opacity: .8; }
.ch-offer__big { font-size: 24px; line-height: 1.15; font-weight: var(--ch-w-display); font-stretch: 108%; white-space: nowrap; }
.ch-offer__extra { font-size: 12.5px; opacity: .85; }

.ch-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ch-cat { margin: 0; }
.home .entry-content .ch-cat__link { text-decoration: none; }
.ch-cat__link { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto; aspect-ratio: 3 / 4; border-radius: var(--ch-radius); overflow: hidden; background: var(--ch-ink); color: var(--ch-paper); text-decoration: none; }
.ch-cat__link:hover { color: var(--ch-paper); }
.ch-cat__media { grid-area: 1 / 1 / -1 / -1; z-index: -1; display: block; }
.ch-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ch-ink) 0%, color-mix(in srgb, var(--ch-ink) 70%, transparent) 30%, transparent 62%); }
.ch-cat__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ch-cat__link:hover .ch-cat__img { transform: scale(1.03); }
.home .ch-cat__name { grid-area: 2 / 1; margin: 0; padding: 0 18px; font-size: 19px; line-height: 1.2; font-weight: var(--ch-w-display); font-stretch: var(--ch-stretch-h3); letter-spacing: -0.01em; color: var(--ch-paper); overflow-wrap: break-word; hyphens: auto; text-decoration: none; }
.home .ch-cat__link:hover .ch-cat__name { text-decoration: underline; text-underline-offset: 3px; }
.ch-cat__text { grid-area: 3 / 1; margin: 6px 18px 18px; font-size: var(--ch-fs-s); line-height: 1.4; color: var(--ch-line); }

.home .ch-shelf { display: block; }
.ch-shelf .woocommerce { width: 100%; }
.home .ch-shelf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 24px; }
.ch-shelf__more, .ch-shelf__more:hover { min-height: var(--ch-target); padding: 0; gap: 6px; border: 0; background: none; color: var(--ch-ink); font-size: var(--ch-fs-ui); font-weight: var(--ch-w-ui); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ch-shelf__more .ch-arrow { display: none; }
.home .ch-shelf [data-products] { gap: 16px; }
.home .ch-shelf--popular ul[data-products] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ch-shelf--popular [data-products] > li.product { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 0; row-gap: 12px; padding: 0; border-radius: var(--ch-radius-l); }
.ch-shelf--popular [data-products] > li.product > * { grid-column: 2; margin: 0 28px; }
.ch-shelf--popular [data-products] > li.product > figure { grid-column: 1; grid-row: 1 / -1; margin: 0; }
.ch-shelf--popular [data-products] > li.product .ct-media-container, .ch-shelf--popular [data-products] > li.product .ct-media-container img { height: 100%; }
.ch-shelf--popular .woocommerce-loop-product__title { grid-row: 2; font-size: 22px; line-height: 1.25; font-weight: var(--ch-w-h3); }
.ch-shelf--popular .ct-woo-card-rating { grid-row: 3; font-size: 14px; }
.ch-shelf--popular [data-products] > li.product .price { grid-row: 4; margin-top: 0; font-size: 22px; }

.ch-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-feature { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0 0 28px; border-radius: var(--ch-radius-l); background: var(--ch-paper); overflow: hidden; }
.ch-feature__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0 0 6px; object-fit: cover; }
.home .ch-feature__title { margin: 0 28px; font-size: 22px; line-height: 1.2; font-weight: var(--ch-w-h3); font-stretch: var(--ch-stretch-h3); letter-spacing: 0; overflow-wrap: break-word; hyphens: auto; }
.ch-feature__text { margin: 0 28px; font-size: var(--ch-fs-ui); line-height: var(--ch-lh-body); color: var(--ch-text-2); }
.ch-feature__text strong { color: var(--ch-ink); }

.home .ch-home__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin: 0 0 24px; }
.ch-carousel__inner { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 8px; }
.ch-reviews { flex: 0 0 100%; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ch-reviews::-webkit-scrollbar { display: none; }
.ch-review { flex: 0 0 calc((100% - 40px) / 3); display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 28px; border-radius: var(--ch-radius); background: var(--ch-paper); box-sizing: border-box; scroll-snap-align: start; }
.ch-review .ch-stars svg { width: 16px; height: 16px; }
.ch-review__text { margin: 0; font-size: 17px; line-height: var(--ch-lh-body); color: var(--ch-ink); }
.ch-review__text em { font-style: normal; }
.ch-review__name { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ch-line); font-size: var(--ch-fs-s); font-weight: 650; color: var(--ch-ink); }
.ch-carousel__btn { display: none; order: 1; width: var(--ch-target); height: var(--ch-target); margin: 16px 0 0; padding: 0; border: 1px solid var(--ch-ink); border-radius: 50%; background: var(--ch-paper); color: var(--ch-ink); font: 18px/1 var(--ch-font); cursor: pointer; }
.ch-carousel__btn--prev::before { content: "\2039"; font-size: 26px; }
.ch-carousel__btn--next::before { content: "\203A"; font-size: 26px; }
.ch-carousel__btn:hover, .ch-carousel__btn:focus { background: var(--ch-ink); color: var(--ch-paper); }
.ch-carousel.is-ready .ch-carousel__btn { display: grid; place-items: center; }
.ch-carousel__dots { order: 2; display: flex; justify-content: center; align-items: center; height: var(--ch-target); margin-top: 16px; }
.ch-carousel__btn--next { order: 3; }
.ch-carousel__dot { position: relative; width: 24px; height: var(--ch-target); margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ch-carousel__dot::before { content: ""; position: absolute; top: 18px; left: 8px; width: 8px; height: 8px; border-radius: var(--ch-radius-pill); background: var(--ch-ink); opacity: .2; transition: left .3s, width .3s, opacity .3s; }
.ch-carousel__dot[aria-current="true"] { width: 40px; }
.ch-carousel__dot[aria-current="true"]::before { width: 24px; opacity: 1; }
.ch-carousel__dot:hover, .ch-carousel__dot:focus { background: transparent; }

@media (max-width: 999.98px) {
  .home .entry-content > .wp-block-group[class*="ch-"] { padding-top: 56px; }
  .ch-hero { min-height: 520px; }
  .ch-hero__card { margin: 24px; }
  .home .ch-hero__title { font-size: 44px; }
  .ch-offer { grid-template-columns: 1fr; }
  .ch-offer__head { padding: 0; }
  .ch-cats { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2); scrollbar-width: none; margin-inline: calc(calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2) * -1); padding: 0 calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2) 4px; }
  .ch-cat { flex: 0 0 28%; scroll-snap-align: start; }
  .ch-features { grid-template-columns: 1fr 1fr; }
  .ch-offer__tier { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ch-review { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 689.98px) {
  .home .entry-content > .wp-block-group[class*="ch-"] { padding-top: 40px; }
  .home .entry-content > .wp-block-group.ch-home-hero { padding-top: 12px; }
  .home .entry-content > .wp-block-group.ch-home-offer { padding-top: 20px; }
  .home .entry-content > .wp-block-group.ch-home-reviews { padding-bottom: 48px; }
  .ch-home__title, .home .ch-shelf .ch-shelf__title { font-size: 24px; line-height: 1.15; }
  .home .entry-content .ch-home-cats > .ch-home__title, .home .ch-shelf__head, .home .ch-home__head { margin-bottom: 14px !important; }
  .home .ch-shelf__head { align-items: baseline; }
  .ch-shelf__more, .ch-shelf__more:hover { font-size: 13.5px; }
  .ch-hero { display: block; min-height: 0; overflow: visible; background: none; }
  .ch-hero__img { position: static; display: block; height: 260px; border-radius: var(--ch-radius-l); }
  .ch-rating-badge { top: 12px; left: 12px; gap: 6px; min-height: 36px; padding: 0 12px; font-size: 12.5px; }
  .ch-rating-badge .ch-stars svg { width: 13px; height: 13px; }
  .ch-hero__card { gap: 14px; margin: -36px 8px 0; padding: 22px 18px; border-radius: 18px; box-shadow: 0 10px 30px rgb(11 11 13 / .12); }
  .home .ch-hero__title { font-size: 34px; line-height: 1.04; }
  .ch-hero__lead { font-size: var(--ch-fs-ui); line-height: 1.55; }
  .ch-hero__ctas { flex-direction: column; }
  .ch-hero__ctas .ch-btn { width: 100%; min-height: 50px; font-size: var(--ch-fs-ui); }
  .ch-offer { gap: 8px; padding: 16px; border-radius: 18px; }
  .ch-offer__head { gap: 2px; padding: 2px 2px 4px; }
  .ch-offer__title { font-size: 18px; }
  .ch-offer__note { font-size: var(--ch-fs-s); }
  .ch-offer__tiers { grid-template-columns: 1fr; gap: 8px; }
  .ch-offer__tier { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; }
  .ch-offer__thumbs { width: 84px; }
  .ch-offer__thumb { width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--ring); }
  .ch-offer__body { flex: 1; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: center; }
  .ch-offer__label { grid-column: 1; font-size: 13.5px; opacity: 1; }
  .ch-offer__extra { grid-column: 1; font-size: var(--ch-fs-xs); opacity: .8; }
  .ch-offer__big { grid-column: 2; grid-row: 1 / span 2; font-size: 20px; }
  .ch-offer__tier:first-child .ch-offer__big { font-size: var(--ch-fs-ui); }
  .ch-cats { gap: 10px; }
  .ch-cat { flex-basis: 40%; }
  .home .ch-cat__name { padding: 0 12px; font-size: 15px; }
  .ch-cat__text { display: -webkit-box; margin: 4px 12px 12px; overflow: hidden; font-size: var(--ch-fs-xs); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .home .ch-shelf--popular ul[data-products] { grid-template-columns: 1fr; gap: 10px; }
  .ch-shelf--popular [data-products] > li.product { grid-template-columns: 120px 1fr; grid-template-rows: 1fr auto auto auto 1fr; row-gap: 4px; border-radius: var(--ch-radius); }
  .ch-shelf--popular [data-products] > li.product > * { margin: 0 14px; }
  .ch-shelf--popular [data-products] > li.product .ct-media-container img { width: 120px; height: 120px; }
  .ch-shelf--popular .woocommerce-loop-product__title { font-size: 14.5px; line-height: 1.3; font-weight: var(--ch-w-bold); }
  .ch-shelf--popular .ct-woo-card-rating { font-size: var(--ch-fs-xs); }
  .ch-shelf--popular [data-products] > li.product .price { font-size: var(--ch-fs-ui); }
  .home .ch-shelf:not(.ch-shelf--popular) [data-products] { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2); scrollbar-width: none; margin-inline: calc(calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2) * -1); padding: 0 calc((100vw - var(--theme-container-edge-spacing, 90vw)) / 2) 4px; }
  .home .ch-shelf:not(.ch-shelf--popular) [data-products] > li.product { flex: 0 0 46%; scroll-snap-align: start; }
  .ch-features { grid-template-columns: 1fr; gap: 10px; }
  .ch-feature { gap: 10px; padding-bottom: 20px; border-radius: 18px; }
  .home .ch-feature__title { margin: 0 16px; font-size: 20px; }
  .ch-feature__text { margin: 0 16px; font-size: 14px; }
  .home .ch-home__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ch-rating-summary { font-size: 13.5px; }
  .ch-review { flex-basis: 84%; gap: 10px; padding: 18px; }
  .ch-review__text { font-size: var(--ch-fs-ui); line-height: 1.55; }
  .ch-review__name { font-size: var(--ch-fs-xs); }
}
@media (prefers-reduced-motion: reduce) { .ch-carousel__dot::before, .ch-cat__img { transition: none; } }
