/* Silonky.sk native homepage extension — 12 September 2026.
   Load after the existing Dolomit theme. Keep the existing logo, font family,
   native links, search, menu, banners and forms. No product or checkout rules.
   New banner captions must be set in Shoptet Title / Text / CTA fields.
   Native 1 + 2 banner selectors verified after activation on 12 September.
   Includes the small-screen CTA and welcome-copy fixes from live QA. */

/* Quiet framing around the original header and native search. */
#header{background:#fff;border-bottom:1px solid #e8e8e8;box-shadow:none}
#header .search-form input.search-input{font-size:16px;border:1px solid #d7d7d7;border-radius:0;box-shadow:none}
#header .search-form button{border-radius:0;box-shadow:none}
#header #navigation .menu-level-1>li>a{font-weight:600;letter-spacing:0;text-transform:none}
#header #navigation .menu-level-1>li>a>b{font-weight:600}
#header a:focus-visible,#header button:focus-visible,#header input:focus-visible,
#footer a:focus-visible{outline:2px solid #a22022;outline-offset:3px}
@media(min-width:768px){
 /* Dolomit moves the desktop logo into the top bar and positions the native
    search/cart controls over the navigation, leaving this row empty. */
 #header:not(.fixed-menu) .header-top{padding-top:0;padding-bottom:0}
 #header .site-name img{max-width:230px;height:auto}
 #header #navigation .menu-level-1>li>a{padding-top:17px;padding-bottom:17px}
}

