/**
 * Shop / Catálogo de Experiencias — BajoNalón
 * Diseño basado en mockup store.html
 * Estructura: sidebar 280 px + área de resultados (grid de cards)
 */

/* ──────────────────────────────────────────────────────────────
   1. FONDO DE PÁGINA WOOCOMMERCE
────────────────────────────────────────────────────────────── */

body.woocommerce,
body.woocommerce-page {
    background-color: #f4f6f8;
}

/* ──────────────────────────────────────────────────────────────
   2. STORE CONTAINER — grid 2 columnas
────────────────────────────────────────────────────────────── */

.bn-store-container {
    max-width: 1450px;
    margin: 48px auto 80px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
    align-items: start;
}

/* ──────────────────────────────────────────────────────────────
   3. BOTÓN MÓVIL PARA MOSTRAR/OCULTAR FILTROS
   (oculto en desktop, visible ≤ 768 px)
────────────────────────────────────────────────────────────── */

.bn-toggle-filters-btn {
    display: none;
    width: calc(100% - 10%);
    margin: 0 5% 20px;
    padding: 14px 20px;
    background: #1d5f87;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.25s ease;
}

.bn-toggle-filters-btn:hover {
    background: #154563;
}

.bn-toggle-filters-btn i {
    font-size: 1rem;
}

/* ──────────────────────────────────────────────────────────────
   4. SIDEBAR — panel base
────────────────────────────────────────────────────────────── */

.bn-store-sidebar {
    background: #fff;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.bn-filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ──────────────────────────────────────────────────────────────
   5. SIDEBAR — cabecera del panel
────────────────────────────────────────────────────────────── */

.bn-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.bn-filter-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d5f87;
    margin: 0;
}

.bn-btn-clear {
    background: none;
    border: none;
    color: #888;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-family: inherit;
    padding: 0;
}

.bn-btn-clear:hover {
    color: #e86a10;
}




/* ──────────────────────────────────────────────────────────────
   6. SIDEBAR — grupos de filtro
────────────────────────────────────────────────────────────── */

.bn-filter-group {
    margin-bottom: 24px;
}

.bn-filter-group:last-child {
    margin-bottom: 0;
}

.bn-filter-group h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #222;
    margin: 0 0 12px;
}

/* ──────────────────────────────────────────────────────────────
   7. SIDEBAR — caja de búsqueda
────────────────────────────────────────────────────────────── */

.bn-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: #f4f6f8;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.bn-search-box i,
.bn-search-box svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #888;
    font-size: 0.85rem;
    pointer-events: none;
}

.bn-search-box input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 11px 0;
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.88rem;
    color: #222;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
}

.bn-search-box:focus-within {
    border-color: #2b91af;
    background: #fff;
}

/* ──────────────────────────────────────────────────────────────
   8. SIDEBAR — checkboxes de categorías
────────────────────────────────────────────────────────────── */

.bn-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 0.9rem;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    border-radius: 6px;
}

.bn-checkbox-item:hover {
    color: #1d5f87;
}

.bn-checkbox-item.is-active {
    color: #1d5f87;
    font-weight: 600;
}

/* Estado inactivo: vacío, solo borde */
.bn-checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #9ca3af;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    background: transparent;
}

