/* The archive and native product templates keep their WooCommerce markup. */
body.jg-native {
    margin: 0;
    color: #29251f;
    background: #f7f2e8;
    font-family: "Segoe UI", Arial, sans-serif;
}
.jg-native .jg-native-chrome { max-width: none; }
.jg-native:has(.jg-catalogo-header) :is(#masthead, header.site-header, .elementor-location-header),
.jg-native:has(.jg-catalogo-footer) :is(#colophon, footer.site-footer, .elementor-location-footer),
.jg-native:has(.jg-catalogo-header) .wp-site-blocks > :is(header, .wp-block-template-part:has(> header)),
.jg-native:has(.jg-catalogo-footer) .wp-site-blocks > :is(footer, .wp-block-template-part:has(> footer)) {
    display: none;
}
.jg-native :is(#content, .wp-site-blocks) { background: #f7f2e8; color: #29251f; }
.jg-native :is(main, .woocommerce, .wp-site-blocks) :is(h1, h2, h3) {
    color: #29251f;
    font-family: Georgia, serif;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.jg-native :is(main, .woocommerce) a:not(.button, .wp-element-button) { color: #70531e; }
.jg-native :is(.woocommerce .button, .woocommerce a.button, .woocommerce button.button.alt, .wc-block-components-product-button__button) {
    min-height: 44px;
    padding: .65em 1em;
    box-sizing: border-box;
    border: 1px solid #6f531f;
    background: #6f531f;
    color: #fffaf0;
    white-space: normal;
    line-height: 1.35;
}
.jg-native :is(.woocommerce select, .woocommerce .input-text) {
    max-width: 100%;
    min-height: 44px;
}
.jg-native .widget_price_filter .ui-slider :is(.ui-slider-range, .ui-slider-handle) { background: #876622; }
.jg-site .jg-catalogo-header > .jg-container { flex-wrap: wrap; }
.jg-site .jg-language { min-width: 0; max-width: 100%; color: #fffaf0; }
.jg-site .jg-catalogo-footer nav { flex-wrap: wrap; }
.jg-site .jg-catalogo-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    padding-block: 10px;
    border-bottom: 1px solid #d9cebb;
}
.jg-site .jg-catalogo-categories a {
    padding-block: 10px;
    color: #70531e;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.jg-site .jg-catalogo-categories [aria-current="page"] { font-weight: 700; }
.jg-legacy-catalog .jg-legacy-books { padding-block: clamp(24px, 5vw, 64px); }
.jg-legacy-catalog .jg-legacy-books ul.products { padding: 0; }
.jg-legacy-catalog .jg-legacy-books :is(.woocommerce-loop-product__title, .price) { color: #29251f; }
.jg-book-price-filter fieldset {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #d9cebb;
}
.jg-book-price-filter input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #ad9d81;
    font: inherit;
}
@media (max-width: 650px) {
    .jg-site .jg-catalogo-header .jg-language { grid-column: 1 / -1; }
    .jg-native .woocommerce .woocommerce-ordering { float: none; }
    .jg-native .woocommerce .woocommerce-result-count { float: none; }
}
