/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Child theme for Astra
 Author: farmazeleneckich
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/

/* твои стили ниже */
.site-header {
    background-color: #ffffff !important;
    


}
/* Центральная кнопка в split-hero — точечные стили */
.split-hero .split-hero__btn.elementor-button {
  /* типографика */
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  line-height: 1em;

  /* скругление и отступы как на скрине (dopełnienie) */
  border-radius: 5px;
  padding: 15px 60px;

  /* цвета под Elementor-стиль секции */
  background-color: var(--ast-global-color-1);
  border: 0 solid var(--ast-global-color-1);
  color: #fff;
  text-decoration: none;

  /* лёгкая тень и плавность */
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: filter .2s ease, transform .2s ease;
}

.split-hero .split-hero__btn.elementor-button:hover {
  filter: brightness(.95);
}

.split-hero .split-hero__btn.elementor-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* Центрируем кнопку внутри split-hero */
.split-hero .split-hero__btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:5;
  text-decoration:none;
}
/* Центральная кнопка в split-hero — стиль как у ZOBACZ */
.split-hero .split-hero__btn.elementor-button{
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  line-height: 1em;
  border-radius: 5px;
  padding: 15px 60px;
  background-color: var(--ast-global-color-1);
  border: 0;
  color:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: background-color .3s ease, filter .2s ease;
}
.split-hero .split-hero__btn.elementor-button:hover{
  background-color: var(--ast-global-color-0);
  
}
@media (max-width: 767px){
  .split-hero .split-hero__btn.elementor-button{
    font-size:14px; padding:13px 28px; border-radius:4px;
  }
}


/* Адаптив: на узких экранах уменьшаем кнопку */
@media (max-width: 767px){
  .split-hero .split-hero__btn.elementor-button{
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 4px;
  }
}
/* Mikrolistki i soki (page id 8591): описание под иконками = 19px */
.page-id-8591 .elementor-widget-image-box .elementor-image-box-description {
  font-size: 19px !important;
  line-height: 1.5;
}
.split-hero {
  --speed: 1; /* по умолчанию */
}
/* Родительский контейнер Elementor с инстой */
.elementor-element-a65ed08 {
  background-color: #FEFFF6; /* твой фон */
}

/* Кнопка "Śledź" */
.elementor-element-a65ed08 .ti-btn {
  background-color: #379237 !important; /* зелёный фон */
  color: #ffffff !important;           /* белый текст */
  font-weight: 600 !important;         /* полужирный */
  border-radius: 6px;                  /* чуть скруглённые углы */
  padding: 10px 16px 10px 16px !important; /* ↑ увеличил верхний паддинг, ↓ оставил меньше */
                   /* внутренние отступы */
  text-transform: none;                /* оставить оригинальный регистр */
  top: 15px;
}

/* Ховер-эффект */
.elementor-element-a65ed08 .ti-btn:hover {
  background-color: #2e7b2f !important; /* чуть темнее при наведении */
  color: #ffffff !important;
}
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!КАТАЛОГ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

/* сужаем ТОЛЬКО контент, а не хедер */
.post-type-archive-product .site-content .ast-container,
.tax-product_cat .site-content .ast-container {
  max-width: 74% !important; /* если тебе реально нужен процент */
}

/* Карточка товара */
.fz-product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fz-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.fz-thumb {
  display:block;
  position:relative;
}
.fz-thumb img {
  width:100%;
  height:auto;
  display:block;
}

.onsale {
  position:absolute;
  top:10px; left:10px;
  background:#379237;
  color:#fff;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  z-index:2;
}

.fz-card-body {
  padding:14px 14px 16px;
  text-align:center;
}

.fz-cat {
  display:block;
  font-size:12px;
  opacity:.7;
  margin-bottom:4px;
}

.fz-title {
  font-size:16px;
  line-height:1.3;
  margin:0 0 8px;
}
.fz-title a { color:#1a1a1a; text-decoration:none; }

.fz-price { margin-bottom:12px; }
.fz-price .price { font-weight:700; font-size:16px; }

.fz-actions .button {
  background:#379237;
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  line-height:1;
  display:inline-block;
}
.fz-actions .button:hover { filter:brightness(.95); }

/* Плитка категории */
.fz-cat-card {
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fz-cat-card:hover { transform: translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.08); }
.fz-cat-thumb img { width:100%; height:auto; display:block; }
.fz-cat-body { padding:14px; text-align:center; }
.fz-cat-title { font-size:18px; margin:6px 0 0; }
.fz-cat-desc { font-size:14px; opacity:.8; margin-top:6px; }

/* Только страницы магазина/категорий */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  background: #FEFFF6;
}

