/*
Theme Name: Numismak
Theme URI: http://www.elegantthemes.com
Template: generatepress
Author: Pep
Author URI: https://www.websx3.cat
Description: Child theme per fer canvis amb seguretat
Version: 1.0
*/

/* ============================================================
   BASE Y TIPOGRAFÍA GLOBAL
   ============================================================ */

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Imprint MT Shadow', serif;
    color: #111;
    margin-top: 0;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

p,
ul,
ol {
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

small,
.text-small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
}

button,
.button,
input[type="submit"] {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

input,
textarea,
select {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

:root .has-accent-background-color {
    border-radius: 0;
}

/* ============================================================
   HEADER Y NAVEGACIÓN PRINCIPAL
   ============================================================ */

.main-title a,
.main-title a:hover {
    color: #c9a86a;
    font-family: 'Imprint MT Shadow';
    font-size: 2em;
    font-weight: 500 !important;
}

/* ============================================================
   LAYOUT GENERAL
   ============================================================ */

.page-hero,
.separata,
.section {
    margin-bottom: 3rem;
}

.block {
    margin-bottom: 2rem;
}

.inside-article {
    border-radius: 8px;
    background-color: #1f4e5f0a !important;
}

/* Altura y padding del hero de inicio. Se conserva por precaución. */
.thero1 {
    padding-top: 600px;
    height: 800px;
}

/* ============================================================
   SIDEBARS Y WIDGETS
   ============================================================ */

/* El valor transparente y sin borde es el resultado final de la cascada original. */
.inside-right-sidebar,
.inside-left-sidebar {
    background-color: #ffffff00 !important;
    border: 0 !important;
}

.widget-area .widget {
    border-bottom: 2px solid #1f4e5f2e;
}

aside {
    border: 1px solid #1f4e5f91 !important;
    border-radius: 8px;
}

.has-medium-font-size {
    font-size: 16px !important;
}

/* Carrito en barra lateral. */
p.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center !important;
}

.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons a {
    width: 100% !important;
}

p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward {
    margin-bottom: 10px !important;
}

p.woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward {
    margin-left: 0 !important;
}

/* ============================================================
   BUSCADORES Y FILTROS
   ============================================================ */

.widget_filter_everything {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.widget_filter_everything h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.widget_filter_everything ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_filter_everything li {
    margin-bottom: 6px;
    font-size: 14px;
}

.widget_filter_everything input {
    margin-right: 6px;
}

.wpc-filters-section {
    padding: 20px;
    border: 1px #1f4e5f solid;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 15px !important;
}

aside#wpc_filters_widget-4 {
    background-color: #ffffff00;
    border: 0 !important;
    padding: 0;
}

#wpc_filters_widget-4 .wpc-posts-found {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpc-filters-widget-top-container {
    background: #f5f5f5;
    border-bottom: 0;
    padding: 0;
}

.wpc-filters-widget-top-container:before {
    background: #f5f5f5;
}

.wpc-filters-widget-select {
    color: #20596b !important;
}

.wp-block-search__inside-wrapper {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

input#wp-block-search__input-1,
input#wp-block-search__input-2 {
    margin-bottom: 10px;
}

.filtro-paises-dropdown select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    background: #fff;
}

.numisk-select-paises {
    margin-bottom: 20px;
}

.numisk-select-paises .select2-container {
    width: 100% !important;
}

.numisk-select-paises .select2-selection {
    height: 44px !important;
    border-radius: 6px !important;
    border: 1px solid #cfcfcf !important;
}

.numisk-select-paises .select2-selection__rendered {
    line-height: 42px !important;
    padding-left: 15px !important;
}

.numisk-select-paises .select2-selection__arrow {
    height: 42px !important;
}

.numisk-select-paises .select2-selection--single {
    background-color: #f4f4f4 !important;
    border-radius: 2px !important;
}

/* ============================================================
   TIENDA Y CATÁLOGO DE PRODUCTOS
   ============================================================ */

/* Grid canónico: la declaración flex posterior era contradictoria. */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px 20px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #1f4e5f6b !important;
    border-radius: 8px;
    padding: 20px;
    padding-top: 12px !important;
    padding-bottom: 14px !important;
    background-color: #fff !important;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .wc-product-image {
    margin-bottom: 6px !important;
}

