/* ============================================================
   firemnikrabicky.cz — fk-search-1.css — v1
   Port ze skinspecialist ss-search-3.css (sekce 1-10, BEZ v3 REBUILD
   mode — zadání: CSS-only reskin nativního výpisu, žádný REPLACE).

   SCOPE: body.type-search (výhradně — kategorie/značky jedou na
   body.type-category / body.type-manufacturer-detail ve fk-category-1,
   ta má vlastní gate fk-cat-loaded; nulový průnik selektorů).

   NATIVE DOM (ověřeno curl 2026-07-11, /vyhledavani/?string=nosic):
     body.type-search.in-vyhledavani
     #content-wrapper > .content-wrapper-in
       aside.sidebar.sidebar-left (PRÁZDNÝ — jen .sidebar-inner)
       main#content.content.narrow
         h2 — Výsledky vyhledávání <strong class="highlight">"query"</strong>
         .search-results-groups > .search-results-group (#search-group-categories,
           #search-group-articles) > h4 + .search-results-group-list > ul > li > a
         #products-found.search-results
           h4#productsListHeading.search-products-heading — "Produkty"
           #products.products.products-block > .product > .p
             a.image > img.swap-image + .flags.flags-default > span.flag
             .p-in > .p-in-in > a.name > span[data-testid=productCardName]
             .p-in > .p-bottom > [data-micro=offer] > .prices (PRÁZDNÉ — ceny
               se na výpisu nezobrazují) + .p-tools > a.btn.btn-primary "Detail"
             .widget-parameter-wrapper > ul.widget-parameter-list (variantní chipy)
           .listingControls > .loadMore > button.js-loadMore__button--productsSearch
     NO RESULTS (ověřeno ?string=xqzweuir):
       .search-results-groups jen whitespace (NENÍ :empty!)
       #products-found > h4.search-products-heading[data-testid="searchMsg"], bez #products

   PASTI:
   - fk-legacy-1.css globálně nuluje border/box-shadow na .products-block
     .p/.image/.btn s !important → karty potřebují !important.
   - span.flag.flag-salecode-* nese SYROVÝ config text ("SALECODE:15NAVSE:15:%")
     + inline background-color — na kategorii ho překládá fk-category-1.js,
     tady CSS-only → salecode flagy SKRÝVÁME, běžné flagy (Novinka/Akce) stylujeme.
   - .search-results-groups s whitespace → :empty nematchne, používáme :has().

   DEPLOY:
   1. Upload do /user/documents/upload/
   2. Záhlaví: <link rel="stylesheet" href="/user/documents/upload/fk-search-1.css?v=1">
   3. Žádný JS.
   ============================================================ */


/* ============================================================
   1) CANVAS — sand podklad, skrýt breadcrumbs
   ============================================================ */
body.type-search {
  background: #F4F0E6 !important;
}
body.type-search .breadcrumbs-wrapper {
  display: none !important;
}


/* ============================================================
   2) PAGE CONTAINER — single column 1500px (= fk-cat-root šířka),
   prázdný sidebar pryč
   ============================================================ */
body.type-search #content-wrapper,
body.type-search .content-inner {
  background: transparent !important;
}

body.type-search #content-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 56px);
  width: 100%;
  box-sizing: border-box;
}

body.type-search .sidebar,
body.type-search aside.sidebar-left,
body.type-search .sidebar-left {
  display: none !important;
}

body.type-search #content.content,
body.type-search #content.content.narrow {
  width: 100% !important;
  max-width: 100% !important;
  padding: 24px 0 clamp(48px, 5vw, 80px) !important;
  margin: 0 auto !important;
  float: none !important;
}


/* ============================================================
   3) HERO PRUH — nativní h2 "Výsledky vyhledávání 'query'"
   Forest gradient blok (radius 26 = velký blok), eyebrow přes ::before,
   dotaz (.highlight) sunshine.
   ============================================================ */
