/*
Theme Name: Pure Baby
Theme URI: https://purebaby.ua
Author: Pure Baby
Description: Тема WordPress + WooCommerce для бренду Pure Baby (дитяча косметика, welcome-набори для HoReCa, activity mat, пазли, шопери). Підтримує Elementor, Smart Slider 3, Contact Form 7, GTranslate (UA/EN/PL). Адаптивна: десктоп, планшет, мобільний.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: purebaby
WC requires at least: 7.0
*/

/* ---------- Tokens ---------- */
:root{
  /* HEX, підібрані під CMYK/Pantone з брендбуку */
  --pb-green:#87936F;      /* зелений  (CMYK 48/29/52/11 · P 5783) */
  --pb-green-d:#66724F;    /* темніший відтінок для кнопок/тексту (контраст AA) */
  --pb-brown:#3E2C26;      /* коричневий (CMYK 47/62/65/66 · P 497) */
  --pb-beige-d:#DCD1C0;    /* темно-бежевий (CMYK 13/17/24/1 · P 7528) */
  --pb-beige-l:#EDE5D1;    /* світло-бежевий (CMYK 7/10/18/0 · P 7527) */
  --pb-cream:#FEF9EC;      /* фон сторінки (з логотипа) */
  --pb-blush:#F7EBDD;      /* м'який персиковий для блоків */
  --pb-line:rgba(62,44,38,.14);
  --pb-radius:22px;
  --pb-radius-s:12px;
  --pb-shadow:0 10px 30px rgba(62,44,38,.08);
  --pb-head:'Bodoni Moda',Georgia,'Times New Roman',serif;
  --pb-body:'Prata',Georgia,'Times New Roman',serif;
  --pb-wrap:1240px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--pb-cream);color:var(--pb-brown);font-family:var(--pb-body);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--pb-green-d);text-decoration:none;transition:color .2s}
