/* Ungalunga / Sleek-inspired editorial completion v0.2.1.
   Add AFTER modules 01–05. No JavaScript, no native commerce replacement. */
body.template-14{--ul-paper:#fffefa;--ul-cream:#f6f3ed;--ul-radius:20px;--ul-ink:#25231f;--ul-line:#e6e1d9}
body.template-14 #carousel{border-radius:22px;margin:18px auto 0;max-width:1600px;width:calc(100% - 40px)}
body.template-14 .carousel-wrapper{background:var(--ul-paper)}
body.template-14 #carousel .extended-banner-texts .extended-banner-title{font-family:var(--ul-font);font-weight:600;letter-spacing:-.065em;font-size:clamp(44px,5.1vw,76px);line-height:1.03}
body.template-14 #carousel .extended-banner-texts:not(:empty){background:linear-gradient(90deg,#f8e9d7 40%,#f8e9d7e8 77%,#f8e9d700);width:54%}
body.template-14 #carousel .extended-banner-texts .extended-banner-text{max-width:360px;font-size:17px}
body.template-14 #header .header-top .header-top-wrapper{height:78px}
body.template-14 #header .header-top .header-top-wrapper .site-name a img{max-width:200px;max-height:46px}
body.template-14 .homepage-group-title{font-weight:600;letter-spacing:-.05em}
body.template-14 .products-block .product .p-image{border-radius:18px;background:#f7f5f1;overflow:hidden}
body.template-14 .welcome-wrapper:has(.ul-editorial){max-width:none;padding:0;background:transparent;border-radius:0}
body.template-14 .welcome:has(.ul-editorial){max-width:none;text-align:left}
body.template-14 .welcome:has(.ul-editorial)>.h1{display:none}
.ul-editorial{color:var(--ul-ink);text-align:left;width:100%;max-width:1440px;padding-inline:clamp(20px,3.4vw,56px);margin-inline:auto}
.ul-editorial *{box-sizing:border-box}
.ul-editorial section{margin-block:72px}
.ul-editorial .ul-eyebrow{font-size:11px!important;font-weight:700;text-transform:uppercase;letter-spacing:.14em;line-height:1.6!important;margin:0 0 14px!important}
.ul-editorial h1,.ul-editorial h2{font-size:clamp(30px,3.8vw,50px)!important;font-weight:600;line-height:1.12!important;letter-spacing:-.055em!important;max-width:850px;margin:0 0 18px!important}
.ul-editorial h3{font-size:27px;letter-spacing:-.04em;margin:0 0 10px;line-height:1.15}
.ul-editorial p{font-size:16px!important;line-height:1.65!important;margin:0 0 22px!important;max-width:660px;color:var(--ul-muted)}
.ul-section-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:30px}
.ul-section-intro>div{max-width:740px}
.ul-editorial .ul-text-link{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;border-bottom:1px solid currentColor;padding-bottom:6px;text-decoration:none;font-weight:700;font-size:14px}
.ul-editorial .ul-text-link::after{content:"";display:inline-block;width:8px;height:8px;flex:0 0 8px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);margin-right:3px}
.ul-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ul-category{display:block;text-decoration:none!important;min-width:0}
.ul-category figure{margin:0 0 22px;border-radius:20px;overflow:hidden;background:var(--ul-cream);aspect-ratio:1/1}
.ul-category img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.65,.25,1)}
.ul-category h3{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ul-category h3::after{content:"";display:inline-block;width:10px;height:10px;flex:0 0 10px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);margin-right:4px}
.ul-category p{font-size:14px!important;margin-bottom:0!important;max-width:360px}
.ul-category:hover img{transform:scale(1.045)}
.ul-editorial .ul-brand-line{text-align:center;padding:50px 8%;font-size:clamp(30px,4.4vw,60px)!important;line-height:1.18!important;font-weight:600;letter-spacing:-.05em;max-width:none;color:var(--ul-ink)}
.ul-brand-line em{font-family:Georgia,serif;font-weight:400;color:#8a5b41}
.ul-story{display:grid;grid-template-columns:1.1fr 1fr;border-radius:22px;overflow:hidden;background:#f2e7d9;min-height:430px}
.ul-story>img{width:100%;height:100%;min-height:430px;object-fit:cover;display:block}
.ul-story-copy{padding:clamp(28px,5vw,72px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ul-editorial .ul-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;border-radius:99px;padding:14px 25px;color:#fff;background:var(--ul-ink);font-weight:700;font-size:14px;text-decoration:none;border:1px solid var(--ul-ink);transition:background-color .2s,color .2s}
.ul-editorial .ul-button:hover{background:#815237;border-color:#815237;color:#fff}
.ul-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;border-block:1px solid var(--ul-line);padding-block:32px}
.ul-benefit-icon{display:flex;width:38px;height:38px;align-items:center;margin-bottom:16px;color:var(--ul-ink)}
.ul-benefit-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.ul-benefits h3{font-size:17px;line-height:1.3;letter-spacing:-.02em}
.ul-benefits p{font-size:13px!important;margin:0!important}
.ul-mood{background:#f5eee5;border-radius:22px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.ul-mood .ul-chips{display:flex;flex-wrap:wrap;gap:10px;max-width:420px}
.ul-chips a{padding:11px 20px;border:1px solid #b7a697;border-radius:99px;text-decoration:none;font-size:14px;transition:background .2s}
.ul-chips a:hover{background:#fffefa}
.ul-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ul-guide-card{border-radius:22px;background:#f3f3ed;padding:44px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.ul-guide-card:nth-child(2){background:#f6e9df}
.ul-guide-card h2{font-size:clamp(28px,3vw,40px)!important}
.ul-editorial .ul-story-dark{background:#302b25;color:#fffefa}
.ul-editorial .ul-story-dark h2,.ul-editorial .ul-story-dark .ul-eyebrow{color:#fffefa}
.ul-editorial .ul-story-dark p{color:#e2d5c7}
.ul-story-dark .ul-button{background:#fffefa;color:#302b25;border-color:#fffefa}
.ul-story-dark .ul-button:hover{background:#edcdb4;color:#302b25}
@media(min-width:768px){.ul-story-reverse>img{order:2}.ul-story-reverse .ul-story-copy{order:1}}
@media(max-width:991px){.ul-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.ul-story-copy{padding:30px}.ul-category-grid{gap:16px}.ul-mood{padding:32px}.ul-guide-card{padding:32px}}
@media(max-width:767px){body.template-14 #carousel{width:calc(100% - 24px);margin-top:12px;border-radius:18px}body.template-14 #header .header-top .header-top-wrapper{height:70px}body.template-14 #carousel .extended-banner-texts:not(:empty){width:100%;background:#f8e9d7}body.template-14 #carousel .extended-banner-texts .extended-banner-title{font-size:44px}body.template-14 #carousel .extended-banner-texts .extended-banner-text{font-size:15px}.ul-editorial section{margin-block:44px}.ul-section-intro{display:block;margin-bottom:22px}.ul-section-intro .ul-text-link{margin-top:4px}.ul-category-grid{grid-template-columns:1fr;gap:30px}.ul-category figure{aspect-ratio:4/3;margin-bottom:16px}.ul-category h3{font-size:25px}.ul-category p{max-width:none}.ul-editorial .ul-brand-line{padding:16px 0;font-size:35px!important}.ul-story{grid-template-columns:1fr;min-height:0}.ul-story>img{min-height:0;height:auto;aspect-ratio:4/3}.ul-story-copy{padding:30px 24px}.ul-editorial p{font-size:15px!important}.ul-editorial h1,.ul-editorial h2{font-size:34px!important}.ul-benefits{gap:28px 18px;padding-block:28px}.ul-benefits h3{font-size:16px}.ul-benefits p{font-size:13px!important}.ul-mood{display:block;padding:28px 24px}.ul-chips{margin-top:24px}.ul-guide-grid{grid-template-columns:1fr}.ul-guide-card{padding:30px 24px}}
@media(prefers-reduced-motion:reduce){.ul-editorial *,body.template-14 #carousel *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.ul-category:hover img{transform:none}}

/* Native text-banner wrappers must let the authored grid fill their slot. */
body.template-14 .homepage-banners-full-width .banner-wrapper:has(.ul-category-grid){width:100%;flex-basis:100%;max-width:none;background:transparent}
body.template-14 .homepage-banners-full-width .banner-wrapper:has(.ul-category-grid)>.banner{width:100%}
.ug-editorial{max-width:980px;margin-inline:auto;line-height:1.7}.ug-editorial section{margin-block:32px}.ug-editorial .ug-lead{font-size:18px}.ug-editorial .ug-stock-link{display:inline-flex;align-items:center;min-height:48px;padding:12px 22px;border-radius:99px;background:#302923;color:#fff;text-decoration:none;font-weight:700}.ug-editorial .ug-guide-nav{display:flex;flex-wrap:wrap;gap:12px;margin-block:24px}.ug-editorial .ug-guide-nav a{padding:10px 15px;border:1px solid #b7a697;border-radius:99px;text-decoration:none}
@media(max-width:767px){.ul-editorial{padding-inline:20px}.ul-editorial h1{font-size:34px!important}.ug-editorial .ug-lead{font-size:16px}}
/* Cosmetics is a native category hub with two verified stocked child categories.
   Hide only its misleading direct-product empty message, and only while both
   known child links remain present. No effect on genuine empty fragrance pages. */
body.id-122437.type-category #content:has(.subcategories a[href="/liceni-a-dekorativni-kosmetika/"]):has(.subcategories a[href="/pletova-kosmetika---klic-k-zarive-a-zdrave-pokozce/"]) > .category-content-wrapper > .empty-content-category {
  display: none;
}