body.type-search #content > h2:first-of-type,
body.type-search #content.content > h2:first-of-type {
  display: block;
  background: linear-gradient(135deg, #26402A 0%, #1A2B1C 100%) !important;
  border-radius: 26px !important;
  border: 0 !important;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) !important;
  margin: 0 0 clamp(28px, 3vw, 40px) !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: clamp(30px, 3.6vw, 52px) !important;
  letter-spacing: -.02em !important;
  line-height: 1.08 !important;
  color: #F4F0E6 !important;
  text-transform: none !important;
  text-wrap: balance;
  box-sizing: border-box;
}

/* Eyebrow nad titulkem */
body.type-search #content > h2:first-of-type::before,
body.type-search #content.content > h2:first-of-type::before {
  content: 'Vyhledávání';
  display: block;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #E1B124;
  margin: 0 0 16px;
  line-height: 1.2;
}

body.type-search #content > h2:first-of-type .highlight,
body.type-search #content.content > h2:first-of-type .highlight {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 500 !important;
  color: #E1B124 !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}


/* ============================================================
   4) SEARCH RESULTS GROUPS — Kategorie / Stránky / Články
   Krémové karty (radius 18) s eyebrow h4 + pill chipy odkazů.
   ============================================================ */
body.type-search .search-results-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 clamp(32px, 3vw, 44px);
}

/* Prázdné groups (no results) — obsahují jen whitespace, :empty nestačí */
body.type-search .search-results-groups:empty,
body.type-search .search-results-groups:not(:has(.search-results-group)) {
  display: none !important;
  margin: 0 !important;
}

body.type-search .search-results-group {
  background: #FBF8F0;
  border: 1px solid rgba(26, 43, 28, .06);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 6px 18px rgba(26, 43, 28, .04);
}

body.type-search .search-results-group h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: #6B5238 !important;
  margin: 0 0 14px !important;
  line-height: 1.2 !important;
}
body.type-search .search-results-group h4::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #6B5238;
}

body.type-search .search-results-group-list ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.type-search .search-results-group-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.type-search .search-results-group-list li.no-display {
  display: none !important;
}

body.type-search .search-results-group-list a {
  display: inline-flex;
  align-items: center;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #1A2B1C;
  text-decoration: none !important;
  background: #F4F0E6;
  border: 1px solid rgba(26, 43, 28, .12);
  border-radius: 999px;
  padding: 8px 16px;
  line-height: 1.2;
  transition:
    background-color .25s cubic-bezier(.4, 0, .2, 1),
    color .25s cubic-bezier(.4, 0, .2, 1),
    border-color .25s cubic-bezier(.4, 0, .2, 1);
}
body.type-search .search-results-group-list a:hover {
  background: #223924;
  border-color: #223924;
  color: #F4F0E6;
}

/* "Zobrazit vše (N)" odkaz */
body.type-search .display-results-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #6B5238;
  text-decoration: none !important;
  transition: gap .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1);
}
body.type-search .display-results-group::after {
  content: '\2192';
  font-size: 14px;
}
body.type-search .display-results-group:hover {
  gap: 12px;
  color: #1A2B1C;
}


/* ============================================================
   5) PRODUCTS HEADING — "Produkty"
   ============================================================ */