/* Icono oculto por defecto */
.bn-checkmark i,
.bn-checkmark svg {
    color: #fff;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

/* Estado activo: relleno azul + check visible */
.bn-checkbox-item.is-active .bn-checkmark {
    background: #1d5f87;
    border-color: #1d5f87;
}

.bn-checkbox-item.is-active .bn-checkmark i,
.bn-checkbox-item.is-active .bn-checkmark svg {
    opacity: 1;
}

/* Hover sobre inactivo: anticipa el borde azul */
.bn-checkbox-item:hover .bn-checkmark {
    border-color: #1d5f87;
}

/* Foco de teclado visible: el <input> nativo está oculto, así que el anillo
   se dibuja sobre el check visible (.bn-checkmark) — WCAG 2.4.7 */
.bn-filter-cb:focus-visible + .bn-checkmark {
    outline: 2px solid #1d5f87;
    outline-offset: 2px;
}

.bn-checkbox-label {
    flex: 1;
    min-width: 0;
}

.bn-count {
    margin-left: auto;
    font-size: 0.75rem;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    color: #888;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   9. SIDEBAR — selectores (ubicación, duración)
────────────────────────────────────────────────────────────── */

.bn-select-wrap {
    position: relative;
}

.bn-select-wrap::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #1d5f87;
    border-bottom: 2px solid #1d5f87;
    transform: translateY(-65%) rotate(45deg);
    position: absolute;
    right: 14px;
    top: 50%;
    pointer-events: none;
}

.bn-select-box {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #222;
    background: #f4f6f8;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.bn-select-box:focus {
    border-color: #2b91af;
    background: #fff;
}

/* Suprimir los ::after nativos cuando JS ya pone la flecha en el custom select */
.bn-select-wrap.has-custom-select::after,
.woocommerce-ordering.has-custom-select-ordering::after {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────
   CUSTOM SELECT — dropdown completamente estilizable
────────────────────────────────────────────────────────────── */

.bn-custom-select {
    position: relative;
    width: 100%;
}

/* Trigger (botón que reemplaza el select) */
.bn-custom-select__trigger {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #222;
    background: #f4f6f8;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
}

.bn-custom-select__trigger:hover,
.bn-custom-select.is-open .bn-custom-select__trigger {
    border-color: #2b91af;
    background: #fff;
}

.bn-custom-select__trigger:focus-visible {
    border-color: #2b91af;
    outline: 2px solid rgba(43, 145, 175, 0.3);
    outline-offset: 2px;
}

.bn-custom-select__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Flecha CSS pura — rota al abrir */
.bn-custom-select__arrow {
    width: 7px;
    height: 7px;
    border-right: 2px solid #1d5f87;
    border-bottom: 2px solid #1d5f87;
    transform: rotate(45deg) translateY(-2px);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.bn-custom-select.is-open .bn-custom-select__arrow {
    transform: rotate(225deg) translateY(-2px);
}

/* Panel desplegable */
.bn-custom-select__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.bn-custom-select.is-open .bn-custom-select__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Lista de opciones */
.bn-custom-select__options {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.bn-custom-select__options::-webkit-scrollbar {
    width: 4px;
}

.bn-custom-select__options::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* Opción individual */
.bn-custom-select__option {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #444;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    list-style: none;
}

.bn-custom-select__option:hover {
    background: #f0f7fc;
    color: #1d5f87;
}

.bn-custom-select__option.is-selected {
    background: #e4f1f8;
    color: #1d5f87;
    font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────
   10. ÁREA DE RESULTADOS
────────────────────────────────────────────────────────────── */

.bn-results-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    position: relative;
}

.bn-results-preloader {
    position: absolute;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 14px 0;
    background: rgba(244, 246, 248, 0.84);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bn-results-area.is-loading .bn-results-preloader {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.bn-results-preloader__inner {
    position: sticky;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(29, 95, 135, 0.16);
    box-shadow: 0 10px 28px rgba(29, 95, 135, 0.18);
}

.bn-results-preloader__spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(29, 95, 135, 0.24);
    border-top-color: #1d5f87;
    animation: bn-spin-loader 0.75s linear infinite;
}

.bn-results-preloader__text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d5f87;
}

@keyframes bn-spin-loader {
    to {
        transform: rotate(360deg);
    }
}

.bn-results-area--with-arrival .bn-results-bar,
.bn-results-area--with-arrival .bn-no-products {
    animation: bn-results-fade-up 0.22s ease both;
}

.bn-results-area--with-arrival ul.products li.product {
    animation: bn-results-fade-up 0.24s ease both;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(1) {
    animation-delay: 0.02s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(2) {
    animation-delay: 0.04s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(3) {
    animation-delay: 0.06s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(4) {
    animation-delay: 0.08s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(5) {
    animation-delay: 0.1s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(6) {
    animation-delay: 0.12s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(7) {
    animation-delay: 0.14s;
}

.bn-results-area--with-arrival ul.products li.product:nth-child(8) {
    animation-delay: 0.16s;
}

@keyframes bn-results-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ──────────────────────────────────────────────────────────────
   11. BARRA DE RESULTADOS (conteo + ordenación WooCommerce)
────────────────────────────────────────────────────────────── */

.bn-results-bar {
    background: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 12px;
}

/* WooCommerce result count */
.bn-results-bar .woocommerce-result-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    margin: 0;
}

/* WooCommerce ordering form */
.bn-results-bar .woocommerce-ordering {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    position: relative;
}

.bn-results-bar .woocommerce-ordering::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #1d5f87;
    border-bottom: 2px solid #1d5f87;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    position: absolute;
    right: 2px;
    top: 50%;
    flex-shrink: 0;
}

.bn-results-bar .woocommerce-ordering select.orderby {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1d5f87;
    cursor: pointer;
    outline: none;
    padding: 0 16px 0 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ──────────────────────────────────────────────────────────────
   12. PRODUCTS GRID — lista WooCommerce
────────────────────────────────────────────────────────────── */

ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 28px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

/* Reset obligatorio: WooCommerce aplica float + width % por defecto en li.product
   y eso rompe el grid haciendo las cards ultra-finas */
ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
}

/* Anular el clearfix de WooCommerce: genera ::before/::after con display:table
   que aparecen como espacios en blanco extra dentro del grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────
   13. SHOP CARD — contenedor principal
────────────────────────────────────────────────────────────── */

.bn-shop-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex !important;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bn-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

/* ──────────────────────────────────────────────────────────────
   14. SHOP CARD — imagen y badges
────────────────────────────────────────────────────────────── */

.bn-shop-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.bn-shop-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.bn-shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.bn-shop-card:hover .bn-shop-card__img img {
    transform: scale(1.05);
}

/* Badges */
.bn-shop-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* evita que los badges se estiren al ancho del contenedor */
    gap: 5px;
    z-index: 2;
}

.bn-shop-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    line-height: 1.3;
    white-space: nowrap;
}

.bn-shop-badge--best {
    background: #2b91af;
}

.bn-shop-badge--discount {
    background: #e74c3c;
}

.bn-shop-badge--last {
    background: #f39c12;
}

/* ──────────────────────────────────────────────────────────────
   15. SHOP CARD — cuerpo
────────────────────────────────────────────────────────────── */

.bn-shop-card__body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0;
}

/* ──────────────────────────────────────────────────────────────
   16. SHOP CARD — meta (ubicación + duración)
────────────────────────────────────────────────────────────── */

.bn-shop-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #888;
    margin-bottom: 10px;
}

.bn-shop-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.bn-shop-card__meta i {
    color: #2b91af;
    font-size: 0.78rem;
}

/* ──────────────────────────────────────────────────────────────
   17. SHOP CARD — título
────────────────────────────────────────────────────────────── */

.bn-shop-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
    overflow-wrap: anywhere;
}

.bn-shop-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bn-shop-card__title a:hover {
    color: #1d5f87;
}

/* ──────────────────────────────────────────────────────────────
   18. SHOP CARD — valoración (WooCommerce star rating)
────────────────────────────────────────────────────────────── */

.bn-shop-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #888;
}

.bn-shop-card__rating .star-rating {
    font-size: 0.88rem;
}

.bn-shop-card__rating .star-rating::before {
    color: #ddd;
}

.bn-shop-card__rating .star-rating span::before {
    color: #f1c40f;
}

.bn-shop-card__review-count {
    font-size: 0.78rem;
    color: #aaa;
}

/* ──────────────────────────────────────────────────────────────
   19. SHOP CARD — descripción corta
────────────────────────────────────────────────────────────── */

.bn-shop-card__desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Mostrar más líneas en pantallas grandes para evitar cortes bruscos de título/descripcion */
@media (min-width: 900px) {
    .bn-shop-card__title {
        -webkit-line-clamp: 3;
        min-height: 4.5em;
    }

    .bn-shop-card__desc {
        -webkit-line-clamp: 3;
    }
}

/* ──────────────────────────────────────────────────────────────
   20. SHOP CARD — footer (precio + botón)
────────────────────────────────────────────────────────────── */

.bn-shop-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: auto;
    gap: 12px;
}

/* ──────────────────────────────────────────────────────────────
   21. SHOP CARD — precio WooCommerce
────────────────────────────────────────────────────────────── */

/* Wrapper externo: columna, precio arriba — /pers. abajo */
.bn-shop-card__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    flex: 1 1 140px;
}

.bn-shop-card__price-text {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: #e86a10;
}

/* .price de WooCommerce: unwrap con display:contents para que
   del e ins sean items directos del flex padre */
.bn-shop-card__price-wrap .price {
    display: contents;
}

/* screen-reader-text: fuera del flujo visual */
.bn-shop-card__price-wrap .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Precio normal (sin oferta): número grande en naranja ── */
.bn-shop-card__price-wrap .price>.woocommerce-Price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e86a10;
    line-height: 1;
}

