/* ─── Contenedor principal ─── */
#auro-catalogo {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* ─── Barra de búsqueda ─── */
#auro-search-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1116px;
    margin-bottom: 32px;
    padding: 2px 32px;
    border: 1px solid #12110F;
    border-radius: 999px;
    background: #FFFFFF;
    color: #6b4c35;
}

#auro-search-wrap svg {
    position: absolute;
    left: 50%;
    transform: translateX(-116px);
    pointer-events: none;
    transition: opacity 0.2s;
}

#auro-search-input {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    border: none;
    outline: none;
    padding: 7px 0;
    background: transparent;
    font-family: 'MabryPro', sans-serif;
    font-size: 18px;
    color: #898989;
}

#auro-search-input:focus {
    flex: 1;
    text-align: left;
    color: #3A3431;
}

#auro-search-input::placeholder {
    color: #6b4c35;
    opacity: 0.45;
}

#auro-search-wrap:focus-within {
    border-color: #BD9E6B;
}

#auro-search-wrap:focus-within svg {
    display: none;
}

#auro-search-wrap:focus-within #auro-search-input {
    flex: 1;
    text-align: left;
}

/* ─── Barra de filtros ─── */
#auro-filtros {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 80px;
}

/* ─── Botones de filtro ─── */
.auro-filtro-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px 12px 32px;
    background-color: #FFF;
    border: 1px solid #12110F;
    border-radius: 40px;
    color: #3A3431;
    font-family: 'MabryPro', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.auro-filtro-btn:hover,
.auro-filtro-btn.is-active,
.auro-filtro-btn.has-selection {
    background: #F3F0D8;
    color: #796046;
}

.auro-chevron {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s;
}

.auro-filtro-btn.is-active .auro-chevron {
    transform: rotate(180deg);
}

/* ─── Dropdown ─── */
.auro-filtro-group {
    position: relative;
}

.auro-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    top: calc(100% + 8px);
    left: 0;
    min-width: 228px;
    background: #3A3431;
    border: 1px solid #3A3431;
    border-radius: 40px;
    padding: 16px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.auro-dropdown.is-open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auro-dropdown label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    color: #FFF;
    font-family: 'MabryPro', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7em;
    letter-spacing: 0.03em;
    border-radius: 32px;
    cursor: pointer;
    transition: background 0.15s;
}

.auro-dropdown label:hover {
    border-radius: 32px;
    background: #4D433E;
}

.auro-dropdown input[type="checkbox"] {
    margin-top: 5px;
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #FFF;
    border-radius: 3px;
    background-color: #3A3431;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
}

.auro-dropdown input[type="checkbox"]:checked {
    background: #796046;
    border-color: #796046;
}

.auro-dropdown input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 6px;
    height: 8px;
    border: 2px solid #FFF;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.auro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 17px;
    background: #BD9E6B;
    color: #FFF;
    border-radius: 50%;
    font-size: 11px;
    font-family: 'MabryPro', sans-serif;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
    padding-left: 2px;
}

/* ─── Borrar filtros desktop ─── */
#auro-borrar-filtros {
    display: none;
    background: transparent;
    border: 1px solid #0F0E0D;
    color: #3A3431;
    font-family: 'MabryPro', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-radius: 40px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 13px 24px;
    transition: color 0.2s;
}

#auro-borrar-filtros:hover {
    background-color: #F3F0D8;
}

/* ─── Grid de productos ─── */
.auro-productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1131px;
}

/* ─── Tarjeta ─── */
.auro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    text-decoration: none;
    background: #FFF;
    border-radius: 8px;
    border: 1px solid #E4E4E4;
    max-width: 361px;
    overflow: hidden;
    padding: 16px;
    font-family: "MabryPro", sans-serif;
    font-weight: 400;
    transition: transform 0.25s, box-shadow 0.25s;
}

.auro-card__imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 219px;
    border-radius: 8px;
    overflow: hidden;
}

.auro-card__imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 42px 41.9px var(--accent-color));
}

.auro-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    z-index: 2;
}

.auro-card__body .auro-card__cat {
    font-size: 10px;
    font-weight: 700;
    color: #746F6D;
    letter-spacing: 0.2em;
}

.auro-card__nombre {
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1;
    color: #796046;
    text-align: left;
}

.auro-card__descripcion {
    font-size: 18px;
    line-height: 1.5em;
    color: #898989;
    text-align: left;
}

.auro-card__body .auro-card__tamano {
    font-size: 16px;
    font-weight: 700;
    color: #3A3431;
}

.auro-card-pri-cta__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.auro-card__precio {
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
    color: #79604673;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.auro-card__precio span:first-child {
    margin-bottom: -8px;
}

.auro-card__precio span.woocommerce-Price-amount {
    font-size: 20px;
    font-style: normal;
    color: #796046;
}

.auro-card-pri-cta__container a {
    padding: 16px 24px;
    font-family: "MabryPro", Sans-serif !important;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 40px;
    background-color: #796046;
    color: #FFF;
    transition: filter 0.3s ease, transform 0.28s ease, box-shadow 0.3s ease;
}

.auro-card-pri-cta__container a:hover {
    filter: brightness(0.88);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* ─── Loading ─── */
#auro-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ─── Sin resultados ─── */
.auro-sin-resultados {
    color: #BD9E6B;
    font-family: 'MabryPro', sans-serif;
    font-size: 18px;
    grid-column: 1 / -1;
    text-align: center;
    padding: 160px 0 200px;
}

/* ─── Responsive ─── */
@media (min-width: 1025px) {
    #auro-drawer-body {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .auro-productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .auro-productos-grid {
        grid-template-columns: 1fr;
    }

    .auro-card {
        padding: 20px 10px 16px;
    }
}