body.type-search .search-products-heading {
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  letter-spacing: -.015em !important;
  color: #1A2B1C !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}


/* ============================================================
   6) #products-found wrapper
   ============================================================ */
body.type-search #products-found.search-results {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}


/* ============================================================
   7) PRODUCTS GRID — FK karty (reskin nativního .product DOM,
   vizuál 1:1 s fk-cat-card: krém #FBF8F0, radius 18, lift hover,
   čtvercové medium radius 12, sunshine pill CTA)
   ============================================================ */
body.type-search #products.products,
body.type-search #products.products-block {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Přebít nativní float/column layout */
body.type-search .products .product {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}

/* Karta — pozn.: fk-legacy-1.css nuluje border/shadow s !important,
   proto tady !important všude */
body.type-search .products .product .p {
  display: flex !important;
  flex-direction: column !important;
  background: #FBF8F0 !important;
  border: 1px solid rgba(26, 43, 28, .06) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  position: relative !important;
  box-sizing: border-box !important;
  box-shadow: 0 6px 18px rgba(26, 43, 28, .04) !important;
  height: 100% !important;
  text-align: left !important;
  transition:
    transform .35s cubic-bezier(.4, 0, .2, 1),
    background-color .35s cubic-bezier(.4, 0, .2, 1),
    border-color .35s cubic-bezier(.4, 0, .2, 1),
    box-shadow .35s cubic-bezier(.4, 0, .2, 1) !important;
}
body.type-search .products .product .p:hover {
  transform: translateY(-3px);
  background: #FFFFFF !important;
  border-color: rgba(26, 43, 28, .12) !important;
  box-shadow: 0 14px 36px rgba(26, 43, 28, .08) !important;
}

/* Obrázek — čtverec (jako fk-cat-card__media v24), radius 12 */
body.type-search .products .product .p > a.image,
body.type-search .products .product .p .image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #E6DFCD !important;
  margin: 0 0 12px !important;
  border-radius: 12px !important;
  border: 0 !important;
}
body.type-search .products .product .p > a.image img,
body.type-search .products .product .p .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1) !important;
}
body.type-search .products .product .p:hover > a.image img,
body.type-search .products .product .p:hover .image img {
  transform: scale(1.03);
}

/* Vnitřní stack */
body.type-search .products .product .p-in {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
}
body.type-search .products .product .p-in-in {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
}

/* Název — 2 řádky clamp, hairline pod */
body.type-search .products .product a.name {
  display: block !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #1A2B1C !important;
  text-decoration: none !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px 0 !important;
  border-bottom: 1px solid rgba(26, 43, 28, .06) !important;
  text-transform: none !important;
}
body.type-search .products .product a.name span,
body.type-search .products .product a.name [data-testid="productCardName"] {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  min-height: 39px !important;
  line-height: 1.35 !important;
}
body.type-search .products .product a.name:hover,
body.type-search .products .product a.name:hover span {
  color: #816645 !important;
}