/* ── Precio tachado (original antes de oferta) ── */
.bn-shop-card__price-wrap .price del {
    text-decoration: none;
    /* evitar doble tachado; lo aplica el span interior */
    display: block;
    order: -1;
    margin-bottom: 1px;
}

.bn-shop-card__price-wrap .price del .woocommerce-Price-amount {
    font-size: 0.78rem;
    font-weight: 500;
    color: #c0c0c0;
    text-decoration: line-through;
    letter-spacing: 0.01em;
}

/* ── Precio en oferta (nuevo, destacado) ── */
.bn-shop-card__price-wrap .price ins {
    text-decoration: none;
    display: block;
}

.bn-shop-card__price-wrap .price ins .woocommerce-Price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e86a10;
    line-height: 1;
}

/* ── Símbolo € — mismo tamaño que el número ── */
.bn-shop-card__price-wrap .woocommerce-Price-currencySymbol {
    font-size: 0.9em;
    font-weight: 700;
}

/* ── "/pers." — etiqueta discreta bajo el precio ── */
.bn-shop-card__per-person {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #c0c0c0;
    letter-spacing: 0.02em;
    margin-top: 3px;
    line-height: 1;
}

.bn-shop-card--external .bn-shop-card__price-text {
    font-size: 0.96rem;
    color: var(--color-primary);
}

