/* Chap Haft A4 catalogs: show the final total only. */
form#pd-form:is([action="/product/OTQ3MDA1=/"], [action="/product/OTQ3MDc0=/"], [action="/product/OTQ3MDc1=/"], [action="/product/OTQ3MDc2=/"], [action="/product/OTQ3MDc3=/"]) ul.prices.price-d > :is(.basePriceLi, .price-label-option, .inico-discount, .discount-code-text) {
  display: none !important;
}

/* A5 bi-fold catalog: show only the final total. */
form#pd-form[action="/product/OTQ3MTE5=/"] .prices.price-d > :is(.basePriceLi, .price-label-option, .inico-discount, .discount-code-text, .depe-box1) { display: none !important; }


/* Compact search field in the public header. */
#AFHeader #TopBarSearchBox .TopBarSearchBoxInput {
    width: clamp(95px, 12vw, 150px);
    max-width: calc(100% - 28px);
    box-sizing: border-box;
    min-width: 0;
}


/* Compact public header utility row. */
#AFHeader .AFHeaderTopContainer > .row {
    align-items: center;
    padding-block: 4px;
}
#AFHeader .AFHeaderTopContainer .MenuMainUl > li {
    padding-block: 2px;
}
@media (min-width: 992px) {
    #AFHeader .AFHeaderTopContainer > .row > .topHeaderBoxs.text-right {
        flex: 0 0 52%;
        max-width: 52%;
    }
    #AFHeader .AFHeaderTopContainer > .row > .topHeaderBoxs.text-left {
        flex: 0 0 24%;
        max-width: 24%;
    }
    #AFHeader .AFHeaderTopContainer > .row > .topHeaderBoxs.text-center:not(:has(*)) {
        display: none;
    }
}


/* Typography for product descriptions beneath the order price. */
#pd-form .helpbox {
    font-size: .875rem;
    line-height: 1.75;
}
#pd-form .helpbox :is(p, li, td, th, blockquote) {
    font-size: .875rem;
    line-height: 1.75;
}
#pd-form .helpbox :is(h1, h2) {
    font-size: 1.5rem;
    line-height: 1.5;
}
#pd-form .helpbox h3 {
    font-size: 1.25rem;
    line-height: 1.5;
}
#pd-form .helpbox :is(h4, h5, h6) {
    font-size: 1.0625rem;
    line-height: 1.5;
}


/* Compact print guide notice */
.modal-dialog:has(.ch-print-notice) {width:calc(100% - 24px);max-width:460px;margin-inline:auto;}
.ch-print-notice {max-width:410px !important;}


/* Card frames for the storefront product grid. */
#chap_content .product-group:not(.list) a.product {
    height:auto; max-width:280px; overflow:hidden; vertical-align:top;
    border:1px solid #dce9e6; border-radius:12px;
    background:#fff; box-shadow:0 3px 12px rgba(13,66,62,.09);
}
#chap_content .product-group:not(.list) a.product:hover {
    border-color:#26918a; box-shadow:0 5px 16px rgba(13,66,62,.16);
}
#chap_content .product-group:not(.list) a.product > .vertical-helper {display:none;}
#chap_content .product-group:not(.list) a.product > img {
    display:block; width:100%; height:auto; max-height:none; aspect-ratio:1;
    object-fit:cover; margin:0;
}
#chap_content .product-group:not(.list) a.product > .product_cover {
    position:static; display:grid; place-items:center; min-height:42px; height:auto;
    padding:6px 8px; background:#087e81!important; color:#fff;
}
#chap_content .product-group:not(.list) a.product .title,
#chap_content .product-group:not(.list) a.product .title p {
    margin:0; padding:0; font-size:14px; line-height:1.5; color:#fff;
}
#chap_content .product-group:not(.list) a.product .submitoreder {display:none;}

html:has(link[rel="canonical"][href*="/category/MTIyOTA1="]) #chap_content .product-group:not(.list) a.product > img {object-view-box:inset(6% 9% 10%);}

/* Product card hover feedback */
@media (hover:hover) and (pointer:fine) {
 :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure) {transition:translate 180ms ease,box-shadow 180ms ease;}
 :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):hover, :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):focus-within, :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):focus-visible {translate:0 -7px;box-shadow:0 12px 24px rgba(8,88,83,.27)!important;}
 #ch-card-quick tbody tr:hover {background-color:#edf8f5;}
}
@media (prefers-reduced-motion:reduce) {
 :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure) {transition:none;translate:none;}
 :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):hover, :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):focus-within, :is(#chap_content .product-group a.product,#chap_content .product-group a.product-list-view,#ch-catalog-shop .ch-card,#ch-fancy-home .ch-card,#VitualMenuSection .VitualMenuItemImgBox,#ch-card-quick figure):focus-visible {translate:none;}
}