/* Контейнеры Astra, чтобы не пробивался старый фон */
.post-type-archive-product .site,
.tax-product_cat .site,
.tax-product_tag .site,
.post-type-archive-product .site-content,
.tax-product_cat .site-content,
.tax-product_tag .site-content,
.post-type-archive-product .ast-container,
.tax-product_cat .ast-container,
.tax-product_tag .ast-container {
  background: transparent;
}
/* Прячем виджет фильтра цены WooCommerce на архиве/категориях */
.post-type-archive-product .widget_price_filter,
.tax-product_cat .widget_price_filter,
.tax-product_tag .widget_price_filter {
  display: none !important;
}
/* Классический виджет поиска товаров */
.woocommerce .widget_product_search .search-field {
  width: 300px;           /* было уже узко, добавил + */
  max-width: 100%;
}

/* Блок-виджет (Gutenberg) поиска */
.wp-block-search .wp-block-search__input {
  width: 300px;
  max-width: 100%;
}
/* 1) Прячем левый сайдбар на страницах магазина/категорий */
.post-type-archive-product .sidebar-main,
.tax-product_cat .sidebar-main,
.tax-product_tag .sidebar-main {
  display: none !important;
}

/* 2) Растягиваем контент на всю ширину (перекрываем сетку Astra) */
.post-type-archive-product .site-content .ast-container,
.tax-product_cat .site-content .ast-container,
.tax-product_tag .site-content .ast-container {
  display: block !important; /* вместо двухколоночного flex */
}

.post-type-archive-product .content-area.primary,
.tax-product_cat .content-area.primary,
.tax-product_tag .content-area.primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  flex: 1 1 100% !important;
}

/* (необязательно) убираем возможные разделители/бордеры у контента */
.post-type-archive-product .content-area.primary,
.tax-product_cat .content-area.primary,
.tax-product_tag .content-area.primary {
  border: 0 !important;
  padding-right: 0;
}
.fz-cat{ display:none !important; }


/* 3 ПЛИТКИ-КАТЕГОРИИ */
/* ===== ПЛИТКИ КАТЕГОРИЙ (чистый итог) ===== */

/* Full-bleed секция, по центру экрана */
.post-type-archive-product .fz-cat-tiles,
.tax-product_cat .fz-cat-tiles {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 70px;
  width: auto;                /* важно: не 100% */
  padding: 0; 
}

/* Внутренний контейнер: регулируешь ширину тут */
.fz-cat-tiles__inner{
  max-width: 1600px !important;   /* ← ПОМЕНЯЙ при необходимости (напр. 1200–1500) */
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 50px !important;            /* расстояние между плитками */
}

/* Плитка */
.fz-tile{
  position: relative !important;
  display: block !important;
  height: 300px !important;        /* итоговая высота */
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.07) !important;
}

/* Фон, оверлей и заголовок */
.fz-tile__bg{
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transform: scale(1.02) !important;
  filter: contrast(1.05) saturate(1.02) !important;
  transition: transform .25s ease !important;
}
.fz-tile:hover .fz-tile__bg{ transform: scale(1.06) !important; }

.fz-tile__overlay{
  position: absolute !important;
  inset: 0 !important;
background: linear-gradient(0deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.08) 35%, rgba(0,0,0,0) 100%);}
.fz-tile__bg--placeholder{ background:#e9f3e9 !important; }

.fz-tile__title{
  position: absolute !important;
  left: 20px !important;
  bottom: 18px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.25) !important;
}

/* Адаптив */
@media (max-width:1024px){
  .fz-cat-tiles__inner{ grid-template-columns: repeat(2,1fr) !important; gap:24px !important; }
  .fz-tile{ height: 300px !important; }
}
@media (max-width:640px){
  .fz-cat-tiles__inner{ grid-template-columns: 1fr !important; gap:16px !important; padding:0 16px !important; }
  .fz-tile{ height: 220px !important; }
  .fz-tile__title{ font-size: 20px !important; }
}