.bn-shop-card--external .bn-shop-card__per-person {
    display: none;
}

/* ── Precio Gratuito ── */
.bn-shop-card__price-wrap--free {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 140px;
}

.bn-shop-card__price-wrap--free .bn-shop-card__price-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
    text-transform: none;
    letter-spacing: normal;
}

/* ──────────────────────────────────────────────────────────────
   22. SHOP CARD — botón Reservar
   Enlaza a la ficha del producto (no add-to-cart directo)
   para que el cliente seleccione el nº de personas primero.
────────────────────────────────────────────────────────────── */

.bn-shop-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1d5f87;
    color: #fff;
    border: none;
    margin-top: 0 !important;
    padding: 11px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    line-height: 1;
}

.bn-shop-card__cta:hover {
    background: #e86a10;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 106, 16, 0.28);
    color: #fff;
}

.bn-shop-card__cta:focus-visible {
    outline: 3px solid rgba(29, 95, 135, 0.4);
    outline-offset: 3px;
}

.bn-shop-card__cta--external {
    background: #edf6fb;
    color: #1d5f87;
}

.bn-shop-card__cta--external:hover {
    background: #1d5f87;
    color: #fff;
}

/* ──────────────────────────────────────────────────────────────
   23. PAGINACIÓN WOOCOMMERCE
────────────────────────────────────────────────────────────── */

.bn-store-pagination {
    margin-top: 20px;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bn-store-pagination .woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none !important;
}

.bn-store-pagination .woocommerce-pagination ul.page-numbers li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bn-store-pagination .woocommerce-pagination li .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bn-store-pagination .woocommerce-pagination li .page-numbers:hover {
    background: #f4f6f8;
    border-color: #1d5f87;
    color: #1d5f87;
}

.bn-store-pagination .woocommerce-pagination li .page-numbers.current {
    background: #1d5f87;
    border-color: #1d5f87;
    color: #fff;
}

.bn-store-pagination .woocommerce-pagination li .page-numbers.dots {
    border: none;
    background: transparent;
    color: #888;
    font-weight: 700;
    cursor: default;
}

