/* creActive — eshop frontend (1.10.2026)
   Vzhľad prevzatý zo živého creactive.sk (Tailwind + vlastné komponenty, dizajn monokel štúdio):
   biele pozadie, zelené tlačidlá #a4ce4c s hoverom do čiernej (otočené 6.10.2026), písma open_sans (text, lokálne
   woff2 v assets/creactive/fonts) + Nunito (nadpisy, tlačidlá), sivé #888/#ddd/#eee, farebné
   hlavné kategórie (includes/creactive_theme.php). Bootstrap 5.3.2 (CDN) ostáva pre grid/utility
   a komponenty (offcanvas, collapse, modal, dropdown) — triedy `.esh-*` sú zdieľané s JS
   (cart.js, wishlist.js, search.js, pricing.js, gallery.js), `.cr-*` sú creActive layout. */

@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-regular-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-italic-webfont.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-light-webfont.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-medium-webfont.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-semibold-webfont.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-bold-webfont.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "open_sans"; src: url("../creactive/fonts/opensans-extrabold-webfont.woff2") format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --esh-bg:          #ffffff;
  --esh-surface:     #ffffff;
  --esh-ink:         #000000;
  --esh-ink-soft:    #888888;
  --esh-border:      #dddddd;
  --esh-border-soft: #eeeeee;

  --esh-accent:       #a4ce4c;   /* zelená — hover tlačidiel, skladom */
  --esh-accent-ink:   #ffffff;
  --esh-accent-soft:  #eef6dc;
  --esh-accent-dark:  #8baf41;

  --esh-sale:        #f05b4e;    /* červená z palety (dot--red, nadpisy) */
  --esh-sale-soft:   #fde6e4;

  --cr-gray:   #888888;
  --cr-line:   #dddddd;
  --cr-light:  #eeeeee;
  --cr-yellow: #fbb857;
  --cr-blue:   #193272;
  --cr-cyan:   #44c7f4;

  --esh-radius: 20px;
  --esh-radius-sm: 6px;
  --esh-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --cr-font-head: "Nunito", "open_sans", system-ui, sans-serif;
}

html { overflow-x: hidden; }
body.esh {
  background: #fff;
  color: #000;
  font-family: "open_sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
}
.esh a { color: inherit; text-decoration: none; }
.esh a:hover { color: inherit; }
.esh h1, .esh h2, .esh h3, .esh h4, .esh h5 {
  font-family: var(--cr-font-head); font-weight: 900; color: #000;
}
.esh .text-soft { color: var(--cr-gray); }
.esh .eyebrow { font-size: .75rem; text-transform: uppercase; color: var(--cr-gray); font-weight: 600; }

/* Kontajner ako na živom webe — fluidný do 1920px, okraje 50px (mobil 20px). */
.esh .container { max-width: 1920px; padding-left: 50px; padding-right: 50px; }
@media (max-width: 1023.98px) {
  .esh .container { padding-left: 20px; padding-right: 20px; }
}
/* Telefón: užší okraj (8.10.2026), aby sa obsah (napr. tabuľka košíka) zmestil na šírku. */
@media (max-width: 575.98px) {
  .esh .container { padding-left: 12px; padding-right: 12px; }
}

.cr-main { padding-top: 50px; padding-bottom: 50px; }
.cr-route-category .cr-main, .cr-route-product .cr-main { padding-top: 0; }
.cr-hr { border: 0; border-top: 1px solid var(--cr-line); opacity: 1; margin: 0; }

