/* Client package 19 September. Existing Inter, blue/grey tokens and roundings. */
@media(max-width:600px){
 body.home.ukm-client-presentation .hero__slider .ukm-hero-metal .hero-slider__info{inset:0 7% !important;width:auto !important;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px 0 56px !important;}
 body.home.ukm-client-presentation .ukm-hero-metal .hero-slider__btn{align-self:center;}
}
/* September21: compact outlined controls beside the title, matching Reviews. */
body.home.ukm-client-presentation .sale .ukm-sale-heading{display:flex !important;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px !important;}
body.home.ukm-client-presentation .sale .ukm-sale-heading .section__title{min-width:0;}
body.home.ukm-client-presentation .ukm-sale-controls{display:flex;gap:10px;flex:none;}
body.home.ukm-client-presentation .ukm-sale-controls :is(.sale-swiper-button-prev,.sale-swiper-button-next){position:static !important;inset:auto !important;transform:none !important;display:flex !important;align-items:center;justify-content:center;flex:0 0 29px;width:29px;height:29px;padding:0;margin:0;border:1px solid #2c71bf !important;border-radius:50%;background:transparent !important;color:#2c71bf !important;box-shadow:none !important;cursor:pointer;transition:background .2s,color .2s;}
body.home.ukm-client-presentation .ukm-sale-controls :is(.sale-swiper-button-prev,.sale-swiper-button-next):is(:hover,:active){background:#2c71bf !important;color:#fff !important;}
body.home.ukm-client-presentation .ukm-sale-controls button:focus-visible{outline:2px solid #2c71bf;outline-offset:3px;}
body.home.ukm-client-presentation .ukm-sale-controls button::before,body.home.ukm-client-presentation .ukm-sale-controls button::after{content:none !important;}
body.home.ukm-client-presentation .ukm-sale-controls svg{width:20px;height:20px;fill:currentColor !important;color:inherit;}
body.home.ukm-client-presentation .ukm-sale-controls .sale-swiper-button-prev svg{transform:rotate(180deg);}
/* Presentation only: keep the safe TEST gateway, stock and mail guards unchanged. */
body.ukm-client-presentation .ukm-test-checkout-notice{display:none !important;}
body.ukm-client-presentation .ukm-pdp-strips .ukm-svc-card{height:185px !important;min-height:185px;}
body.ukm-client-presentation .ukm-pdp-strips .ukm-final-scrollbar[hidden]{display:none !important;}
body.ukm-client-presentation .ukm-page .ukm-desc-cols .ukm-desc-col-right .ukm-full-specs{margin-top:0 !important;}
/* The two legacy reveal controllers fight over is-visible/ukm-visible. These two
   pages use one independently named opacity state, never position/size animation. */
body.ukm-client-presentation:is(.page-id-221,.page-id-223) .ukm-reveal{opacity:1 !important;transform:none !important;transition:none !important;}
body.ukm-client-presentation:is(.page-id-221,.page-id-223) .ukm-review-reveal{transform:none !important;opacity:1 !important;transition:opacity .55s ease !important;}
html.ukm-js body.ukm-client-presentation:is(.page-id-221,.page-id-223) .ukm-review-reveal[data-review-pending]{opacity:0 !important;}
@media(prefers-reduced-motion:reduce){
 html.ukm-js body.ukm-client-presentation:is(.page-id-221,.page-id-223) .ukm-review-reveal{opacity:1 !important;transition:none !important;}
}
/* September20: Partners matches the homepage reveal; Delivery stays stationary. */
body.ukm-client-presentation.page-id-223 .ukm-review-reveal{transform:none !important;transition:opacity 1s ease,transform 1s cubic-bezier(.16,1,.3,1) !important;}
html.ukm-js body.ukm-client-presentation.page-id-223 .ukm-review-reveal[data-review-pending]{transform:translateY(24px) !important;}
@media(prefers-reduced-motion:reduce){
 html.ukm-js body.ukm-client-presentation.page-id-223 .ukm-review-reveal{opacity:1 !important;transform:none !important;transition:none !important;}
}
/* September22: all three promo artworks fill the same tablet/desktop card.
   The legacy global img height:auto !important left two cards half empty. */
@media(min-width:601px){
 body.home.ukm-client-presentation .hero__images > .hero__image{width:100%;max-width:100%;min-width:0;min-height:160px;aspect-ratio:20/9;}
 body.home.ukm-client-presentation .hero__images > .hero__image > img{position:absolute;inset:0;display:block;width:100% !important;height:100% !important;max-height:none !important;object-fit:cover;object-position:right center;}
 body.home.ukm-client-presentation .hero__image .hero-image__info{z-index:2;right:16px;max-width:calc(100% - 36px);}
}

/* Product gallery: bounded thumbnails and centred, accessible circular navigation. */
body.ukm-client-presentation #ukmMainImg[role="button"]{cursor:zoom-in;}
body.ukm-client-presentation #ukmMainImg:focus-visible{outline:2px solid #2c70be;outline-offset:3px;}
body.ukm-client-presentation .ukm-photo-dialog{position:fixed;inset:0;margin:0;border:0;padding:16px;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;background:rgba(12,16,22,.97);color:#fff;overflow:hidden;}
body.ukm-client-presentation .ukm-photo-dialog[open]{display:grid;grid-template-rows:48px minmax(0,1fr);gap:8px;}
body.ukm-client-presentation .ukm-photo-dialog::backdrop{background:rgba(0,0,0,.8);}
body.ukm-client-presentation .ukm-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.ukm-client-presentation .ukm-photo-count{font:500 16px/1.4 Inter,sans-serif;}
body.ukm-client-presentation .ukm-photo-dialog button{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:48px;height:48px;padding:0;border:1px solid #fff8;border-radius:50%;background:#18222ed9;color:white;font-size:0;line-height:0;cursor:pointer;}
body.ukm-client-presentation .ukm-photo-dialog button svg{display:block;position:static;flex:none;width:24px;height:24px;margin:0;padding:0;transform:none;fill:none !important;stroke:currentColor;}
body.ukm-client-presentation .ukm-photo-dialog button svg path{fill:none !important;}
body.ukm-client-presentation .ukm-photo-dialog button[hidden]{display:none;}
body.ukm-client-presentation .ukm-photo-dialog button:hover{background:#2c70be;}
body.ukm-client-presentation .ukm-photo-dialog button:focus-visible{outline:3px solid #fff;outline-offset:3px;}
body.ukm-client-presentation .ukm-photo-view{position:relative;min-width:0;min-height:0;touch-action:pan-y pinch-zoom;}
body.ukm-client-presentation .ukm-photo-large{display:block;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain;}
body.ukm-client-presentation :is(.ukm-photo-prev,.ukm-photo-next){position:absolute;top:50%;transform:translateY(-50%);}
body.ukm-client-presentation .ukm-photo-prev{left:0;}
body.ukm-client-presentation .ukm-photo-next{right:0;}
body.ukm-client-presentation .ukm-page .ukm-gallery{position:relative;align-items:flex-start;}
body.ukm-client-presentation .ukm-page .ukm-stage{min-width:0;touch-action:pan-y pinch-zoom;}
body.ukm-client-presentation .ukm-page .ukm-stage-nav{top:50%;bottom:auto;transform:translateY(-50%);width:44px;height:44px;z-index:2;}
body.ukm-client-presentation .ukm-page #ukmPrevImg{left:10px;right:auto;}
body.ukm-client-presentation .ukm-page #ukmNextImg{right:10px;left:auto;}
body.ukm-client-presentation .ukm-page .ukm-thumb{padding:0;flex:0 0 64px;background:#fff;}
body.ukm-client-presentation .ukm-page .ukm-thumbs-col{max-height:420px;overflow:auto;overscroll-behavior:contain;}
body.ukm-client-presentation .ukm-page :is(.ukm-gallery,.ukm-thumb,.ukm-stage-nav):focus-visible{outline:2px solid #2c70be;outline-offset:2px;}
@media(min-width:1041px) and (max-width:1230px){
 body.ukm-client-presentation .ukm-page .ukm-btn-pair{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px !important;}
 body.ukm-client-presentation .ukm-page .ukm-btn-pair .ukm-btn{font-size:13px !important;padding:0 8px !important;gap:5px !important;min-width:0 !important;}
}
@media(max-width:700px){
 body.ukm-client-presentation .ukm-page .ukm-gallery{align-items:stretch;}
 body.ukm-client-presentation .ukm-page .ukm-thumbs-col{flex:0 0 auto;max-width:100%;max-height:80px;}
}

/* Keep heading hierarchy, but remove OS-dependent fonts and the oversized first sphere title. */
body.ukm-client-presentation :is(h1,h2,h3,h4,h5,h6,.page__title,.section__title){font-family:Inter,sans-serif !important;}
body.ukm-client-presentation .ukm-app__tile .ukm-app__name{font:700 22px/1.3 Inter,sans-serif !important;letter-spacing:normal !important;}
body.ukm-client-presentation .ukm-app__tile .ukm-app__name *{font:inherit !important;letter-spacing:inherit !important;}
/* Intrinsic long headings must not enlarge grid tracks beyond the viewport. */
body.ukm-client-presentation .ukm-app__grid{grid-template-columns:repeat(4,minmax(0,1fr));}
body.ukm-client-presentation .ukm-app__tile{min-width:0;}
body.ukm-client-presentation .ukm-app__name{min-width:0;overflow-wrap:anywhere;}
@media(max-width:1230px){
 body.ukm-client-presentation .ukm-app__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 body.ukm-client-presentation .ukm-app__tile--big{grid-column:span 2;grid-row:span 1;}
}
@media(max-width:460px){
 body.ukm-client-presentation .ukm-app__grid{grid-template-columns:minmax(0,1fr);}
 body.ukm-client-presentation .ukm-app__tile--big,body.ukm-client-presentation .ukm-app__tile--wide{grid-column:span 1;}
}
@media(max-width:992px){body.ukm-client-presentation .ukm-app__tile .ukm-app__name{font-size:18px !important;}}
body.tax-product_cat.ukm-client-presentation .ukm-subcat__img{background:transparent !important;}
/* Existing CFS content on the native solutions page; no new marketing promises. */
body.ukm-client-presentation .ukm-solutions__heading{font-size:28px;line-height:1.3;margin:0 0 24px;scroll-margin-top:180px;}
body.ukm-client-presentation .ukm-solutions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:48px;}
body.ukm-client-presentation .ukm-solutions__card{min-width:0;padding:24px;border:1px solid #e6e8ec;border-radius:20px;background:#fff;}
body.ukm-client-presentation .ukm-solutions__card img{width:48px;height:48px;object-fit:contain;margin-bottom:16px;}
body.ukm-client-presentation .ukm-solutions__card h3{font-size:20px;line-height:1.35;margin:0 0 12px;font-weight:600;overflow-wrap:anywhere;}
body.ukm-client-presentation .ukm-solutions__copy{font:400 16px/1.6 Inter,sans-serif;overflow-wrap:anywhere;}
body.ukm-client-presentation .ukm-solutions__copy>:last-child{margin-bottom:0;}
@media(max-width:600px){
 body.ukm-client-presentation .ukm-solutions__grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:32px;}
 body.ukm-client-presentation .ukm-solutions__heading{font-size:22px;scroll-margin-top:125px;}
 body.ukm-client-presentation .ukm-solutions__card{padding:20px;}
 body.ukm-client-presentation .ukm-solutions__card h3{font-size:18px;}
}
body.ukm-client-presentation.woocommerce-cart .ukm-cart-top{align-items:center;}
body.ukm-client-presentation.woocommerce-cart .ukm-total__row{align-items:center;}
@media(min-width:768px){
 body.ukm-client-presentation.woocommerce-cart .cart-list{align-items:end !important;}
 body.ukm-client-presentation.woocommerce-cart .cart-list__sum{line-height:1.4 !important;padding-bottom:0 !important;}
 body.ukm-client-presentation.woocommerce-cart .cart-price__sum{line-height:1.4 !important;}
}
body.ukm-client-presentation .ukm-review-checkout-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;}
body.ukm-client-presentation .ukm-review-checkout-columns>.ukm-checkout-section{margin-top:0;min-width:0;}
body.ukm-client-presentation .ukm-review-checkout-columns .form-row{max-width:100%;}
body.ukm-client-presentation .ukm-review-checkout-columns .ukm-order-table .ukm-ot-product{gap:8px;}
body.ukm-client-presentation .ukm-review-checkout-columns .ukm-order-table .ukm-ot-product img{width:48px !important;height:48px !important;}
body.ukm-client-presentation .ukm-review-checkout-columns .ukm-order-table :is(th,td){padding:10px 5px !important;font-size:12px;}
body.ukm-client-presentation .ukm-review-checkout-columns .ukm-order-table .ukm-ot-product a{font-size:12px;overflow-wrap:anywhere;}
@media(max-width:1100px){body.ukm-client-presentation .ukm-review-checkout-columns{grid-template-columns:minmax(0,1fr);gap:0;}}
body.ukm-client-presentation.woocommerce-order-received .content__inner:has(.ukm-review-confirmation)>.section__top{display:none;}
body.ukm-client-presentation .ukm-review-confirmation{padding:0 0 48px;}
body.ukm-client-presentation .ukm-review-confirmation>.page__title{display:block !important;margin:0 0 24px;font-weight:500;}
body.ukm-client-presentation .ukm-review-confirmation__body{display:flex;align-items:center;gap:24px;font:400 16px/1.5 Inter,sans-serif;}
body.ukm-client-presentation .ukm-review-confirmation__body>img{width:173px;height:auto;flex:none;}
body.ukm-client-presentation .ukm-review-confirmation__body p{margin:0 0 8px;}
body.ukm-client-presentation .ukm-review-confirmation__test{color:#63718a;}
@media(max-width:600px){body.ukm-client-presentation .ukm-review-confirmation__body{display:block;font-size:14px;}body.ukm-client-presentation .ukm-review-confirmation__body>img{display:none;}}
body.ukm-client-presentation .ukm-final-sphere-copy .actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;margin:24px 0;padding:20px;border:1px solid #e6e8ec;border-radius:16px;background:#f7f8fa;}
body.ukm-client-presentation .ukm-final-sphere-copy .actions .sfera-contacts{display:flex;flex-direction:column;gap:10px;min-width:0;padding-left:20px;border-left:1px solid #e6e8ec;}
body.ukm-client-presentation .ukm-final-sphere-copy .sfera-contacts a{overflow-wrap:anywhere;}
@media(max-width:600px){body.ukm-client-presentation .ukm-final-sphere-copy .actions{grid-template-columns:1fr;padding:16px;gap:16px;}body.ukm-client-presentation .ukm-final-sphere-copy .actions .sfera-contacts{padding:16px 0 0;border-left:0;border-top:1px solid #e6e8ec;}}
@media(max-width:992px){
 body.ukm-client-presentation .ukm-subcat{padding:12px !important;gap:10px !important;min-width:0;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__img{width:64px !important;min-width:0 !important;height:72px !important;flex:0 0 64px !important;object-fit:contain;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__info{min-width:0;width:auto !important;flex:1;padding:0 !important;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__name{width:100%;white-space:normal;overflow-wrap:anywhere;font-size:14px !important;line-height:1.35;}
 /* One row: swipe the tabs, never the entire product page. */
 body.ukm-client-presentation .ukm-page .ukm-page-tabs{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto !important;overflow-y:hidden !important;width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
 body.ukm-client-presentation .ukm-page .ukm-page-tabs .ukm-ptab{flex:0 0 auto !important;width:auto !important;min-width:0;white-space:nowrap !important;padding:12px 14px !important;font-size:12px !important;line-height:1.4;text-align:center;}
}
@media(max-width:600px){
 body.tax-product_cat.ukm-client-presentation .ukm-subcat{gap:8px !important;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__img{width:44px !important;flex-basis:44px !important;height:64px !important;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__name{font-size:12px !important;}
 body.tax-product_cat.ukm-client-presentation .ukm-subcat__count{font-size:11px !important;}
}
/* Popup recommendation heading and controls share a single row at every size. */
#ukmAtc .ukm-review-reco-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 16px;}
#ukmAtc .ukm-review-reco-head .ukm-atc__reco-title{margin:0 !important;font:600 22px/1.3 Inter,sans-serif;min-width:0;}
#ukmAtc .ukm-review-reco-head .ukm-atc__reco-nav{margin:0;flex:none;gap:4px;}
#ukmAtc .ukm-review-reco-head .ukm-atc__arrow{width:36px;height:36px;}
@media(max-width:600px){#ukmAtc .ukm-review-reco-head .ukm-atc__reco-title{font-size:16px;}}
@media(max-width:600px){
 body.ukm-figma-mobile-header .ukm-figma-menu-head{gap:16px;}
 /* The theme's logo flex rule otherwise prevents shrinking. Focusing Close then
    scrolls the overwide panel horizontally and clips every navigation label. */
 body.ukm-client-presentation.ukm-figma-mobile-header .ukm-figma-menu-head>.logo{min-width:0 !important;width:0 !important;flex:1 1 0% !important;}
 body.ukm-client-presentation.ukm-figma-mobile-header .ukm-figma-menu-head>.logo img{max-width:100%;}
 body.ukm-client-presentation.ukm-figma-mobile-header .nav__mobile{overflow-x:hidden;overscroll-behavior:contain;}
 body.ukm-figma-mobile-header .ukm-figma-menu-head .barmiddle__icons{gap:10px !important;flex:none;margin-right:4px !important;}
 body.ukm-figma-mobile-header .ukm-figma-menu-close.ukm-review-close{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 32px;line-height:1;}
 body.ukm-figma-mobile-header .ukm-review-close::before,body.ukm-figma-mobile-header .ukm-review-close::after{content:'';position:absolute;width:14px;height:2px;background:currentColor;left:9px;top:15px;transform:rotate(45deg);}
 body.ukm-figma-mobile-header .ukm-review-close::after{transform:rotate(-45deg);}
}

/* 2026-09-24: equal-height product tiles, including products without a price.
   Stretch through the Swiper slide wrapper; retain intrinsic image/text sizes. */
body.ukm-client-presentation .catalognew .swiper-wrapper { align-items:stretch; }
body.ukm-client-presentation .catalognew .swiper-slide { display:flex; height:auto; }
body.ukm-client-presentation .catalognew .swiper-slide > .product-card {
    flex:1 1 auto; height:auto; min-width:0; width:100%;
}
body.ukm-client-presentation ul.products:not(.ukm-view-list) > .product-card {
    align-self:stretch; height:100%; box-sizing:border-box;
}
body.ukm-client-presentation :is(.catalognew,ul.products:not(.ukm-view-list)) .product-card > .product-card__btn[data-no-price] {
    min-height:49px; margin-top:auto !important; box-sizing:border-box;
}
/* A quote has no price rows above it: center in the full right-hand column. */
@media (min-width:1101px) {
    body.ukm-client-presentation ul.products.ukm-view-list .product-card > .product-card__btn[data-no-price] {
        grid-row:1 / 4; align-self:center; margin:0 !important;
    }
}
@media (max-width:600px) {
    /* A saved list preference renders as tiles on phones, too. */
    body.ukm-client-presentation.tax-product_cat ul.products.ukm-view-list > .product-card {
        align-self:stretch; height:100%; box-sizing:border-box;
    }
}
