/* Demo homepage links, shared by phone and desktop. */
.kd-home-page :is(.kd-task-categories__heading>a,.kd-home-products__all,.kd-home-partners__all,.kd-home-news__all,.kd-home-carousel__all,.kd-news-card__read,.kd-info-card__read,.kd-news-card h3 a,.kd-info-card h3 a):is(:link,:visited,:hover,:focus,:active){text-decoration:none!important}
.kd-home-page .kd-home-partners__all:focus-visible{outline:2px solid #269dd8;outline-offset:4px}
@media(max-width:599px){
.kd-home-page .kd-home-partners__heading{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.kd-home-page .kd-home-partners .kd-home-partners__all{justify-self:start;min-height:44px}
}

/* Keep the brands action above the preceding carousel blank overflow area. */
.kd-home-page .kd-home-partners__all{position:relative;z-index:3}

/* Uniform section navigation typography on phone and desktop. */
.kd-home-page :is(.kd-task-categories__heading>a,.kd-home-products__all,.kd-home-partners__all,.kd-home-news__all,.kd-home-carousel__all){font-weight:400}

/* Product cards use the complete title without a second description. */
.kd-home-page .kd-home-products .kd-clean-description{display:none!important}

/* Ratings sit over the photo and do not change the height of product text. */
.kd-home-page .kd-home-products .kd-clean-rating[hidden]{display:none!important}
.kd-home-page .kd-home-products .kd-clean-rating--photo{position:absolute;left:8px;bottom:8px;z-index:12;max-width:calc(100% - 16px);box-sizing:border-box;min-height:0;margin:0;padding:3px 6px;border-radius:6px;background:#ffffffed;line-height:1.4;white-space:nowrap}
.kd-home-page .kd-home-products .kd-clean-rating--photo a{display:block;color:#526b7a;text-decoration:none}
.kd-home-page .kd-home-products .kd-clean-rating--photo a:focus-visible{outline:2px solid #269dd8;outline-offset:3px}
@media(max-width:767px){.kd-home-page .kd-home-products .kd-clean-rating--photo{bottom:32px;font-size:10px}}

/* Product photo frame 4:5 on mobile and desktop; image proportions retained. */
.kd-home-page .kd-home-products .kd-clean-photo{aspect-ratio:4/5!important}

/* Fill the 4:5 frame for any source proportions, without distortion or empty bands. */
.kd-home-page .kd-home-products .kd-clean-photo img{object-fit:cover!important;object-position:center}

/* Tabs change state as a whole, without a delayed fill or lower underline. */
.kd-home-page .kd-home-products .custom-tab:before{display:none!important}
.kd-home-page .kd-home-products .custom-tab>li>a{transition:none!important;animation:none!important;box-shadow:none!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
.kd-home-page .kd-home-products .custom-tab>li>a:before,.kd-home-page .kd-home-products .custom-tab>li>a:after{content:none!important;display:none!important}
.kd-home-page .kd-home-products .custom-tab>li:not(.uk-active)>a:is(:hover,:focus,:active){background:#f1f8fd;border-color:#e0edf6;color:#466779}
.kd-home-page .kd-home-products .custom-tab>li.uk-active>a{background:#269dd8!important;border-color:#269dd8;color:#fff!important}
.kd-home-page .kd-home-products .custom-tab>li>a:focus-visible{outline:2px solid #269dd8;outline-offset:2px}

/* Photo corners follow the approved product-card radius on phones and desktop. */
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media{border-radius:inherit}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-photo{border-radius:inherit!important;overflow:hidden}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-photo img{border-radius:inherit!important}

/* Video and reviews share one badge style on desktop and mobile. */
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media :is(.kd-clean-video,.kd-clean-rating--photo){box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;height:28px;min-height:28px;padding:0 7px;border:1px solid #e1e9ee;border-radius:8px;background:#fffffff2;box-shadow:none;color:#527389!important;font-size:11px;line-height:1;font-weight:500;white-space:nowrap;text-decoration:none!important}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-video{left:8px;top:8px}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-video svg{width:14px;height:14px}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-rating--photo a{color:inherit;text-decoration:none!important}
@media(max-width:767px){
/* Preserve the original outline artwork and transparent touch targets. */
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media :is(.fav-button,.compare-button) svg{width:20px;height:20px}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media :is(.kd-clean-video,.kd-clean-rating--photo){height:26px;min-height:26px;padding:0 6px;font-size:10px}
}

/* Align photo actions with the 8px badge inset, keeping the original artwork. */
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media>.user-lists-buttons{top:4px;right:4px!important;margin:0}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media>.kd-clean-compare{top:40px;right:4px!important}
@media(max-width:767px){
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media :is(.fav-button,.compare-button){width:28px;height:28px;padding:0!important}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media>.kd-clean-compare{top:34px}
}

/* Large homepage surfaces follow the top banners: desktop20px, mobile/tablet12px. */
.kd-home-page{--kd-home-surface-radius:20px;--kd-media-radius:var(--kd-home-surface-radius)}
@media(max-width:959px){.kd-home-page{--kd-home-surface-radius:12px}}
.kd-home-page :is(.kd-mslider,.kd-mslider__viewport,.kd-home-hero img,.kd-phone-production-banners img,.kd-home-perks,.kd-task-card,.kd-home-partners__brand,.kd-news-card,.kd-info-card,.kd-review-card,.kd-about-blue__panel,.kd-home-about__photo,.kd-home-about__photo img,.kd-about-blue__photo img,.kd-about-turn__face){border-radius:var(--kd-home-surface-radius)!important}
.kd-home-page .kd-home-products .kd-clean-card{border-radius:var(--kd-home-surface-radius)!important}
.kd-home-page .kd-task-card .kd-task-card__photo{border-radius:var(--kd-home-surface-radius)}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-benefits{border-radius:0 0 var(--kd-home-surface-radius) var(--kd-home-surface-radius)}

/* Desktop overlay offsets matched to the reviewed screenshots. */
@media(min-width:960px){
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-video{left:14px;top:14px}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-rating--photo{left:10px;bottom:14px}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media>.user-lists-buttons{top:12px;right:10px!important}
.kd-home-page .kd-home-products .kd-clean-card .kd-clean-media>.kd-clean-compare{top:50px;right:10px!important}
}

/* Cookie notice: approved KOSMO DOM surfaces; native consent behavior retained. */
.notification-pechenki{width:560px;max-width:calc(100% - 40px);bottom:20px;margin:0;left:0;right:0;text-align:left}
.notification-pechenki .uk-notification-message{margin:0;padding:20px 22px;background:#fff;color:#466779;border:1px solid #e0edf6;border-radius:20px;box-shadow:0 6px 24px #244b6814;font-family:inherit;font-size:14px;line-height:1.55}
.notification-pechenki .uk-grid{align-items:center;font-size:14px!important}
.notification-pechenki a.uk-link{color:#466779;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.notification-pechenki .pechenki-hide{display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:42px;padding:0 22px;border:1px solid #97d5ff;border-radius:12px;background:#97d5ff;color:#162e3e;font-size:14px;font-weight:500;line-height:1.2;text-transform:none;box-shadow:none;white-space:nowrap}
.notification-pechenki .pechenki-hide:hover{background:#80caff;border-color:#80caff;color:#162e3e}
.notification-pechenki a:focus-visible{outline:2px solid #269dd8;outline-offset:3px}
@media(max-width:959px){.notification-pechenki .uk-notification-message{border-radius:12px}}
@media(max-width:767px){.notification-pechenki{max-width:calc(100% - 24px);bottom:calc(56px + env(safe-area-inset-bottom,0px))}.notification-pechenki .uk-notification-message{padding:16px}.notification-pechenki .uk-grid{flex-wrap:nowrap}.notification-pechenki .uk-grid>div:first-child{width:auto;flex:1;min-width:0}.notification-pechenki .uk-grid>div:last-child{width:auto;flex:none;margin-top:0!important}.notification-pechenki .pechenki-hide{min-width:64px;padding:0 14px}}
@media(max-width:359px){.notification-pechenki .uk-grid{flex-wrap:wrap}.notification-pechenki .uk-grid>div:last-child{width:100%;margin-top:12px!important}.notification-pechenki .pechenki-hide{width:100%}}

/* Center independently of UIkit's vertical animation and its negative margins. */
.notification-pechenki{left:max(20px,calc((100vw - 560px)/2))!important;right:auto!important;width:560px;max-width:calc(100% - 40px);margin:0 auto!important;transform:none;box-sizing:border-box;z-index:100000000}
.notification-pechenki .uk-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin:0!important;align-items:center}
.notification-pechenki .uk-grid::before,.notification-pechenki .uk-grid::after{display:none}
.notification-pechenki .uk-grid>div{width:auto!important;min-width:0;padding:0!important;margin:0!important}
@media(max-width:767px){.notification-pechenki{left:12px!important;right:12px!important;width:auto;max-width:none;bottom:calc(56px + env(safe-area-inset-bottom,0px))}.notification-pechenki .uk-grid{grid-template-columns:minmax(0,1fr);gap:12px}.notification-pechenki .pechenki-hide{width:100%;min-height:40px}.notification-pechenki .uk-grid>div:last-child{margin:0!important}}
