/* Головна сторінка — продакшен-блоки */
.gf-home-hero {
  justify-content: flex-start !important;
  background-position: 72% center;
}

.gf-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.72) 38%,
    rgba(255, 255, 255, 0.15) 58%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}

.gf-home-hero .cs_hero_text {
  padding-right: 0;
  padding-left: clamp(28px, 5vw, 72px);
  text-align: left;
  z-index: 2;
}

.gf-home-hero .cs_hero_title {
  color: #2b1522;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.gf-home-hero .cs_hero_subtitle {
  color: #5a3d4d !important;
  max-width: 34ch;
}

.gf-home-hero .cs_hero_mini_img {
  z-index: 2;
}

@media (max-width: 991px) {
  .gf-home-hero {
    background-position: 80% center;
  }

  .gf-home-hero::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.82) 52%,
      rgba(255, 255, 255, 0.35) 72%,
      transparent 88%
    );
  }
}

@media (max-width: 575px) {
  .gf-home-hero .cs_hero_text {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gf-home-hero .cs_hero_title {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1.1;
  }
}

.gf-home-hero-features {
  margin-bottom: 8px;
}

.gf-home-hero-features__grid {
  gap: 18px;
}

.gf-home-hero-features__grid .cs_grid_col {
  min-width: 0;
}

.gf-home-hero-features__card.cs_iconbox.cs_style_1 {
  height: 100%;
  min-height: 148px;
  padding: 22px 14px 18px;
  background: #fff;
  border: 1px solid #ececf0;
  box-shadow: 0 8px 24px rgba(48, 48, 48, 0.05);
  gap: 12px;
}

.gf-home-hero-features__card.cs_iconbox.cs_style_1 img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.gf-home-hero-features__card.cs_iconbox.cs_style_1 p {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #2b1522;
}

@media (max-width: 575px) {
  .gf-home-hero-features__card.cs_iconbox.cs_style_1 {
    min-height: 132px;
    padding: 18px 12px 16px;
  }

  .gf-home-hero-features__card.cs_iconbox.cs_style_1 p {
    font-size: 0.85rem;
  }
}

.gf-home-categories-section {
  background: #fafafa;
}

.gf-home-promo-banner {
  display: block;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.gf-home-promo-banner:hover {
  box-shadow: 0 0 0 1px var(--accent-color, #e61f7f);
}

.gf-home-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.gf-home-banners-row {
  align-items: stretch;
}

.gf-home-banners-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gf-home-banners-side .cs_banner.cs_style_2,
.gf-home-banners-side .cs_banner.cs_style_3 {
  flex: 1 1 0;
  height: auto;
  min-height: 240px;
}

@media (max-width: 991px) {
  .gf-home-banners-side {
    margin-top: 0;
  }

  .gf-home-banners-side .cs_banner.cs_style_2,
  .gf-home-banners-side .cs_banner.cs_style_3 {
    min-height: 280px;
  }
}

.gf-home-category-photo {
  display: block;
  aspect-ratio: 325 / 575;
  max-width: 520px;
  margin-inline: auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.gf-home-category-photo:hover {
  box-shadow: 0 12px 32px rgba(48, 48, 48, 0.12);
  color: inherit;
  transform: translateY(-3px);
}

.gf-home-category-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.gf-home-category-photo__img--top {
  object-position: center 18%;
}

.gf-home-category-photo__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 18px 14px 0;
  pointer-events: none;
}

.gf-home-category-photo__panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 22px 18px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(48, 48, 48, 0.1);
}

.gf-home-category-photo__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #303030;
  letter-spacing: -0.01em;
}

.gf-home-category-photo__text {
  margin: 0 auto 16px;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(48, 48, 48, 0.78);
}

.gf-home-category-photo__btn.cs_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

@media (max-width: 575px) {
  .gf-home-category-photo__content {
    padding: 14px 12px 0;
  }

  .gf-home-category-photo__panel {
    padding: 18px 14px 16px;
  }

  .gf-home-category-photo__title {
    font-size: 1.3rem;
  }

  .gf-home-category-photo__text {
    font-size: 13px;
    margin-bottom: 14px;
  }
}

.gf-home-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 28px 20px 24px;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gf-home-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 31, 127, 0.25);
  box-shadow: 0 14px 34px rgba(48, 48, 48, 0.08);
  color: inherit;
}

