/* ===============================================================
   CM pepper – vlastné štýly pre Shoptet (cmp-7.css)
   Načítava sa z kódu hlavičky. Pri zmene nahraj nový súbor s vyšším
   číslom (cmp-7.css) a v hlavičke zmeň odkaz – Shoptet súbor neprepíše.
   ===================================================================== */

/* ===== Základ: písmo, hlavička, produkty, pätička (pôvodne kód hlavičky) ===== */
:root{--template-font:Inter;--template-headings-font:Inter}
/* Skrytie prihlásenia (desktop aj mobil) */
.site-login, .header-login, .login-widget, .top-nav-button-login,
.navigation-login, .navigation-window a[href*="/prihlasenie/"],
.navigation-window a[href*="/login/"] {
display: none !important;
}

/* Skrytie položky "Prihlásenie" v mobilnom menu */
.navigationActions li:has(a[href*="/login/"]),
.navigationActions a[href*="/login/"] {
display: none !important;
}

/* Skrytie hornej lišty so stránkami (obchodné podmienky atď. sú v pätičke) */
.top-navigation-bar .top-navigation-menu {
display: none !important;
}

/* Hodiny na volanie pri telefóne v pätičke */
.contact-box .cellphone a::after {
content: " (9:00 – 16:00)";
}

.in-index .content-wrapper {
padding-top: 0.6em !important;
}

/* Odstránenie prázdnej medzery nad nadpisom na produktových a ostatných stránkach */
body:not(.in-index) .content-wrapper,
body:not(.in-index) #content,
body:not(.in-index) main,
body:not(.in-index) .p-detail {
padding-top: 0 !important;
margin-top: 0 !important;
}
body:not(.in-index) .breadcrumbs-wrapper,
body:not(.in-index) .breadcrumbs {
margin: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
min-height: 0 !important;
}
body:not(.in-index) h1 {
margin-top: 0.2em !important;
padding-top: 0 !important;
}

/* Logo – mobil: menšie, aby nepretŕčalo z hlavičky */
@media (max-width: 767px) {
.site-name img, .header-logo img, #header .logo img {
max-height: 45px !important;
padding-top: 5px !important;
}
}
/* Logo – počítač: väčšie */
@media (min-width: 768px) {
.site-name img, .header-logo img, #header .logo img {
max-height: 65px !important;
padding-top: 0 !important;
}
}

/* Prefarbenie modrého štítku zľavy na tehlovú */
.flag.flag-action, .flag.flag-discount {
background-color: #C1664A !important;
}

/* Skrytie ikoniek Opýtať sa a Zdieľať na detaile produktu */
.social-buttons-wrapper, .social-buttons, .product-socials {
display: none !important;
}

/* Primerané zväčšenie pôvodnej ceny (bez zalomenia v krúžku) */
.price-standard, .price-save, .discount-percentage {
font-size: 1.15em !important;
}
.price-standard span {
font-size: inherit !important;
}
.flag .price-standard, .flag .price-standard span {
font-size: 1em !important;
}

/* Skrytie nadpisu "Podrobný popis" v detaile produktu */
#description h3:first-of-type, .tab-content h3:first-of-type,
.product-detail-description h2:first-of-type, .description-title,
#description h2:first-of-type, .extended-description h2:first-of-type {
display: none !important;
}

/* Krátky popis na detaile produktu – väčšie písmo (šablóna má základ 10px, preto px namiesto rem) */
.type-detail .p-short-description,
.type-detail .p-short-description p,
.type-detail .p-short-description li,
.type-detail .p-short-description span {
font-size: 16px !important;
line-height: 1.6 !important;
}

/* Dlhý popis dole */
.type-detail #description p,
.type-detail #description li,
.type-detail .basic-description p,
.type-detail .basic-description li {
font-size: 16px !important;
line-height: 1.6 !important;
}

/* Hlavný obrázok na mobile: oreže biele pásy a fotku mierne priblíži */
@media (max-width: 767px) {
.type-detail .p-image {
overflow: hidden;
}
.type-detail .p-image .p-main-image img {
width: 100% !important;
height: auto !important;
aspect-ratio: 1 / 1;
object-fit: cover;
transform: scale(1.12);
}
}

