/* Keep the established palette and Inter font. */
body .product-card { display: flex; flex-direction: column; height: 100%; background: var(--clr-bg-white); }
body .product-card .product-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 190px !important; flex: 0 0 190px; padding: 12px; background: var(--clr-bg-main); border-radius: 10px; }
body .product-card .product-image img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
body .product-card .product-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
body .product-card .product-title { height: auto !important; min-height: 4.2em !important; overflow: visible; line-height: 1.4 !important; }
body .product-card .price-container { margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
body .product-card .btn-add-cart { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 0; }
/* The original PNG includes generous transparent margins: enlarge its display box. */
body .lv-json-header .main-header .logo { display: flex; align-items: center; justify-content: center; width: 104px; height: 76px; flex-shrink: 0; }
body .lv-json-header .main-header .logo img { width: 104px !important; height: 104px !important; max-width: none !important; max-height: none !important; object-fit: contain; }
/* Remove avoidable gaps in the existing homepage sections. */
body.home .et-l--post .et_pb_section_2,
body.home .et-l--post .et_pb_section_3 { padding-top: 24px !important; padding-bottom: 0 !important; }
body.home .et-l--post .et_pb_section_4,
body.home .et-l--post .et_pb_section_6 { padding-top: 28px !important; padding-bottom: 28px !important; }
body.home .et-l--post .et_pb_section_5 { margin-top: 0 !important; padding-bottom: 28px !important; }
body.home .et-l--post .brand-logos-builder { padding-bottom: 24px !important; }
.lv-footer-hours-toggle { display: none; }
.lv-footer-branch h3 { color: inherit; font-size: 20px; padding-bottom: 0; margin-bottom: 8px; }
.lv-footer-branch .lv-footer-phone { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
    body .product-card .product-image { height: 148px !important; flex-basis: 148px; padding: 8px; }
    body.home .dipl_woo_products_carousel .product-card .product-title { font-size: .85rem !important; }
    body .product-card .btn-add-cart { font-size: .8rem; padding: 10px 6px; }
    body .lv-json-header .main-header .logo { width: 76px; height: 58px; margin: 0 auto; }
    body .lv-json-header .main-header .logo img { width: 88px !important; height: 88px !important; }
    body.home .et-l--post .et_pb_section_2,
    body.home .et-l--post .et_pb_section_3 { padding-top: 18px !important; }
    body.home .et-l--post .et_pb_section_4,
    body.home .et-l--post .et_pb_section_6 { padding-top: 20px !important; padding-bottom: 20px !important; }
    .et-l--footer .lv-footer-branch { margin-bottom: 0 !important; }
    .et-l--footer .lv-footer-branch-column { padding-top: 16px !important; padding-bottom: 16px !important; margin-bottom: 0 !important; }
    .lv-footer-hours-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
    .lv-footer-hours-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
    .lv-footer-hours-panel[hidden] { display: none !important; }
    .lv-footer-hours-panel { padding-top: 8px; }
}
@media (min-width: 768px) { .lv-footer-hours-panel { display: block !important; } }
/* Compact the audited banner and category rows without hiding content. */
body.home .et-l--post .et_pb_section_2 > .et_pb_row { padding-top: 16px !important; padding-bottom: 16px !important; }
body.home .et-l--post .et_pb_section_2 .et_pb_code_0 { margin-bottom: 0 !important; }
body.home .et-l--post .et_pb_section_3 .et_pb_text_4 { padding-top: 16px !important; }
@media (max-width: 767px) {
    body.home .et-l--post .et_pb_section_2 .dipl_floating_image_0 { height: auto !important; min-height: 0 !important; margin-bottom: 18px !important; }
    body.home .et-l--post .et_pb_section_2 .dipl_floating_image_item_0 { position: relative !important; top: auto !important; left: auto !important; transform: none !important; margin: 0 !important; }
    body.home .et-l--post .et_pb_section_3 .et_pb_toggle_content img { max-height: 180px; width: auto; max-width: 100%; object-fit: contain; }
    body.home .et-l--post .et_pb_section_3 .et_pb_toggle { padding: 14px !important; }
    body.home .et-l--post .et_pb_section_3 .et_pb_column { margin-bottom: 18px !important; }
}
@media (max-width: 767px) {
    body.home .et-l--post .et_pb_section_2 .dipl_floating_image_0 > .et_pb_module_inner,
    body.home .et-l--post .et_pb_section_2 .dipl_floating_images_wrapper { height: auto !important; min-height: 0 !important; }
    .et-l--footer .et_pb_row_2_tb_footer > .et_pb_column { padding-top: 18px !important; padding-bottom: 18px !important; }
}

/* Calm scrolling: stable header geometry and static decorative content. */
html { scroll-behavior: auto !important; }
body .main-header,
body .main-header.scrolled {
    padding-top: .85rem !important;
    padding-bottom: .85rem !important;
    box-shadow: var(--shadow-sm) !important;
    transition: none !important;
}
body .dipl_floating_image_item,
body .dipl_floating_image_item img { animation: none !important; }
body .product-card,
body .product-card:hover {
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
    box-shadow: var(--shadow-sm) !important;
    border-color: var(--clr-border) !important;
}
body .product-card .product-image img,
body .product-card:hover .product-image img,
body .main-header .logo:hover img {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}