.gf-home-category-card__media {
  display: block;
  margin-bottom: 18px;
}

.gf-home-category-card__media img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.gf-home-category-card__title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 6px;
}

.gf-home-category-card__meta {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-color, #e61f7f);
  margin-bottom: 8px;
}

.gf-home-category-card__blurb {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #777;
}

.gf-home-benefits {
  background: #fafafa;
}

.gf-benefit-card {
  height: 100%;
  padding: 24px 20px;
  border: 1px solid #ececf0;
  border-radius: 16px;
  background: #fff;
}

.gf-benefit-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.gf-benefit-card__text {
  margin: 0;
  color: #666;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Темний футер — як shop-v3 */
.gf-site-footer.cs_primary_bg .cs_contact_widget li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gf-site-footer.cs_primary_bg .cs_contact_widget i {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.85);
}

.gf-site-footer.cs_primary_bg .cs_contact_widget a,
.gf-site-footer.cs_primary_bg .cs_menu_widget a,
.gf-site-footer.cs_primary_bg .cs_footer_links a {
  color: rgba(255, 255, 255, 0.85);
}

.gf-site-footer.cs_primary_bg .cs_contact_widget a:hover,
.gf-site-footer.cs_primary_bg .cs_menu_widget a:hover,
.gf-site-footer.cs_primary_bg .cs_footer_links a:hover {
  color: #fff;
}

.gf-site-footer.cs_primary_bg .cs_contact_widget li {
  color: rgba(255, 255, 255, 0.75);
}

.gf-site-footer .gf-footer-social {
  display: flex;
  gap: 12px;
  font-size: 1.25rem;
}

.gf-site-footer.cs_primary_bg .gf-footer-social a {
  color: rgba(255, 255, 255, 0.85);
}

.gf-site-footer.cs_primary_bg .gf-footer-social a:hover {
  color: #fff;
}

.gf-site-footer.cs_primary_bg .cs_copyright {
  color: rgba(255, 255, 255, 0.7);
}

.gf-site-footer.cs_primary_bg .cs_newsletter.cs_style_3 input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.gf-site-footer.cs_primary_bg .cs_newsletter.cs_style_3 input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Каруселі товарів на головній */
.gf-home-carousel-hint {
  max-width: 34ch;
}

.gf-home-carousel {
  position: relative;
  padding: 0 56px 6px;
}

.gf-home-carousel .cs_slider_container {
  overflow: hidden;
}