.woocommerce ul.products li.product .inside-wc-product-image {
    min-height: 190px !important;
    height: 190px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce ul.products li.product .inside-wc-product-image img {
    max-height: 190px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    height: 40px;
    min-height: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    margin: 6px 8px 8px !important;
}

.woocommerce ul.products li.product .star-rating {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
}

.woocommerce ul.products li.product .price {
    text-align: center;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .button {
    padding: 11px 14px !important;
    min-height: auto !important;
    line-height: 1.2 !important;
}

.woocommerce .button {
    border-radius: 8px !important;
}

.filtro-moneda-categoria {
    width: 100%;
    display: block;
    clear: both;
    margin: 15px 0 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.woocommerce .filtro-moneda-categoria {
    float: left;
}

.btn-moneda {
    display: inline-block;
    margin: 15px 8px 5px 10px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
}

.btn-moneda.reset {
    background: #fff;
    color: #1f4e5f;
    border-color: #1f4e5f;
    margin-left: 2%;
}

.btn-moneda.active {
    background: #1f4e5f;
    color: #fff;
}

/* ============================================================
   CATEGORÍAS, PAÍSES Y BANDERAS
   ============================================================ */

.woocommerce ul.products li.product-category {
    text-align: center;
    padding: 25px 20px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product-category:hover {
    border-color: #c9c9c9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.category-flag {
    width: 100%;
    max-height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
}

.woocommerce-loop-category__title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.woocommerce-loop-category__title .count {
    display: none;
}

/* ============================================================
   ÍNDICE DE PAÍSES
   ============================================================ */

.indice-numisk-wrapper {
    margin-top: 20px;
}

.indice-letras {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.indice-letras a {
    display: inline-block;
    margin: 4px 6px;
    padding: 4px 7px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 3px;
}

.indice-letras a:hover {
    background: #f3f3f3;
}

.indice-numisk {
    column-count: 2;
    column-gap: 60px;
}

.bloque-letra {
    break-inside: avoid;
    margin-bottom: 25px;
}

.letra {
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 4px;
}

.bloque-letra ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pais-item {
    margin-bottom: 7px;
}

.pais-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    color: #333;
}

.bandera {
    width: 22px;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.contador {
    margin-left: 6px;
    font-size: 13px;
    color: #777;
}

.pais-item a:hover {
    color: #8a6d3b;
}

/* ============================================================
   FICHA INDIVIDUAL DE PRODUCTO
   ============================================================ */

.woocommerce div.product .product_title {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 1rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.descripcion-larga-producto {
    margin: 15px 0 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.descripcion-larga-producto p:last-child {
    margin-bottom: 0;
}

.producto-pais {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 15px;
}

.producto-pais .label {
    font-weight: 600;
}

.bandera-pais {
    width: 22px;
    height: auto;
}

.producto-sku {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

.producto-sku .label {
    font-weight: 500;
}

.summary.entry-summary {
    border: 1px solid #1f4e5f6b !important;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff !important;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    border-radius: 8px;
    border: 1px solid #1f4e5f6b;
    background-color: #fff !important;
    padding: 20px;
}

.numisk-follow-button {
    white-space: nowrap !important;
    width: auto !important;
    min-width: 190px !important;
}

.numisk-follow-count {
    font-size: 0.875rem !important;
    white-space: nowrap !important;
}

/* ============================================================
   CARACTERÍSTICAS Y ATRIBUTOS
   ============================================================ */

.woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes th {
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0.5rem 0 !important;
}

.woocommerce table.shop_attributes td {
    font-style: normal !important;
}

.woocommerce table.shop_attributes td a {
    text-decoration: none !important;
    color: #1f4e5f !important;
}

td.woocommerce-product-attributes-item__value a {
    padding-left: 10px;
}

.info-adicional-producto {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.info-adicional-producto h3 {
    font-family: Inter !important;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-adicional-producto table {
    margin-bottom: 0;
}

/* ============================================================
   NAVEGACIÓN ANTERIOR / SIGUIENTE
   ============================================================ */

.numisk-navigation {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    margin: 22px 0 0;
    padding: 14px 0;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.numisk-nav-prev,
.numisk-nav-next {
    display: flex;
    flex-direction: column;
    width: 220px;
    text-align: center;
    border: 1px solid #1f4e5f4d;
    padding: 16px 20px;
    border-radius: 8px;
    background-color: #fff;
}

.numisk-navigation a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.numisk-nav-thumb {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin: 7px 0;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

.nav-title {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    margin-top: 3px;
}

/* ============================================================
   PRODUCTOS RELACIONADOS Y NOVEDADES
   ============================================================ */

.single-product .related.products {
    margin-top: 50px;
    border: 1px solid #1f4e5f6b;
    border-radius: 8px;
    padding: 16px;
}

.single-product .related.products ul.products li.product {
    justify-content: flex-start;
    padding: 10px 14px 12px !important;
}

.single-product .related.products .wc-product-image {
    margin-bottom: 4px !important;
}

.single-product .related.products .inside-wc-product-image {
    min-height: 175px !important;
    height: 175px !important;
}

.single-product .related.products .inside-wc-product-image img {
    max-height: 175px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.single-product .related.products .woocommerce-loop-product__title {
    height: 40px;
    min-height: 40px;
    margin: 5px 6px 7px !important;
}

.single-product .related.products .star-rating {
    margin-top: 3px !important;
    margin-bottom: 5px !important;
}

.single-product .related.products .price {
    margin-top: 3px !important;
    margin-bottom: 8px !important;
}

.single-product .related.products .button {
    margin-top: auto !important;
    padding: 10px 13px !important;
    white-space: nowrap;
}

.novedades-news {
    border: 1px solid #b8c9d1;
    border-radius: 8px;
    padding: 15px;
    background: #eceeef;
    margin-bottom: 40px;
}

.novedades-news h1.wp-block-heading {
    margin-bottom: 25px !important;
}

.novedades-news .wc-block-product-template {
    gap: 10px;
    margin-left: 0;
}

.novedades-news .wc-block-product {
    background: #fff;
    border: 1px solid #d5dfe3;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    text-align: center;
    transition: all 0.2s ease;
}

.novedades-news .wc-block-product:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.novedades-news .wc-block-components-product-image {
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.novedades-news .wc-block-components-product-image img {
    max-width: 140px !important;
    max-height: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
}

.novedades-news .wp-block-post-title {
    min-height: 80px;
    max-height: 80px;
    overflow: hidden;
    margin: 10px 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.novedades-news .wp-block-post-title a {
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.novedades-news .wc-block-components-product-price {
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.novedades-news .wp-block-woocommerce-product-button {
    margin-top: auto;
}

.novedades-news .wp-block-button__link {
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    background-color: #1f4e5f;
}

/* ============================================================
   VALORACIONES
   ============================================================ */

.numisk-product-reviews {
    margin-top: 28px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #9fb8c1;
    border-radius: 6px;
}

.numisk-product-reviews #reviews {
    margin: 0;
}

.numisk-product-reviews #comments,
.numisk-product-reviews #review_form_wrapper {
    margin: 0;
}

.numisk-product-reviews #comments {
    margin-bottom: 14px !important;
}

.numisk-product-reviews #review_form_wrapper {
    margin-top: 0 !important;
}

.numisk-product-reviews .woocommerce-Reviews-title {
    margin: 0 0 18px;
}

.single-product #reviews #comments .woocommerce-Reviews-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
}

.numisk-product-reviews .woocommerce-noreviews {
    margin-bottom: 16px;
}

.numisk-product-reviews #reply-title {
    display: block;
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 600;
}

.numisk-review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    margin-bottom: 6px !important;
    flex-wrap: wrap;
}

.numisk-review-top-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.numisk-review-top .comment-form-rating > label {
    display: none !important;
}

.numisk-review-top .comment-form-rating {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.numisk-product-reviews .comment-form-rating {
    margin-bottom: 14px;
}

.numisk-review-top .stars {
    margin: 0 !important;
    line-height: 1;
}

.numisk-product-reviews .stars {
    margin-top: 5px;
    margin-bottom: 0;
}

.numisk-product-reviews .stars a {
    font-size: 21px;
    color: #d6a848 !important;
}

.numisk-product-reviews .stars:hover a,
.numisk-product-reviews .stars.selected a {
    color: #d6a848 !important;
}

.numisk-product-reviews .stars a:hover ~ a {
    color: #bfc5c8 !important;
}

.numisk-product-reviews .comment-form-comment {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.numisk-product-reviews .comment-form-comment label {
    display: block;
    margin-bottom: 3px !important;
}

.numisk-product-reviews textarea {
    min-height: 75px !important;
    padding: 12px;
    border: 1px solid #d5dadd;
    background: #f7f7f7;
    border-radius: 2px;
}

.numisk-product-reviews .comment-form-comment textarea {
    min-height: 70px !important;
}

.numisk-product-reviews .form-submit {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

.numisk-product-reviews #submit {
    padding: 11px 20px;
    font-weight: 600;
}

/* ============================================================
   CARRITO Y AUXILIARES WOOCOMMERCE
   ============================================================ */

.wc-block-cart__main .wc-block-cart-items th {
    padding: 8px 16px 12px 20px !important;
}

.wc-block-components-sidebar {
    padding-right: 2.2641509434% !important;
}

.woocommerce-info {
    background-color: #1f4e5fc4 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer-widget-1 a,
.footer-widget-3 a,
.footer-widgets .footer-widget-2 .gb-text a {
    text-decoration: none !important;
}

.footer-widgets .widget-title,
.footer-widgets .footer-widget-2 .gb-text {
    border-bottom: 1px solid !important;
}

.footer-widget-2 .widget {
    margin-bottom: 10px !important;
}

div#footer-widgets {
    padding-bottom: 2em;
    padding-top: 1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 1201px) {
    .woocommerce .wc-columns-container.wc-columns-4 ul.products,
    .woocommerce .wc-columns-container.wc-columns-4 .products {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 30px 20px;
    }
}

@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 20px;
    }
}

@media (min-width: 769px) {
    .single-product .related.products > h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .single-product .woocommerce-product-gallery {
        width: 42% !important;
    }

    .single-product .summary {
        width: 54% !important;
    }

    .summary.entry-summary,
    .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
        padding: 17px;
    }

    .single-product .woocommerce-product-gallery__image:first-child img {
        max-width: 75%;
        height: auto;
        margin: 14px auto;
        display: block;
        object-fit: contain;
        transition: transform 0.2s ease;
    }

    .single-product .woocommerce-product-gallery__image:first-child img:hover {
        transform: scale(1.03);
    }

    .single-product .woocommerce-product-gallery__wrapper {
        text-align: center;
    }

    .single-product div.product .product_title {
        margin-bottom: 0.55rem;
    }

    .single-product div.product p.price,
    .single-product div.product span.price {
        margin-bottom: 0.55rem;
    }

    .single-product div.product .woocommerce-product-details__short-description {
        margin-bottom: 0.9rem;
    }

    .single-product div.product .woocommerce-product-details__short-description p:last-child {
        margin-bottom: 0;
    }

    .single-product .producto-pais {
        margin: 5px 0;
    }

    .single-product .descripcion-larga-producto {
        margin: 9px 0 16px;
    }

    .single-product .producto-sku {
        margin-top: 8px;
    }

    .single-product table.shop_attributes td,
    .single-product table.shop_attributes th {
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }

    .single-product .info-adicional-producto {
        margin-top: 12px;
        padding-top: 12px;
    }

    .single-product .info-adicional-producto h3 {
        margin-bottom: 6px;
    }

    .single-product div.product p.stock {
        margin-bottom: 0.5rem;
    }

    .single-product div.product form.cart {
        margin-bottom: 0.75rem;
    }

    .single-product .numisk-follow-button {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.625rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .woocommerce div.product .product_title {
        font-size: 1.5rem;
    }

    .single-product .woocommerce-product-gallery,
    .single-product .summary {
        width: 100% !important;
    }

    .single-product .woocommerce-product-gallery__image:first-child img {
        max-width: 85%;
        margin: 10px auto;
        display: block;
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


/* Catalogo jerarquico [catalogo_paises]. Estilos exclusivos del shortcode. */
.numisk-country-catalog {
    margin: 16px 0;
    color: #222;
}

.numisk-country-catalog .numisk-country-catalog__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.numisk-country-catalog .numisk-country-catalog__field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.numisk-country-catalog .numisk-country-catalog__field select,
.numisk-country-catalog .numisk-country-catalog__field input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.numisk-country-catalog .numisk-country-catalog__grid {
    column-count: 3;
    column-gap: 12px;
}

.numisk-country-catalog .numisk-country-catalog__country {
    box-sizing: border-box;
    break-inside: avoid;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #d5dfe3;
    border-radius: 6px;
    background: #fff;
}

.numisk-country-catalog .numisk-country-catalog__title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.numisk-country-catalog .numisk-country-catalog__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f4e5f;
    text-decoration: none;
    padding: 2px 0;
}

.numisk-country-catalog a.numisk-country-catalog__link:hover {
    text-decoration: underline;
}

.numisk-country-catalog :focus-visible {
    outline: 2px solid #1f4e5f;
    outline-offset: 3px;
}

.numisk-country-catalog .numisk-country-catalog__flag {
    flex: 0 0 24px;
    width: 24px;
    height: 18px;
    object-fit: contain;
}

.numisk-country-catalog .numisk-country-catalog__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.numisk-country-catalog .numisk-country-catalog__count {
    flex-shrink: 0;
    margin-left: auto;
    color: #666;
    font-size: 0.8125rem;
    font-weight: 400;
}

.numisk-country-catalog .numisk-country-catalog__children {
    list-style: none;
    margin: 5px 0 0 11px;
    padding: 0 0 0 10px;
    border-left: 1px solid #d5dfe3;
    font-size: 0.875rem;
    line-height: 1.5;
}

.numisk-country-catalog .numisk-country-catalog__children li {
    margin: 0;
}

.numisk-country-catalog .numisk-country-catalog__children .numisk-country-catalog__flag {
    flex-basis: 20px;
    width: 20px;
    height: 15px;
}

.numisk-country-catalog .numisk-country-catalog__empty {
    margin: 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
}

.numisk-country-catalog [hidden] {
    display: none;
}

@media (max-width: 1024px) {
    .numisk-country-catalog .numisk-country-catalog__grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .numisk-country-catalog .numisk-country-catalog__grid {
        column-count: 1;
    }

    .numisk-country-catalog .numisk-country-catalog__filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