/* Spoločné tlačidlo (živý web .btn / .workshop__btn). Farby otočené 6.10.2026: zelené, hover čierny. */
.cr-btn {
  display: inline-block; margin-top: 30px; border-radius: 10px; background: var(--esh-accent); color: #fff !important;
  padding: 19px 26px; font: 700 13px/1 var(--cr-font-head); text-transform: uppercase; text-align: center;
  border: 0; transition: background-color .15s;
}
.cr-btn:hover { background: #000; }
.cr-btn--yellow:hover { background: var(--cr-yellow); }
.cr-btn--blue:hover { background: var(--cr-blue); }

/* ── Horný pás ─────────────────────────────────────────────────────── */
.cr-topbar { background: #eee; height: 40px; font-size: 13px; }
.cr-topbar__strip p { margin: 0; }
.cr-topbar__strip a { text-decoration: underline; }
.cr-topbar__contact { gap: 12px; }
.cr-topbar__contact span, .cr-ocmenu__contact span { display: inline-flex; align-items: center; }
.cr-topbar__contact img, .cr-ocmenu__contact img { margin-right: 8px; }
.cr-lang__current { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 13px; color: inherit; }
.cr-lang__current:hover { opacity: .8; }
.cr-lang__current::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; margin-left: 2px; }
.cr-lang__flag { width: 18px; height: 12px; border-radius: 2px; flex-shrink: 0; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
/* z-index nad sticky .cr-header (1020) — Bootstrap default 1000 by menu schoval pod hlavičku */
.cr-lang__menu { font-size: 13px; min-width: 0; z-index: 1030; }
.cr-lang__menu .dropdown-item { display: flex; align-items: center; gap: 8px; }
.cr-lang__menu .dropdown-item.active, .cr-lang__menu .dropdown-item:active { background: #eee; color: inherit; font-weight: 600; }

/* ── Hlavička ──────────────────────────────────────────────────────── */
.cr-header {
  position: sticky; top: 0; z-index: 1020; background: #fff; border-bottom: 1px solid var(--cr-line);
  padding: 32px 0; transition: padding .3s ease-in-out;
}
.cr-header.is-scrolled { padding: 12px 0; }
.cr-header__inner { display: flex; align-items: center; justify-content: space-between; position: relative; }
.cr-menu-toggler { display: flex; align-items: center; background: none; border: 0; padding: 0; font-size: 15px; font-weight: 700; }
.cr-menu-toggler__icon {
  width: 36px; height: 36px; border-radius: 10px; background: #000; margin-right: 19px;
  display: flex; align-items: center; justify-content: center;
}
.cr-menu-toggler__icon img { width: 20px; height: 16px; }
.cr-logo { position: absolute; left: 50%; transform: translateX(-50%); line-height: 0; }
.cr-logo img { width: 250px; height: auto; transition: width .3s ease-in-out; }
.cr-header.is-scrolled .cr-logo img { width: 180px; }
.cr-header__actions { display: flex; align-items: center; }

.cr-search { position: relative; margin: 0; padding-right: 20px; }
.cr-search::after { content: ""; position: absolute; width: 1px; height: 50px; background: var(--cr-line); right: 0; top: -7px; }
.cr-header.is-scrolled .cr-search::after { height: 35px; top: 0; }
.cr-search input {
  border-radius: 20px; min-width: 200px; border: 3px solid var(--cr-line); height: 36px; padding: 0 40px 0 15px;
  font-size: 14px; transition: min-width .3s ease-in-out; outline: none; -webkit-appearance: none;
}
.cr-search input:focus { min-width: 400px; border-color: var(--cr-line); }
.cr-search button { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 0; line-height: 0; }
@media (max-width: 1600px) { .cr-search input:focus { min-width: 300px; } }
@media (max-width: 1300px) { .cr-search input:focus { min-width: 220px; } }

.cr-account { margin: 0 20px; position: relative; display: block; line-height: 0; }
.cr-account svg path { fill: var(--cr-gray); transition: fill .15s; }
.cr-account:hover svg path, .cr-account--in svg path { fill: #000; }
.cr-account--in { position: relative; display: inline-block; }
.cr-account--in::before {
  content: ""; position: absolute; right: -8px; top: -8px; width: 10px; height: 10px; border-radius: 50%;
  background: #a3ce4b; border: 1px solid #8baf41;
}
.cr-account::after { content: ""; position: absolute; width: 1px; height: 50px; background: var(--cr-line); right: -20px; top: -15px; }
.cr-header.is-scrolled .cr-account::after { height: 35px; top: -8px; }
.cr-cart-label { font-family: var(--cr-font-head); font-weight: 600; margin-left: 20px; }
.cr-cart-label:hover { text-decoration: underline; }
.cr-cart { position: relative; display: flex; align-items: center; background: none; border: 0; padding: 0; margin: 0 0 0 8px; }
.cr-cart svg { width: 35px; position: relative; top: -2px; }
.cr-cart svg path { fill: #000; transition: fill .15s; }
.cr-cart:hover svg path, .cr-cart.is-active svg path { fill: var(--cr-yellow); }
.esh-badge-count {
  position: absolute; z-index: 1; left: 50%; top: 55%; transform: translate(-50%, -50%);
  color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
}
.esh-badge-count[hidden] { display: none; }

@media (max-width: 1023.98px) {
  .cr-header { padding: 18px 0; }
  .cr-logo img { width: 180px; }
  .cr-header.is-scrolled .cr-logo img { width: 150px; }
  .cr-menu-toggler__icon { margin-right: 0; }
  .cr-phone-search { background: none; border: 0; padding: 0 12px 0 0; position: relative; line-height: 0; }
  .cr-phone-search::before { content: ""; position: absolute; width: 1px; height: 40px; background: var(--cr-line); right: 0; top: -10px; }
  /* Mobil: vyhľadávanie je pás pod hlavičkou, otvára ho lupa (creactive.js). */
  .cr-search { display: none; position: absolute; left: -20px; right: -20px; top: calc(100% + 18px); padding: 8px 20px; background: #eee; z-index: 5; }
  .cr-search.is-open { display: block; }
  .cr-search::after { display: none; }
  .cr-search input, .cr-search input:focus { width: 100%; min-width: 0; }
  .cr-search button { right: 34px; }
  .cr-account { margin: 0 10px 0 16px; }
  .cr-account::after { height: 40px; top: -10px; right: -15px; }
  .cr-cart { margin-left: 22px; }
}
/* Mobil: logo na stred voľného miesta medzi hamburgerom a lupou (nie na stred obrazovky —
   tam by prekrývalo lupu vyhľadávania). */
@media (max-width: 767.98px) {
  .cr-logo { position: static; transform: none; flex: 1 1 auto; min-width: 0; margin: 0 10px; text-align: center; }
}
@media (max-width: 540px) {
  .cr-logo img { width: 130px; max-width: 100%; }
}
@media (max-width: 575.98px) {
  .cr-search { left: -12px; right: -12px; padding-left: 12px; padding-right: 12px; }
  .cr-search button { right: 26px; }
}

/* ── Live vyhľadávacie návrhy (assets/js/search.js) ──────────────────── */
.esh-search-suggest {
  position: absolute; top: 100%; left: 0; right: 20px; margin-top: 8px; min-width: 320px;
  background: #fff; border: 1px solid var(--cr-line); border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12); z-index: 20; max-height: 70vh; overflow-y: auto; padding: 12px;
}
.esh-search-suggest-empty { padding: 8px 4px; color: var(--cr-gray); font-size: .85rem; }
.esh-search-suggest-cats { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--cr-line); }
.esh-search-suggest-badge { background: #eee; border-radius: 12px; padding: 4px 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; font-family: var(--cr-font-head); }
.esh-search-suggest-badge:hover { background: var(--cr-line); }
.esh-search-suggest-products { display: flex; flex-direction: column; gap: 2px; }
.esh-search-suggest-item { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 10px; }
.esh-search-suggest-item:hover { background: #e5e7eb; }
.esh-search-suggest-thumb { width: 38px; height: 38px; background: #fff; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.esh-search-suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.esh-search-suggest-name { font-size: 14px; line-height: 1.3; }

/* ── Off-canvas: Zoznam kategórií ───────────────────────────────────── */
.cr-ocmenu.offcanvas { width: 350px; max-width: 100%; border-right: 0; overflow: hidden; }
.cr-ocmenu__head, .cr-ocmenu__panel-head, .esh-cart-offcanvas .offcanvas-header {
  background: #000; color: #fff; font-weight: 700; font-size: 16px; height: 50px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; padding: 0 21px;
}
.cr-ocmenu__close { background: none; border: 0; padding: 0; line-height: 0; cursor: pointer; }
.cr-ocmenu__body { overflow-y: auto; flex: 1; padding-bottom: 60px; }
.cr-ocmenu__root { list-style: none; margin: 0; padding: 0; }
.cr-ocmenu__item {
  display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--cr-line);
  color: #000; font-weight: 700; font-size: 16px; padding: 13px 50px 13px 20px; position: relative; cursor: pointer;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.cr-ocmenu__item::before {
  content: ""; position: absolute; top: 17px; right: 15px; width: 30px; height: 15px;
  background: url("../creactive/images/icons/arrow-right-gray-menu.svg") no-repeat; transition: background .3s ease-in-out;
}
.esh a.cr-ocmenu__item:hover, .cr-ocmenu__item:hover { background: var(--cr-cat, #000); color: #fff; }
.cr-ocmenu__item:hover::before { background-image: url("../creactive/images/icons/arrow-right-white.svg"); }
.cr-ocmenu__secondary { list-style: none; margin: 46px 0 0; padding: 0; }
.cr-ocmenu__secondary a { color: var(--cr-gray); font-weight: 700; padding: 0 20px; margin-bottom: 5px; display: block; }
.cr-ocmenu__secondary a:hover { color: #000; }
.cr-ocmenu__contact { display: flex; flex-direction: column; padding-left: 20px; margin-top: 40px; font-weight: 600; }

/* Sekundárny panel (podstrom hlavnej kategórie) — prekryje zoznam, "Späť" sa vráti. */
.cr-ocmenu__panel {
  position: absolute; inset: 0; background: #fff; z-index: 2; overflow-y: auto; padding-bottom: 60px;
  transform: translateX(100%); transition: transform .3s ease-in-out; display: flex; flex-direction: column;
}
.cr-ocmenu__panel[hidden] { display: none; }
.cr-ocmenu__panel.is-open { transform: translateX(0); }
.cr-ocmenu__panel-head { position: sticky; top: 0; z-index: 1; padding: 0 20px 0 0; }
.cr-ocmenu__back {
  flex: 1; display: flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 0;
  font-weight: 700; font-size: 16px; padding: 13px 20px; height: 50px; cursor: pointer;
}
.cr-ocmenu__back svg { width: 21px; }
.esh a.cr-ocmenu__panel-title { display: block; color: #fff; font-weight: 700; font-size: 16px; padding: 13px 20px; text-transform: uppercase; }
.cr-ocmenu__list { list-style: none; margin: 0; padding: 0; }
.cr-ocmenu__row { display: flex; justify-content: space-between; align-items: stretch; }
.cr-ocmenu__row a { flex: 1; }
.cr-ocmenu__list--l2 > li > .cr-ocmenu__row > a { text-transform: uppercase; padding: 10px 0 10px 20px; font-weight: 600; font-size: 15px; }
.cr-ocmenu__list--l3 a, .cr-ocmenu__list--l4 a, .cr-ocmenu__list--l5 a { color: var(--cr-gray); padding: 5px 0 5px 40px; display: block; font-weight: 600; font-size: 15px; }
.cr-ocmenu__list--l4 a, .cr-ocmenu__list--l5 a { padding-left: 60px; }
.cr-ocmenu__list--l3 a:hover, .cr-ocmenu__list--l4 a:hover { text-decoration: underline; color: #000; }
.cr-ocmenu__toggle { background: none; border: 0; padding: 0 12px; color: var(--cr-gray); cursor: pointer; display: flex; align-items: center; }
.cr-ocmenu__toggle:hover { background: #f8f8f8; }
.cr-ocmenu__toggle svg { transition: transform .15s; }
.cr-ocmenu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.offcanvas-backdrop.show { opacity: .5; }

/* ── Off-canvas košík (zdieľaný obsah _cart_drawer_body.php) ─────────── */
.esh-cart-offcanvas.offcanvas { width: 350px; max-width: 100%; border-left: 0; }
.esh a.offcanvas-title { color: #fff; font-size: 16px; font-weight: 700; }
.esh-cart-offcanvas .offcanvas-body { padding: 0; }
.esh-cart-empty { padding: 3rem 1.5rem; }
.esh-cart-empty svg { opacity: .4; }
.esh-cart-list { display: flex; flex-direction: column; }
.esh-cart-item { display: flex; gap: 12px; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--cr-line); }
.esh-cart-item:last-child { border-bottom: 0; }
.esh-cart-item-img { width: 75px; height: 75px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; color: var(--cr-gray); }
.esh-cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.esh-cart-item-body { flex: 1; min-width: 0; }
.esh-cart-item-title { font-size: 14px; font-weight: 500; line-height: 17px; color: var(--cr-gray); display: block; transition: color .3s; }
.esh a.esh-cart-item-title:hover { color: #000; }
.esh-cart-item-body .esh-price { font-size: 16px; font-weight: 700; }
.esh-cart-item-unavailable { opacity: .6; }
.esh-cart-remove { border: none; background: none; color: var(--cr-gray); flex-shrink: 0; padding: 4px; margin-left: auto; }
.esh-cart-remove:hover { color: var(--esh-sale); }
.esh-cart-offcanvas .esh-cart-total { margin: 0 1.5rem; }
.esh-cart-offcanvas .esh-btn-cart { width: calc(100% - 3rem) !important; margin: 1.5rem; display: flex; }
/* Widget pod pokladňou (cart_promo_widget_html(): doprava zadarmo / marketingový banner) */
.esh-cart-promo { margin: 0 1.5rem 1.5rem; padding: 12px 16px; background: #eee; border-radius: 10px; display: flex; align-items: center; gap: 12px; color: #888; font-size: 14px; font-weight: 700; line-height: 19px; text-transform: uppercase; }
.esh-cart-promo > * { margin: 0; }
.esh-cart-promo img { width: 70px; height: auto; flex-shrink: 0; }
.esh-cart-promo strong, .esh-cart-promo b { color: #000; }
.esh-chk-carrier-logo { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.esh-chk-estimate { font-size: 13px; color: var(--cr-gray, #777); margin-top: 4px; }
.esh-chk-estimate strong { color: #000; }

/* ── Ľavé menu kategórie (živý web .category-menu) ───────────────────── */
.cr-layout { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) {
  .cr-layout { grid-template-columns: 2fr 7fr; }
}
@media (min-width: 1200px) {
  .cr-layout { grid-template-columns: 1fr 5fr; }
}
.cr-catmenu { padding: 0 0 8px; margin-top: 30px; }
.cr-catmenu ul { list-style: none; margin: 0; padding: 0; }
.cr-catmenu li { padding-left: 20px; transition: background-color .3s; }
.cr-catmenu a {
  display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 600; text-transform: uppercase; color: #000;
}
.cr-catmenu a:hover { text-decoration: underline; }
.cr-catmenu__root > li.active { background: var(--cr-cat, #000); }
.esh .cr-catmenu__root > li.active > a { color: #fff; }
.cr-catmenu__sub { margin-left: -20px !important; padding: 8px 0 8px 20px !important; background: #fff; }
.cr-catmenu__sub li { margin-left: -20px; padding-left: 40px; background: #fff; }
.cr-catmenu__sub a { padding: 4px 0; text-transform: none; color: var(--cr-gray); transition: color .3s; }
.esh .cr-catmenu__sub a:hover { color: #000; }
.esh .cr-catmenu__sub li.active > a { color: #000; text-decoration: underline; }

.cr-content { border-left: 1px solid var(--cr-line); padding: 40px 24px 0; margin-top: 32px; min-width: 0; }
@media (min-width: 992px) {
  .cr-content { margin-top: 0; padding-left: 42px; }
}
@media (max-width: 991.98px) {
  .cr-content { border-left: 0; padding: 24px 0 0; margin-top: 0; }
}

/* Breadcrumb (živý web .page-navigation) */
.cr-breadcrumb {
  display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: .5rem; scrollbar-width: none;
  font-size: 14px; font-weight: 500; color: var(--cr-gray); margin-bottom: 30px; padding-bottom: 4px;
}
.cr-breadcrumb::-webkit-scrollbar { display: none; }
.cr-breadcrumb a { position: relative; padding-right: .75rem; text-decoration: underline; transition: color .3s; }
.cr-breadcrumb a::after {
  content: ""; position: absolute; right: -5px; top: 3px; width: 15px; height: 15px;
  background: url("../creactive/images/icons/chevron-right.svg") no-repeat center;
}
.esh .cr-breadcrumb a:hover { color: #000; text-decoration: none; }
.esh .cr-breadcrumb a.active { color: #000; text-decoration: none; }

/* Farebný pás pod hlavičkou (živý web .submenu) — názov + čierny pás hlavných kategórií. */
.cr-band { text-align: center; }
.esh .cr-band__title {
  margin: 0; padding: 16px 20px; font: 700 26px/1.2 var(--cr-font-head) !important; text-transform: uppercase; color: #000;
}
@media (min-width: 576px) { .esh .cr-band__title { font-size: 32px !important; } }
@media (min-width: 768px) { .esh .cr-band__title { font-size: 35px !important; padding: 34px 20px; } }
.cr-band__menu { list-style: none; margin: 0; padding: 0; background: #000; justify-content: center; flex-wrap: wrap; }
.cr-band__menu li { transition: background-color .3s; }
.esh .cr-band__menu a {
  display: flex; align-items: center; height: 60px; padding: 0 16px; color: #fff;
  font: 700 12px var(--cr-font-head); text-transform: uppercase; transition: color .3s;
}
@media (min-width: 1280px) { .esh .cr-band__menu a { font-size: 13px; } }
.cr-band__menu li:hover, .cr-band__menu li.active { background: var(--cr-cat); }
.esh .cr-band__menu li:hover a { color: #000; }
.esh .cr-band__menu li.active a { color: #fff; }

/* Dlaždice podkategórií (živý web .page-categories) */
.cr-subcats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cr-subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cr-subcats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cr-subcats li { display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #eee; transition: background-color .3s; line-height: 16px; }
.cr-subcats li:hover { background: var(--cr-line); }
.cr-subcats a { display: block; width: 100%; padding: 18px .75rem 16px; text-align: center; font: 700 14px/16px var(--cr-font-head); text-transform: uppercase; }

/* Filter (živý web .btn-filter + .category__filter-box) */
.cr-filterbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cr-filter-btn {
  display: flex; align-items: center; gap: 8px; height: 34px; background: none; border: 0; padding: 0;
  font: 700 14px var(--cr-font-head); text-transform: uppercase; color: var(--cr-gray); transition: color .3s;
}
.cr-filter-btn:hover, .cr-filter-btn[aria-expanded="true"], .cr-filter-btn.is-active { color: #000; }
.cr-filterbar__count { font-size: 14px; color: var(--cr-gray); font-weight: 600; }
/* Záložky zoradenia (4.10.2026, ako na zeezy) — v štýle tlačidla Filter / aktívnej strany stránkovania */
.cr-filterbar { flex-wrap: wrap; }
.cr-sort { display: flex; flex-wrap: wrap; gap: 4px; margin-right: auto; margin-left: 24px; }
.esh .cr-sort__tab {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 6px;
  font: 700 14px var(--cr-font-head); text-transform: uppercase; color: var(--cr-gray); transition: color .3s, background-color .3s;
}
.esh .cr-sort__tab:hover { color: #000; }
.esh .cr-sort__tab.is-active { color: #000; background: #eee; }
@media (max-width: 575.98px) {
  .cr-sort { order: 3; width: 100%; margin-left: 0; }
  .esh .cr-sort__tab { padding: 0 10px; font-size: 13px; }
}
/* Načítavanie listingu cez AJAX (assets/js/catalog-ajax.js) */
#eshCatalog { transition: opacity .15s; }
#eshCatalog.is-loading { opacity: .5; pointer-events: none; }
.cr-filter { position: relative; z-index: 100; }
.cr-filter__box { background: #ededed; padding: 0 30px; margin-top: 12px; }
.cr-filter__cols { display: flex; flex-wrap: wrap; gap: 0 40px; }
.cr-filter__col { padding-top: 30px; min-width: 220px; }
.cr-filter__col p { margin-bottom: 8px; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.cr-filter__col ul { list-style: none; margin: 0; padding: 0; }
.cr-filter__actions { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 30px 0 36px; }
.cr-filter__actions a { font-size: 14px; font-weight: 600; color: var(--cr-gray); text-decoration: underline; }
.cr-filter__submit {
  border-radius: 8px; background: var(--esh-accent); color: #fff; border: 0; padding: 16px 30px;
  font: 800 14px var(--cr-font-head); text-transform: uppercase; transition: background-color .3s;
}
.cr-filter__submit:hover { background: #000; }
/* Zaškrtávanie ako na živom webe (.znt_checkbox — 30px štvorček, sivý veľký text) */
.cr-check {
  position: relative; cursor: pointer; display: block; padding: 5px 0 5px 2.5rem; min-height: 40px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--cr-gray); line-height: 30px;
}
.cr-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cr-check > span { position: absolute; left: 0; top: 5px; width: 30px; height: 30px; border-radius: 5px; border: 1px solid #ccc; background: #fff; }
.cr-check--radio > span { border-radius: 50%; }
.cr-check input:checked + span { border-color: #000; background: #fff url("../creactive/images/icons/check.svg") no-repeat center / 16px; }
.cr-check input:checked ~ * , .cr-check:has(input:checked) { color: #000; }
.cr-check input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }
.cr-check small { font-weight: 500; text-transform: none; }

/* Mriežka produktov (živý web .category__product-list-grid) */
.cr-grid { display: grid; grid-template-columns: 1fr; margin-top: 24px; border-top: 1px solid var(--cr-line); }
@media (min-width: 500px) { .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .cr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; } }
@media (min-width: 1280px) { .cr-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cr-grid__item { border-bottom: 1px solid var(--cr-line); padding: 48px 0; }
.cr-empty { padding: 40px 0; }

/* Stránkovanie (živý web .list-pagination + šípky) */
.cr-pagination { display: flex; justify-content: center; align-items: center; margin-top: 50px; }
.cr-pagination ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0 30px; padding: 0; font-weight: 700; }
/* Každé číslo má rovnako veľkú klikaciu plochu ako zvýraznená aktuálna stránka */
.cr-pagination__item { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 14px; border-radius: 6px; color: var(--cr-gray); transition: color .3s, background-color .3s; }
.esh .cr-pagination__item:hover { color: #000; background: #f5f5f5; }
.esh .cr-pagination__item.is-active { color: #000; background: #eee; }
.cr-pagination__dots { color: var(--cr-gray); }
.cr-arrow {
  display: block; width: 30px; height: 17px; border: 0; padding: 0; cursor: pointer;
  background: url("../creactive/images/icons/arrow-right-gray.svg") no-repeat; transition: background .2s ease-in-out;
}
.cr-arrow:hover { background-image: url("../creactive/images/icons/arrow-right-black.svg"); }
.cr-arrow--prev { background-image: url("../creactive/images/icons/arrow-left.svg"); }
.cr-arrow--prev:hover { background-image: url("../creactive/images/icons/arrow-left-black.svg"); }
.cr-arrow.is-disabled, .cr-arrow.swiper-button-disabled { opacity: .3; cursor: default; }

/* Popis kategórie (živý web .category__about) — importované HTML zo starého eshopu */
.cr-about { margin-top: 48px; padding-bottom: 24px; }
.cr-about__text { max-width: 1100px; }
.cr-about__text h1, .cr-about__text h2, .cr-about__text h3 { text-transform: uppercase; }
.cr-about__text h1 { font-size: 32px; }
.cr-about__text h2 { font-size: 25px; margin-top: 20px; }
.cr-about__text p { font-size: 16px; line-height: 24px; margin-bottom: 12px; }
@media (min-width: 768px) {
  .cr-about__text h1 { font-size: 42px; }
  .cr-about__text p { font-size: 20px; line-height: 30px; }
}
.cr-about__text img { max-width: 100%; height: auto; }

/* ── Karta produktu (živý web — obrázok, bodka + sivý názov, cena + množstvo + košík) ── */
.cr-card { display: flex; flex-direction: column; align-items: center; height: 100%; text-align: center; padding: 0 4px; }
.cr-card__img { position: relative; width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin-bottom: 21px; }
.cr-card__img > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cr-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Obrázky produktov sú <picture> s WebP zdrojom — wrapper nesmie meniť layout. */
picture { display: contents; }
.esh .cr-card__name {
  font-size: 14px; font-weight: 600; line-height: 16px; color: var(--cr-gray); min-height: 45px;
  padding: 0 1.5rem; transition: color .2s ease-in-out;
}
.esh .cr-card__name:hover { color: #000; }
.cr-card__code { display: none; }
.cr-card__buy { display: flex; align-items: center; margin-top: auto; padding-top: 20px; }
.cr-card__price { font-size: 14px; font-weight: 600; margin-right: 10px; text-align: right; line-height: 1.2; }
.cr-card__price .esh-price-old { font-size: 12px; }
.cr-card__qty { border: 1px solid #ccc; text-align: center; border-radius: 4px; height: 36px; width: 38px; margin-right: 5px; font-size: 14px; }
.cr-card__cart {
  background: var(--esh-accent); width: 38px; height: 36px; border-radius: 4px; border: 0; display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease-in-out;
}
.cr-card__cart:hover { background: #000; }
/* Nedá sa objednať (nie je skladom, 9.10.2026): sivé aj pri hoveri, biela ikona ostáva čitateľná. */
.cr-card__cart:disabled, .cr-card__cart:disabled:hover { background: #c4c4c4; cursor: not-allowed; }
@media (max-width: 1023.98px) { .esh .cr-card__name { padding: 0 .5rem; } }

.cr-dot { width: 11px; height: 11px; display: inline-block; background: #ddd; border: 1px solid #aaa; border-radius: 50%; vertical-align: 0; }
.cr-dot--green { background: #a3ce4b; border-color: #8baf41; }
.cr-dot--red { background: #f05b4e; border-color: #d63c2e; }
.cr-dot--orange { background: #fbb857; border-color: #e09a35; }

.cr-badges { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cr-badge {
  display: inline-flex; align-items: center; border-radius: 4px; background: #000; color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 12px; text-transform: uppercase; line-height: 1;
}

.esh-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.esh-price-old { text-decoration: line-through; color: var(--cr-gray); font-weight: 500; }
.esh-price-sale { color: var(--esh-sale); }

/* ── Úvodná stránka ────────────────────────────────────────────────── */
.cr-route-home { position: relative; }
.cr-route-home::before {
  content: ""; position: absolute; left: -70px; top: 390px; width: 290px; height: 460px; pointer-events: none;
  background: url("../creactive/images/illustrations/red-curl.svg") no-repeat;
}
.cr-route-home::after {
  content: ""; position: absolute; right: -50px; top: 520px; width: 617px; height: 251px; pointer-events: none;
  background: url("../creactive/images/illustrations/yellow-cloud.png") no-repeat; z-index: -1;
}
@media (max-width: 1024px) {
  .cr-route-home::before { width: 190px; height: 360px; top: 250px; background-size: contain; }
  .cr-route-home::after { top: 350px; width: 300px; right: 0; background-size: contain; }
}

.cr-hero { padding-bottom: 30px; }
.cr-hero__slide { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .cr-hero__slide { flex-direction: row; } }
.cr-hero__img { order: 2; height: 50vw; overflow: hidden; border-radius: 0 0 20px 20px; }
.cr-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cr-hero__caption {
  order: 1; background: #000; color: #fff; padding: 30px; border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--cr-font-head);
}
@media (min-width: 1024px) {
  .cr-hero__img { order: 1; width: 50%; height: 512px; border-radius: 20px 0 0 20px; }
  .cr-hero__caption { order: 2; width: 50%; height: 512px; padding: 0; border-radius: 0 20px 20px 0; }
}
@media (max-width: 550px) { .cr-hero__img { height: 80vw; } }
.esh .cr-hero__caption h3 { color: #fff; font-size: 65px; line-height: 65px; font-weight: 900; text-align: center; text-transform: uppercase; margin: 0; }
.cr-hero__caption p { color: var(--cr-cyan); font-size: 25px; line-height: 30px; font-weight: 700; margin: 18px 0 47px; text-align: center; }
@media (max-width: 1024px) {
  .esh .cr-hero__caption h3 { font-size: 45px; line-height: 45px; }
  .cr-hero__caption p { font-size: 20px; line-height: 25px; margin-bottom: 25px; }
}
@media (max-width: 540px) { .esh .cr-hero__caption h3 { font-size: 35px; line-height: 38px; } }
.esh .cr-hero__btn {
  background: #fff; color: #000; text-transform: uppercase; font: 700 13px/1 var(--cr-font-head);
  padding: 18px 20px; border-radius: 6px; transition: background-color .2s ease-in-out;
}
.esh .cr-hero__btn:hover { background: var(--cr-cyan); color: #000; }
.cr-hero .swiper-pagination-bullet, .cr-swiper-pagination .swiper-pagination-bullet { background: #aaa; width: 10px; height: 10px; opacity: 1; }
.cr-hero .swiper-pagination-bullet-active, .cr-swiper-pagination .swiper-pagination-bullet-active { background: #000; }
.cr-hero .cr-hero__pagination { bottom: 0; }

/* Boxy hlavných kategórií (živý web .homepage__categories + .category__box) — "rozhádzané" výšky. */
.cr-home-cats { position: relative; margin-top: 3rem; padding-bottom: 50px; }
.cr-home-cats__green { width: 300px; height: 300px; position: absolute; top: 15px; left: 65%; }
.cr-home-cats__red { width: 300px; height: 300px; position: absolute; top: 470px; left: 35%; }
@media (min-width: 1730px) { .cr-home-cats__green { left: 50%; } .cr-home-cats__red { left: 30%; } }
.cr-home-cats__grid { position: relative; z-index: 1; display: grid; column-gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1200px) { .cr-home-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .cr-home-cats__grid { column-gap: 50px; } }
@media (min-width: 1730px) { .cr-home-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cr-catbox { background: #eee; border-radius: 20px; overflow: hidden; }
.esh a.cr-catbox__head { display: block; color: #fff; text-transform: uppercase; padding: 16px 29px; font: 700 18px var(--cr-font-head); }
.cr-catbox__body { padding: 24px; }
@media (min-width: 1536px) { .cr-catbox__body { padding: 29px; } }
.cr-catbox__body ul { list-style: none; margin: 0; padding: 0; text-transform: uppercase; font-size: 14px; font-weight: 500; }
@media (min-width: 1280px) { .cr-catbox__body ul { font-size: 15px; } }
.cr-catbox__body li + li { margin-top: .25rem; }
.cr-catbox__body a:hover { text-decoration: underline; }
.cr-catbox__all { font-weight: 700; margin-top: .75rem; display: flex; align-items: center; }
.cr-catbox__all img { width: 17px; height: 17px; margin-right: .5rem; }
@media (min-width: 1730px) {
  .cr-home-cats__grid > div:nth-child(5n+1) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(5n+3) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(5n+5) .cr-catbox { margin-top: 100px; margin-bottom: 20px; }
  .cr-home-cats__grid > div:nth-child(6) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(8) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(10) .cr-catbox { margin-top: 30px; }
  .cr-home-cats__grid > div:nth-child(7) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(9) .cr-catbox { margin-top: -70px; }
}
@media (min-width: 1200px) and (max-width: 1729.98px) {
  .cr-home-cats__grid > div:nth-child(1) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(3) .cr-catbox { margin-top: 100px; margin-bottom: 50px; }
  .cr-home-cats__grid > div:nth-child(5) .cr-catbox { margin-bottom: 50px; }
  .cr-home-cats__grid > div:nth-child(6) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(8) .cr-catbox { margin-top: -100px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .cr-home-cats__grid > div:nth-child(1) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(3) .cr-catbox { margin-top: 100px; margin-bottom: 30px; }
  .cr-home-cats__grid > div:nth-child(4) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(6) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(7) .cr-catbox { margin-bottom: 30px; }
  .cr-home-cats__grid > div:nth-child(5) .cr-catbox,
  .cr-home-cats__grid > div:nth-child(8) .cr-catbox { margin-top: -100px; }
}

/* Novinky / Akcie */
.cr-home-tabs { display: flex; justify-content: center; gap: 2.25rem; padding: 50px 0; font-family: var(--cr-font-head); }
.cr-home-tab { background: none; border: 0; padding: 0; font-weight: 700; font-size: 18px; color: var(--cr-gray); cursor: pointer; transition: color .15s; }
.cr-home-tab:hover { color: #000; text-decoration: underline; }
.cr-home-tab.active { color: #000; text-decoration: underline; }
.cr-products-swiper { overflow: hidden; }
.cr-swiper-nav { display: flex; justify-content: center; align-items: center; margin-top: 50px; }
.cr-swiper-nav .cr-swiper-pagination { position: static; width: auto; margin: 0 30px; display: flex; gap: 4px; }

/* Workshopy / Predajňa */
.cr-banner-workshop { padding-top: 50px; }
.cr-banner-store { padding: 70px 0 50px; }
.cr-workshop { padding: 30px 0; background: url("../creactive/images/illustrations/workshop-bg.png") no-repeat center / contain; position: relative; }
.cr-workshop__img { width: 75%; position: relative; top: -7px; left: -10px; mask-size: 100% 100%; -webkit-mask-size: 100% 100%; }
.cr-workshop__curl { width: 33%; height: 45%; position: absolute; right: 50px; bottom: 20px; background: url("../creactive/images/illustrations/blue-curl.png") no-repeat; background-size: contain; z-index: 1; }
.cr-store { padding: 50px 0; background: url("../creactive/images/illustrations/store_bg.png") no-repeat center / contain; }
.cr-store__img { display: block; position: relative; top: -36px; margin: 0 auto; max-width: 100%; mask-size: 100% 100%; -webkit-mask-size: 100% 100%; }
.cr-workshop__caption, .cr-store__caption { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; justify-content: center; }
@media (min-width: 992px) {
  .cr-workshop__caption { align-items: flex-start; text-align: left; }
  .cr-store__caption { align-items: flex-end; text-align: right; padding-right: 80px; }
}
@media (min-width: 1536px) { .cr-store__caption { padding-right: 150px; } }
.esh .cr-bigtitle { font: 900 36px/1 var(--cr-font-head); text-transform: uppercase; margin: 0; }
@media (min-width: 768px) { .esh .cr-bigtitle { font-size: 45px; } }
@media (min-width: 992px) { .esh .cr-bigtitle { font-size: 65px; } }
.cr-bigsub { font: 500 18px var(--cr-font-head); margin: 8px 0 0; }
@media (min-width: 992px) { .cr-bigsub { font-size: 25px; } }
.cr-bigtext { max-width: 504px; font-size: 15px; margin: 20px 0 0; }
@media (min-width: 992px) { .cr-bigtext { margin-top: 48px; } }

.cr-footer-banners { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 50px 0 20px; }
@media (min-width: 768px) { .cr-footer-banners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .cr-footer-banners { gap: 50px; padding: 100px 0 50px; } }
.cr-footer-banners a { transition: opacity .15s; }
.cr-footer-banners a:hover { opacity: .9; }
.cr-footer-banners img { width: 100%; height: auto; }

/* ── Detail produktu (živý web .pdp__*) ────────────────────────────── */
.cr-pdp h1 { font: 900 32px/36px var(--cr-font-head); text-transform: uppercase; margin-bottom: 16px; }
@media (min-width: 1280px) { .cr-pdp h1 { font-size: 40px; line-height: 44px; } }
.cr-pdp__main { display: grid; gap: 24px; }
@media (min-width: 992px) { .cr-pdp__main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .cr-pdp__main { gap: 42px; } }
.esh-gallery-main.cr-pdp__gallery {
  border: 1px solid var(--cr-line); border-radius: 20px; aspect-ratio: 1 / 1; display: flex; align-items: center;
  justify-content: center; overflow: hidden; position: relative; background: #fff;
}
.esh-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.esh-gallery-zoom { width: 100%; height: 100%; border: none; background: none; padding: 0; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.esh-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.esh-gallery-thumb { width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--cr-line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 4px; cursor: pointer; }
.esh-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.esh-gallery-thumb:hover, .esh-gallery-thumb.active { border-color: #000; }
.cr-pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.cr-pdp__short { font: 16px/24px var(--cr-font-head); margin: 0; }
.cr-pdp__short a { font-weight: 700; text-decoration: underline !important; }
.cr-pdp__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 15px; margin: 20px 0 10px; }
.cr-pdp__facts > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; }
.cr-pdp__facts strong { font-size: 14px; }
.cr-instock { color: #a3ce4b; }
@media (max-width: 575.98px) { .cr-pdp__facts { grid-template-columns: 1fr; } }
.cr-pdp__buybox { display: grid; gap: 16px; border-top: 1px solid var(--cr-line); padding-top: 24px; }
@media (min-width: 1200px) { .cr-pdp__buybox { grid-template-columns: 1fr 1fr; gap: 0; } }
.cr-pdp__price { font: 700 30px/1 var(--cr-font-head); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cr-pdp__price .esh-price-old { font-size: 15px; font-weight: 500; }
.cr-pdp__sale-to { font-size: 13px; color: var(--cr-gray); margin-top: 6px; }
.cr-pdp__buy { display: flex; margin-top: 12px; }
@media (min-width: 1200px) { .cr-pdp__buy { margin-top: 24px; } }
.cr-pdp__qty { border: 1px solid var(--cr-line); text-align: center; border-radius: 4px; height: 50px; width: 50px; margin-right: 12px; font-size: 13px; font-weight: 900; color: var(--cr-gray); }
.cr-pdp__cart {
  background: var(--esh-accent); color: #fff; border: 0; text-transform: uppercase; padding: 0 20px; height: 50px; border-radius: 4px;
  font: 700 13px/1 var(--cr-font-head); transition: background-color .2s ease-in-out;
}
.cr-pdp__cart:hover { background: #000; }
.cr-pdp__cart:disabled, .cr-pdp__cart:disabled:hover { background: #c4c4c4; color: #fff; cursor: not-allowed; }
.cr-pdp__links { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--cr-line); }
@media (min-width: 1200px) { .cr-pdp__links { border-top: 0; border-left: 1px solid var(--cr-line); margin-top: -24px; padding: 24px 0 0 24px; } }
.cr-pdp__link { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--cr-gray); transition: color .3s; }
.cr-pdp__link span { text-decoration: underline; font-size: 15px; font-weight: 600; }
.cr-pdp__link:hover { color: #000; }
.cr-pdp__link:hover span { text-decoration: none; }
.cr-pdp__link.active { color: var(--esh-sale); }
.cr-pdp__about { margin-top: 48px; font-family: var(--cr-font-head); display: grid; gap: 24px; }
@media (min-width: 1200px) { .cr-pdp__about { grid-template-columns: 1fr 1fr; gap: 50px; } }
.esh .cr-pdp__h3 { text-transform: uppercase; font-weight: 900; font-size: 25px; margin-bottom: 16px; }
.cr-pdp__desc img { max-width: 100%; height: auto; }
.cr-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
@media (min-width: 768px) { .cr-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cr-pdp__reviews { margin: 48px 0 24px; }

.esh-spec-table tr { border-bottom: 1px solid var(--cr-light); }
.esh-spec-table td { padding: 10px 0; font-size: 15px; }
.esh-spec-table td:first-child { color: var(--cr-gray); width: 40%; }

/* Zväčšený náhľad (modal) */
.esh-image-modal .modal-content { background: #fff; border: none; border-radius: 20px; overflow: hidden; }
.esh-image-modal .modal-body { padding: 0; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.esh-image-modal .modal-body img { max-width: 100%; max-height: 85vh; width: auto; height: auto; object-fit: contain; }
.esh-image-modal .btn-close { position: absolute; top: 14px; right: 14px; z-index: 2; background-color: #eee; border-radius: 50%; padding: 10px; opacity: 1; }
.esh-image-modal #eshImageCarousel { width: 100%; }
.esh-image-modal .carousel-control-prev-icon, .esh-image-modal .carousel-control-next-icon { background-color: #000; border-radius: 50%; padding: 22px; background-size: 45%; }

/* ── Pätička ───────────────────────────────────────────────────────── */
.cr-footer { background: #000; padding: 50px 0; color: var(--cr-gray); }
@media (max-width: 991.98px) { .cr-footer { padding: 30px 0; } }
.esh .cr-footer__help { color: #fff; font: 700 24px var(--cr-font-head); text-transform: uppercase; }
@media (min-width: 992px) and (max-width: 1279.98px) { .esh .cr-footer__help { font-size: 22px; } }
.cr-footer__contact { color: #fff; text-transform: uppercase; font: 18px var(--cr-font-head); margin-top: 31px; }
.cr-footer__logo { display: block; margin-top: 52px; line-height: 0; }
.cr-footer__logo svg { max-width: 100%; }
.cr-footer__logo path { fill: var(--cr-gray); transition: fill .15s; }
.cr-footer__logo:hover path { fill: #fff; }
.esh .cr-footer__heading { color: #fff; font: 700 18px var(--cr-font-head); text-transform: uppercase; margin-bottom: 29px; }
.esh .cr-footer__heading--tight { margin-bottom: 20px; }
.cr-footer__links { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.cr-footer__links li { line-height: 1.4; margin-bottom: 15px; }
.cr-footer__links a { transition: color .3s ease-in-out; }
.esh .cr-footer__links a:hover { color: #fff; }
.cr-footer__address { font-size: 15px; line-height: 37px; }
.cr-footer__address a { color: #fff; text-decoration: underline; }
.cr-footer__right { max-width: 515px; }
.cr-footer__social { gap: 30px; }
.cr-footer__social path { transition: fill .3s ease-in-out; }
.cr-footer__social a:hover path { fill: #fff; }
.cr-footer__copy { font-size: 15px; line-height: 30px; margin-top: 37px; }
.esh .cr-footer__copy a { color: #fff; }
.esh .cr-footer__copy a:hover { text-decoration: underline; }

/* ── CMS stránka ───────────────────────────────────────────────────── */
/* Pás nad CMS stránkou (živý web): sivý pruh s H1 + čierny pruh s "Naspäť" a dátumom. */
.cr-route-page .cr-main { padding-top: 0; }
.cr-pageband { text-align: center; }
.esh .cr-pageband__title {
  margin: 0; padding: 16px 20px; background: #eee; color: #000; text-transform: uppercase;
  font: 900 26px/1.2 var(--cr-font-head) !important;
}
@media (min-width: 576px) { .esh .cr-pageband__title { font-size: 32px !important; } }
@media (min-width: 768px) { .esh .cr-pageband__title { font-size: 42px !important; padding: 32px 20px; } }
@media (min-width: 992px) { .esh .cr-pageband__title { font-size: 50px !important; } }
.cr-pageband__bar { background: #000; padding: 20px 16px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 480px) { .cr-pageband__bar { flex-direction: row; gap: 16px; } }
.esh .cr-pageband__btn {
  display: block; width: 180px; padding: 6px 20px; border-radius: 5px; color: #000; text-decoration: none;
  font: 800 14px/1.5 var(--cr-font-head); text-transform: uppercase;
}
.esh .cr-pageband__btn--back { background: #9bd5b9; }
.esh .cr-pageband__btn--back:hover { color: #000; filter: brightness(.95); }
.cr-pageband__btn--date { background: #bbb; }
.cr-page { margin-top: 50px; }
.esh .cr-pageband__btn.is-active { box-shadow: 0 0 0 2px #fff; }
a.cr-pageband__btn:not(.cr-pageband__btn--back):hover { color: #000; filter: brightness(.95); }

/* Blog (živý web .blog-post) — mriežka 2/3/4/6 stĺpcov, karta s obrázkom, farebným pásikom, názvom, perexom. */
.cr-route-blog .cr-main, .cr-route-blog-post .cr-main { padding-top: 0; }
.cr-blog__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 576px)  { .cr-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .cr-blog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px)  { .cr-blog__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .cr-blog__grid { grid-template-columns: repeat(6, 1fr); } }
.cr-blog__card { padding: 40px 16px; border-bottom: 1px solid #ddd; min-width: 0; }
.cr-blog__img { display: block; aspect-ratio: 1 / 1; background: #f4f4f4; border-radius: 10px 10px 0 0; overflow: hidden; }
.cr-blog__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cr-blog__img:hover img { transform: scale(1.03); }
.cr-blog__meta { display: flex; justify-content: space-between; gap: 8px; padding: 10px 16px; font-size: 13px; border-radius: 0 0 10px 10px; color: #000; }
.esh .cr-blog__meta a { color: #000; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.esh .cr-blog__title { font: 700 17px/20px var(--cr-font-head) !important; text-align: center; margin: 14px 0; }
.esh .cr-blog__title a { color: #000; text-decoration: none; }
.esh .cr-blog__title a:hover { text-decoration: underline; }
.cr-blog__perex { font-size: 14px; font-weight: 500; text-align: center; color: #888; margin: 0; overflow-wrap: anywhere; }
.cr-blog__empty { text-align: center; color: #888; margin: 50px 0; }
.cr-blogpost img { border-radius: 2vh; margin: 10px 0; }
.cr-blogpost ul { font-size: 15px; padding-left: 16px; list-style: disc; }
.cr-blogpost ul li { margin: 3px 0 6px; }
.cr-blogpost__back { margin-top: 40px; font-weight: 700; }
.cr-page { max-width: 1100px; margin-left: auto; margin-right: auto; }
.cr-page img { max-width: 100%; height: auto; }
.cr-page a { text-decoration: underline; }

/* ── Spoločné komponenty ostatných stránok (košík, pokladňa, účet, vyhľadávanie) ── */
.esh-noimg { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--cr-gray); }
.esh-noimg svg { opacity: .55; }
.esh-noimg span { font-size: .68rem; text-transform: uppercase; }

.esh-breadcrumb { font-size: 14px; font-weight: 500; color: var(--cr-gray); }
.esh-breadcrumb a { text-decoration: underline; }
.esh .esh-breadcrumb a:hover { color: #000; text-decoration: none; }

.esh-subcat-tile {
  background: #eee; border-radius: 12px; padding: 10px 16px; display: inline-flex; align-items: center;
  font: 700 14px var(--cr-font-head); text-transform: uppercase;
}
.esh-subcat-tile:hover { background: var(--cr-line); }

.esh-pagination .page-link { color: var(--cr-gray); border: 0; font-weight: 700; background: none; }
.esh-pagination .page-link:hover { color: #000; background: none; }
.esh-pagination .page-item.active .page-link { background: #eee; color: #000; border-radius: 6px; }

.esh-card {
  background: #fff; border: 1px solid var(--cr-line); border-radius: 20px; overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}

.esh-qty { display: inline-flex; align-items: center; border: 1px solid var(--cr-line); border-radius: 4px; overflow: hidden; }
.esh-qty button { width: 34px; height: 40px; border: none; background: #fff; color: #000; }
.esh-qty input { width: 44px; height: 40px; border: none; border-left: 1px solid var(--cr-line); border-right: 1px solid var(--cr-line); text-align: center; font-size: .9rem; font-weight: 700; }
.esh-qty-sm button { width: 28px; height: 30px; }
.esh-qty-sm input { width: 34px; height: 30px; font-size: .8rem; }

.esh-btn-cart, .esh-btn-primary {
  background: var(--esh-accent); color: #fff; border: none; border-radius: 8px; min-height: 50px; padding: 0 24px;
  font: 800 14px var(--cr-font-head); text-transform: uppercase; transition: background-color .3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  line-height: 1.2; text-align: center; text-decoration: none;
}
/* Text vždy vertikálne/horizontálne na strede: Bootstrap d-block/d-inline-block (!important) by flex zrušil,
   a .esh a { color: inherit } by na <a> prebilo bielu farbu textu. */
.esh-btn-cart.d-block, .esh-btn-primary.d-block { display: flex !important; }
.esh-btn-cart.d-inline-block, .esh-btn-primary.d-inline-block { display: inline-flex !important; }
.esh a.esh-btn-cart, .esh a.esh-btn-primary { color: #fff; text-decoration: none; }
.esh .esh-btn-cart:hover, .esh .esh-btn-primary:hover { background: #000; color: #fff; }
.esh-btn-cart:disabled, .esh-btn-primary:disabled,
.esh .esh-btn-cart:disabled:hover, .esh .esh-btn-primary:disabled:hover { background: var(--cr-line); color: var(--cr-gray); cursor: not-allowed; }
/* Hviezdičky "Ohodnotiť" pri položke v detaile objednávky (6.10.2026): sivé, pri hover žlté; hodnotené = žlté. */
.esh-review-stars { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; vertical-align: middle; text-decoration: none; }
.esh-review-stars__text { font-size: 12px; line-height: 1; }
.esh-review-stars:not(.is-rated):hover svg { fill: #ffab00; }
/* Môj účet → Hodnotenia (6.10.2026): karta objednávky s produktmi. */
.esh-review-order__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--cr-line); background: #fafafa; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.esh-review-item { display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.esh-review-item + .esh-review-item { border-top: 1px solid var(--cr-line); }
.esh-review-item .min-w-0 { min-width: 0; }
/* Klikateľný riadok tabuľky (6.10.2026) — Môj účet → objednávky: každá bunka je odkaz na celú výšku. */
.esh-row-link { display: block; padding: .6rem .5rem; color: inherit; text-decoration: none; }
.esh a.esh-row-link { color: inherit; text-decoration: none; }
.esh-row-linked:hover > td { background: var(--esh-accent-soft); }
/* Malé tlačidlo (6.10.2026) — napr. Zaplatiť v riadku zoznamu objednávok v Mojom účte. */
.esh-btn-primary.esh-btn-xs { min-height: 30px; padding: 0 12px; font-size: 12px; border-radius: 6px; }
.esh-icon-btn {
  width: 50px; height: 50px; border-radius: 8px; border: 1px solid var(--cr-line); background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center;
}
.esh-icon-btn:hover { border-color: #000; }
.esh-add-cart { width: 38px; height: 36px; border-radius: 4px; background: var(--esh-accent); color: #fff; display: flex; align-items: center; justify-content: center; border: none; }
.esh-add-cart:hover { background: #000; }
.esh-add-cart:disabled, .esh-add-cart:disabled:hover { background: var(--cr-line); color: var(--cr-gray); cursor: not-allowed; }

.esh-wishlist-btn.active svg { fill: var(--esh-sale); }
.esh-wishlist-tip { position: fixed; z-index: 1100; transform: translate(-50%, -100%); margin-top: -8px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.esh-wishlist-hint { background: #000; color: #fff; font-size: .78rem; padding: 6px 10px; border-radius: 6px; width: max-content; max-width: 220px; text-align: center; }
.esh-wishlist-hint::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #000; }
.esh .esh-wishlist-hint a { color: #fff; text-decoration: underline; }
.esh-wishlist-picker { background: #fff; color: #000; border: 1px solid var(--cr-line); border-radius: 10px; padding: 10px 12px; width: 220px; text-align: left; }
.esh-wishlist-picker::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; }
.esh-wishlist-picker-heading { font-size: .7rem; text-transform: uppercase; color: var(--cr-gray); margin-bottom: 6px; }
.esh-wishlist-picker label { display: flex; align-items: center; gap: 8px; font-size: .85rem; padding: 4px 0; cursor: pointer; }
.esh .esh-wishlist-picker .esh-wishlist-picker-link { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--cr-line); font-size: .78rem; text-decoration: underline; }

.esh-stock-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; background: #a3ce4b; border: 1px solid #8baf41; }
.esh-stock-dot.out { background: #f05b4e; border-color: #d63c2e; }
.esh-stock-dot.backorder { background: #fbb857; border-color: #e09a35; }
.esh-price-lg { font-size: 30px; font-weight: 700; font-family: var(--cr-font-head); font-variant-numeric: tabular-nums; }
.esh-price-lg .esh-price-old { font-size: 15px; }

.esh-tabs .nav-link { border: 0; color: var(--cr-gray); font: 700 18px var(--cr-font-head); padding: 0; margin-right: 2.25rem; background: none; }
.esh-tabs .nav-link.active { color: #000; text-decoration: underline; background: none; }

.esh-form-card { background: #fff; border: 1px solid var(--cr-line); border-radius: 20px; padding: 28px; }
@media (max-width: 575.98px) { .esh-form-card { padding: 16px 12px; border-radius: 14px; } }

/* Košík (cart-page.php) na telefóne: menšie odsadenie buniek a +/− nad sebou vedľa počtu
   (8.10.2026) — ušetrí šírku, aby sa celý riadok vrátane koša zmestil. */
@media (max-width: 575.98px) {
  .esh-cart-page-table > :not(caption) > * > * { padding: 10px 4px; }
  .esh-cart-page-table .esh-cart-item-img { width: 44px !important; height: 44px !important; }
  .esh-cart-page-table .esh-cart-item-title { font-size: 13px; line-height: 16px; }
  .esh-cart-page-table .esh-cart-remove { padding: 2px; }
  .esh-cart-page-table .esh-qty {
    display: inline-grid !important; grid-template-columns: 34px 24px; grid-template-rows: 22px 22px;
  }
  .esh-cart-page-table .esh-qty input { grid-column: 1; grid-row: 1 / span 2; width: 34px; height: 44px; border-left: 0; }
  .esh-cart-page-table .esh-qty [data-cart-qty-increase] { grid-column: 2; grid-row: 1; width: 24px; height: 22px; border-bottom: 1px solid var(--cr-line); }
  .esh-cart-page-table .esh-qty [data-cart-qty-decrease] { grid-column: 2; grid-row: 2; width: 24px; height: 22px; }
  .esh-cart-page-table .esh-qty button svg { width: 10px; height: 10px; }
}
.esh-form-card .btn-sm > svg:only-child { display: block; }
.esh .form-control, .esh .form-select { border-color: var(--cr-line); border-radius: 6px; min-height: 44px; }
.esh .form-control:focus, .esh .form-select:focus { border-color: #000; box-shadow: none; }
.esh .form-check-input:checked { background-color: #000; border-color: #000; }
.esh .btn-dark, .esh .btn-primary { background: var(--esh-accent); border-color: var(--esh-accent); border-radius: 8px; font-family: var(--cr-font-head); font-weight: 800; text-transform: uppercase; font-size: 14px; }
.esh .btn-dark:hover, .esh .btn-primary:hover { background: #000; border-color: #000; }
.esh .btn-outline-dark { border-radius: 8px; font-family: var(--cr-font-head); font-weight: 700; }
.esh .nav-pills .nav-link.active { background: #000; }
.esh .nav-pills .nav-link { color: #000; }

.esh-review { display: flex; gap: 14px; padding-top: 16px; border-top: 1px solid var(--cr-light); }
.esh-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eee; color: #000; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* Filtre — zdieľané triedy (vyhľadávanie ich nepoužíva, ponechané pre kompatibilitu šablón) */
.esh-filter-option { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--cr-gray); cursor: pointer; padding: 3px 0; }
.esh-filter-option input { accent-color: #000; }

/* Animácie — pridanie do košíka */
@keyframes esh-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.esh-added { animation: esh-pop .35s ease; background: #000 !important; }
@keyframes esh-bump { 0% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.45); } 100% { transform: translate(-50%, -50%) scale(1); } }
.esh-badge-count.esh-bump { animation: esh-bump .4s ease; }

/* Výber hviezdičiek (Môj účet → Hodnotenia) — radio 5..1 v DOM + row-reverse. */
.esh-rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.esh-rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.esh-rating-input label { cursor: pointer; color: #e1e1e1; line-height: 0; }
.esh-rating-input label svg { fill: currentColor; }
.esh-rating-input input:checked ~ label,
.esh-rating-input label:hover,
.esh-rating-input label:hover ~ label { color: #ffab00; }
.esh-rating-input input:focus-visible + label { outline: 2px solid #000; outline-offset: 2px; border-radius: 4px; }

/* Listing produktov výrobcu /manufacturer/{slug}/ (2.10.2026, includes/eshop/manufacturer.php) */
.esh-manufacturer-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.esh-manufacturer-logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; }

/* Tlačidlo "Použiť kupón" v checkoute (8.10.2026, na žiadosť) — zelené namiesto šedého outline. */
#esh-chk-coupon-apply { background: #a3ce4b; border-color: #8baf41; color: #000; font-weight: 700; }
#esh-chk-coupon-apply:hover, #esh-chk-coupon-apply:focus-visible { background: #8baf41; border-color: #7a9c36; color: #000; }
#esh-chk-coupon-apply:disabled { background: #a3ce4b; border-color: #8baf41; color: #000; opacity: .65; }

/* ── Checkout krok 1 v sekciách Doprava → Platba → Moje údaje (8.10.2026, includes/eshop/checkout.php) ──
   Stavy sekcie (assets/js/checkout.js): is-open (rozbalená), is-done (zbalená do zhrnutia + Zmeniť),
   is-locked (ešte nedostupná). Riadok dopravy/platby .esh-chk-option je klikateľný celý. */
.esh-chk-step { padding: 22px 24px; transition: opacity .2s; }
@media (max-width: 575.98px) { .esh-chk-step { padding: 16px 14px; } }
.esh-chk-step-head { display: flex; align-items: flex-start; gap: 14px; }
.esh-chk-step.is-done .esh-chk-step-head { cursor: pointer; }
.esh-chk-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: #000; color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font: 800 14px var(--cr-font-head);
}
.esh-chk-step-num svg { display: none; }
.esh-chk-step.is-done .esh-chk-step-num { background: var(--esh-accent); }
.esh-chk-step.is-done .esh-chk-step-num span { display: none; }
.esh-chk-step.is-done .esh-chk-step-num svg { display: block; }
.esh-chk-step.is-locked { opacity: .55; }
.esh-chk-step.is-locked .esh-chk-step-num { background: var(--cr-line); color: var(--cr-gray); }
.esh-chk-step-main { flex: 1; min-width: 0; }
.esh-chk-step-title { font: 800 16px/32px var(--cr-font-head); text-transform: uppercase; margin: 0; }
.esh-chk-step-summary { font-size: 14px; line-height: 1.45; }
.esh-chk-step-summary:empty { display: none; }
.esh-chk-step-edit { display: none; background: none; border: 0; padding: 6px 0; font-size: 13px; font-weight: 700; color: #000; text-decoration: underline; flex-shrink: 0; }
.esh-chk-step.is-done .esh-chk-step-edit { display: inline-block; }
.esh-chk-step-body { display: none; margin-top: 18px; }
.esh-chk-step.is-open .esh-chk-step-body { display: block; }

.esh-chk-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 8px; cursor: pointer;
  border: 1px solid var(--cr-line); border-radius: 12px; transition: border-color .2s, background-color .2s;
}
.esh-chk-option:last-child { margin-bottom: 0; }
.esh-chk-option:hover { border-color: #000; }
.esh-chk-option:has(input:checked) { border-color: var(--esh-accent-dark); background: var(--esh-accent-soft); }
.esh-chk-option > .form-check-input { margin: 0; flex-shrink: 0; width: 1.2em; height: 1.2em; cursor: pointer; }
.esh-chk-option-main { flex: 1; min-width: 0; }
.esh-chk-option-name { font-weight: 700; font-size: 15px; }
.esh-chk-option > .esh-price { white-space: nowrap; font-weight: 700; margin-left: auto; }
.esh-chk-option .esh-chk-pickup { cursor: default; }
@media (max-width: 575.98px) {
  .esh-chk-option { padding: 10px 12px; gap: 10px; }
  .esh-chk-option .esh-chk-carrier-logo { width: 44px; height: 44px; }
}

/* Bočné zhrnutie: na desktope pláva vpravo pod sticky hlavičkou. */
@media (min-width: 992px) { .esh-chk-summary { position: sticky; top: 110px; } }
.esh-chk-summary-items { max-height: 240px; overflow-y: auto; }
.esh-chk-sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.esh-chk-coupon-toggle { background: none; border: 0; padding: 0; font-size: 14px; color: #000; text-decoration: underline; text-align: left; }
.esh-chk-coupon-toggle:hover { color: var(--esh-accent-dark); }
.esh-btn-primary.esh-btn-lg { min-height: 60px; font-size: 16px; border-radius: 10px; }
.esh-btn-primary.esh-btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; border-radius: 6px; }
/* Tlačidlo Objednať v bočnom zhrnutí checkoutu (8.10.2026): "s povinnosťou platby" menším písmom priamo na tlačidle
   (zákon o ochrane spotrebiteľa — povinnosť platby musí byť uvedená na tlačidle). */
.esh-btn-primary.esh-chk-finish-btn { flex-direction: column; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
.esh-chk-finish-btn small { font: 600 12px var(--cr-font-head); text-transform: none; opacity: .9; }
/* Mini obrázok produktu v bočnom zhrnutí checkoutu (8.10.2026). */
.esh-chk-sum-item { align-items: center; }
.esh-chk-sum-thumb { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--cr-line); border-radius: 6px; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--cr-gray); }
.esh-chk-sum-thumb picture, .esh-chk-sum-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Modal "Pridané do košíka" (8.10.2026, includes/eshop/_cart_added_modal.php, zap./vyp. na značke). */
.esh-added-modal .modal-content { border: 0; border-radius: 20px; }
.esh-added-modal .modal-header { border-bottom: 1px solid var(--cr-line); padding: 18px 24px; }
.esh-added-modal .modal-title { font: 800 18px var(--cr-font-head); text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin: 0; }
.esh-added-modal .modal-title svg { color: var(--esh-accent); stroke-width: 3; }
.esh-added-modal .modal-body { padding: 20px 24px; }
.esh-added-modal .modal-footer { border-top: 0; padding: 0 24px 24px; gap: 10px; justify-content: space-between; }
.esh-added-modal .modal-footer > * { margin: 0; flex: 1 1 auto; }
.esh-added-item { display: flex; align-items: center; gap: 16px; }
.esh-added-img { width: 90px; height: 90px; flex-shrink: 0; border: 1px solid var(--cr-line); border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.esh-added-img img { width: 100%; height: 100%; object-fit: contain; }
.esh-added-info { flex: 1; min-width: 0; }
.esh .esh-added-name { font-weight: 700; font-size: 15px; line-height: 1.3; color: #000; text-decoration: none; display: block; }
.esh .esh-added-name[href]:hover { text-decoration: underline; }
.esh-added-qty { font-size: 13px; color: var(--cr-gray); margin-top: 4px; }
.esh-added-price { font: 700 18px var(--cr-font-head); white-space: nowrap; }
/* Sivé tlačidlo (Zavrieť) — rovnaký tvar ako .esh-btn-primary. */
.esh-btn-secondary {
  background: #e9e9e9; color: #000; border: none; border-radius: 8px; min-height: 50px; padding: 0 24px;
  font: 800 14px var(--cr-font-head); text-transform: uppercase; transition: background-color .3s;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.esh-btn-secondary:hover { background: #d6d6d6; }
@media (max-width: 575.98px) {
  .esh-added-item { flex-wrap: wrap; }
  .esh-added-img { width: 70px; height: 70px; }
  .esh-added-price { width: 100%; text-align: right; }
  .esh-added-modal .modal-footer { flex-direction: column-reverse; }
  .esh-added-modal .modal-footer > * { width: 100%; }
}

/* Omnibus (8.10.2026) — vysvetlenie preškrtnutej ceny pod cenou na detaile produktu. */
.esh-price-omnibus { font-size: .8rem; color: var(--esh-ink-soft, #6c757d); }

/* ── Popis kategórie nad zoznamom (9.10.2026, includes/eshop/_category_description.php) ──
   Zbalené = 2 riadky plynulého textu (nadpisy a odstavce v riadku za sebou), rozbalené = celý článok. */
.esh-cat-desc { margin: 0 0 1.5rem; max-width: 1100px; }
.esh-cat-desc__text { line-height: 1.5; }
.esh-cat-desc__text img { max-width: 100%; height: auto; }
.esh-cat-desc:not(.is-open) .esh-cat-desc__text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.esh-cat-desc:not(.is-open) .esh-cat-desc__text > * {
  display: inline; font-size: inherit; line-height: inherit; margin: 0; padding: 0; text-transform: none;
}
.esh-cat-desc:not(.is-open) .esh-cat-desc__text > :is(h1, h2, h3, h4, h5, h6) { font-weight: 700; }
.esh-cat-desc:not(.is-open) .esh-cat-desc__text > *::after { content: " "; }
.esh-cat-desc:not(.is-open) .esh-cat-desc__text :is(img, table, iframe, ul, ol) { display: none; }
.esh-cat-desc__toggle {
  background: none; border: 0; padding: 4px 0 0; font-size: 14px; font-weight: 600;
  color: var(--esh-accent, currentColor); text-decoration: underline; cursor: pointer;
}
.esh-cat-desc__toggle:hover { color: var(--esh-accent-dark, currentColor); }
/* creActive: rozbalený popis v štýle pôvodného .cr-about (nadpisy veľkými písmenami), odkaz čierny. */
.esh-cat-desc.is-open .esh-cat-desc__text :is(h1, h2, h3) { text-transform: uppercase; }
.esh-cat-desc.is-open .esh-cat-desc__text h1 { font-size: 32px; }
.esh-cat-desc.is-open .esh-cat-desc__text h2 { font-size: 25px; margin-top: 20px; }
.esh-cat-desc.is-open .esh-cat-desc__text p { line-height: 24px; margin-bottom: 12px; }
.esh-cat-desc__toggle, .esh-cat-desc__toggle:hover { color: #000; }

/* Hláška "Max. N ks – viac nemáme skladom" pod poľom množstva (12.10.2026, assets/js/cart.js showStockHint).
   position: fixed — JS ju umiestni pod pole, nad kartou aj nad panelom košíka (offcanvas 1045). */
.esh-stock-hint { position: fixed; z-index: 1090; max-width: 240px; padding: 6px 10px; border-radius: 6px;
  background: #b42318; color: #fff; font-size: 12px; line-height: 1.35; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); pointer-events: none; animation: esh-hint-in .15s ease; }
.esh-stock-hint::before { content: ""; position: absolute; top: -5px; left: var(--esh-hint-arrow, 50%); margin-left: -5px;
  border: 5px solid transparent; border-top: 0; border-bottom-color: #b42318; }
@keyframes esh-hint-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.esh-added-stock { margin-bottom: 14px; padding: 8px 12px; border-radius: 8px; background: #fef3f2; color: #b42318;
  border: 1px solid #fecdca; font-size: 13px; font-weight: 600; }