a:hover{color:var(--pb-brown)}
:focus-visible{outline:2px solid var(--pb-green-d);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4,h5{font-family:var(--pb-head);font-weight:400;line-height:1.2;margin:0 0 .6em;color:var(--pb-brown)}
h1{font-size:clamp(2rem,4.2vw,3.4rem)}
h2{font-size:clamp(1.7rem,3vw,2.4rem)}
h3{font-size:1.35rem}
p{margin:0 0 1.1em}
.pb-wrap{width:100%;max-width:var(--pb-wrap);margin:0 auto;padding:0 28px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.pb-skip{position:absolute;left:-999px;top:8px;background:var(--pb-brown);color:#fff;padding:8px 14px;z-index:999}
.pb-skip:focus{left:8px}

/* ---------- Buttons ---------- */
.pb-btn,.button,button.button,input[type=submit],.wpcf7-submit,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--pb-green-d);color:#fff;border:0;border-radius:999px;
  padding:14px 30px;font-family:var(--pb-body);font-size:1rem;line-height:1.2;cursor:pointer;transition:background .2s,transform .2s;
}
.pb-btn:hover,.button:hover,input[type=submit]:hover,.wpcf7-submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--pb-brown);color:#fff}
.pb-btn svg{width:18px;height:18px}
.pb-btn--ghost{background:transparent;color:var(--pb-brown);box-shadow:inset 0 0 0 1px var(--pb-brown)}
.pb-btn--ghost:hover{background:var(--pb-brown);color:#fff}

/* ---------- Header ---------- */
.pb-header{background:var(--pb-cream);position:relative;z-index:50}
.pb-header__top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:18px 0 6px}
.pb-header__left,.pb-header__right{display:flex;align-items:center;gap:18px}
.pb-header__right{justify-content:flex-end}
.pb-brand{display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--pb-brown)}
.pb-brand img{width:52px;height:auto;margin-bottom:2px}
.pb-brand__name{font-family:var(--pb-head);font-size:1.9rem;letter-spacing:.14em;line-height:1}
.pb-brand__tag{font-family:var(--pb-body);font-size:.72rem;letter-spacing:.2em;color:var(--pb-green-d);margin-top:6px}
.pb-brand:hover{color:var(--pb-brown)}
.pb-icon-btn{display:inline-flex;position:relative;background:none;border:0;padding:6px;color:var(--pb-brown);cursor:pointer}
.pb-icon-btn svg{width:24px;height:24px}
.pb-cart-count{position:absolute;top:-2px;right:-4px;min-width:18px;height:18px;border-radius:9px;background:var(--pb-green-d);color:#fff;font-size:.68rem;line-height:18px;text-align:center;padding:0 4px}
.pb-cart-count:empty,.pb-cart-count[data-n="0"]{display:none}
.pb-lang{font-size:.9rem}
.pb-lang .gtranslate_wrapper,.pb-lang select{font-family:var(--pb-body)}
.pb-nav{border-bottom:1px solid var(--pb-line)}
.pb-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:clamp(18px,3vw,46px)}
.pb-nav li{position:relative}
.pb-nav a{display:block;padding:14px 0;color:var(--pb-brown);font-size:1rem}
.pb-nav a:hover,.pb-nav .current-menu-item>a,.pb-nav .current-menu-ancestor>a{color:var(--pb-green-d)}
.pb-nav .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.pb-nav .sub-menu{position:absolute;left:50%;top:100%;transform:translateX(-50%);min-width:230px;background:#fff;border-radius:var(--pb-radius-s);box-shadow:var(--pb-shadow);padding:10px;flex-direction:column;gap:0;opacity:0;visibility:hidden;transition:opacity .2s;z-index:60}
.pb-nav li:hover>.sub-menu,.pb-nav li:focus-within>.sub-menu{opacity:1;visibility:visible}
input.wpcf7-form-control {
    margin: 5px 0px 5px 0px;
}
.pb-nav .sub-menu a{padding:10px 14px;border-radius:8px;white-space:nowrap}
.pb-nav .sub-menu a:hover{background:var(--pb-beige-l)}
.pb-burger{display:none}
.pb-search{display:none;border-bottom:1px solid var(--pb-line);background:var(--pb-blush);padding:14px 0}
.pb-search.is-open{display:block}
.pb-search form{display:flex;gap:10px;max-width:640px;margin:0 auto}
.pb-search input[type=search]{flex:1}

/* ---------- Forms ---------- */
input[type=text],input[type=email],input[type=tel],input[type=search],input[type=password],input[type=number],textarea,select{
  width:100%;background:#fff;border:1px solid var(--pb-beige-d);border-radius:var(--pb-radius-s);padding:13px 16px;font:inherit;font-size:.95rem;color:var(--pb-brown)}
input::placeholder,textarea::placeholder{color:rgba(62,44,38,.55)}
textarea{min-height:90px;resize:vertical}
.wpcf7 textarea,.wpcf7-form-control-wrap textarea{height:96px!important;min-height:0}
.wpcf7 p{margin:0 0 12px}
.wpcf7-not-valid-tip,.wpcf7-response-output{font-size:.85rem}
.wpcf7 form .wpcf7-response-output{border-radius:var(--pb-radius-s);margin:14px 0 0}
.wpcf7-submit{width:100%}

/* ---------- Hero ---------- */
.pb-hero{margin:0 0 10px;background:linear-gradient(105deg,var(--pb-blush) 0%,var(--pb-beige-l) 100%);position:relative;overflow:hidden}
.pb-hero__in{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px;min-height:430px}
.pb-hero h1{font-size:clamp(2.2rem,4.6vw,3.7rem);max-width:12ch}
.pb-hero p{max-width:40ch;font-size:1.05rem}
.pb-hero__media{position:relative;display:flex;justify-content:center;align-items:flex-end;height:100%;min-height:340px}
.pb-hero__bunny{width:min(380px,70%);border-radius:50% 50% 0 0/38% 38% 0 0;box-shadow:var(--pb-shadow)}
.pb-hero__soap{position:absolute;right:2%;bottom:24px;width:34%;border-radius:var(--pb-radius);box-shadow:var(--pb-shadow);transform:rotate(3deg)}
.pb-hero__leaf{position:absolute;left:-10px;top:-10px;width:130px;opacity:.9;pointer-events:none}
.pb-smart-slider{margin:0}

/* ---------- Features ---------- */
.pb-features{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 0}
.pb-feature{display:flex;align-items:center;gap:16px;padding:6px 22px;border-left:1px solid var(--pb-line);font-size:.95rem;line-height:1.4}
.pb-feature:first-child{border-left:0;padding-left:0}
.pb-feature svg{flex:0 0 46px;width:46px;height:46px;color:var(--pb-green-d)}

/* ---------- Section headings ---------- */
.pb-section{padding:44px 0}
.pb-title{display:flex;align-items:center;justify-content:center;gap:22px;text-align:center;margin-bottom:34px}
.pb-title::before,.pb-title::after{content:"";width:56px;height:34px;background:url(assets/img/leaf.png) center/contain no-repeat;opacity:.75}
.pb-title::before{transform:scaleX(-1)}
.pb-title h2{margin:0}

/* ---------- Category cards ---------- */
.pb-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.pb-cat{display:flex;flex-direction:column;text-align:center;color:var(--pb-brown)}
.pb-cat__img{aspect-ratio:1/1;border-radius:var(--pb-radius);overflow:hidden;background:var(--pb-beige-l);margin-bottom:14px}
.pb-cat__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pb-cat:hover .pb-cat__img img{transform:scale(1.05)}
.pb-cat h3{font-size:1.25rem;margin:0 0 4px}
.pb-cat span{font-size:.85rem;color:rgba(62,44,38,.75);line-height:1.4}

/* ---------- HoReCa banner ---------- */
.pb-horeca{display:grid;grid-template-columns:1fr 1.1fr;background:linear-gradient(100deg,var(--pb-blush),var(--pb-beige-l));border-radius:30px;overflow:hidden;align-items:center}
.pb-horeca__img{height:100%;min-height:320px;background:url(assets/img/bunny-3d.jpg) center/cover}
.pb-horeca__body{padding:44px 48px}
.pb-eyebrow{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--pb-green-d);margin-bottom:12px}
.pb-horeca h2{max-width:20ch}
.pb-horeca__list{display:flex;flex-wrap:wrap;gap:22px;margin:22px 0 28px;font-size:.88rem;line-height:1.35}
.pb-horeca__list div{display:flex;gap:10px;align-items:center}
.pb-horeca__list svg{width:30px;height:30px;color:var(--pb-green-d);flex:none}

/* ---------- Contact section ---------- */
.pb-contact{display:grid;grid-template-columns:.9fr 1fr 1fr;gap:34px;align-items:start}
.pb-contact__info ul{list-style:none;margin:0 0 20px;padding:0}
.pb-contact__info li{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px;font-size:1.1rem}
.pb-contact__info li svg{width:30px;height:30px;color:var(--pb-green-d);flex:none}
.pb-contact__info small{display:block;font-size:.8rem}
.pb-contact__info a{color:var(--pb-brown)}
.pb-socials{display:flex;gap:12px;list-style:none;margin:0;padding:0}
.pb-socials a{display:flex;width:40px;height:40px;border-radius:50%;background:var(--pb-green);color:#fff;align-items:center;justify-content:center}
.pb-socials a:hover{background:var(--pb-brown)}
.pb-socials svg{width:20px;height:20px}
.pb-contact__form{background:var(--pb-blush);border-radius:var(--pb-radius);padding:26px 26px 0px 26px;}
.pb-contact__map{border-radius:var(--pb-radius);overflow:hidden;min-height:340px;box-shadow:var(--pb-shadow)}
.pb-contact__map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ---------- Footer ---------- */
.pb-footer{background:var(--pb-blush);margin-top:50px;padding-top:44px}
.pb-footer__grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.4fr;gap:34px;padding-bottom:34px}
.pb-footer .pb-brand{align-items:flex-start;text-align:left}
.pb-footer h4{font-size:1rem;margin-bottom:12px}
.pb-footer ul{list-style:none;margin:0;padding:0}
.pb-footer li{margin-bottom:6px;font-size:.92rem}
.pb-footer a{color:rgba(62,44,38,.8)}
.pb-footer a:hover{color:var(--pb-green-d)}
.pb-script{font-family:var(--pb-head);font-style:italic;font-size:1.5rem;color:var(--pb-green-d);margin-top:14px;line-height:1.3}
.pb-news{display:flex;gap:8px;margin-top:10px}
.pb-news .wpcf7-form{display:flex;gap:8px;align-items:flex-start}
.pb-news .wpcf7 p{margin:0;flex:1}
.pb-news .wpcf7-submit{width:100%;margin: 5px 0;padding:13px 22px}
.pb-copy{background:var(--pb-beige-l);padding:16px 0;font-size:.85rem}
.pb-copy .pb-wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.pb-copy .pb-socials a{width:30px;height:30px}
.pb-copy .pb-socials svg{width:15px;height:15px}

/* ---------- Content / blog ---------- */
.pb-main{padding:30px 0 20px;min-height:50vh}
.pb-page-head{text-align:center;padding:34px 0 26px;background:linear-gradient(105deg,var(--pb-blush),var(--pb-beige-l));margin-bottom:40px}
.pb-page-head h1{margin:0}
.pb-page-head p{margin:10px auto 0;max-width:56ch}
.pb-crumbs{font-size:.82rem;margin-bottom:10px}
.pb-prose{max-width:780px;margin:0 auto}
.pb-prose img{border-radius:var(--pb-radius-s)}
.pb-prose--wide{max-width:var(--pb-wrap)}
.pb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.pb-card{background:#fff;border-radius:var(--pb-radius);overflow:hidden;box-shadow:var(--pb-shadow);display:flex;flex-direction:column}
.pb-card__img{aspect-ratio:4/3;background:var(--pb-beige-l);overflow:hidden}
.pb-card__img img{width:100%;height:100%;object-fit:cover}
.pb-card__body{padding:22px 24px 26px}
.pb-card__body h2{font-size:1.35rem}
.pb-card__body h2 a{color:var(--pb-brown)}
.pb-meta{font-size:.8rem;color:var(--pb-green-d);margin-bottom:8px}
.pagination,.nav-links{display:flex;gap:8px;justify-content:center;margin:36px 0}
.page-numbers{padding:8px 14px;border-radius:999px;background:var(--pb-beige-l);color:var(--pb-brown)}
.page-numbers.current{background:var(--pb-green-d);color:#fff}
.pb-404{text-align:center;padding:60px 0}
.pb-404 img{margin:0 auto 20px;width:180px}

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb{font-size:.82rem;margin-bottom:22px}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products[class*=columns-] li.product{width:auto;margin:0;float:none;background:#fff;border-radius:var(--pb-radius);padding:14px 14px 22px;box-shadow:var(--pb-shadow);text-align:center;position:relative;display:flex;flex-direction:column}
.woocommerce ul.products li.product a img{border-radius:var(--pb-radius-s);aspect-ratio:1/1;object-fit:cover;margin:0 0 14px;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--pb-head);font-size:1.1rem;padding:0 6px;color:var(--pb-brown)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--pb-green-d);font-size:1.05rem;font-family:var(--pb-body)}
.woocommerce ul.products li.product .button{margin-top:auto;font-size:.9rem;padding:11px 22px}
.woocommerce span.onsale{background:var(--pb-green-d);color:#fff;min-height:0;min-width:0;line-height:1;padding:8px 14px;border-radius:999px;top:22px;left:22px;font-weight:400}
.woocommerce-result-count,.woocommerce-ordering{margin-bottom:22px;font-size:.9rem}
.woocommerce div.product div.images img{border-radius:var(--pb-radius)}
.woocommerce div.product .product_title{font-size:clamp(1.8rem,3vw,2.6rem)}
.woocommerce div.product form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}
.woocommerce .quantity .qty{width:80px;padding:12px;border:1px solid var(--pb-beige-d);border-radius:var(--pb-radius-s)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 24px}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--pb-beige-l);border:0;border-radius:999px;margin:0 8px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--pb-green-d)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--pb-beige-l);color:var(--pb-brown);border-top-color:var(--pb-green-d);border-radius:var(--pb-radius-s)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--pb-green-d)}
.woocommerce table.shop_table{border-radius:var(--pb-radius-s);border-color:var(--pb-beige-d);background:#fff}
.woocommerce-checkout #payment{background:var(--pb-blush);border-radius:var(--pb-radius-s)}
.woocommerce-checkout #payment div.payment_box{background:var(--pb-beige-l)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--pb-beige-l)}
.woocommerce form .form-row label{font-size:.88rem}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 4px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:999px;padding:8px 14px;background:var(--pb-beige-l)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--pb-green-d);color:#fff}
.pb-shop-cats{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:30px}
.pb-shop-cats a{padding:9px 20px;border-radius:999px;background:var(--pb-beige-l);color:var(--pb-brown);font-size:.92rem}
.pb-shop-cats a:hover,.pb-shop-cats a.is-active{background:var(--pb-green-d);color:#fff}

/* Листочки біля назв блоків: заголовки H2 у Elementor, секції WooCommerce.
   Вимкнути для окремого заголовка: Elementor → Додатково → CSS-класи → pb-no-leaves */
.elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves),
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2,.woocommerce .cross-sells>h2{
  display:flex;align-items:center;justify-content:center;gap:22px;text-align:center}
.elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves)::before,
.elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves)::after,
.woocommerce .related.products>h2::before,.woocommerce .related.products>h2::after,
.woocommerce .upsells.products>h2::before,.woocommerce .upsells.products>h2::after,
.woocommerce .cross-sells>h2::before,.woocommerce .cross-sells>h2::after{
  content:"";flex:0 0 auto;width:56px;height:34px;background:url(assets/img/leaf.png) center/contain no-repeat;opacity:.8}
.elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves)::before,
.woocommerce .related.products>h2::before,.woocommerce .upsells.products>h2::before,.woocommerce .cross-sells>h2::before{transform:scaleX(-1)}
.elementor-widget-heading.pb-no-leaves h2.elementor-heading-title::before,
.elementor-widget-heading.pb-no-leaves h2.elementor-heading-title::after{display:none}
@media (max-width:680px){
  .elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves)::before,
  .elementor-widget-heading h2.elementor-heading-title:not(.pb-no-leaves)::after{width:34px}
}

/* ---------- Elementor / Smart Slider compat ---------- */
body[class*="elementor-kit-"]{--e-global-color-primary:#3E2C26;--e-global-color-secondary:#87936F;--e-global-color-text:#3E2C26;--e-global-color-accent:#66724F;--e-global-typography-primary-font-family:'Bodoni Moda';--e-global-typography-text-font-family:'Prata'}
body .elementor-widget-heading .elementor-heading-title{color:var(--pb-brown);font-family:var(--pb-head);font-weight:400}
body .elementor-widget-text-editor{color:var(--pb-brown);font-family:var(--pb-body)}
.elementor-page .pb-main{padding:0}
.elementor-widget-heading .elementor-heading-title{font-family:var(--pb-head)}
.n2-section-smartslider{margin:0}

/* ---------- Tablet ---------- */
@media (max-width:1100px){
  .pb-cats{grid-template-columns:repeat(3,1fr)}
  .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
  .pb-contact{grid-template-columns:1fr 1fr}
  .pb-contact__map{grid-column:1/-1}
  .pb-footer__grid{grid-template-columns:1fr 1fr}
  .pb-grid{grid-template-columns:repeat(2,1fr)}
  .pb-features{grid-template-columns:repeat(2,1fr);gap:18px 0}
  .pb-feature:nth-child(3){border-left:0;padding-left:0}
}
@media (max-width:900px){
  /* mobile / tablet header: burger + drawer */
  .pb-header__top{grid-template-columns:auto 1fr auto;padding:12px 0}
  .pb-header__left{order:0}
  .pb-burger{display:inline-flex}
  .pb-brand img{width:40px}
  .pb-brand__name{font-size:1.45rem}
  .pb-brand__tag{font-size:.62rem}
  .pb-nav{position:fixed;inset:0 auto 0 0;width:min(86vw,360px);background:var(--pb-cream);transform:translateX(-102%);visibility:hidden;transition:transform .3s,visibility .3s;z-index:100;padding:70px 26px 30px;overflow:auto;border:0;box-shadow:var(--pb-shadow)}
  .pb-nav.is-open{transform:none;visibility:visible}
  .pb-nav ul{flex-direction:column;gap:0}
  .pb-nav a{padding:14px 0;border-bottom:1px solid var(--pb-line);font-size:1.1rem}
  .pb-nav .sub-menu{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;background:none;padding:0 0 0 14px;display:none}
  .pb-nav li.is-open>.sub-menu{display:flex}
  .pb-nav .sub-menu a{padding:11px 0}
  .pb-nav-close{position:absolute;top:16px;right:16px}
  .pb-lang-slot{margin-top:24px;display:block}
  .pb-overlay{position:fixed;inset:0;background:rgba(62,44,38,.4);z-index:45;display:none}
  .pb-overlay.is-open{display:block}
  .pb-hero__in{grid-template-columns:1fr;min-height:0;padding-top:34px}
  .pb-hero h1{max-width:none}
  .pb-hero__media{min-height:300px;order:-1}
  .pb-horeca{grid-template-columns:1fr}
  .pb-horeca__img{min-height:240px}
  .pb-horeca__body{padding:30px 26px}
}
/* ---------- Mobile ---------- */
@media (min-width:901px){.pb-lang-slot,.pb-nav-close{display:none}}
@media (max-width:680px){
  body{font-size:16px}
  .pb-wrap{padding:0 18px}
  .pb-section{padding:30px 0}
  .pb-title::before,.pb-title::after{width:34px}
  .pb-cats{grid-template-columns:repeat(2,1fr);gap:14px}
  .pb-cat:last-child{grid-column:1/-1;max-width:50%;margin:0 auto}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
  .woocommerce ul.products[class*=columns-] li.product{padding:10px 10px 16px}
  .pb-features{grid-template-columns:1fr}
  .pb-feature,.pb-feature:nth-child(3){border-left:0;padding:8px 0}
  .pb-contact{grid-template-columns:1fr}
  .pb-footer__grid{grid-template-columns:1fr}
  .pb-grid{grid-template-columns:1fr}
  .pb-news .wpcf7-form{flex-direction:column}
  .pb-news .wpcf7-submit{width:100%}
  .pb-copy .pb-wrap{justify-content:center;text-align:center}
  .pb-hero__soap{width:38%}
  .woocommerce div.product div.summary{margin-top:20px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- Слайдер банера (вбудований) ---------- */
.pb-slider{position:relative;margin:0;background:var(--pb-blush)}
.pb-slider__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.pb-slider__track::-webkit-scrollbar{display:none}
.pb-slide{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:clamp(360px,37.5vw,640px);display:flex;align-items:center}
.pb-slide picture{position:absolute;inset:0;display:block}
.pb-slide img{width:100%;height:100%;object-fit:cover;object-position:right center}
.pb-slide__body{position:relative;z-index:2;width:100%}
.pb-slide__body>div{max-width:min(520px,46%)}
.pb-slide__title{font-size:var(--fs-hero)}
.pb-slide p{max-width:40ch}
.pb-slider__nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(254,249,236,.9);color:var(--pb-brown);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--pb-shadow);z-index:3}
.pb-slider__nav:hover{background:#fff}
.pb-slider__nav svg{width:20px;height:20px}
.pb-slider__prev{left:18px}.pb-slider__prev svg{transform:scaleX(-1)}
.pb-slider__next{right:18px}
.pb-slider__dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:10px;z-index:3}
.pb-slider__dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(62,44,38,.28);cursor:pointer}
.pb-slider__dots button[aria-current=true]{background:var(--pb-green-d);width:26px;border-radius:6px}
@media (max-width:900px){.pb-slide__body>div{max-width:52%}.pb-slider__nav{display:none}}
@media (max-width:680px){
  .pb-slide{display:block;min-height:0;background:var(--pb-blush)}
  .pb-slide picture{position:static}
  .pb-slide img{height:auto;aspect-ratio:4/3;object-position:center}
  .pb-slide__body{padding-top:20px;padding-bottom:56px}
  .pb-slide__body>div{max-width:none}
}

