/* Мобилна начална страница (18.10.2026, дизайн #1 „Класически“ + тъмен hero от #3).
   Само body.home и само до 767 px — десктопът не се променя. Мобилните блокове са скрити над 767 px. */
.m-benefits,.m-garden,.m-camp,.m-camp-title{display:none}

@media(max-width:767px){
  /* Хедър: видимо поле за търсене под реда с логото */
  body.home .header-inner{flex-wrap:wrap;row-gap:12px;padding-top:14px;padding-bottom:14px}
  body.home #header-search{display:flex;order:3;flex:1 0 100%;max-width:none;min-height:44px;padding:0 6px 0 16px;gap:10px;border:1px solid var(--line);border-radius:999px;background:var(--green-soft)}
  body.home #header-search>svg{width:18px;height:18px;flex:none;opacity:.6}
  body.home #header-search input{font-size:16px;min-width:0;flex:1;background:transparent;border:0}
  body.home #header-search button{width:36px;height:36px;flex:none;padding:0;display:grid;place-items:center;line-height:0}
  body.home #header-search button svg{width:18px;height:18px;margin:0;display:block}
  body.home .header-actions .mobile-search{display:none}

  /* Hero: тъмно студио с истинския винтоверт JCB */
  body.home .th-hero{background:#13171b url(../images/hero-mobile-780.webp) right center/contain no-repeat;background-image:image-set(url(../images/hero-mobile-780.webp) 1x,url(../images/hero-mobile-1200.webp) 2x);border:0;color:#fff}
  body.home .th-hero-inner{display:flex;align-items:center;padding-block:24px;min-height:76.9vw} /* = пропорцията на снимката 390×300 → не се реже */
  body.home .th-hero-copy{max-width:58%}
  body.home .th-hero .th-kicker{display:none}
  body.home .th-hero h1{overflow-wrap:normal;word-break:normal;hyphens:none;color:#fff;font-size:clamp(23px,6.9vw,30px);line-height:1.12;margin:0 0 10px;letter-spacing:-.01em}
  body.home .th-hero h1 span{color:#c9ced1;font-size:.6em;font-weight:500;margin-top:8px;line-height:1.3}
  body.home .th-hero h1{margin-bottom:20px}
  body.home .th-hero-lead{color:#c9ced1;font-size:14px;line-height:1.5;margin:0 0 20px}
  body.home .th-hero-cta{display:block}
  body.home .th-hero-cta .th-btn-primary{display:inline-flex;width:auto;min-height:46px;padding:0 20px;font-size:15px;background:var(--cta,#e8710a);border-color:transparent;color:#fff;border-radius:999px;box-shadow:0 8px 22px rgba(232,113,10,.35)}
  body.home .th-hero-cta .th-btn-ghost,body.home .th-hero-trust,body.home .th-hero-products,body.home .th-hero-lead{display:none}
  body.home .th-hero-cta .th-btn-primary{white-space:nowrap}

  /* Своя кампания от Персонализиране: голямо заглавие, H1 остава като малкия ред под него, собствен бутон */
  body.home .th-hero .m-camp-title{display:block;margin:0 0 6px;color:#fff;font-size:clamp(23px,6.9vw,30px);line-height:1.12;font-weight:700;letter-spacing:-.01em;overflow-wrap:normal}
  body.home .th-hero.has-m-camp h1{font-size:13.5px;line-height:1.35;font-weight:500;color:#c9ced1;margin:0 0 14px;letter-spacing:0}
  body.home .th-hero.has-m-camp h1 span{display:inline;font-size:1em;margin:0;color:inherit;font-weight:inherit}
  body.home .th-hero.has-m-camp .th-hero-cta{display:none}
  body.home .th-hero .m-camp{display:block}
  body.home .th-hero .m-camp-sub{margin:0 0 16px;color:#e4e8ea;font-size:14.5px;line-height:1.4}
  body.home .th-hero .m-camp-btn{display:inline-flex;width:auto;min-height:46px;padding:0 20px;font-size:15px;background:var(--cta,#e8710a);border-color:transparent;color:#fff;border-radius:999px;box-shadow:0 8px 22px rgba(232,113,10,.35);white-space:nowrap;max-width:100%}

  /* Категории 3 × 2 — еднаква височина, имената не се застъпват */
  body.home .noir-store .mobile-category-shortcuts,body.home .mobile-category-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px var(--gutter,16px) 6px;margin:0;background:none;border:0;overflow:visible}
  body.home .mobile-category-shortcuts>a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:118px;padding:12px 6px 10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 8px rgba(30,40,20,.05);text-align:center;color:var(--ink);text-decoration:none}
  body.home .mobile-category-shortcuts>a img{width:100%;max-width:74px;height:58px;object-fit:contain;mix-blend-mode:multiply;margin:0}
  body.home .mobile-category-shortcuts>a span{display:block;width:100%;font-size:12.5px;font-weight:600;line-height:1.2;overflow-wrap:normal;word-break:normal;hyphens:manual;white-space:normal}
  body.home .mobile-category-shortcuts>a:active{border-color:var(--green-dark)}

  /* Предимства */
  body.home .m-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:6px 0 0;padding:14px var(--gutter,16px) 18px}
  body.home .m-benefits li{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:11.5px;line-height:1.3;color:var(--ink);min-width:0}
  body.home .m-benefits svg{width:26px;height:26px;fill:none;stroke:var(--green-dark);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}


  /* Популярни продукти: 2 на ред, първите 4 */
  body.home .collection{padding-top:26px}
  body.home .collection .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
  body.home .collection .section-heading .eyebrow,body.home .collection .collection-intro p{display:none}
  body.home .collection .section-heading h2{font-size:22px;margin:0}
  body.home .collection .collection-intro .text-link{font-size:13px;white-space:nowrap;color:var(--cta,#e8710a)}
  body.home .collection .home-category-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;overflow:visible} /* без вътрешен страничен скрол */
  body.home .collection .home-category-links{border:0}
  body.home .collection .home-category-links a{white-space:nowrap;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;line-height:1.2;color:var(--ink)}
  body.home .collection ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}

  /* Банер „Всичко за градината“ */
  body.home .m-garden{display:block;position:relative;margin:22px var(--gutter,16px) 8px;border-radius:16px;overflow:hidden;background:#1d3f17;color:#fff;text-decoration:none;min-height:176px}
  body.home .m-garden img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  body.home .m-garden-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px;height:100%;justify-content:center;padding:16px 18px;max-width:60%;min-height:176px}
  body.home .m-garden-copy strong{font-size:20px;line-height:1.15}
  body.home .m-garden-copy>span{font-size:13px;line-height:1.35;color:#dfe8d6}
  body.home .m-garden-copy b{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:8px 16px;border-radius:999px;background:var(--cta,#e8710a);font-size:13.5px}
  body.home .m-garden-copy b svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}

  /* Сезонни банери: компактни хоризонтални карти */
  body.home .home-seasonal{gap:10px;margin-block:20px 6px}
  body.home .seasonal-banner{grid-template-columns:minmax(0,1fr) 96px;min-height:0;padding:14px 14px 14px 16px;gap:12px}
  body.home .seasonal-banner img{height:92px;order:2}
  body.home .seasonal-copy{gap:4px}
  body.home .seasonal-copy .eyebrow{font-size:10px;margin:0}
  body.home .seasonal-copy strong{font-size:16.5px}
  body.home .seasonal-copy>span:not(.eyebrow){font-size:12.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.home .seasonal-copy em{font-size:13px;margin-top:2px}

  /* Блокове по категории: колоната може да се свие → нищо не излиза встрани при 320 px */
  body.home .home-category-block{grid-template-columns:minmax(0,1fr)}
  body.home .home-category-block>*{min-width:0}
  body.home .confidence{grid-template-columns:minmax(0,1fr)}
  body.home .confidence>*,body.home .confidence summary{min-width:0}
  body.home .confidence summary svg{flex:none}

  /* Марки: компактна решетка с логата */
  body.home .home-brands{padding-block:26px}
}
@media(max-width:359px){
  body.home .mobile-category-shortcuts{gap:8px}
  body.home .mobile-category-shortcuts>a{padding-inline:3px}
  body.home .mobile-category-shortcuts>a span{font-size:11px;letter-spacing:-.01em}
  body.home .m-benefits li{font-size:10.5px}
  body.home .th-hero-copy{max-width:60%}
  body.home .th-hero h1{font-size:24px}
}
