/* Keep YITH Ajax Search compact in PrimaShop's top navigation. */
#topnav li.topnav-search {
    width: 210px;
    box-sizing: border-box;
}

#topnav li.topnav-search .wp-block-yith-search-block {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#topnav li.topnav-search .wp-block-yith-input-block {
    width: 100%;
    max-width: 100%;
}

#topnav li.topnav-search .wp-block-yith-input-block input {
    box-sizing: border-box;
    max-width: 100%;
}

/* Restore PrimaShop's square search field. */
#topnav li.topnav-search .wp-block-yith-search-block,
#topnav li.topnav-search .wp-block-yith-input-block,
#topnav li.topnav-search input,
#topnav li.topnav-search button {
    border-radius: 0 !important;
}

/* Remove rounded corners from YITH's search field wrapper. */
#topnav li.topnav-search .ywcas-input-field {
    border-radius: 0 !important;
}

/* Restore square corners on the header product search. */
#topnav li.topnav-search .ywcas-input-field-wrapper,
#topnav li.topnav-search .ywcas-input-field,
#topnav li.topnav-search .ywcas-input-field input {
    border-radius: 0 !important;
}

/* Restore compact height of header search. */
#topnav li.topnav-search .ywcas-input-field-wrapper,
#topnav li.topnav-search .ywcas-input-field {
    height: 22px !important;
    min-height: 22px !important;
}

#topnav li.topnav-search .ywcas-input-field input {
    height: 25px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

#topnav li.topnav-search .ywcas-input-field input {
    font-size: 0.8rem !important;
}

/* Hide duplicate print button inside HTML5 Map */
#freeusregions-html5-map-state-info_0 .pdfprnt-buttons {
    display: none !important;
}
