/* MERTU (Claude) SK v1, 30. 10. 2026: upravy vzhledu z mertu.cz (UX checklist 29. a 30. 10. 2026) prenesene na mertu.sk.
   Bez spodni listy s cenou na mobilu, na SK neni doplnek Nakupni lista.
   Vraceni: v zahlavi (Nastaveni > HTML kody) smazat odkaz na tento soubor
   a v zapati odkazy na mertu-claude-sbaleni-sk-v1.js a mertu-claude-ux-v1.js. */

/* 1) Kontrast: nakupni tlacitka #28a745 -> #218838 (bily text 4,5 : 1), po najeti #1a6c2c, text Skladom #009901 -> #008a00. */
:root{--color-secondary:#218838;--color-secondary-hover:#1a6c2c}
html.mtu-new body .mtu-c{background:#218838}
html.mtu-new body .mtu-c:hover{background:#1a6c2c}
html.mtu-new body .p .btn-cart{background:#218838!important;border-color:#218838!important}
html.mtu-new body .p .btn-cart:hover{background:#1a6c2c!important;border-color:#1a6c2c!important}
[style*="#009901"]{color:#008a00!important}

/* 2) Mobil: dlouhy uvod kategorie sbaleny na 150 px, tlacitko Zobrazit cely popis pridava mertu-claude-sbaleni-sk-v1.js (zapati).
   Dlazdice podkategorii po dvou vedle sebe. Na pocitaci beze zmeny. */
@media (max-width:767px){
 .type-category .category-perex{max-height:150px;overflow:hidden;position:relative}
 .type-category .category-perex.mtu-sbal-fade::after{content:"";position:absolute;left:0;right:0;bottom:0;height:48px;background:linear-gradient(rgba(255,255,255,0),#fff);pointer-events:none}
 .type-category .category-perex.mtu-sbal-open{max-height:none;overflow:visible}
 .type-category .category-perex .mtu-sbal-dup{display:none}
 .mtu-sbal-ovl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 16px}
 .mtu-sbal-btn{background:none;border:0;padding:10px 0;font:inherit;font-size:15px;font-weight:600;color:#00707c;text-decoration:underline;cursor:pointer}
 .mtu-sbal-btn::after{content:"\25BE";display:inline-block;margin-left:6px;text-decoration:none}
 .mtu-sbal-cfg{display:inline-block;padding:10px 16px;background:#0d7c86;color:#fff!important;border-radius:4px;font-weight:700;text-decoration:none!important}
 .type-category .subcategories.with-image{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .type-category .subcategories.with-image li{width:auto!important;max-width:none!important}
 .type-category .subcategories.with-image li a{padding:10px!important;gap:8px!important}
 .type-category .subcategories.with-image li .image{flex:0 0 40px!important;width:40px!important}
 .type-category .subcategories.with-image li .image img{max-width:40px!important;height:auto!important}
 .type-category .subcategories.with-image li .text{font-size:15px!important;line-height:1.25!important}
}
@media (min-width:768px){.mtu-sbal-ovl{display:none!important}}

/* 3) Mobil: vyhledavani a pocet kusu 16 px, iPhone pak pri klepnuti stranku nepriblizi. */
@media (max-width:767px){
 html body input.search-input[name="string"]{font-size:16px!important}
 html body input.search-input[name="string"]::placeholder{font-size:15px}
 html body input[name="amount"]{font-size:16px!important}
}

/* 4) Detail produktu: mnozstvi a Pridat do kosika zaoblene 56 px, velke - a +, Opytat sa a Strazit tyrkysove.
   Menu na mobilu s napisem MENU, ikony vlevo od nej posunute. */
#product-detail-form .add-to-cart{align-items:stretch;gap:10px}
#product-detail-form .add-to-cart .quantity{display:inline-flex!important;align-items:stretch;flex:0 0 auto;height:56px!important;padding:0!important;border:1px solid #b9d7dc!important;border-radius:8px!important;background:#fff!important;overflow:hidden}
#product-detail-form .add-to-cart .quantity label{order:2;display:flex;margin:0!important}
#product-detail-form .add-to-cart .quantity input.amount{width:46px!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;text-align:center;font-family:"Source Sans 3",sans-serif!important;font-size:17px!important;font-weight:700!important;color:#004047!important;-moz-appearance:textfield;appearance:textfield}
#product-detail-form .add-to-cart .quantity input.amount::-webkit-outer-spin-button,#product-detail-form .add-to-cart .quantity input.amount::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#product-detail-form .add-to-cart .quantity .decrease{order:1}
#product-detail-form .add-to-cart .quantity .increase{order:3}
#product-detail-form .add-to-cart .quantity .increase,#product-detail-form .add-to-cart .quantity .decrease{position:static!important;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f0f7f8!important;cursor:pointer}
#product-detail-form .add-to-cart .quantity .increase:hover,#product-detail-form .add-to-cart .quantity .decrease:hover{background:#dcecef!important}
#product-detail-form .add-to-cart .quantity .increase::before,#product-detail-form .add-to-cart .quantity .decrease::before{content:none!important;display:none!important}
#product-detail-form .add-to-cart .quantity .increase__sign,#product-detail-form .add-to-cart .quantity .decrease__sign{display:block!important;font-family:"Source Sans 3",sans-serif!important;font-size:26px!important;font-weight:600!important;line-height:1!important;color:#008391!important}
#product-detail-form .add-to-cart .add-to-cart-button{display:inline-flex!important;align-items:center;justify-content:center;height:56px!important;padding:0 26px!important;border-radius:8px!important;font-family:"Source Sans 3",sans-serif!important;font-size:17px!important;font-weight:700!important;line-height:1.2!important}
@media (max-width:767px){
 #product-detail-form .add-to-cart{gap:8px;flex-wrap:nowrap}
 #product-detail-form .add-to-cart .quantity .increase,#product-detail-form .add-to-cart .quantity .decrease{width:42px!important}
 #product-detail-form .add-to-cart .add-to-cart-button{flex:1 1 auto;min-width:0;padding:0 12px!important;font-size:16px!important}
}
.p-detail .link-icon.chat,.p-detail .link-icon.watchdog,.p-detail .link-icon.chat::before,.p-detail .link-icon.watchdog::before{color:#00707c!important}
.p-detail .link-icon.chat:hover,.p-detail .link-icon.watchdog:hover,.p-detail .link-icon.chat:hover::before,.p-detail .link-icon.watchdog:hover::before{color:#004047!important}
@media (max-width:767px){
 .responsive-tools>a.toggle-window[data-target="navigation"]{display:inline-flex!important;align-items:center;gap:6px;width:auto!important;height:32px!important;margin:4px 0 4px 8px!important;padding:0 12px 0 10px!important;border-radius:16px!important;background:#008391!important;color:#fff!important;text-decoration:none!important}
 .responsive-tools>a.toggle-window[data-target="navigation"]::before{width:auto!important;height:auto!important;line-height:1!important;background:transparent!important;color:#fff!important}
 .responsive-tools>a.toggle-window[data-target="navigation"]::after{content:"MENU";font-family:"Exo 2",sans-serif;font-size:13px;font-weight:600;line-height:1;letter-spacing:.02em;color:#fff}
 a.mtu-mtel{right:200px!important}
 a.mtu-muser{right:154px!important}
 .navigation-buttons a[data-testid="headerCart"]{right:96px!important}
}

/* 5) Pokladna (Doprava a platba, Informacie o Vas) bez menu, odkazu Viac, horniho menu a vyhledavani. V kosiku a pokladne bez odkazu na Facebook.
   Vetsi sipky galerie na mobilu. Texty kategorii 15 px, informacnich stranek 16 px.
   Pri prihlaseni na pocitaci ztmavene okoli, klik mimo nebo Esc zavre (mertu-claude-ux-v1.js v zapati). */
html body.in-krok-1 #header .search,html body.in-krok-2 #header .search{visibility:hidden!important}
html body.in-krok-1 #navigation,html body.in-krok-2 #navigation{display:none!important}
html body.in-krok-1 #header .menu-helper,html body.in-krok-2 #header .menu-helper{display:none!important}
html.mtu-new body.in-krok-1 .top-navigation-bar .top-navigation-menu,html.mtu-new body.in-krok-2 .top-navigation-bar .top-navigation-menu{display:none!important}
html.mtu-new body.in-krok-1 #header::after,html.mtu-new body.in-krok-2 #header::after{height:4px!important}
body.ordering-process .contact-box li:has(>.facebook){display:none!important}
@media (max-width:767px){
 html body.in-krok-1 .top-navigation-bar>.search,html body.in-krok-2 .top-navigation-bar>.search{display:none!important}
 html body.in-krok-1 .responsive-tools>a.toggle-window[data-target="navigation"],html body.in-krok-2 .responsive-tools>a.toggle-window[data-target="navigation"]{display:none!important}
 body.ordering-process .responsive-tools>a.toggle-window[data-target="navigation"]{right:10px!important}
 .p-thumbnails .thumbnail-prev,.p-thumbnails .thumbnail-next{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;margin-top:-20px!important;border-radius:50%;background:rgba(255,255,255,.95)!important;box-shadow:0 1px 5px rgba(0,0,0,.25);color:#008391!important}
 .p-thumbnails .thumbnail-prev{left:4px!important;right:auto!important}
 .p-thumbnails .thumbnail-next{right:4px!important;left:auto!important}
 .p-thumbnails .thumbnail-prev::before,.p-thumbnails .thumbnail-next::before{color:#008391!important}
}
.type-category .category-perex p,.type-category .category-perex li,.type-category .category__secondDescription p,.type-category .category__secondDescription li,.type-category .category__secondDescription td{font-size:15px!important;line-height:1.55!important}
.type-page .pageArticleDetail p,.type-page .pageArticleDetail li,.type-page .pageArticleDetail td{font-size:16px!important;line-height:1.6!important}
@media (min-width:768px){
 body.login-window-visible::before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,40,45,.45);z-index:55;cursor:pointer}
}
