/* Ma-matcha – vzhled e-shopu. Jeden soubor se všemi úpravami. Verze 5 (21. 11. 2026) */

/* Původní styly + kroky 1, 2, 7, 8, 9 */
html,body,h1,h2,h3,h4,h5,h6,p,a,li,button,input,label{font-family:"Roboto Slab",serif!important}:root{--radius-carousel:18px;--radius-banners:18px}.carousel,.carousel .carousel-item{border-radius:var(--radius-carousel)!important}.normal-banners-line .banner-wrapper,.normal-banners-line .banner-wrapper a,.normal-banners-line .banner-wrapper img,.normal-banners-line .banner-wrapper .extended-banner-texts{border-radius:var(--radius-banners)!important}@media (max-width:768px){:root{--radius-carousel:20px;--radius-banners:20px}}.normal-banners-line .banner-wrapper .extended-banner-title span{font-size:inherit!important}@media (max-width:767.98px){.carousel .carousel-item .carousel-text h2,.carousel .carousel-item .carousel-text .extended-banner-title{font-size:clamp(28px,7vw,36px)!important;line-height:1.15!important}.carousel .carousel-item .carousel-text p,.carousel .carousel-item .carousel-text .extended-banner-text{font-size:clamp(15px,4.6vw,18px)!important;line-height:1.3!important;margin-top:4px!important}}html,body{font-size:18px!important;line-height:1.55!important}p,li,label,input,button{font-size:1rem!important}#navigation ul li a,.navigation ul li a{font-size:1rem!important}h1{font-size:2.2rem!important}h2{font-size:1.9rem!important}h3{font-size:1.6rem!important}h4{font-size:1.35rem!important}.extended-banner-title{font-size:2rem!important}.extended-banner-text{font-size:1.1rem!important}@media (max-width:767px){html,body{font-size:19px!important}p,li,label{font-size:1.05rem!important}}.benefits-banners-line,.benefits-banners-line .detail-benefits{border-radius:var(--radius-banners)!important;overflow:hidden!important}.benefit-banner{border-radius:var(--radius-banners)!important}#header .navigation-buttons .btn.cart-count,#header .navigation-buttons .btn.cart-count span{color:#ffffff!important}.newsletter h4.topic{font-size:0!important;line-height:0!important;margin:0!important;padding:0!important}.newsletter h4.topic::after{content:"Staň se součástí komunity";display:block;text-align:center;font-size:3rem!important;font-weight:800;line-height:1.2;margin-bottom:25px;color:#111}@media (min-width:768px){body.template-11 .banners-row>.col-sm-8,body.template-11 .banners-row>.col-sm-4{flex:0 0 100%!important;max-width:100%!important;width:100%!important;float:none!important}body.template-11 .next-to-carousel-banners .normal-banners-line{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;height:auto!important;margin-top:16px}body.template-11 .next-to-carousel-banners .banner-wrapper{width:auto!important;max-width:none!important;height:260px!important;margin:0!important;float:none!important}body.template-11 .next-to-carousel-banners .banner-wrapper a,body.template-11 .next-to-carousel-banners .banner-wrapper img{width:100%!important;height:100%!important;object-fit:cover}body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-title{font-size:24px!important;line-height:1.2!important}body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-text{font-size:15px!important;line-height:1.35!important}body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-texts{padding:18px!important}}:root{--mm-r:18px;--mm-r-sm:12px}html body.template-11 :is(.btn.btn,.add-to-cart-button.add-to-cart-button,input[type=submit],input[type=button],.extended-banner-link,.pagination a,.pagination strong,.flag.flag){border-radius:999px!important}html body.template-11 :is(.product,.products .p,.p .image,.p .image img,.p-detail .p-image-wrapper.p-image-wrapper,.p-image,.p-image img,.p-detail .p-thumbnails .p-thumbnail.p-thumbnail,.p-thumbnail img,.p-thumbnails-wrapper,.price-line,.shp-tabs-wrapper .row,.subcategories li a,.subcategories img,.text img,.basic-description img,.newsletter,.cart-widget.popup-widget){border-radius:var(--mm-r)!important}html body.template-11 :is(.product,.p .image,.p-thumbnails-wrapper){overflow:hidden!important}html body.template-11 :is(.p-detail .p-thumbnails .thumbnail-prev.thumbnail-prev,.p-detail .p-thumbnails .thumbnail-next.thumbnail-next,.link-icon,input[type=text],input[type=email],input[type=search],input[type=tel],input[type=number],input[type=password],select,textarea,.quantity){border-radius:var(--mm-r-sm)!important}html body.template-11 .news-item .image{height:auto!important;aspect-ratio:4 / 3;border-radius:var(--mm-r)!important;overflow:hidden!important}html body.template-11 .news-item .image a{display:block!important;height:100%}html body.template-11 .news-item .image img{position:static!important;transform:none!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important}html body.template-11 .homepage-blog-wrapper{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin:0!important}html body.template-11 .homepage-blog-wrapper>*{width:auto!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important;min-width:0}html body.template-11 .homepage-blog-wrapper>.homepage-group-title{grid-column:1/-1}html body.template-11 .homepage-blog-wrapper .news-item>a{display:block!important;width:100%!important}html body.template-11 .homepage-blog-wrapper .news-item .image{width:100%!important;max-width:100%!important}html body.template-11 .homepage-blog-wrapper a{text-decoration:none!important}.mm-sw{position:relative}html body .mm-ar{position:absolute;top:38%;width:38px;height:38px;border-radius:50%!important;border:0;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.18);font-size:26px!important;line-height:1!important;z-index:5;color:#1e1e1c;padding:0 0 3px}.mm-ar0{left:2px}.mm-ar1{right:2px}.mm-sw:not(.mm-s) .mm-ar0,.mm-sw.mm-e .mm-ar1{display:none}#carousel .item img{width:100%!important;aspect-ratio:16/7;height:auto!important;object-fit:cover}@media(max-width:767px){#carousel .item img{aspect-ratio:4/5}}#carousel img[src*="nov__-1"]{object-position:50% 30%}.price-line [data-testid=productCardDescr]{margin:10px 0 0!important}@media (max-width:767px){html body.template-11 .next-to-carousel-banners .banner-wrapper:last-child:nth-child(even){grid-column:1/-1}}