.bn-store-pagination .woocommerce-pagination li .prev.page-numbers,
.bn-store-pagination .woocommerce-pagination li .next.page-numbers {
    font-size: 1.5em;
}

/* Fallback global para paginación WooCommerce cuando falta el wrapper .bn-store-pagination */
.woocommerce-pagination {
    margin-top: 20px;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.woocommerce-pagination ul.page-numbers li {
    margin: 0;
}

.woocommerce-pagination li .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 9999px;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.woocommerce-pagination li .page-numbers:hover {
    background: #f4f6f8;
    border-color: #1d5f87;
    color: #1d5f87;
}

.woocommerce-pagination li .page-numbers.current {
    background: #1d5f87;
    border-color: #1d5f87;
    color: #fff;
}

.woocommerce-pagination li .page-numbers.dots {
    border: none;
    background: transparent;
    color: #888;
    font-weight: 700;
    cursor: default;
}

.woocommerce-pagination li .prev.page-numbers,
.woocommerce-pagination li .next.page-numbers {
    font-size: 0.85rem;
    min-width: auto;
    border-radius: 8px;
}

/* ──────────────────────────────────────────────────────────────
   24. ESTADO VACÍO (sin productos encontrados)
────────────────────────────────────────────────────────────── */

.bn-no-products {
    background: #fff;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bn-no-products i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.bn-no-products h3 {
    font-size: 1.3rem;
    color: #1d5f87;
    margin: 0 0 10px;
    font-weight: 700;
}

.bn-no-products p {
    color: #888;
    font-size: 1rem;
    margin: 0 0 28px;
}

.bn-no-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1d5f87;
    color: #fff;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

.bn-no-products-btn:hover {
    background: #e86a10;
    color: #fff;
}

/* ──────────────────────────────────────────────────────────────
   25. RESPONSIVE — tablet ≤ 1024px
────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .bn-store-container {
        grid-template-columns: 240px 1fr;
        gap: 24px;
        padding: 0 4%;
    }

    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 20px;
    }
}

/* ──────────────────────────────────────────────────────────────
   26. RESPONSIVE — móvil ≤ 768px
────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

    /* Mostrar el botón de filtros */
    .bn-toggle-filters-btn {
        display: flex;
    }

    /* Sidebar: oculto por defecto, se abre con .is-open */
    .bn-store-container {
        grid-template-columns: 1fr;
        margin-top: -20px;
        gap: 0;
        padding: 0 4%;
    }

    .bn-store-sidebar {
        display: none;
        position: static;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .bn-store-sidebar.is-open {
        display: block;
    }

    /* Results bar: apilada en móvil */
    .bn-shop-card__body {
        padding: 20px 18px 18px;
    }

    .bn-shop-card__meta span {
        white-space: normal;
        align-items: flex-start;
    }

    .bn-shop-card__title {
        font-size: 1.05rem;
        -webkit-line-clamp: 4;
        min-height: auto;
    }

    .bn-shop-card__desc {
        -webkit-line-clamp: 4;
        margin-bottom: 18px;
    }

    .bn-results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Cards: 1 columna en pantallas muy pequeñas */
    ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .bn-shop-card__img {
        height: 200px;
    }

    .bn-shop-card__cta {
        width: 100%;
    }

    .bn-no-products {
        padding: 40px 20px;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bn-shop-card__title {
        -webkit-line-clamp: 3;
    }

    .bn-shop-card__desc {
        -webkit-line-clamp: 3;
    }
}

/* ──────────────────────────────────────────────────────────────
   27. ACCESIBILIDAD — reduced motion
────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

    .bn-shop-card,
    .bn-shop-card__img img,
    .bn-shop-card__body .button.add_to_cart_button,
    .bn-results-preloader {
        transition: none;
    }

    .bn-shop-card:hover {
        transform: none;
    }

    .bn-shop-card:hover .bn-shop-card__img img {
        transform: none;
    }

    .bn-results-preloader__spinner {
        animation-duration: 1.6s;
    }

    .bn-results-area--with-arrival .bn-results-bar,
    .bn-results-area--with-arrival .bn-no-products,
    .bn-results-area--with-arrival ul.products li.product {
        animation: none;
    }
}