/* На всякий случай — убираем горизонтальный скролл только на каталоге */
.post-type-archive-product,
.post-type-archive-product body { overflow-x: hidden; }
/* --- КОМПАКТНЫЕ ПЛИТКИ ВНУТРИ КАТЕГОРИЙ --- */
.tax-product_cat .fz-cat-tiles{ 
  margin-top: 12px;
  margin-bottom: 32px;
}

/* уже контейнер + центрируем сетку */
.tax-product_cat .fz-cat-tiles__inner{
  max-width: 1080px !important;                 /* было 1750 — делаем уже */
  padding: 0 12px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  justify-content: center !important;
}

/* сами карточки — ниже и компактнее */
.tax-product_cat .fz-tile{
  height: 140px !important;                      /* было 340px */
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.06) !important;
}

/* фон + оверлей чуть полегче, чтобы не «давило» */
.tax-product_cat .fz-tile__bg{ 
  transform: none !important; 
  background-size: contain !important;   /* сохраняем пропорции */
  background-position: center center !important;
  background-repeat: no-repeat !important;

}
.tax-product_cat .fz-tile__overlay{
  background: linear-gradient(0deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,0) 100%) !important;
  
}

/* заголовок мельче и ниже */
.tax-product_cat .fz-tile__title{
  font-size: 18px !important;
  bottom: 14px !important;
}

/* адаптив */
@media (max-width:1024px){
  .tax-product_cat .fz-cat-tiles__inner{ gap:16px !important; }
  .tax-product_cat .fz-tile{ height: 150px !important; }
}
@media (max-width:640px){
  .tax-product_cat .fz-cat-tiles__inner{
    max-width: 520px !important;
    grid-template-columns: 1fr !important;
    gap:14px !important;
  }
  .tax-product_cat .fz-tile{ height: 150px !important; }
  .tax-product_cat .fz-tile__title{ font-size: 17px !important; }
}

/* FULL-WIDTH баннер на 100% окна, независимо от контейнеров/сайдбара */
.fz-banner{
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: auto;
  height: 260px;
  margin-bottom: 40px;

  background-image: url('https://farmazeleneckich.pl/wp-content/uploads/2025/09/1a2a3-scaled.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 65% !important;   /* ↓ регулируй проценты */
  background-attachment: fixed !important;   /* эффект «параллакса» */
  background-position: 50% calc(65% - 40px) !important; /* ↑ подними фон на 40px */

  
  


  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
}

@media (max-width: 768px){
  .fz-banner{
    height: 140px;
    background-attachment: scroll !important;
    background-position: 50% 50% !important; /* мобилкам проще по центру */
    
  }
  .post-type-archive-product .fz-banner__content h1{
    font-size: 30px !important;
  }
}




.fz-banner__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.089); /* затемнение */
}

.fz-banner__content{
  position: relative;
  z-index: 1;
  max-width: 1750px;      /* под себя: 1200–1750 */
  margin: 0 auto;
  padding: 0 20px;        /* внутренние поля, чтобы текст не прилипал к краю */
  color: #fff;
  text-align: center;
}





.fz-banner__content h1{
  font-size: 68px;                  /* крупный шрифт */
  font-weight: 700;                 /* жирный */
  color: #fff;                      /* белый текст */
  margin: 0;
  line-height: 1.2;
  font-family: 'Rubik', sans-serif; /* тот же шрифт, что и там */
  
  /* имитация обводки */

  text-shadow: 0 2px 6px rgba(0,0,0,.4);
  
}


/* Отступы между карточками товаров */
.woocommerce ul.products,
.woocommerce-page ul.products {
  gap: 30px; /* расстояние между карточками */
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* резиновая сетка */
}
/* одинаковый верхний/нижний отступ блока плиток и на магазине, и в категориях */
.post-type-archive-product .fz-cat-tiles,
.tax-product_cat .fz-cat-tiles{
  margin-top: 30px;     /* добавили верхний отступ, как на витрине */
  margin-bottom: 70px;  /* уже есть, оставляем */
}

/* если под плитками лезут уведомления Woo (зелёная полоса) — немного воздуха */
.tax-product_cat .woocommerce-notices-wrapper{
  margin-top: 24px;
}
/* Центрируем пагинацию WooCommerce */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 20px 0; /* воздух сверху/снизу */
}
/* === MOB CHIPBAR ВНУТРИ КАТЕГОРИЙ === */