/* ─── Drawer móvil ─── */
#auro-filtros-trigger {
    display: none;
}

#auro-filtros-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    min-height: 92dvh;
    max-height: 92dvh;
    overflow: hidden;
    transform: translateY(100%);
    z-index: 9999;
    background: #2E2926;
    display: flex;
    flex-direction: column;
}

#auro-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    opacity: 0;
}

#auro-drawer-header {
    position: sticky;
    top: 0;
    background: #2E2926;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    padding: 32px 16px 16px;
    flex-shrink: 0;
}

#auro-drawer-header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#auro-drawer-header span:first-child {
    font-family: 'MabryPro', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #FFFDEE;
}

#auro-drawer-count {
    font-family: 'MabryPro', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.4);
    text-transform: none;
}

#auro-drawer-close {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #f5f0e8;
    transition: background 0.2s;
    line-height: 0;
    padding: 0;
}

#auro-drawer-close:hover {
    background: rgba(255,255,255,0.2);
}

#auro-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    min-height: 0; /* necesario para que flex + overflow funcione */
}

/* Grupos como acordeón */
#auro-drawer-body .auro-filtro-group {
    border-top: 1px solid #665D59;
    flex-shrink: 0;
}

#auro-drawer-body .auro-filtro-btn {
    width: 100%;
    justify-content: space-between;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #FFFDEE;
    padding: 16px 0;
    font-size: 16px;
    letter-spacing: 0.2em;
}

#auro-drawer-body .auro-filtro-btn:hover {
    color: #BD9E6B;
}

#auro-drawer-body .auro-dropdown {
    position: static;
    width: 100%;
    min-width: unset;
    border-radius: 0;
    margin-top: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

#auro-drawer-body .auro-dropdown label {
    padding: 6px 0;
    border-radius: 0;
    font-size: 16px;
    color: #FFFDEE;
}

#auro-drawer-body .auro-dropdown label:last-child {
    border-bottom: none;
}

#auro-drawer-body .auro-dropdown label:hover {
    background: transparent;
    color: #c9a96e;
}

#auro-drawer-body .auro-filtro-btn.no-dropdown {
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ─── Footer fijo del drawer ─── */
#auro-drawer-footer {
    flex-shrink: 0;
    background: #2E2926;
    border-top: 1px solid #FFF;
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
}

#auro-borrar-filtros-drawer {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: transparent;
    color: #FFF;
    font-family: 'MabryPro', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    padding: 16px 0px;
    transition: background 0.2s;
    display: block !important;
}

#auro-aplicar-filtros {
    width: 100%;
    padding: 16px;
    background: #BD9E6B;
    border: none;
    border-radius: 999px;
    color: #1D1A19;
    font-family: 'MabryPro', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s;
}

#auro-aplicar-filtros:hover {
    filter: brightness(0.9);
}

/* ─── Badge en el trigger ─── */
#auro-trigger-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #BD9E6B;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-family: 'MabryPro', sans-serif;
    font-weight: 700;
    padding-left: 1px;
    letter-spacing: 0.1em;
}

#auro-resultados-count {
    font-family: 'MabryPro', sans-serif;
    font-size: 14px;
    color: #898989;
    text-align: center;
    margin: -8px 0 16px;
    letter-spacing: 0.03em;
    padding-bottom: 16px;
}

#auro-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
}

/* ─── Modal compra ─── */
#auro-quick-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 24px;
    background: #1D1A19;
    min-height: fit-content;
}

#auro-quick-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

#auro-quick-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1078px;
    max-height: fit-content;
    overflow-y: hidden;
    border-radius: 16px;
    background: #1a1714;
}

#auro-quick-inner {
    padding: 0;
}

.auro-quick-loading {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auro-quick-loading::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.1);
    border-top-color: #BD9E6B;
    border-radius: 50%;
    animation: auro-spin 0.7s linear infinite;
}

#auro-quick-wrap #auro-quick-header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 32px 32px 0;
    justify-content: space-between;
}

#auro-quick-wrap #auro-quick-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 32px 32px;
}

#auro-quick-wrap #auro-quick-thumbs img {
    width: 80px;
    height: 80px;
}

#auro-quick-wrap #auro-quick-footer {
    border-top: 1px solid #F5F0E81F;
    padding: 16px 32px;
    font-family: "MabryPro", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.44px;
}

#auro-quick-wrap #auro-quick-footer p.auro-shipping {
	width: 100%;
	display: flex;
	justify-content: center;
	color: #D8D8D8;
	font-size: 12px;
	line-height: 1;
	font-weight: 400;
}

#auro-quick-wrap #auro-quick-footer p.auro-shipping span.auro-note__sep {
	padding: 0 6px;
	color: #BD9E6B;
}

#auro-quick-wrap div.auro-sticky-bar__container,
#auro-quick-wrap div.auro-product-page div.auro-reviews-bar,
#auro-quick-wrap div.auro-product-page__bullets,
#auro-quick-wrap p.auro-shipping-note {
    display: none;
}

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

@media (min-width: 1025px) {
    #auro-resultados-count {
        display: none;
    }
}

@media (max-width: 1024px) {
    #auro-filtros {
        display: none !important;
    }

    #auro-search-wrap {
        max-width: 100%;
        margin-bottom: 16px;
    }

    #auro-filtros-trigger {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 13px 24px;
        background: #FFF;
        border: 1px solid #12110F;
        border-radius: 40px;
        color: #3A3431;
        font-family: 'MabryPro', sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        cursor: pointer;
        margin-bottom: 16px;
        transition: background 0.2s, color 0.2s;
    }

    #auro-filtros-trigger.has-filters {
        color: #3A3431;
    }

    #auro-drawer-body span.auro-badge,
    #auro-drawer-body button#auro-borrar-filtros {
        display: none !important;
    }
}