/* Kroky 3–6 (mobil, produkty, popis) */
@media (max-width:767px){html body.template-11 .next-to-carousel-banners .normal-banners-line{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;height:auto!important;margin-top:10px}html body.template-11 .next-to-carousel-banners .banner-wrapper{height:170px!important;width:auto!important;margin:0!important}html body.template-11 .next-to-carousel-banners .banner-wrapper:first-child{grid-column:1/-1}html body.template-11 .next-to-carousel-banners .banner-wrapper a,html body.template-11 .next-to-carousel-banners .banner-wrapper img{width:100%!important;height:100%!important;object-fit:cover}html body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-texts{padding:12px!important}html body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-title{font-size:18px!important;line-height:1.2!important}html body.template-11 .next-to-carousel-banners .normal-banners-line .banner-wrapper .extended-banner-text,html body.template-11 .next-to-carousel-banners .extended-banner-link{display:none!important}html body.template-11 .benefits-banners-line{display:grid!important;grid-template-columns:repeat(3,1fr);gap:6px;padding:14px 8px!important;margin-top:12px!important}html body.template-11 .benefits-banners-line .banner-wrapper{width:auto!important;margin:0!important;padding:0!important}html body.template-11 .benefits-banners-line .benefit-banner{display:block!important;text-align:center;padding:0!important}html body.template-11 .benefits-banners-line .icon-box{margin:0 auto 6px!important}html body.template-11 .benefits-banners-line .icon-box img{width:30px!important;height:30px!important}html body.template-11 .benefits-banners-line h3{font-size:13px!important;line-height:1.25!important;margin:0!important}html body.template-11 .benefits-banners-line p{display:none!important}#shoptak-mobile-dock :is(a,span,p,label,button){font-size:11px!important;line-height:1.2!important}}.mm-clamp{max-height:150px;overflow:hidden;position:relative}.mm-clamp:after{content:"";position:absolute;left:0;right:0;bottom:0;height:60px;background:linear-gradient(rgba(234,236,240,0),var(--mm-bg,#eaecf0))}@media (min-width:768px){.mm-clamp{max-height:230px}}.mm-clamp.mm-open{max-height:none}.mm-clamp.mm-open:after{display:none}.mm-more{display:block;background:none;border:0;padding:6px 0 14px;font-weight:600;text-decoration:underline;color:inherit;cursor:pointer;text-align:left}html body.template-11 .content .benefits-banners-line{margin:24px 0!important}@media (min-width:768px){html body.template-11 .content .benefits-banners-line{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px;padding:28px!important}html body.template-11 .content .benefits-banners-line .banner-wrapper{width:auto!important;max-width:none!important;margin:0!important}}.price-line .availability-value{margin:14px 0 0!important;padding:0!important;font-size:.9rem!important}.price-line .availability-value .availability-label{font-size:1rem!important}
@media (max-width:767px){html body.template-11 .products-block.mm-scroll{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:12px;padding:4px 16px 14px!important;margin:0 -7px!important;scroll-padding:0 16px;scrollbar-width:none}html body.template-11 .products-block.mm-scroll::-webkit-scrollbar{display:none}html body.template-11 .products-block.mm-scroll>.product{flex:0 0 72%!important;max-width:72%!important;width:auto!important;float:none!important;scroll-snap-align:start;margin:0!important}html body.template-11 .products-block.mm-scroll :is(.p-bottom,.prices,.p-tools){display:flex!important;flex-direction:column;align-items:center;text-align:center;width:100%}html body.template-11 .products-block.mm-scroll .p .name{height:auto!important;max-height:none!important;overflow:visible!important}}

/* KROK 10: Indigo barvy */
:root{
  --mm-ai:#16213F;--mm-kon:#1F2D5C;--mm-hanada:#3F5A99;
  --mm-kinari:#F6F2EA;--mm-washi:#EDE6D8;
  --mm-matcha:#4F7224;--mm-wakaba:#A8C46A;--mm-tsuchi:#9A5A38;
  --color-primary:#1F2D5C;--color-primary-hover:#3F5A99;
  --color-secondary:#1F2D5C;--color-secondary-hover:#3F5A99;
  --color-header-background:#1F2D5C;
}
/* pozadí */
html body.template-11,
html body.template-11 .overall-wrapper{background:var(--mm-kinari)!important}
/* hlavička a lišta dopravy */
html body.template-11 #header{background:var(--mm-kon)!important}
html body.template-11 .dklab-delivery-box{background:var(--mm-ai)!important;color:var(--mm-kinari)!important}
/* tlačítka */
html body.template-11 :is(.btn.btn-primary,.btn.btn-cart,.btn.btn-conversion,.add-to-cart-button.add-to-cart-button,.btn.btn-secondary){background:var(--mm-kon)!important;border-color:var(--mm-kon)!important;color:#fff!important}
html body.template-11 :is(.btn.btn-primary,.btn.btn-cart,.btn.btn-conversion,.add-to-cart-button.add-to-cart-button,.btn.btn-secondary):hover{background:var(--mm-hanada)!important;border-color:var(--mm-hanada)!important}
/* ceny a dostupnost */
html body.template-11 :is(.price-final,.price-final strong,.price-final-holder,.p-final-price-wrapper strong){color:var(--mm-matcha)!important}
html body.template-11 .availability-label{color:var(--mm-matcha)!important}
/* odkazy v textu */
html body.template-11 :is(.text,.basic-description,.p-short-description,.welcome) a{color:var(--mm-hanada)!important}
/* štítky */
html body.template-11 .flag.flag{background:var(--mm-washi)!important;color:var(--mm-kon)!important}
html body.template-11 .benefits-banners-line :is(h3,p){color:var(--mm-kinari)!important}
/* sekce dole */
html body.template-11 :is(.custom-footer__newsletter,#instagram-above-footer,.welcome-wrapper){background:var(--mm-washi)!important}
/* patička + přechod aizome */
html body.template-11 #footer{background-color:#1A2C55!important;position:relative}
html body.template-11 #footer::before{content:"";position:absolute;left:0;right:0;top:-22px;height:23px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 23' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C20 6 40 18 60 12 S100 4 120 13 S160 20 180 11 S220 6 240 14 V23 H0Z' fill='%231B2440'/%3E%3C/svg%3E") repeat-x;background-size:240px 23px;pointer-events:none}
/* postranní panel kategorií */
html body.template-11 .box.box-bg-variant{background:var(--mm-ai)!important}
html body.template-11 .box-categories :is(a.active,.active>a){color:var(--mm-wakaba)!important}
/* přechod u sbaleného popisu produktu */
html body.template-11 .mm-clamp:after{background:linear-gradient(rgba(246,242,234,0),var(--mm-kinari))!important}

/* Textura: Vítkova indigo látka (latka-indigo.jpg, 800 × 800 px, bezešvá dlaždice) */
html body.template-11 :is(#header,.benefits-banners-line,.box.box-bg-variant){background-color:#1F2940!important;background-image:url("/user/documents/upload/latka-indigo.jpg")!important;background-size:400px 400px!important;background-repeat:repeat!important}
html body.template-11 #footer{background-color:#1B2440!important;background-image:linear-gradient(rgba(16,24,48,.35),rgba(16,24,48,.35)),url("/user/documents/upload/latka-indigo.jpg")!important;background-size:auto,400px 400px!important;background-repeat:repeat!important}
html body.template-11 .benefits-banners-line :is(h3,p){color:var(--mm-kinari)!important}

/* Lišta cookies: tlačítko v indigu */
html body .siteCookies .siteCookies__button{background:var(--mm-kon)!important;border-color:var(--mm-kon)!important;color:#fff!important}
html body .siteCookies .siteCookies__button:hover{background:var(--mm-hanada)!important}

/* Výhody vystředěné: ikona nahoře, pod ní nadpis a text (počítač i mobil) */
html body.template-11 .benefits-banners-line{display:grid!important;grid-template-columns:repeat(3,1fr)!important;align-items:start}
html body.template-11 .benefits-banners-line .banner-wrapper{width:auto!important;max-width:none!important;margin:0!important;display:flex!important;justify-content:center}
html body.template-11 .benefits-banners-line .benefit-banner{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:0 8px!important;max-width:280px}
html body.template-11 .benefits-banners-line .icon-box{margin:0 0 10px!important;justify-content:center}
html body.template-11 .benefits-banners-line .desc-box{text-align:center!important;padding:0!important}

/* Nižší carousel: počítač 3 : 1 (dlaždice pod ním jsou vidět bez posouvání), mobil čtverec */
html body.template-11 #carousel .item img{aspect-ratio:3/1!important}
@media (max-width:767px){html body.template-11 #carousel .item img{aspect-ratio:1/1!important}}

/* Výhody přesně uprostřed své třetiny – vodorovně i svisle */
html body.template-11 .benefits-banners-line{align-items:center!important}
html body.template-11 .benefits-banners-line .banner-wrapper{padding:0!important;align-items:center!important;height:100%}
html body.template-11 .benefits-banners-line .banner-wrapper>span{display:flex;justify-content:center;align-items:center;width:100%;height:100%}
html body.template-11 .benefits-banners-line .benefit-banner{justify-content:center!important;margin:0 auto!important}