/* По умолчанию скрыта (чтобы не мельтешила на десктопе) */
.fz-chipbar{ display:none; }

@media (max-width: 768px){
  /* Показываем только на страницах категорий */
  .tax-product_cat .fz-chipbar{
    display:block;
    position: relative;
    margin: 8px 0 10px;
    padding: 0 12px;
  }

  .fz-chipbar__inner{
    display:flex;
    gap:10px;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 6px 2px 4px;
    scrollbar-width: none;          /* Firefox */
  }
  .fz-chipbar__inner::-webkit-scrollbar{ display:none; } /* Chrome/Safari */

  .fz-chip{
    flex:0 0 auto;
    scroll-snap-align: start;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: #1c1c1c;
    text-decoration: none;
    white-space: nowrap;
  }
  .fz-chip:active{ transform: translateY(1px); }

  .fz-chip.is-active{
    background: #379237;
    color:#fff;
    border-color: #379237;
    box-shadow: 0 3px 10px rgba(55,146,55,.22);
  }

  /* ВАЖНО: большие плитки внутри категорий на мобиле скрываем */
  .tax-product_cat .fz-cat-tiles{ display:none !important; }
}

/* На десктопе/планшете оставляем твои плитки как есть */

@media (max-width:768px){
  /* full-bleed ровно по краю экрана */
  .ast-container .fz-chipbar{
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: auto;
    box-sizing: border-box;

    /* нужный воздух от левого края экрана */
    padding-left: 16px;    /* ← подгони 12–20px по вкусу */
    padding-right: 12px;   /* можно оставить меньше справа */
  }

  /* внутри больше не добавляем левый паддинг, чтобы не сдвигать снова */
  .fz-chipbar__inner{
    display:flex;
    gap:10px;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 6px 0 4px 0;   /* ← без левого/правого паддинга */
  }
}
@media (max-width:768px){
  /* уменьшаем расстояние между карточками */
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    margin-bottom: 26px !important; /* было 30px, подгони под вкус */
  }

  /* если используется grid-gap от Astra */
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    gap: 20px !important; /* было 24px/30px, уменьшаем */
  }
}
@media (max-width: 768px){
  .fz-banner__content h1{
    font-size: 30px !important;
    line-height: 1.15;
  }
}

/* На очень узких (iPhone SE и т.п.) можно ещё чутка поджать */
@media (max-width: 380px){
  .fz-banner__content h1{
    font-size: 28px !important;
  }
}
/* КАРТА ПРОДУКТА Фон страницы товара */
.single-product .site-content,
.single-product .ast-woocommerce-container,
.single-product .content-area {
  background: #FEFFF6 !important;
}

/* Контейнер кнопки */
.fz-contact-cta {
  margin-top: 28px;
  text-align: left; /* выравнивание вправо */
}

/* Кнопка */
.fz-btn-contact {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  background: #379237;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(55,146,55,.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.fz-btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(55,146,55,.22);
  opacity: .95;
}


.fz-btn-contact:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(55,146,55,.22); opacity: .95; }