/* ---------- Банер без відступів (Elementor + Smart Slider) ---------- */
.pb-bleed,.e-con:has(>.e-con-inner>.elementor-widget-shortcode .pb-slider),.e-con:has(>.elementor-widget-shortcode .pb-slider),
.e-con:has(>.e-con-inner>.elementor-widget-shortcode .pb-smart-slider),.e-con:has(>.elementor-widget-shortcode .pb-smart-slider){
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--margin-top:0px;--margin-bottom:0px;--gap:0px;--kit-widget-spacing:0px;
  --content-width:100%;--container-max-width:100%;max-width:100%!important;padding:0!important;margin:0!important}
.pb-bleed>.e-con-inner{max-width:100%!important;padding:0!important}
.elementor-widget-shortcode:has(.pb-slider),.elementor-widget-shortcode:has(.pb-smart-slider){margin:0!important;width:100%}
.pb-smart-slider,.pb-smart-slider .n2-section-smartslider{margin:0!important;padding:0!important;width:100%}
.pb-smart-slider .n2-ss-slider{max-width:100%}
.pb-smart-slider .n2-ow-all,.pb-smart-slider .n2-ss-slide-background img{max-width:none}

/* ---------- Типографіка: десктоп / планшет / мобільний ---------- */
:root{--fs-body:17px;--fs-small:.85rem;--fs-h1:3.4rem;--fs-hero:3.4rem;--fs-h2:2.4rem;--fs-h3:1.4rem;--fs-nav:1rem;--fs-btn:1rem;--lh-body:1.7}
@media (max-width:1100px){:root{--fs-body:16px;--fs-h1:2.8rem;--fs-hero:2.7rem;--fs-h2:2rem;--fs-h3:1.25rem}}
@media (max-width:680px){:root{--fs-body:16px;--fs-small:.82rem;--fs-h1:2.1rem;--fs-hero:2rem;--fs-h2:1.65rem;--fs-h3:1.2rem;--fs-nav:1.1rem;--fs-btn:.98rem;--lh-body:1.6}}
body{font-size:var(--fs-body);line-height:var(--lh-body)}
h1{font-size:var(--fs-h1)}h2{font-size:var(--fs-h2)}h3{font-size:var(--fs-h3)}
.pb-hero h1,.pb-slide__title{font-size:var(--fs-hero)}
.pb-nav a{font-size:var(--fs-nav)}
.pb-btn,.button,input[type=submit],.wpcf7-submit,.woocommerce a.button,.woocommerce button.button{font-size:var(--fs-btn)}
.pb-feature,.pb-cat span,.pb-horeca__list,.pb-footer li,.pb-meta,.pb-copy{font-size:var(--fs-small)}
.pb-feature{font-size:calc(var(--fs-small) + .1rem)}
.pb-card__body h2,.pb-cat h3{font-size:var(--fs-h3)}
.pb-horeca h2{font-size:clamp(1.5rem,2.6vw,2.2rem)}
.pb-contact__info li{font-size:clamp(1rem,1.5vw,1.1rem)}
.pb-script{font-size:clamp(1.25rem,2vw,1.5rem)}
.pb-brand__name{font-size:clamp(1.35rem,2.4vw,1.9rem)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(.98rem,1.5vw,1.1rem)}
.woocommerce div.product .product_title{font-size:var(--fs-h1)}
body .elementor-widget-heading h1.elementor-heading-title{font-size:var(--fs-h1)}
body .elementor-widget-heading h2.elementor-heading-title{font-size:var(--fs-h2)}
body .elementor-widget-heading h3.elementor-heading-title{font-size:var(--fs-h3)}
body .elementor-widget-text-editor{font-size:var(--fs-body);line-height:var(--lh-body)}