/* Dostupnost (pokud ji Shoptet vykreslí) */
body.type-search .products .product .availability {
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
body.type-search .products .product .availability span {
  font-family: inherit !important;
  font-weight: inherit !important;
}

/* Spodek karty — tlačítko dolů (button-down pattern) */
body.type-search .products .product .p-bottom {
  margin-top: auto !important;
  padding: 0 !important;
}

/* Nativní [data-micro=offer] je flex ROW (ceny | tlačítko) → tlačítko mělo
   jen půlku šířky. Přepnout na column, ať CTA zabere celou kartu. */
body.type-search .products .product .p-bottom > div[data-micro="offer"],
body.type-search .products .product .p-bottom > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ceny — na výpisu teď prázdné divy; styl pro případ, že se objeví */
body.type-search .products .product .price,
body.type-search .products .product .prices,
body.type-search .products .product .price-final,
body.type-search .products .product [data-testid="productCardPrice"] {
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1A2B1C !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.type-search .products .product .prices:has(.price-final),
body.type-search .products .product .prices:has([data-testid="productCardPrice"]) {
  margin: 0 0 10px !important;
}
body.type-search .products .product .price strong,
body.type-search .products .product .prices strong,
body.type-search .products .product [data-testid="productCardPrice"] strong {
  font-family: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}
body.type-search .products .product .price-standard,
body.type-search .products .product .price-old {
  font-size: 12.5px !important;
  color: rgba(26, 43, 28, .46) !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
  margin-left: 6px !important;
}

/* CTA — nativní <a class="btn btn-primary">Detail</a> → sunshine pill */
body.type-search .products .product .p-tools {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  text-align: left !important;
}
body.type-search .products .product .p-tools .btn,
body.type-search .products .product .p-tools a.btn-primary {
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #E1B124 !important;
  color: #1A2B1C !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  padding: 0 14px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-align: center !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1) !important;
}
body.type-search .products .product .p-tools .btn:hover,
body.type-search .products .product .p-tools a.btn-primary:hover {
  background: #EBC23E !important;
  color: #1A2B1C !important;
}

/* Nativní šablona kreslí na .btn chevron/dekoraci přes pseudo-elementy
   (zelený proužek u pravého okraje) → pryč */
body.type-search .products .product .p-tools .btn::before,
body.type-search .products .product .p-tools .btn::after,
body.type-search .products .product .add-to-cart button::before,
body.type-search .products .product .add-to-cart button::after,
body.type-search .loadMore .loadMore__button::before,
body.type-search .loadMore .loadMore__button::after {
  content: none !important;
  display: none !important;
}

/* Add-to-cart varianty (Shoptet je na search umí vykreslit u
   jednoduchých produktů / přihlášených) — stejný sunshine pill */
body.type-search .products .product .add-to-cart button,
body.type-search .products .product button.add-to-cart-button,
body.type-search .products .product input[type="submit"].btn-conversion,
body.type-search .products .product .pr-action button[type="submit"] {
  appearance: none !important;
  border: 0 !important;
  background: #E1B124 !important;
  color: #1A2B1C !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  text-align: center !important;
  width: 100% !important;
  height: 40px !important;
  text-transform: none !important;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1) !important;
}
body.type-search .products .product .add-to-cart button:hover,
body.type-search .products .product button.add-to-cart-button:hover,
body.type-search .products .product input[type="submit"].btn-conversion:hover,
body.type-search .products .product .pr-action button[type="submit"]:hover {
  background: #EBC23E !important;
}

/* Variantní chipy (widget-parameter — "Tmavé dřevo", "Šedá", "+ další") */
body.type-search .products .product .widget-parameter-wrapper {
  margin: 10px 0 0 !important;
  padding: 0 !important;
}
body.type-search .products .product .widget-parameter-list {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.type-search .products .product .widget-parameter-value {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.type-search .products .product .widget-parameter-value a {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: rgba(26, 43, 28, .72) !important;
  background: transparent !important;
  border: 1px solid rgba(26, 43, 28, .16) !important;
  border-radius: 999px !important;
  padding: 4px 11px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition:
    background-color .25s cubic-bezier(.4, 0, .2, 1),
    color .25s cubic-bezier(.4, 0, .2, 1),
    border-color .25s cubic-bezier(.4, 0, .2, 1);
}
body.type-search .products .product .widget-parameter-value a:hover {
  background: #223924 !important;
  border-color: #223924 !important;
  color: #F4F0E6 !important;
}
body.type-search .products .product .widget-parameter-more {
  display: inline-flex !important;
  margin: 6px 0 0 !important;
}
body.type-search .products .product .widget-parameter-more span {
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #6B7B6D !important;
  cursor: pointer !important;
}

/* Flagy: salecode nese syrový config text → skrýt (CSS-only nemá jak
   přeložit; na kategorii to dělá JS). Běžné flagy (Novinka/Akce/
   Doprodej) stylujeme jako FK badge. */
body.type-search .products .product .flag[class*="flag-salecode"] {
  display: none !important;
}
body.type-search .products .product .flags {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}
body.type-search .products .product .flag {
  position: static !important;
  display: inline-block !important;
  background: #5C765E !important;
  color: #FFFFFF !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
}
body.type-search .products .product .flag-sale,
body.type-search .products .product .flag-discount,
body.type-search .products .product .flag-action {
  background: #816645 !important;
}
body.type-search .products .product .flag-bestseller {
  background: #1A2B1C !important;
  color: #F4F0E6 !important;
}

/* Nativní hvězdičky na výpisu pryč */
body.type-search .products .product .ratings-wrapper {
  display: none !important;
}


/* ============================================================
   8) LOAD MORE — "Načíst N dalších" → forest outline pill
   ============================================================ */
body.type-search .listingControls {
  margin: clamp(28px, 3vw, 40px) 0 0;
}
body.type-search .loadMore {
  display: flex;
  justify-content: center;
}
body.type-search .loadMore .loadMore__button,
body.type-search .loadMore button.btn-secondary {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 1px solid rgba(26, 43, 28, .35) !important;
  border-radius: 999px !important;
  color: #1A2B1C !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  padding: 15px 34px !important;
  height: auto !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition:
    background-color .25s cubic-bezier(.4, 0, .2, 1),
    color .25s cubic-bezier(.4, 0, .2, 1),
    border-color .25s cubic-bezier(.4, 0, .2, 1) !important;
}
body.type-search .loadMore .loadMore__button:hover,
body.type-search .loadMore button.btn-secondary:hover {
  background: #1A2B1C !important;
  border-color: #1A2B1C !important;
  color: #F4F0E6 !important;
}


/* ============================================================
   9) EMPTY STATE — "Produkty nebyly nalezeny"
   ============================================================ */
body.type-search .search-products-heading[data-testid="searchMsg"] {
  text-align: center !important;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  letter-spacing: -.02em !important;
  color: #1A2B1C !important;
  margin: 0 auto !important;
  max-width: 560px !important;
  line-height: 1.2 !important;
  padding: clamp(40px, 5vw, 56px) 16px 0 !important;
}

/* Tagline pod nadpisem (vykání, žádný em dash) */
body.type-search .search-products-heading[data-testid="searchMsg"]::after {
  content: 'Zkuste jednodušší výraz nebo jiný název produktu, případně vyberte z kategorií v menu.';
  display: block;
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: normal;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #6B7B6D;
  margin: 16px auto 0;
  max-width: 480px;
  text-wrap: balance;
}

/* Prázdný stav jako krémová karta (radius 26 = velký blok) */
body.type-search #products-found.search-results:has(.search-products-heading[data-testid="searchMsg"]):not(:has(#products)) {
  background: #FBF8F0;
  border: 1px solid rgba(26, 43, 28, .06);
  border-radius: 26px;
  padding: 0 0 clamp(40px, 5vw, 56px);
  margin: 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(26, 43, 28, .04);
}


/* ============================================================
   10) RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  body.type-search #products.products,
  body.type-search #products.products-block {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  body.type-search #content.content {
    padding: 16px 0 60px !important;
  }
  body.type-search .search-results-group {
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  body.type-search #products.products,
  body.type-search #products.products-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px !important;
  }
  body.type-search .products .product .p {
    padding: 12px !important;
  }
  body.type-search .search-results-group-list a {
    font-size: 13px;
    padding: 7px 14px;
  }
  body.type-search #content > h2:first-of-type,
  body.type-search #content.content > h2:first-of-type {
    border-radius: 18px !important;
  }
}

@media (max-width: 480px) {
  body.type-search #products.products,
  body.type-search #products.products-block {
    grid-template-columns: 1fr;
  }
  body.type-search #content > h2:first-of-type,
  body.type-search #content.content > h2:first-of-type {
    font-size: 26px !important;
  }
}


/* ============================================================
   11) REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  body.type-search .products .product .p,
  body.type-search .products .product .p .image img,
  body.type-search .products .product .p > a.image img,
  body.type-search .search-results-group-list a,
  body.type-search .display-results-group,
  body.type-search .products .product .p-tools .btn,
  body.type-search .products .product .add-to-cart button,
  body.type-search .products .product button.add-to-cart-button,
  body.type-search .loadMore .loadMore__button {
    transition: none !important;
  }
  body.type-search .products .product .p:hover {
    transform: none !important;
  }
  body.type-search .products .product .p:hover > a.image img,
  body.type-search .products .product .p:hover .image img {
    transform: none !important;
  }
}
