/* Presentation only. Product-card height and reserved comparison-price space stay intact. */
html body #checkoutnavigation {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%!important;max-width:100%;padding:0;box-sizing:border-box;}
html body #checkoutnavigation:before,html body #checkoutnavigation:after {display:none!important;}
html body #checkoutnavigation > li {float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important;box-sizing:border-box;}
html body #checkoutnavigation > li > span {display:block;float:none!important;width:100%!important;height:100%;min-width:0;box-sizing:border-box;}
html body #checkoutnavigation .title,html body #checkoutnavigation .description {white-space:normal;overflow-wrap:anywhere;}
html body .content_site {color:#243b46;line-height:1.5;}
html body .content_site .highlightbox,html body .content_site .content_text {color:#243b46;}
html body .content_site a.color_more,html body .lh-checkout-compact a.color_more {color:#0b5775!important;}
html body .content_site a.color_more:hover,html body .lh-checkout-compact a.color_more:hover {text-decoration:underline;}
html body.lh-page-sitemap .content_site a {color:#0b5775!important;}
html body.lh-page-sitemap .sitemap_header a {line-height:22px!important;}
html body.lh-page-sitemap .content_site li {margin-top:2px;margin-bottom:2px;line-height:1.35;}
html body.lh-page-sitemap .content_site ul {margin-top:6px;margin-bottom:10px;}
html body.lh-page-sitemap .content_site h2,html body.lh-page-sitemap .content_site h3 {margin-top:16px;margin-bottom:8px;}
html body.lh-page-shipping .content_site table th,html body.lh-page-shipping .content_site table td {padding:8px 12px;text-align:center;vertical-align:middle;}
html body.lh-page-shipping .content_site table th:first-child,html body.lh-page-shipping .content_site table td:first-child {text-align:left;}
html body.lh-page-shipping .content_site table th {white-space:normal;}
.lh-catalog-login-notice {padding:12px 16px;background:#edf4f7;border-left:4px solid #1786a8;color:#0b5775;}
@media(max-width:760px){html body #checkoutnavigation {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:400px){html body #checkoutnavigation {gap:6px;}html body #checkoutnavigation .description {font-size:11px;}}

/* 2026-10-04b: body owns the page class; it is not a child of body. */
html body.lh-page-sitemap .sitemap > ul.nocolumnbreak {margin:0 0 10px!important;padding-top:0!important;padding-bottom:0!important;}
html body.lh-page-sitemap .sitemap .sitemap_header {margin:0!important;padding-top:0!important;padding-bottom:0!important;}
html body.lh-page-sitemap .sitemap .sitemap_header a {display:block;color:#0b5775!important;line-height:22px!important;padding:4px 6px!important;}
html body.lh-page-sitemap .sitemap .sitemap_header a:hover {color:#0b5775!important;text-decoration:underline;}
/* Same full-width heading rule in both checkout columns. */
html body .lh-checkout-compact .twoColums > .highlightbox > h4 {display:block!important;float:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;border-bottom:1px solid #d9dfe2!important;padding-bottom:6px!important;}
/* Keep text readable on white and pale backgrounds; headings/buttons unchanged. */
html body .lh-checkout-compact .highlightbox,
html body .lh-checkout-compact .highlightbox p,
html body .lh-checkout-compact .highlightbox label {color:#243b46!important;}
html body .lh-checkout-compact .highlightbox > div[style*="overflow"],
html body .lh-checkout-compact .highlightbox > div[style*="overflow"] * {color:#243b46!important;}
html body .lh-checkout-compact .highlightbox > p > a {color:#0b5775!important;}

/* 04 October: readable stock and compact, equal product cards. */
html body .lh-availability { display:inline-flex; align-items:center; gap:6px; color:#243b46; font-size:11px; line-height:16px; font-weight:600; }
html body .lh-availability__lights { display:inline-flex; gap:3px; flex:none; }
html body .lh-availability__lights i { display:block; width:9px; height:9px; box-sizing:border-box; background:#e8e8e8; border:1px solid #9ca6ab; border-radius:1px; opacity:1; }
html body .lh-availability--green .lh-availability__green { background:#23903f; border-color:#16772e; }
html body .lh-availability--yellow .lh-availability__yellow { background:#f0bf27; border-color:#ac850b; }
html body .lh-availability--red .lh-availability__red { background:#d83232; border-color:#ac2020; }
html body .lh-card .lh-card__availability { box-sizing:border-box; min-height:38px; padding:2px 0; text-align:left; }
html body .lh-card .lh-card__delivery { font-size:11px; line-height:16px; }
html body .lh-card .lh-card__tax { min-height:32px; }
html body .lh-card .lh-card__meta { min-height:64px; }
/* Stretch cards by row without altering the established responsive column widths. */
html body div:has(> .lh-card):not(.lh-list) { display:flex; flex-wrap:wrap; align-items:stretch; }
html body div:has(> .lh-card):not(.lh-list)::before,
html body div:has(> .lh-card):not(.lh-list)::after { display:none; }
html body div:not(.lh-list) > .lh-card { display:flex; }
html body div:not(.lh-list) > .lh-card > .lh-card__inner { flex:1; height:auto; min-width:0; }
html body .lh-card .lh-card__image { flex-shrink:0; }
html body .lh-card .lh-card__price { min-height:67px; }
html body .lh-card .lh-card__buttons { padding-top:4px; gap:6px; }
html body .lh-card .lh-card__buttons .lh-image-button,
html body .lh-card .lh-card__buttons .lh-buy-button,
html body .lh-card .lh-card__buttons .cssButton { box-sizing:border-box; min-height:26px !important; height:26px !important; padding:4px 8px !important; line-height:16px !important; font-size:12px !important; }
html body .lh-card .lh-card__buttons .lh-image-button span { line-height:16px; }
html body .lh-detail-availability { margin:0 0 0 8px; }
html body .lh-detail-stock-row .lh-detail-availability { margin:0; font-size:12px; }
html body .lh-cart-cover-link { display:block; }
html body .lh-cart-cover-link:focus-visible { outline:2px solid #1377a2; outline-offset:2px; }
/* Keep the existing horizontal list layout. */
html body .lh-list .lh-card .lh-card__availability { grid-column:1 / -1; }
@media (max-width:540px) {
  html body .lh-card .lh-card__buttons .lh-image-button,
  html body .lh-card .lh-card__buttons .lh-buy-button,
  html body .lh-card .lh-card__buttons .cssButton { min-height:40px !important; height:40px !important; padding:11px 8px !important; }
}

/* 2026-10-04d: tighten the three gaps, retain the shared discount-price slot. */
html body .lh-card .lh-card__meta { min-height:60px; }
html body .lh-card .lh-card__price { min-height:58px; padding-top:4px; padding-bottom:2px; }
html body .lh-card .lh-card__tax { min-height:0; }
html body .lh-card .lh-card__buttons { padding-top:3px; }
/* List rows keep their native compact metadata and price flow. */
html body .lh-list .lh-card .lh-card__meta { min-height:0; }
html body .lh-list .lh-card .lh-card__price { min-height:0; }

/* Two explicit next steps after a successful add, never another cart request. */
html body .lh-purchase-dialog .lh-purchase-actions[hidden] { display:none !important; }
html body .lh-purchase-dialog .lh-purchase-actions { display:flex; gap:10px; margin-top:12px; }
html body dialog.lh-purchase-dialog.lh-purchase-dialog .lh-purchase-actions > button.lh-purchase-ok,
html body dialog.lh-purchase-dialog.lh-purchase-dialog .lh-purchase-actions > a.lh-purchase-cart {
  display:flex !important; align-items:center; justify-content:center;
  flex:1 1 0; box-sizing:border-box; min-width:0; min-height:40px;
  margin:0 !important; padding:9px 12px !important;
  border:1px solid #0b5775 !important; border-radius:6px !important;
  background:#1786a8 !important; color:#fff !important;
  font:600 14px/20px Arial,sans-serif !important;
  text-align:center; text-decoration:none !important; cursor:pointer;
}
html body dialog.lh-purchase-dialog.lh-purchase-dialog .lh-purchase-actions > .lh-purchase-ok:hover,
html body dialog.lh-purchase-dialog.lh-purchase-dialog .lh-purchase-actions > .lh-purchase-cart:hover { background:#0b5775 !important; }
html body .lh-purchase-dialog .lh-purchase-actions > :focus-visible { outline:2px solid #0b5775; outline-offset:3px; }
@media (max-width:420px) {
  html body .lh-purchase-dialog .lh-purchase-actions { flex-direction:column; }
}

/* Cart: the title leads; item number and delivery time stay secondary. */
html body form[action*="/shopping_cart.php"] .orderlist .ord_prdoducts_name {
  font-weight:700 !important;
}
html body form[action*="/shopping_cart.php"] .orderlist .ol_model,
html body form[action*="/shopping_cart.php"] .orderlist .ol_model strong,
html body form[action*="/shopping_cart.php"] .orderlist .ol_shipping,
html body form[action*="/shopping_cart.php"] .orderlist .ol_shipping strong {
  font-weight:400 !important;
}
/* About 20% narrower; retain the original cover and symmetrical padding. */
html body dialog.lh-purchase-dialog {
  width:min(552px,94vw); box-sizing:border-box; padding:24px;
}
html body dialog.lh-purchase-dialog .lh-purchase-body {
  grid-template-columns:minmax(130px,218px) minmax(0,1fr);
}
html body dialog.lh-purchase-dialog .lh-purchase-body > div {
  min-width:0; overflow-wrap:anywhere;
}
html body dialog.lh-purchase-dialog h2 { overflow-wrap:anywhere; }
@media (max-width:600px) {
  html body dialog.lh-purchase-dialog .lh-purchase-body { grid-template-columns:1fr; }
}