/* Apply the new 1 + 2 composition only when the new main category banner is
   present. This leaves the old /vypredaj/ carousel untouched until rollout. */
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]){display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;margin:24px 0 32px;align-items:stretch}
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"])>.col-sm-8,
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"])>.col-sm-4,
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"])>.wide-carousel{width:100%!important;max-width:100%!important;min-width:0;padding:0!important;margin:0;flex:none}
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"])>.wide-carousel:only-child{grid-column:1/-1}
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]) #carousel,
body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]) .carousel-inner{height:436px;border-radius:0;background:#f8f8f8;box-shadow:none}
body.type-index #carousel .item:has(>a[href="/pancuchy/"]){height:100%;min-height:0;border:1px solid #e7e7e7;border-radius:0}
body.type-index #carousel .item>a[href="/pancuchy/"]{display:block;position:relative;height:100%;min-height:0;background:#fff;color:#222529;overflow:hidden;text-decoration:none}
body.type-index #carousel .item>a[href="/pancuchy/"]>img{position:absolute;display:block;inset:0 0 0 auto;width:51%;height:100%;max-height:none;margin:0;object-fit:cover;object-position:center 50%;transform:none}
body.type-index #carousel .item>a[href="/pancuchy/"] .extended-banner-texts{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;width:51%!important;height:100%;margin:0!important;padding:36px 28px 36px 34px!important;background:#fff!important;text-align:left!important;transform:none!important;opacity:1!important;visibility:visible!important}
body.type-index #carousel a[href="/pancuchy/"] .extended-banner-title{display:block!important;position:static!important;max-width:100%;margin:0 0 16px!important;padding:0!important;font-size:39px!important;line-height:1.08!important;letter-spacing:-.025em;font-weight:600!important;color:#222529!important;text-align:left!important;text-shadow:none;text-transform:none!important}
body.type-index #carousel a[href="/pancuchy/"] .extended-banner-text{display:block!important;position:static!important;max-width:100%;margin:0 0 24px!important;padding:0!important;font-size:17px!important;line-height:1.5!important;font-weight:400!important;color:#585858!important;text-align:left!important;letter-spacing:0!important}
body.type-index #carousel a[href="/pancuchy/"] .extended-banner-link{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;gap:8px;min-width:0!important;max-width:100%;width:auto!important;height:auto!important;min-height:44px;margin:0!important;padding:12px 16px!important;border:1px solid #a22022!important;border-radius:0!important;background:#a22022!important;color:#fff!important;font-size:15px!important;line-height:1.3!important;font-weight:600!important;text-align:center!important;text-transform:none!important;box-shadow:none!important;transform:none!important}
body.type-index #carousel a[href="/pancuchy/"] .extended-banner-link:before,
body.type-index #carousel a[href="/pancuchy/"] .extended-banner-link:after{display:none!important}
body.type-index #carousel a[href="/pancuchy/"]:hover .extended-banner-link{background:#82191b!important;border-color:#82191b!important}
body.type-index #carousel a[href="/pancuchy/"]:focus-visible{outline:3px solid #a22022;outline-offset:-3px}

/* Native Top banners next to the carousel. Scope by the two actual category
   destinations so footer banners and any unrelated promotional slot are safe. */
body.type-index .before-carousel .next-to-carousel-banners:has(a[href="/vzorovane-pancuchy/"]){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;height:436px;margin:0!important;padding:0}
body.type-index .before-carousel .next-to-carousel-banners .banner-wrapper:has(a[href="/vzorovane-pancuchy/"]),
body.type-index .before-carousel .next-to-carousel-banners .banner-wrapper:has(a[href="/samodrziace-pancuchy-2/"]){width:100%!important;max-width:none!important;min-width:0;height:100%;margin:0!important;padding:0;border:1px solid #e7e7e7;border-radius:0;background:#fff;overflow:hidden;box-shadow:none}
body.type-index .next-to-carousel-banners .banner-wrapper>a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]){display:block;position:relative;width:100%;height:100%;min-height:0;color:#222529;background:#fff;text-decoration:none}
body.type-index .next-to-carousel-banners .banner-wrapper>a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"])>img{position:absolute;display:block;inset:0 0 0 auto;width:45%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center 50%;transform:none}
body.type-index .next-to-carousel-banners .banner-wrapper>a[href="/vzorovane-pancuchy/"]>img{object-position:center 70%}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-texts{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;width:56%!important;height:100%;margin:0!important;padding:21px!important;background:#fff!important;color:#222529!important;text-align:left!important;transform:none!important;opacity:1!important;visibility:visible!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-title{display:block!important;position:static!important;max-width:100%;padding:0!important;margin:0 0 10px!important;font-size:25px!important;font-weight:600!important;line-height:1.1!important;letter-spacing:-.02em;color:#222529!important;text-shadow:none;text-align:left!important;text-transform:none!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-text{display:block!important;position:static!important;max-width:100%;margin:0 0 13px!important;padding:0!important;font-size:14px!important;line-height:1.4!important;color:#585858!important;font-weight:400!important;text-align:left!important;letter-spacing:0!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-link{position:static!important;display:inline-block!important;width:auto!important;height:auto!important;min-height:28px;max-width:100%;margin:0!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:none!important;color:#a22022!important;font-size:14px!important;line-height:1.4!important;font-weight:600!important;text-align:left!important;text-transform:none!important;text-decoration:underline;text-underline-offset:3px;box-shadow:none!important;transform:none!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-link:before,
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-link:after{display:none!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]):hover .extended-banner-link{color:#82191b!important}
body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]):focus-visible{outline:3px solid #a22022;outline-offset:-3px}

/* Replacement for the long native homepage welcome copy. */
body.type-index .welcome:has(.sn-home-intro){padding:0;text-align:left}
body.type-index .welcome:has(.sn-home-intro)>[data-testid="eshopHeader"]{font-size:29px!important;line-height:1.2;font-weight:600;letter-spacing:-.02em;text-align:left;margin:0 0 14px}
.sn-home-intro{max-width:1120px;margin:0 auto;text-align:left;color:#222529;font-size:16px;line-height:1.6}
.sn-home-intro p{max-width:780px;margin:0 0 20px}
.sn-home-kicker{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#a22022;font-weight:600}
body.type-index .welcome .sn-home-intro>p{max-width:780px;margin:0 0 20px!important;font-size:16px!important;line-height:1.6!important;text-align:left!important}
body.type-index .welcome .sn-home-intro>.sn-home-kicker{margin-bottom:12px!important;font-size:13px!important;font-weight:600;letter-spacing:.06em;color:#a22022}
.sn-home-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px;padding:0;list-style:none}
.sn-home-links a{display:inline-block;min-height:44px;padding:10px 16px;border:1px solid #d8d8d8;color:#222529;background:#fff;font-size:15px;line-height:1.5;text-decoration:none}
.sn-home-links a:hover{border-color:#a22022;color:#a22022}
.sn-home-help{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px;background:#f5f5f5;border-left:3px solid #a22022;margin:0 0 28px}
.sn-home-help h2{font-size:23px;line-height:1.2;font-weight:600;letter-spacing:-.015em;margin:0 0 8px}
.sn-home-help p{font-size:15px;margin:0;max-width:640px;color:#595959}
body.type-index .welcome .sn-home-help p{max-width:640px;margin:0!important;font-size:15px!important;line-height:1.6!important;text-align:left!important}
.sn-home-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:12px 18px;background:#222529;color:#fff!important;border:1px solid #222529;font-size:15px;font-weight:600;line-height:1.35;text-decoration:none!important;text-align:center}
.sn-home-button:hover{background:#a22022;border-color:#a22022}
.sn-home-intro a:focus-visible,.sn-selection-guide a:focus-visible{outline:2px solid #a22022;outline-offset:3px}

/* Native selection article: body only, no extra H1 or theme replacement. */
.sn-selection-guide{max-width:960px;margin:0 auto;padding:8px 0 36px;font-size:16px;line-height:1.65;color:#222529}
.sn-selection-guide>p{max-width:760px;margin:0 0 24px}
.sn-selection-guide h2{font-size:27px;font-weight:600;line-height:1.2;letter-spacing:-.02em;margin:0 0 14px}
.sn-selection-guide h3{font-size:21px;font-weight:600;line-height:1.2;margin:12px 0 10px}
.sn-selection-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 38px}
.sn-selection-tile{display:flex;flex-direction:column;padding:23px 21px;border:1px solid #dedede;color:#222529;background:#fff;text-decoration:none!important}
.sn-selection-tile:hover{border-color:#a22022;color:#222529}
.sn-selection-guide .sn-selection-tile h2{font-size:21px;font-weight:600;line-height:1.2;margin:12px 0 10px}
.sn-selection-number{font-size:13px;color:#a22022;letter-spacing:.05em;font-weight:600}
.sn-selection-tile p{font-size:15px;color:#5b5b5b;line-height:1.5;margin:0 0 20px}
.sn-selection-tile strong{margin-top:auto;font-size:14px;color:#a22022;text-decoration:underline;text-underline-offset:3px}
.sn-selection-guide .sn-selection-tile>a{display:inline-block;margin-top:auto;min-height:32px;font-size:14px;font-weight:600;color:#a22022;text-decoration:underline;text-underline-offset:3px}
.sn-selection-copy{max-width:790px}
.sn-selection-copy section{margin:0 0 30px;scroll-margin-top:24px}
.sn-selection-copy p{margin:0 0 17px}
.sn-selection-copy a:not(.sn-home-button){color:#a22022;text-decoration:underline;text-underline-offset:3px}
.sn-den-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;padding:0;list-style:none}
.sn-den-list a{display:block;padding:15px;border:1px solid #dedede;text-decoration:none!important}
.sn-den-list strong{display:block;font-size:19px;line-height:1.2;margin-bottom:7px;color:#222529}
.sn-den-list span{display:block;color:#606060;font-size:14px;line-height:1.4}

/* Footer content remains native, including all legal and cookies links. */
body.shoptak-dolomit,body.shoptak-dolomit #footer{background-image:none!important}
#footer{border-top:1px solid #e5e5e5;background:#f6f6f6}
#footer .footer-rows{padding-top:35px;padding-bottom:28px}
#footer .custom-footer .pageElement__heading,#footer .custom-footer h4{font-size:16px;line-height:1.4;font-weight:600;margin-bottom:14px;color:#222529}
#footer .custom-footer ul li{margin-bottom:8px;line-height:1.5}
#footer .custom-footer a{color:#555;font-size:14px;line-height:1.5}
#footer .custom-footer a:hover{color:#a22022}
#footer .footer-bottom{border-top:1px solid #e1e1e1;padding-top:18px;padding-bottom:20px;font-size:12px;line-height:1.5}

@media(min-width:768px) and (max-width:1100px){
 body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-title{font-size:33px!important}
 body.type-index #carousel .item>a[href="/pancuchy/"] .extended-banner-texts{padding:25px 20px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-texts{padding:16px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-title{font-size:22px!important}
}
@media(max-width:767px){
 body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]){grid-template-columns:minmax(0,1fr);gap:12px;margin:15px 0 24px}
 body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]) #carousel,
 body.type-index .before-carousel .banners-row:has(#carousel a[href="/pancuchy/"]) .carousel-inner{height:282px}
 body.type-index #carousel .item>a[href="/pancuchy/"]>img{width:49%;object-position:50% 55%}
 body.type-index #carousel .item>a[href="/pancuchy/"] .extended-banner-texts{width:53%!important;padding:22px 16px!important}
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-title{font-size:29px!important;line-height:1.08!important;margin-bottom:13px!important}
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-text{font-size:14px!important;line-height:1.45!important;margin-bottom:17px!important}
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-link{font-size:13px!important;padding:10px 11px!important;min-height:42px}
 body.type-index .before-carousel .next-to-carousel-banners:has(a[href="/vzorovane-pancuchy/"]){height:auto;grid-template-rows:repeat(2,160px);gap:12px}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-texts{width:56%!important;padding:16px 18px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-title{font-size:22px!important;line-height:1.1!important;margin-bottom:8px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-text{font-size:13px!important;line-height:1.4!important;margin-bottom:8px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-link{font-size:13px!important;min-height:25px;padding:2px 0!important}
 body.type-index .welcome:has(.sn-home-intro)>[data-testid="eshopHeader"]{font-size:26px!important}
 .sn-home-intro{font-size:15px}
 body.type-index .welcome .sn-home-intro>p{font-size:15px!important}
 body.type-index .welcome .sn-home-intro>.sn-home-kicker{font-size:13px!important}
 .sn-home-links{gap:8px;margin-bottom:24px}
 .sn-home-links a{padding:9px 12px;font-size:14px}
 .sn-home-help{display:block;padding:22px 20px;margin-bottom:20px}
 .sn-home-help h2{font-size:22px}
 .sn-home-help p{margin-bottom:18px;font-size:14px}
 body.type-index .welcome .sn-home-help p{margin:0 0 18px!important;font-size:14px!important}
 .sn-selection-guide{font-size:16px}
 .sn-selection-tiles{grid-template-columns:minmax(0,1fr);gap:12px;margin:23px 0 30px}
 .sn-selection-tile{padding:20px}
 .sn-selection-tile h2{margin-top:6px}
 .sn-selection-tile p{margin-bottom:12px}
 .sn-selection-guide h2{font-size:24px}
 .sn-den-list{grid-template-columns:minmax(0,1fr);gap:8px}
 #footer .footer-rows{padding-top:27px;padding-bottom:20px}
}
@media(max-width:359px){
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-title{font-size:25px!important}
 body.type-index #carousel .item>a[href="/pancuchy/"] .extended-banner-texts{padding:19px 12px!important}
 body.type-index #carousel a[href="/pancuchy/"] .extended-banner-link{font-size:12px!important;padding:10px 8px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-texts{padding:14px!important}
 body.type-index .next-to-carousel-banners a:is([href="/vzorovane-pancuchy/"],[href="/samodrziace-pancuchy-2/"]) .extended-banner-title{font-size:20px!important}
}

/* Accepted category-led homepage test: preserve group 9 configuration and catalogue.
   Native group is empty/refill-off but still renders cached products; omit its presentation. */
body.type-index #products-9,
body.type-index .homepage-products-heading-9 { display: none !important; }

/* Visual comparison v5: restore the approved four substantial choice cards. */
body.type-index .welcome:has(.sn-home-intro)>[data-testid="eshopHeader"]{max-width:1120px;margin-left:auto!important;margin-right:auto!important}
.sn-home-selection-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:32px 0 19px}
.sn-home-selection-heading h2{font-size:25px!important;line-height:1.2!important;font-weight:600!important;margin:0 0 9px!important;color:#222529}
body.type-index .welcome .sn-home-selection-heading p{font-size:15px!important;line-height:1.5!important;margin:0!important;color:#606060}
.sn-home-selection-heading>a{flex:none;padding:8px 0;color:#a22022;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.sn-home-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px!important;padding:0!important;list-style:none}
.sn-home-links>li{margin:0!important;padding:0!important;min-width:0}
.sn-home-links a{display:flex;position:relative;box-sizing:border-box;height:100%;min-height:108px;flex-direction:column;align-items:flex-start;justify-content:center;padding:18px 34px 18px 17px;font-size:17px;line-height:1.3;border:1px solid #dedede;background:#fff;color:#222529;text-align:left;transition:border-color .15s,background .15s}
.sn-home-links a:hover{border-color:#a22022;background:#fffafa;color:#222529}
.sn-home-links a:focus-visible{outline:2px solid #a22022;outline-offset:3px}
.sn-home-links strong{font-size:17px;line-height:1.25;font-weight:600;margin:0 0 9px}
.sn-home-links a>span{font-size:13px;line-height:1.45;color:#606060}
.sn-home-links i{position:absolute;right:14px;top:20px;font-size:18px;line-height:1;font-style:normal;color:#a22022}
@media(max-width:767px){
 .sn-home-selection-heading{display:block;margin-top:28px;margin-bottom:16px}
 .sn-home-selection-heading h2{font-size:24px!important}
 .sn-home-selection-heading>a{display:inline-block;margin-top:9px}
 .sn-home-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sn-home-links a{min-height:101px;padding:15px 29px 15px 12px}
 .sn-home-links strong{font-size:16px}
 .sn-home-links i{right:10px;top:17px;font-size:16px}
}

/* Keep all eight shopping categories visible; secondary service links remain in
   the native mobile menu and footer. Keep account/search/cart in their own area. */
#header #navigation .menu-level-1>.menu-item-1185>a{color:#a22022!important;font-weight:700}
@media(min-width:768px){
 #header #navigation{width:calc(100% - 180px)!important;height:56px!important;overflow:visible}
 #header #navigation .navigation-in{position:static!important;width:100%!important;height:auto!important}
 #header #navigation .navigation-in>.menu-level-1{display:flex;width:100%!important;min-height:56px;flex-wrap:nowrap;justify-content:space-between;margin:0;padding:0}
 #header #navigation .navigation-in>.menu-level-1>li{display:block!important;visibility:visible!important;position:static;flex:0 1 auto;min-width:0}
 #header #navigation .navigation-in>.menu-level-1>li:is(.menu-item-29,.menu-item--51,.menu-item--66){display:none!important}
 #header #navigation .navigation-in>.menu-level-1>li>a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:56px;min-height:56px;padding:0 10px!important;font-size:16px;line-height:22px;white-space:normal;text-align:center}
 #header #navigation .navigation-in>.menu-level-1>li>a b{font-weight:600;white-space:normal}
 #header #navigation .navigation-in>.menu-level-1>.menu-item-1185>a b{font-weight:700}
 #header #navigation .navigation-in>.menu-level-1>li>.menu-level-2{top:100%!important}
 #header .menu-helper{display:none!important}
}
@media(min-width:768px) and (max-width:1199px){
 #header #navigation{height:112px!important}
 #header #navigation .navigation-in>.menu-level-1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:stretch}
 #header #navigation .navigation-in>.menu-level-1>li>a{font-size:15px;padding:0 9px!important}
}