/* Dlaždice podkategórií (horný popis kategórie Kampotské korenie) */
.cmp-subcats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin: 10px 0 30px;
}
.cmp-subcat {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid #e5e0da;
text-decoration: none !important;
color: #2b2522 !important;
transition: box-shadow .2s, transform .2s;
}
.cmp-subcat:hover {
box-shadow: 0 6px 18px rgba(0,0,0,.12);
transform: translateY(-2px);
}
.cmp-subcat__img {
display: block;
aspect-ratio: 16 / 10;
overflow: hidden;
}
.cmp-subcat__img img {
width: 100%;
height: 100%;
object-fit: contain;
padding: 8px;
background: #fff;
display: block;
}
.cmp-subcat__title {
display: block;
padding: 12px 14px 4px;
font-size: 17px;
font-weight: 700;
color: #C1664A;
}
.cmp-subcat__text {
display: block;
padding: 0 14px 14px;
font-size: 14px;
line-height: 1.5;
}
@media (max-width: 767px) {
.cmp-subcats {
grid-template-columns: 1fr;
gap: 10px;
}
.cmp-subcat {
display: grid;
grid-template-columns: 96px 1fr;
grid-template-rows: 1fr 1fr;
}
.cmp-subcat__img {
grid-row: 1 / 3;
aspect-ratio: 1 / 1;
}
.cmp-subcat__title {
align-self: end;
padding: 0 12px 2px;
font-size: 16px;
}
.cmp-subcat__text {
align-self: start;
padding: 0 12px;
font-size: 13px;
}
}
/* Nová pätička (HTML je v kóde pätičky) */
#footer.cmp-has-footer { background: #2C2520; color: #e9e2dc; }
#footer.cmp-has-footer .footer-rows { display: none !important; }
.cmp-footer { max-width: 1180px; margin: 0 auto; padding: 50px 20px 30px; }
.cmp-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 30px; }
.cmp-footer h4 { color: #fff; font-size: 18px; margin: 0 0 16px; }
.cmp-footer a { display: block; color: #e9e2dc !important; margin: 0 0 9px; font-size: 15px; text-decoration: none !important; }
.cmp-footer a:hover { color: #C1664A !important; }
.cmp-footer p, .cmp-footer__hours { font-size: 14px; line-height: 1.55; color: #cfc6be; margin: 0 0 16px; }
.cmp-footer__hours { display: block; margin: -4px 0 9px; }
.cmp-footer__logo { width: 170px; height: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 12px; }
.cmp-footer__social { display: flex; gap: 12px; margin-bottom: 18px; }
.cmp-footer__social a { display: flex; width: 38px; height: 38px; margin: 0; border-radius: 50%; background: #fff; align-items: center; justify-content: center; }
.cmp-footer__social svg { width: 18px; height: 18px; fill: #2C2520; }
.cmp-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-footer__pay span { background: #fff; color: #2C2520; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 4px; }
.cmp-footer__badges { display: flex; gap: 14px; margin-top: 18px; }
.cmp-footer__badges img{width:80px;height:auto}
.cmp-footer__badges img[src*=trademark]{clip-path:circle(37.5px at 38.6px 38.6px)}
.cmp-footer__badges img[src*=kampot]{clip-path:circle(37.5px at 37.9px 37.9px)}
#footer.cmp-has-footer .footer-bottom { background: #2C2520 !important; border-top: 1px solid rgba(255,255,255,.12); color: #a99f97; }
#footer.cmp-has-footer .footer-bottom a { color: #cfc6be !important; }
.ordering-process .cmp-footer { background: #2C2520; box-shadow: 0 0 0 100vmax #2C2520; clip-path: inset(0 -100vmax); margin-top: 40px; }
#shipping-75 b::after,#shipping-78 b::after{display:block;font-weight:400;font-size:13px;text-transform:none}#shipping-75 b::after{content:"Kuriér – doručenie na adresu"}#shipping-78 b::after{content:"Výdajné miesto alebo Z-BOX"}#shipping-75 .question-tooltip,#shipping-78 .question-tooltip{display:none}
@media (max-width: 991px) { .cmp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .cmp-footer__grid { grid-template-columns: 1fr; gap: 24px; } .cmp-footer { padding: 36px 20px 20px; } }
/* Oznámenie „Produkt bol pridaný…“ – malé okno vpravo dole */
.messages{top:auto!important;bottom:20px;left:auto!important;right:20px;width:auto!important;max-width:360px}
.messages .msg{padding:12px 18px;font-size:14px;border-radius:6px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.messages .msg-success{background:#4A7C59}
.messages .container{width:auto;padding:0}
.messages a{color:#fff;text-decoration:underline}
@media(max-width:767px){.messages{left:12px!important;right:12px;bottom:12px;max-width:none}}
.cmp-vs__side strong{display:flex;align-items:flex-end;justify-content:center;min-height:2.6em;line-height:1.3}

/* ===== Doplnky: farby, porovnanie, dlaždice, menu, najpredávanejšie (pôvodne kód pätičky) ===== */
@media (min-width:768px){.cmp-subcat{display:grid;grid-template-columns:110px 1fr;grid-template-rows:1fr 1fr}.cmp-subcat__img{grid-row:1 / 3;aspect-ratio:1 / 1}.cmp-subcat__title{align-self:end;padding:0 14px 2px;font-size:16px}.cmp-subcat__text{align-self:start;padding:0 14px;font-size:13px}}
:root{--colors-tags-blue:#C1664A !important;--colors-tags-turquoise:#2C2520 !important;--colors-state-informative:#C1664A !important;--colors-forms-informative:#C1664A !important;--colors-focus-primary:#9E513A !important}
.msg.msg-info{background-color:#C1664A !important;border-color:#9E513A !important}
.js-validator-msg.msg-info{color:#C1664A !important}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#C1664A !important}
.product .image img{width:100% !important;height:auto !important;aspect-ratio:1 / 1;object-fit:cover}
.welcome div{max-width:none !important}
.welcome>div{margin-left:0 !important;margin-right:0 !important}
.cmp-why{background:transparent;padding:40px 30px;margin:20px 0 40px;text-align:center}
.cmp-why__title{margin:0 0 12px;font-size:28px;color:#2C2520}
.cmp-why__intro{max-width:720px;margin:0 auto 28px;font-size:16px;line-height:1.6}
.cmp-why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:left}
.cmp-why__item{background:#fff;padding:22px 20px;border-top:3px solid #C1664A}
.cmp-why__icon{font-size:28px;display:block;margin-bottom:8px}
.cmp-why__item h3{margin:0 0 8px;font-size:17px;color:#C1664A}
.cmp-why__item p{margin:0;font-size:14px;line-height:1.55}
.cmp-why__cta{margin:28px 0 0}
.cmp-why__btn{display:inline-block;background:#C1664A;color:#fff !important;padding:12px 26px;font-weight:700;text-decoration:none !important;margin:0 12px 8px 0}
.cmp-why__btn:hover{background:#9E513A}
.cmp-why__link{color:#2C2520 !important;font-weight:600}
@media (max-width:991px){.cmp-why__grid{grid-template-columns:repeat(2,1fr)}}
.type-detail .basic-description{font-size:16px !important;line-height:1.6 !important}
.type-detail .basic-description span{font-size:inherit !important}
.banner-wrapper:has(img[src*="gemini_generated_image_e8tg8"]),.banners-row:has(img[src*="gemini_generated_image_e8tg8"])>div:has(img[src*="gemini_generated_image_e8tg8"]){display:none !important}
.cmp-vs{margin:10px 0 30px;text-align:center}
.cmp-vs__title{margin:0 0 20px;font-size:28px;color:#2C2520}
.cmp-vs__grid{display:grid;grid-template-columns:1fr 1.3fr 1fr;align-items:center;gap:20px}
.cmp-vs__side img{width:100%;max-width:220px;height:auto;display:block;margin:10px auto 0;border-radius:50%}
.cmp-vs__side strong{font-size:20px;color:#2C2520}
.cmp-vs__list{list-style:none;margin:0;padding:0}
.cmp-vs__list li{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e0da;font-size:16px;font-weight:600}
.cmp-vs__ok,.cmp-vs__no{width:28px;height:28px;line-height:28px;border-radius:50%;color:#fff;font-size:15px}
.cmp-vs__ok{background:#4A7C59}
.cmp-vs__no{background:#C1664A}
@media (max-width:767px){.cmp-vs__grid{grid-template-columns:1fr 1fr}.cmp-vs__list{grid-column:1 / 3;grid-row:2}.cmp-vs__side strong{font-size:16px}.cmp-vs__title{font-size:23px}}
@media (max-width:575px){.cmp-why{padding:28px 16px}.cmp-why__title{font-size:23px}.cmp-why__grid{grid-template-columns:1fr;gap:12px}}
.cmp-why{display:none !important}
.form-group:has(.login-button),.form-group:has(#set-registration){display:none!important}
@media(min-width:768px){.products .p .ratings-wrapper{min-height:0;padding-bottom:8px;justify-content:flex-start}.products .p .availability{text-align:left}.products .p .name{margin-bottom:6px}}
.position--benefitCategory{display:none!important}
@media(max-width:767px){#navigation .menu-level-1>li>a b{font-weight:400!important}#navigation .menu-level-1>li:is(.menu-item-741,.menu-item-708,.menu-item-738)>a b{font-weight:700!important}}
.cmp-clip{max-height:340px;overflow:hidden;position:relative}
.cmp-clip:after{content:"";position:absolute;left:0;right:0;bottom:0;height:140px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.cmp-more{display:block;margin:12px 0 0;background:#fff;border:1px solid #C1664A;color:#C1664A;padding:9px 24px;font-weight:600;cursor:pointer}
@media(max-width:767px){.cmp-vs__side strong{min-height:3.9em}}
.id-708 .products-top .product:nth-child(n+2),.id-711 .products-top .product:nth-child(n+2),.id-750 .category-top,.toggle-top-products{display:none!important}

/* ===================================================================
   NOVÉ (cmp-1): horná lišta, pripnuté tlačidlo na mobile,
   „Často kupované spolu“
   Breakpointy: mobil < 576 px, tablet 576–991 px, PC ≥ 992 px
   =================================================================== */

/* ----- Horná lišta (text sa mení v kóde pätičky v Shoptete) ----- */
.cmp-topbar{background:#111;color:#fff;text-align:center;font-size:14px;line-height:1.35}
.cmp-topbar[hidden]{display:none!important}
.cmp-topbar a{display:block;padding:9px 16px;color:#fff!important;text-decoration:none!important}
.cmp-topbar a:hover .cmp-tb-cta{color:#e9a48d}
.cmp-topbar strong{letter-spacing:.08em;font-weight:700}
.cmp-tb-badge{display:inline-block;background:#C1664A;color:#fff;font-weight:700;padding:2px 8px;border-radius:3px;margin:0 6px;white-space:nowrap}
.cmp-tb-cta{text-decoration:underline;margin-left:10px;white-space:nowrap}
.cmp-tb-m{display:none}
/* tablet: bez textu o doprave */
@media (max-width:991px){.cmp-tb-extra{display:none}}
/* mobil: krátka verzia */
@media (max-width:575px){
  .cmp-topbar{font-size:13px}
  .cmp-topbar a{padding:8px 12px}
  .cmp-tb-d{display:none}
  .cmp-tb-m{display:inline}
  .cmp-tb-cta{margin-left:6px}
}
/* v objednávke (košík, doprava, údaje) lištu neukazujeme */
.ordering-process .cmp-topbar{display:none!important}

/* ----- Pripnuté „Pridať do košíka“ na mobile (detail produktu) ----- */
.cmp-sticky{position:fixed;left:0;right:0;bottom:0;z-index:1002;display:flex;align-items:center;gap:12px;background:#fff;box-shadow:0 -4px 16px rgba(0,0,0,.15);padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform .25s ease;visibility:hidden}
.cmp-sticky.is-on{transform:none;visibility:visible}
.cmp-sticky__info{flex:1;min-width:0}
.cmp-sticky__name{font-size:13px;line-height:1.3;color:#2C2520;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-sticky__price{font-size:18px;font-weight:700;color:#2C2520;line-height:1.3}
.cmp-sticky__btn{flex:none;padding:12px 18px!important;font-size:15px!important;white-space:nowrap;margin:0!important}
body.cmp-sticky-on{padding-bottom:72px}
body.cmp-sticky-on .messages{bottom:84px!important}
@media (min-width:768px){.cmp-sticky{display:none!important}}

/* ----- Často kupované spolu (pod popisom produktu) ----- */
.cmp-fbt{clear:both;margin:32px 0 8px}
.cmp-fbt__title{font-size:22px;margin:0 0 16px;color:#2C2520}
.cmp-fbt .products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0!important}
.cmp-fbt .product{width:auto!important;max-width:none!important;flex:none!important;float:none!important;margin:0!important;padding:0!important;border:1px solid #eee6df!important}
.cmp-fbt .product .p{padding:10px!important}
.cmp-fbt .product,.cmp-fbt .p,.cmp-fbt .image{position:relative}
@media (max-width:991px){.cmp-fbt .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){
  .cmp-fbt__title{font-size:19px}
  .cmp-fbt .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cmp-fbt .product .p{padding:8px!important}
}

/* ---------- Popis produktu rozdelený na sekcie (cmp-3) ----------
   PC (od 992 px): 2 stĺpce, tablet a mobil: 1 stĺpec.
   Dlhá sekcia je skrátená na ~170 px a má „Čítať ďalej“. */
.cmp-secs{display:grid;grid-template-columns:1fr;gap:16px;align-items:start;margin:8px 0 0;width:100%;clear:both}
@media (min-width:992px){.cmp-secs{grid-template-columns:1fr 1fr;gap:20px}.cmp-sec--wide{grid-column:1/-1}}
.cmp-secs>h2,.cmp-secs>h3,.cmp-secs>h4{grid-column:1/-1;margin:8px 0 0 !important}
.cmp-sec{background:#FAF6F2;border-radius:10px;padding:20px 22px 16px;min-width:0}
/* nadpis sekcie musí byť viditeľný (vyššie je pravidlo, ktoré skrýva prvý nadpis „Podrobný popis“) */
#description .cmp-sec>h2,#description .cmp-sec>h3,#description .cmp-sec>h4,
.basic-description .cmp-sec>h2,.basic-description .cmp-sec>h3,.basic-description .cmp-sec>h4{display:block !important}
.cmp-sec>h2,.cmp-sec>h3,.cmp-sec>h4{margin:0 0 10px !important;font-size:19px !important;font-weight:700 !important;line-height:1.3 !important}
.cmp-sec__txt{position:relative}
.cmp-sec__txt>p:first-child{margin-top:0}
.cmp-sec__txt>p:last-child{margin-bottom:0}
.cmp-sec--clip .cmp-sec__txt{max-height:170px;overflow:hidden}
.cmp-sec--clip .cmp-sec__txt:after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(rgba(250,246,242,0),#FAF6F2);pointer-events:none}
.cmp-sec.cmp-open .cmp-sec__txt{max-height:none}
.cmp-sec.cmp-open .cmp-sec__txt:after{display:none}
.cmp-sec__more{display:inline-block;background:none;border:0;padding:10px 0 2px;margin:0;color:#C1664A;font-weight:600;font-size:15px;cursor:pointer}
.cmp-sec__more:after{content:" ↓"}
.cmp-sec.cmp-open .cmp-sec__more:after{content:" ↑"}
.cmp-sec__more:hover{text-decoration:underline}
@media (max-width:575px){.cmp-sec{padding:16px 16px 12px}.cmp-sec>h2,.cmp-sec>h3,.cmp-sec>h4{font-size:17px !important}}

/* ---------- Pätička – logá platieb a dopravcov (cmp-5) ----------
   HTML je v kóde pätičky (.cmp-footer__trust). Logá sú z CDN Shoptetu. */
.cmp-footer__trust{margin-top:18px}
.cmp-footer__label{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#a99f97;margin:14px 0 8px}
.cmp-footer__trust .cmp-footer__label:first-child{margin-top:0}
.cmp-footer__pay{align-items:center}
.cmp-footer__pay .cmp-logo{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 8px;min-width:46px;box-sizing:border-box}
.cmp-footer__pay .cmp-logo img{display:block;height:20px;width:auto;max-width:72px}
.cmp-footer__pay .cmp-logo--wide img{height:14px}
.cmp-footer__pay span:not(.cmp-logo){display:inline-flex;align-items:center;height:30px;box-sizing:border-box}
.cmp-footer__pay .cmp-logo--ship{padding:0 4px}
.cmp-footer__pay .cmp-logo--ship img{height:28px;max-width:64px}

/* ---------- Často kupované spolu – štítok „Akcia“ na fotke (cmp-7) ----------
   Rovnako ako v kategóriách: ľavý horný roh obrázka. */
.cmp-fbt .product .image{position:relative}
.cmp-fbt .product .flags-default{position:absolute;top:0;left:0;z-index:2;display:block}
.cmp-fbt .product .flags-default .flag{font-size:13px;padding:4px 8px}
