/* PDF39–41 only: service navigation/tiles and sphere presentation. */
body.ukm-client-presentation .ukm-final-disclosure__row { display:flex; align-items:center; gap:8px; min-width:0; }
body.ukm-client-presentation .ukm-final-disclosure__row > a { flex:1; min-width:0; color:inherit; text-decoration:none; }
body.ukm-client-presentation .ukm-final-toggle { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; padding:0; border:0; border-radius:8px; background:transparent; color:inherit; cursor:pointer; }
body.ukm-client-presentation .ukm-final-toggle > span { width:8px; height:8px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); transition:transform .18s ease; }
body.ukm-client-presentation .ukm-final-toggle[aria-expanded="true"] > span { transform:rotate(225deg); }
body.ukm-client-presentation .ukm-final-toggle:focus-visible { outline:2px solid #2c71bf; outline-offset:2px; }
body.ukm-client-presentation .ukm-final-disclosure > .ukm-final-disclosure__panel { display:none !important; }
body.ukm-client-presentation .ukm-final-disclosure[data-open="true"] > .ukm-final-disclosure__panel { display:block !important; }
body.ukm-client-presentation .ukm-final-nav .content-nav__list,
body.ukm-client-presentation .ukm-final-menu-services .content-nav__list { position:static !important; width:auto !important; margin:0 !important; padding:0 !important; max-height:none !important; opacity:1 !important; visibility:visible !important; transform:none !important; overflow:visible !important; background:none !important; box-shadow:none !important; border:0 !important; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__item { margin:0; padding:0; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__item::before,
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__item::after,
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__link::after { display:none !important; content:none !important; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__link { position:static; display:flex; align-items:center; min-width:0; padding:10px 12px !important; font:400 14px/1.4 Inter,sans-serif; color:inherit; text-decoration:none; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__link img { width:22px; height:22px; object-fit:contain; margin-right:8px; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__link.active { color:#2c71bf; font-weight:600; }
body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-menu-services) .content-nav__item > .content-nav__list { padding-left:16px !important; }
body.ukm-client-presentation .ukm-final-services-index > .ukm-final-nav { display:none; }
body.ukm-client-presentation .ukm-final-menu-services > .ukm-final-disclosure__row,
body.ukm-client-presentation .ukm-final-menu-services > .ukm-final-disclosure__row { color:rgba(16,16,16,.9); font:500 18px/1.3 Inter,sans-serif; }
body.ukm-client-presentation .ukm-final-menu-services > .ukm-final-disclosure__panel { color:rgba(16,16,16,.6); }
body.ukm-client-presentation .ukm-final-sphere-nav { display:block; }
body.ukm-client-presentation .ukm-final-sphere-nav > .ukm-final-disclosure__row { padding:0 12px 12px; font:500 14px/1.4 Inter,sans-serif; color:#fff; }
body.ukm-client-presentation .ukm-final-sphere-copy { margin:24px 0 0; padding:0; color:#47484c; font:400 16px/1.6 Inter,sans-serif; }
body.ukm-client-presentation .ukm-final-sphere-copy .desc > :first-child { margin-top:0; }
body.ukm-client-presentation .ukm-final-sphere-copy .actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px 28px; padding:20px 0 0; }
body.ukm-client-presentation .ukm-final-sphere-copy .actions .btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border:1px solid #fff; border-radius:10px; color:#fff; background:#2c71bf; }
body.ukm-client-presentation .ukm-final-sphere-copy .actions .btn:hover { background:#47484c; }
body.ukm-client-presentation .ukm-final-sphere-copy .sfera-contacts { display:flex; flex-wrap:wrap; gap:16px; }
body.ukm-client-presentation .ukm-final-sphere-copy .sfera-contacts a { color:#2c71bf; text-decoration:none; }
@media(min-width:993px) {
 body.ukm-client-presentation .ukm-final-nav > .ukm-final-disclosure__row { display:none; }
 body.ukm-client-presentation :is(.ukm-final-nav,.ukm-final-sphere-nav) > .ukm-final-disclosure__panel { display:block !important; }
 body.ukm-client-presentation .ukm-final-sphere-nav > .ukm-final-disclosure__row > button { display:none; }
}
@media(max-width:992px) {
 /* The native sphere details also needs the Figma chevron on tablets,
    where the <=600px mobile-header stylesheet does not apply. */
 body.ukm-client-presentation .nav__mobile .nav-mobile__submenu { margin:0; padding:0; border:0; }
 body.ukm-client-presentation .nav__mobile .nav-mobile__summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:0; list-style:none; cursor:pointer; font:500 18px/1.3 Inter,sans-serif; color:rgba(16,16,16,.9); }
 body.ukm-client-presentation .nav__mobile .nav-mobile__summary::-webkit-details-marker { display:none; }
 body.ukm-client-presentation .nav__mobile .nav-mobile__summary > a { flex:1; min-width:0; padding:10px 0; color:inherit; text-decoration:none; }
 body.ukm-client-presentation .nav__mobile .nav-mobile__summary::after { content:""; width:8px; height:8px; margin-right:18px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); flex:0 0 8px; }
 body.ukm-client-presentation .nav__mobile .nav-mobile__submenu[open] > .nav-mobile__summary::after { transform:rotate(225deg); }
 body.ukm-client-presentation .nav__mobile .nav-mobile__summary:focus-visible { outline:2px solid #2c71bf; outline-offset:2px; border-radius:8px; }
 body.ukm-client-presentation .nav__mobile .nav-mobile__children .nav-mobile__link { color:rgba(16,16,16,.6); }
 body.ukm-client-presentation .ukm-final-nav { position:relative !important; z-index:auto !important; pointer-events:auto !important; width:100% !important; flex:none !important; margin:0 0 24px; padding:0 !important; border:1px solid #e7e7e7; border-radius:12px; background:#fff !important; color:#47484c; }
 body.ukm-client-presentation .ukm-final-nav > .ukm-final-disclosure__row { padding:6px 12px; font:500 18px/1.4 Inter,sans-serif; }
 body.ukm-client-presentation .ukm-final-nav > .ukm-final-disclosure__panel { padding:0 8px 12px !important; }
 body.ukm-client-presentation .ukm-final-services-index > .ukm-final-nav { display:block; }
 body.ukm-client-presentation .ukm-final-services-index .ukm-usl__grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; grid-auto-rows:160px !important; gap:12px !important; }
 body.ukm-client-presentation .ukm-final-services-index .ukm-usl__tile { grid-column:span 1 !important; grid-row:span 1 !important; padding:14px !important; min-width:0; }
 body.ukm-client-presentation .ukm-final-services-index .ukm-usl__tile:is(.ukm-usl__tile--big,.ukm-usl__tile--wide) { grid-column:span 2 !important; }
 body.ukm-client-presentation .ukm-final-services-index .ukm-usl__title { font-size:16px !important; line-height:1.3 !important; overflow-wrap:anywhere; }
 body.ukm-client-presentation.single-sfera .sfera-hero-wrap { display:flex !important; flex-direction:column; }
 body.ukm-client-presentation.single-sfera .sfera-menu { display:block !important; padding:12px !important; }
 body.ukm-client-presentation.single-sfera .ukm-final-sphere-nav > .ukm-final-disclosure__row { padding:0 4px; }
 body.ukm-client-presentation.single-sfera .sfera-hero { min-height:300px !important; padding:28px 20px !important; }
 body.ukm-client-presentation .ukm-final-sphere-copy { font-size:15px; }
}
@media(hover:none) {
 body.ukm-client-presentation .ukm-final-services-index .ukm-usl__sub { display:none !important; }
}
@media(max-width:600px) {
 body.ukm-client-presentation.single-service .content { padding-top:15px !important; }
 body.ukm-client-presentation.single-service .content > .container > .breadcrumbs { margin-bottom:24px !important; }
}
@media(prefers-reduced-motion:reduce) { body.ukm-client-presentation .ukm-final-toggle > span { transition:none; } }

/* PDF42: the three photographs belong to Partners, not the service slider.
   Keep their original background assets; mobile cells must not crop them. */
@media(max-width:640px) {
 body.ukm-client-presentation .ukm-partners__gallery { grid-template-columns:minmax(0,1fr); }
 body.ukm-client-presentation :is(.ukm-partners__gallery-main,.ukm-partners__gallery-cell) {
  width:100%; height:auto; min-height:0; aspect-ratio:4/3; background-size:contain;
 }
 body.ukm-client-presentation .ukm-partners__gallery-side { grid-template-rows:auto auto; }
}
body.ukm-client-presentation .ukm-final-calculate {
 display:block; padding:10px 0; color:rgba(16,16,16,.9); font:500 18px/1.3 Inter,sans-serif; text-decoration:none;
}
body.ukm-client-presentation .ukm-final-calculate:focus-visible { outline:2px solid #2c71bf; outline-offset:2px; border-radius:8px; }
/* PDF44: center the arrow against the full row, including wrapped titles. */
@media(max-width:992px) {
 body.ukm-client-presentation .dropdown-nav__link { display:flex !important; align-items:center !important; gap:12px; padding-right:12px !important; }
 body.ukm-client-presentation .dropdown-nav__link > svg { position:static !important; top:auto !important; right:auto !important; transform:none !important; margin:0 0 0 auto !important; flex:0 0 14px; width:14px; height:14px; }
 /* The legacy inline hover rule translates .icon-nav_arrow with !important.
    On touch layouts it must not override the open/closed state after a tap. */
 body.ukm-client-presentation .dropdown-nav__item > .dropdown-nav__link > svg.icon-nav_arrow { transform:none !important; }
 body.ukm-client-presentation .dropdown-nav__item > .dropdown-nav__link.open > svg.icon-nav_arrow { transform:rotate(90deg) !important; }
}
/* PDF45 supersedes the mobile one-column layout: two tiles, no view switch.
   Both selectors are intentional: a stored desktop list preference must not
   change mobile geometry. CSS leaves that preference and native JS untouched. */
@media(max-width:600px) {
 body.ukm-client-presentation.tax-product_cat .ukm-toolbar { display:none !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .product-card {
  display:flex !important; flex-direction:column !important; align-items:stretch; min-width:0 !important; width:auto !important;
  padding:8px !important; gap:10px; margin:0 !important; border:1px solid #cfcfcf; border-radius:14px !important; overflow:hidden; background:#fff;
 }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .product-card > a.woocommerce-LoopProduct-link { display:flex !important; flex-direction:column !important; flex:1 1 auto !important; gap:0; width:100%; min-width:0; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__img,
 body.ukm-client-presentation.tax-product_cat ul.products.ukm-view-list .product-card:has(.catalog-item__price + .catalog-item__price) .catalog-item__img {
  order:0; flex:none; align-self:auto; width:calc(100% + 16px) !important; height:auto !important; min-height:0; aspect-ratio:1; margin:-8px -8px 10px !important; border-radius:0; overflow:hidden;
 }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__img img { display:block; width:100% !important; height:100% !important; object-fit:cover; border-radius:0; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__info { order:1; display:flex; flex-direction:column; gap:10px; min-width:0; margin:0 0 10px; padding:0 !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__title { display:-webkit-box !important; -webkit-line-clamp:3 !important; -webkit-box-orient:vertical; font:500 13px/1.3 Inter,sans-serif !important; min-height:3.9em !important; margin:0; overflow:hidden; overflow-wrap:anywhere; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) :is(.ukm-figma-product-meta,.catalog-item__date,.ukm-delivery,.catalog-item__stock) { font-size:11px !important; line-height:1.4; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__stock { order:2; padding:0; margin:4px 0 0; align-self:auto; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .catalog-item__price { order:3; width:100%; max-width:100%; padding:0; margin:8px 0 0 !important; align-self:auto; white-space:normal; flex-wrap:wrap; gap:4px !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .ukm-p-unit { font-size:10px !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .ukm-card-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; margin:0; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .ukm-card-actions > a.btn { min-width:0 !important; width:100%; height:49px !important; min-height:49px !important; margin:0 !important; padding:6px 3px !important; font-size:11px !important; line-height:1.2 !important; white-space:normal !important; text-align:center; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .product-card > .product-card__btn { align-self:stretch; width:100%; min-width:0; min-height:49px; margin:0 !important; padding:8px 4px; font-size:12px; box-sizing:border-box; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) .yith-add-to-wishlist-button-block { top:8px !important; left:auto !important; right:52px !important; }
 body.ukm-client-presentation.tax-product_cat :is(ul.products,ul.products.ukm-view-list) a.compare { top:8px !important; left:auto !important; right:8px !important; }
}

/* PDF48: keep Woo's existing item/removal/quantity owners; only mobile geometry. */
@media screen and (max-width:600px) {
 body.ukm-client-presentation.woocommerce-cart .cart-item { position:relative; padding-bottom:20px; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__photo { height:auto; aspect-ratio:1; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__photo > a { display:block; width:100%; height:100%; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__photo img { height:100% !important; object-fit:contain; }
 body.ukm-client-presentation.woocommerce-cart .cart-content__title > a { padding-right:24px; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__delete { position:absolute; top:0; right:0; grid-column:auto; width:44px; height:44px; min-height:44px; margin:0; border-radius:10px; background:transparent; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__delete > a.remove { display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0; padding:0; background:transparent; border-radius:10px; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__delete > a.remove:focus-visible { outline:2px solid #2c71bf; outline-offset:-3px; }
 body.ukm-client-presentation.woocommerce-cart .cart-item__delete:hover .remove svg path { stroke:#2c71bf; }
}

/* PDF49: reveal the existing sphere breadcrumb, not a second navigation chain. */
body.ukm-client-presentation.single-sfera section.content > .container > .breadcrumbs { display:block !important; }
/* The delivery grid and tariff labels must fit the same mobile content gutter. */
@media screen and (max-width:680px) {
 body.ukm-client-presentation.page-id-221 .entry-content .fleet { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.ukm-client-presentation.page-id-221 .entry-content .car { min-width:0; overflow-wrap:anywhere; }
 body.ukm-client-presentation.page-id-221 .entry-content .rate-table :is(th,td) { padding:12px 6px; white-space:normal; overflow-wrap:anywhere; }
}
@media screen and (max-width:992px) {
 /* Keep the native 6.5rem section rhythm; remove accumulated wrapper padding. */
 body.ukm-client-presentation section.content { padding-bottom:0 !important; }
 body.ukm-client-presentation:is(.page-template-page-about,.single-service) section.content > .container { padding-top:0 !important; padding-bottom:0 !important; }
 body.ukm-client-presentation.single-service section.content { padding-top:15px !important; }
 body.ukm-client-presentation:is(.page-template-page-about,.single-service) section.content > .container > .breadcrumbs { margin-bottom:20px !important; }
 body.ukm-client-presentation.single-sfera section.content { margin-bottom:6.5rem !important; padding-bottom:0 !important; }
 body.ukm-client-presentation.single-sfera .consultation__block { margin-top:0 !important; }
 body.ukm-client-presentation.single-sfera .svc-related { margin:0 0 6.5rem !important; }
 /* PDP has its own wrapper and crumb owner; retain its wrap and native links. */
 body.ukm-client-presentation.single-product .ukm-page .ukm-crumbs { padding:0; margin-bottom:20px; }
}
/* Client review05: company navigation is already visible on touch screens.
   The legacy hidden-sidebar rule must not block its real links. */
@media(max-width:992px) {
 body.ukm-client-presentation.page-template-page-about .content__nav { pointer-events:auto; }
}