.gf-home-carousel .slick-list {
  overflow: hidden !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gf-home-carousel .slick-track {
  margin-left: 0;
  margin-right: 0;
}

.gf-home-carousel::after {
  display: none;
}

.gf-home-carousel .cs_left_arrow,
.gf-home-carousel .cs_right_arrow {
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #fff;
  z-index: 5;
  top: 42%;
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.gf-home-carousel .cs_left_arrow {
  left: 0 !important;
}

.gf-home-carousel .cs_right_arrow {
  right: 0 !important;
}

.gf-home-carousel .cs_left_arrow svg,
.gf-home-carousel .cs_right_arrow svg {
  width: 10px;
  height: auto;
}

.gf-home-carousel__dots.cs_pagination.cs_style_1 {
  display: flex !important;
}

.gf-home-carousel__arrows.cs_slider_arrows.cs_style_1 {
  display: block !important;
}

.gf-home-bestseller .cs_section_heading_title svg,
.gf-home-sale .cs_section_heading_title svg {
  width: 22px;
  height: auto;
  margin-right: 10px;
  color: var(--accent-color, #e61f7f);
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_product_link,
.gf-home-often .cs_product_card.cs_style_1 .cs_product_link,
.gf-home-new .cs_product_card.cs_style_1 .cs_product_link,
.gf-home-sale .cs_product_card.cs_style_1 .cs_product_link,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_product_link {
  z-index: 2;
}

.gf-home-product-title-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.gf-home-product-title-link:hover {
  color: var(--accent-color, #e61f7f);
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_products_btns,
.gf-home-new .cs_product_card.cs_style_1 .cs_products_btns,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_products_btns {
  /* Кнопки мають бути видимі внизу картки. */
  position: absolute !important;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  opacity: 1 !important;
  gap: 8px;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: none !important;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_products_btns > *,
.gf-home-new .cs_product_card.cs_style_1 .cs_products_btns > *,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_products_btns > * {
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_btn.cs_style_1,
.gf-home-new .cs_product_card.cs_style_1 .cs_btn.cs_style_1,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_btn.cs_style_1 {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  min-height: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_btn.cs_style_1 img,
.gf-home-new .cs_product_card.cs_style_1 .cs_btn.cs_style_1 img,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_btn.cs_style_1 img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_like_btn,
.gf-home-new .cs_product_card.cs_style_1 .cs_like_btn,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_like_btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  border: 1px solid #e0e0e5;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_like_btn svg,
.gf-home-new .cs_product_card.cs_style_1 .cs_like_btn svg,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_like_btn svg {
  width: 20px;
  height: 18px;
  flex-shrink: 0;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_like_btn.active,
.gf-home-new .cs_product_card.cs_style_1 .cs_like_btn.active,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_like_btn.active {
  border-color: #e61f7f;
  background: rgba(230, 31, 127, 0.08);
}

.gf-home-carousel .cs_product_card.cs_style_1:hover .cs_products_btns,
.gf-home-new .cs_product_card.cs_style_1:hover .cs_products_btns,
.cs_new_item_list .cs_product_card.cs_style_1:hover .cs_products_btns {
  bottom: 0 !important;
}

.gf-home-carousel .cs_product_card.cs_style_1 .cs_product_thumb,
.gf-home-new .cs_product_card.cs_style_1 .cs_product_thumb,
.cs_new_item_list .cs_product_card.cs_style_1 .cs_product_thumb {
  height: 332px;
  padding-bottom: 64px;
}

@media (max-width: 991px) {
  .gf-home-carousel {
    padding: 0 48px 6px;
  }

  .gf-home-carousel .cs_left_arrow {
    left: 0 !important;
  }

  .gf-home-carousel .cs_right_arrow {
    right: 0 !important;
  }

  .gf-home-carousel .cs_product_card.cs_style_1 .cs_product_thumb,
  .gf-home-new .cs_product_card.cs_style_1 .cs_product_thumb,
  .cs_new_item_list .cs_product_card.cs_style_1 .cs_product_thumb {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 220px;
    padding-bottom: 0;
  }

  .gf-home-carousel .cs_product_card.cs_style_1 .cs_product_thumb > img,
  .gf-home-new .cs_product_card.cs_style_1 .cs_product_thumb > img,
  .cs_new_item_list .cs_product_card.cs_style_1 .cs_product_thumb > img {
    flex: 1 1 auto;
    max-height: 200px;
    object-fit: contain;
  }

  .gf-home-carousel .cs_product_card.cs_style_1 .cs_products_btns,
  .gf-home-new .cs_product_card.cs_style_1 .cs_products_btns,
  .cs_new_item_list .cs_product_card.cs_style_1 .cs_products_btns {
    position: static;
    order: 2;
    width: 100%;
    margin-top: 4px;
    padding: 10px 4px 4px;
    background: none;
  }

  .gf-home-carousel .cs_product_card.cs_style_1 .cs_btn.cs_style_1,
  .gf-home-new .cs_product_card.cs_style_1 .cs_btn.cs_style_1,
  .cs_new_item_list .cs_product_card.cs_style_1 .cs_btn.cs_style_1 {
    min-height: 46px;
    height: 46px;
    font-size: 14px;
  }

}

/* Акції + Про нас (SEO) */
.gf-home-aktsii__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fff5f9 0%, #faf7f8 100%);
  border: 1px solid #f0e0e8;
}

.gf-home-about__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  background: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
}

.gf-home-about__toggle.is-open i {
  transform: rotate(180deg);
}

.gf-home-about__body {
  margin-top: 12px;
  padding: 16px 20px 4px;
  line-height: 1.7;
}