/* Список иконок-плюсов */
.fz-prod-badges{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.fz-prod-badges li{
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 600;
  color: #2f6e2f;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.fz-prod-badges svg{ flex: 0 0 auto; }

/* На мобилках — в две колонки */
@media (max-width: 768px){
  .fz-prod-badges{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* На очень узких — в одну колонку */
@media (max-width: 420px){
  .fz-prod-badges{ grid-template-columns: 1fr; }
}

/* На всякий: скрыть любые следы количества/корзины, если плагин что-то подрисует */
.single-product form.cart,
.single-product .quantity,
.single-product .single_add_to_cart_button,
.single-product .product_meta,
.single-product .guaranteed-safe-checkout,
.single-product .wcs-checkout-icons,
.single-product .wc-secured-payment-icons {
  display: none !important;
}
/* Скрыть вкладки описания и отзывов на странице товара */
.single-product .woocommerce-tabs { 
  display: none !important;
}
/* Закругление углов Фото на карточке продукта */
.single-product .woocommerce-product-gallery img {
  border-radius: 12px;   /* можно 8px, 12px, 20px — по вкусу */
  overflow: hidden;
}
.page .entry-title {
  display: none;
}

/*Строка с лого*/
#partners-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: transparent;
}

#partners-marquee .partners-track {
  display: inline-flex;
  align-items: center;
  gap: 60px; /* отступы между логотипами */
  animation: scroll-left 25s linear infinite;
}

#partners-marquee img {
  height: 60px;  /* подгони под себя */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

#partners-marquee img:hover {
  filter: none;
  opacity: 1;
}

@keyframes scroll-left {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* Главный заголовок Polityka prywatności */
.privacy-policy h1 {
  font-size: 36px !important;         /* крупнее, чем остальные */
  color: #084313;
  text-align: center;      /* по центру */
  margin-bottom: 30px;
}

/* Все остальные заголовки внутри privacy-policy */
.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4,
.privacy-policy h5,
.privacy-policy h6 {
  font-size: 28px !important;
  color: #084313;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Мой футер (главнее Астры) */
body #custom-footer.fz-footer{
  background:#379237;
  color:#fff;
  font-size:16px;
}
.fz-footer .fz-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:32px 16px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 колонки */
  gap:28px;
}
.fz-footer .fz-col h2{
  margin:0 0 14px;
  font-size:20px;
  font-weight:700;
  color:#fff;
}
.fz-footer .fz-links{
  list-style:none;
  margin:0;
  padding:0;
}
.fz-footer .fz-links li{ margin:6px 0; }

.fz-footer a{
  color:#fff;
  text-decoration:none;
}
.fz-footer a:hover,
.fz-footer a:focus{
  color:#d9d9d9; /* светло-серый ховер */
  text-decoration:none;
}

/* Контакты */
.fz-footer .fz-contact{
  font-style:normal; /* у address по умолчанию italic у некоторых тем */
  line-height:1.5;
}
.fz-footer .fz-contact a{ color:#fff; }
.fz-footer .fz-contact a:hover{ color:#d9d9d9; }

/* Подвал копирайта */
.fz-footer .fz-copy{
  border-top:1px solid rgba(255,255,255,.25);
  text-align:center;
  padding:24px 6px 2px;
  font-size:14px;
  opacity:.95;
}

/* Адаптив */
@media (max-width: 900px){
  .fz-footer .fz-wrap{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .fz-footer .fz-wrap{ grid-template-columns: 1fr; }
}

/* На всякий случай прячем стандартный футер темы, если хук не снял его */
footer#colophon{ display:none !important; }
/* Соцсети */
.fz-footer .fz-social h3{
  margin:18px 0 10px;
  font-size:18px;
  font-weight:600;
  color:#fff;
}
.fz-footer .fz-social ul{
  list-style:none;
  margin:0;
  padding:0;
}
.fz-footer .fz-social li{
  margin:6px 0;
}
.fz-footer .fz-social a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
}
.fz-footer .fz-social a:hover{
  color:#d9d9d9;
}

/* Мини-иконки Instagram и FB */
.fz-footer .fz-icon{
  display:inline-block;
  width:18px;
  height:18px;
  background-size:contain;
  background-repeat:no-repeat;
}

/* Можно взять SVG-иконки из FontAwesome CDN или свои PNG/SVG */
.fz-footer .fz-icon.insta{
  background-image:url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/instagram.svg');
  filter:invert(1); /* делаем белыми */
}
.fz-footer .fz-icon.fb{
  background-image:url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/facebook.svg');
  filter:invert(1);
}
/* Соцсети в футере */
.fz-footer .fz-social h3{
  margin:18px 0 10px;
  font-size:18px;
  font-weight:600;
  color:#fff;
}
.fz-footer .fz-social ul{ list-style:none; margin:0; padding:0; }
.fz-footer .fz-social li{ margin:6px 0; }
.fz-footer .fz-social a{
  display:flex; align-items:center; gap:8px;
  color:#fff; text-decoration:none;
}
.fz-footer .fz-social a:hover{ color:#d9d9d9; }
.fz-footer .fz-svg{ width:18px; height:18px; flex:0 0 18px; }
/*Хедер*/
/* Липкий хедер Astra */

/* --- ЛИПКИЙ ХЕДЕР ASTRA (без JS) --- */

/* Хедер всегда сверху и сохраняет место */
#masthead{
  position: sticky;
  top: 0;
  z-index: 9999;
}



/* Когда залогинен (есть WP-админбар) — опусти хедер ниже него */
body.admin-bar #masthead{ top: 32px; }
@media (max-width: 782px){
  body.admin-bar #masthead{ top: 46px; }
}

/* На всякий случай: ни один предок не должен резать sticky */
.site-header,
#ast-desktop-header,
.main-header-bar-wrap{
  overflow: visible !important;
}

/* --- FIX: кликабельность логотипа на десктопе (Astra) --- */
.ast-primary-header-bar { position: relative; }
.ast-primary-header-bar .site-branding,
.ast-primary-header-bar .site-logo-img,
.ast-primary-header-bar .custom-logo-link{
  position: relative;
  z-index: 20;
}
.ast-primary-header-bar .main-header-bar-navigation,
.ast-primary-header-bar .ast-main-header-bar-alignment{
  position: relative;
  z-index: 1;
}
.ast-primary-header-bar::before,
.ast-primary-header-bar::after,
.ast-primary-header .ast-container::before,
.ast-primary-header .ast-container::after,
.ast-primary-header-bar .ast-builder-grid-row::before,
.ast-primary-header-bar .ast-builder-grid-row::after{
  pointer-events: none !important;
}
.site-branding a.custom-logo-link{ pointer-events: auto !important; }
.site-branding a.custom-logo-link img.custom-logo{ display:block; }

/*Мобильное меню*/

/* Переносим мобильное меню на левую сторону */
.ast-mobile-popup-drawer { left: 0; right: auto; }
.ast-mobile-popup-drawer .ast-mobile-popup-inner { left: 0; right: auto; }

/* Анимация: из-под левого края */
.ast-mobile-popup-drawer .ast-mobile-popup-inner { 
  transform: translateX(-100%); 
}
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner { 
  transform: translateX(0); 
}

/* === MOBILE MENU — Farma Zeleneckich === */

/* Панель слева + размеры */
.ast-mobile-popup-drawer{ left:0; right:auto; }
.ast-mobile-popup-drawer .ast-mobile-popup-inner{
  left:0; right:auto;
  width: 85vw;                 /* не на весь экран — визуально легче */
  max-width: 420px;
  background:#FEFFF6;          /* твой фон */
  box-shadow: 6px 0 24px rgba(0,0,0,.12);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner{
  transform: translateX(0);
  opacity: 1;
}

/* Диммер фона */
.ast-mobile-popup-overlay{
  background: rgba(0,0,0,.35) !important;
  opacity: 0;
  transition: opacity .25s ease;
}
.ast-mobile-popup-drawer.active + .ast-mobile-popup-overlay{ opacity: 1; }

/* Внутренние отступы */
.ast-mobile-popup-inner .ast-mobile-popup-content{
  padding: 18px 18px 22px;
}

/* Шапка меню: логотип/название, если есть */
.ast-mobile-popup-inner .ast-mobile-header-title,
.ast-mobile-popup-inner .site-branding .site-title a{
  color:#084313;
}
.ast-mobile-popup-inner .site-branding{
  margin-bottom: 10px;
}

/* Кнопка закрытия (иконка X справа) */
.ast-mobile-popup-drawer .ast-menu-toggle-close{
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  line-height: 1;
  transform-origin: center;
}
.ast-mobile-popup-drawer .ast-menu-toggle-close svg{
  width: 22px; height: 22px;
  stroke: #084313;
  transition: transform .15s ease, stroke .15s ease;
}
.ast-mobile-popup-drawer .ast-menu-toggle-close:hover svg{
  transform: scale(1.1);
  stroke:#379237;
}

/* Список: типографика верхнего уровня */
.ast-mobile-popup-inner .main-header-menu > .menu-item > a{
  color:#084313;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ast-mobile-popup-inner .main-header-menu > .menu-item > a:hover{
  background: rgba(55,146,55,.08);
  color:#084313;
}

/* Разделители между пунктами (тонкие) */
.ast-mobile-popup-inner .main-header-menu > .menu-item{
  border-bottom: 1px solid rgba(8,67,19,.08);
}
.ast-mobile-popup-inner .main-header-menu > .menu-item:last-child{
  border-bottom: none;
}

/* Подменю: отступы, цвет, вертикальная линия слева */
.ast-mobile-popup-inner .main-header-menu .sub-menu{
  margin: 8px 0 10px 0;
  padding-left: 14px;
  border-left: 2px solid rgba(55,146,55,.35);
}
.ast-mobile-popup-inner .main-header-menu .sub-menu a{
  color:#379237;
  font-weight: 500;
  padding: 9px 4px;
  border-radius: 6px;
}
.ast-mobile-popup-inner .main-header-menu .sub-menu a:hover{
  background: rgba(55,146,55,.06);
  color:#084313;
}

/* Стрелки раскрытия у пунктов с подменю */
.ast-mobile-popup-inner .menu-item-has-children > .ast-menu-toggle{
  right: 2px;
  color:#084313;
  opacity: .9;
  transition: transform .2s ease, color .2s ease;
}
.ast-mobile-popup-inner .menu-item-has-children > .ast-menu-toggle:hover{
  color:#379237;
}
.ast-mobile-popup-inner .menu-item-has-children.ast-submenu-expanded > .ast-menu-toggle{
  transform: rotate(180deg);
}

/* Состояние Active/Current */
.ast-mobile-popup-inner .main-header-menu .current-menu-item > a,
.ast-mobile-popup-inner .main-header-menu .current-menu-ancestor > a{
  background: rgba(55,146,55,.12);
  color:#084313;
}

/* Низ меню: соцсети/CTA — если используешь виджеты/HTML */
.ast-mobile-popup-inner .ast-above-header-section, 
.ast-mobile-popup-inner .ast-below-header-section{
  margin-top: 12px;
}
.ast-mobile-popup-inner .fz-cta{
  display:block;
  text-align:center;
  background:#379237;
  color:#fff !important;
  padding:12px 14px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 8px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ast-mobile-popup-inner .fz-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(55,146,55,.25);
}

/* Микро-анимация появления пунктов (по очереди) */
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item{
  animation: fzMenuItem .25s ease forwards;
}
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item:nth-child(1){ animation-delay: .04s; }
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item:nth-child(2){ animation-delay: .08s; }
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item:nth-child(3){ animation-delay: .12s; }
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item:nth-child(4){ animation-delay: .16s; }
.ast-mobile-popup-drawer.active .main-header-menu > .menu-item:nth-child(5){ animation-delay: .20s; }
@keyframes fzMenuItem{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

/* Мелкие правки для плотности на маленьких экранах */
@media (max-width: 380px){
  .ast-mobile-popup-inner{ width: 88vw; }
  .ast-mobile-popup-inner .main-header-menu > .menu-item > a{ padding: 11px 4px; }
}
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: 
    linear-gradient(rgba(254,255,246,0.65), rgba(254,255,246,0.65)), /* полупрозрачная белая подложка */
    url('https://farmazeleneckich.pl/wp-content/uploads/2025/09/reka4.png'); /* картинка-накладка */
  background-size: cover;
  background-position: center;
}
/*кнопки*/

/* Кнопка Fluent Forms с кастомным классом fz-btn */
.fluentform .ff-btn.fz-btn,
.fluentform input[type="submit"].fz-btn,
.fluentform .fz-btn .ff-btn,
.fluentform .fz-btn input[type="submit"],
#contactSubmit .ff-btn,
#contactSubmit input[type="submit"] {
  background-color: #379237 !important;
  color: #fff !important;
  padding: 15px 60px !important;   /* верх-низ 15px, лево-право 60px */
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 10px;    /* отступ сверху */
  margin-bottom: 10px; /* отступ снизу */
  border: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .15s ease;
  display: inline-block;
  text-align: center;
}

/* Hover */
.fluentform .ff-btn.fz-btn:hover,
.fluentform input[type="submit"].fz-btn:hover,
.fluentform .fz-btn .ff-btn:hover,
.fluentform .fz-btn input[type="submit"]:hover,
#contactSubmit .ff-btn:hover,
#contactSubmit input[type="submit"]:hover {
  background-color: #54B435 !important;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .fz-contact-cta {
    text-align: center;
  }
  .fz-contact-cta a.button {
    display: inline-block;
  }
}



/* Заголовок продукта (H1) */
.woocommerce div.product .product_title {
    font-size: 28px !important;
    line-height: 1.3em;
    font-weight: 600;
}

/* Короткое описание продукта */
.woocommerce div.product .woocommerce-product-details__short-description p {
    font-size: 18px !important;
    line-height: 1.6em;
}
/* Заголовок продукта — отступ снизу */
.woocommerce div.product .product_title {
    margin-bottom: 50px !important; /* увеличивай число для большего отступа */
}













