/* ============================================================
   PRODUCTOS.CSS — MV Moda Femenina
   "Atelier Boutique" — editorial product catalog
   ============================================================ */

/* ── Page base ── */

.page-boutique {
    background: white;
}

/* ── Intro header ── */

/* Max-width content constraints */
.bq-grid {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.bq-intro {
    padding: 120px 28px 48px;
    text-align: center;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.bq-eyebrow {
    font-family: var(--f-italic);
    font-style: italic;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.bq-title {
    font-family: var(--f-display);
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.bq-title em {
    font-family: var(--f-italic);
    font-style: italic;
    font-weight: 300;
    color: var(--gold-dark);
}

.bq-sub {
    font-family: var(--f-body);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm-gray-2);
}

/* ── Filter bar ── */

.bq-filter-bar {
    position: sticky;
    top: 47px;
    z-index: 40;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 12px;
}

.bq-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bq-tabs::-webkit-scrollbar {
    display: none;
}

.bq-tab {
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--warm-gray);
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 16px;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}

.bq-tab::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bq-tab.active {
    color: var(--ink);
    font-weight: 500;
}

.bq-tab.active::after {
    transform: scaleX(1);
}
.bq-tab:hover {
    color: var(--ink);
}

.bq-meta {
    font-family: var(--f-italic);
    font-style: italic;
    font-size: 12px;
    color: var(--warm-gray-2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Product grid ── */

.bq-grid {
    padding: 4px 4px 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

/* ── Product card ── */

.bq-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--cream-3);
    text-decoration: none;
    cursor: pointer;
    aspect-ratio: 3/4;
}

/* Featured cards — uniform grid, no spanning on mobile */
.bq-card--featured {
    grid-column: span 1;
    aspect-ratio: 3/4;
}

.bq-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bq-card:hover .bq-card-img {
    transform: scale(1.04);
}

/* Gradient overlay — always present, gets darker on hover */
.bq-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(10, 8, 6, 0.65) 100%
    );
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.bq-card:hover .bq-card-overlay {
    opacity: 1;
}

/* Card info — always visible */
.bq-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 18px 58px;
    color: var(--cream);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.bq-card-name {
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 4px;
}

.bq-card-price {
    font-family: var(--f-display);
    font-size: 15px;
    color: var(--champagne);
    font-feature-settings: 'tnum';
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.bq-card:hover .bq-card-price {
    opacity: 1;
    transform: translateY(0);
}

.bq-card-price-orig {
    font-size: 11px;
    text-decoration: line-through;
    opacity: 0.55;
}

.bq-card-price-sale {
    color: var(--champagne);
}

/* Featured card: larger text */
.bq-card--featured .bq-card-name {
    font-size: 13px;
    letter-spacing: 3px;
}

.bq-card--featured .bq-card-price {
    font-size: 18px;
}

/* Wishlist button */
.bq-card-wish {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--warm-gray);
    transition: background 0.2s, color 0.2s;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s, color 0.2s;
    z-index: 2;
}

.bq-card:hover .bq-card-wish {
    opacity: 1;
}
.bq-card-wish:hover {
    background: white;
    color: var(--bordeaux);
}
.bq-card-wish--active svg {
    fill: var(--bordeaux);
    stroke: var(--bordeaux);
    color: var(--bordeaux);
}

/* Badge */
.bq-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--f-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 2;
}

.bq-card-badge--new {
    background: rgba(26,23,20,0.75);
    color: var(--champagne);
    border: 1px solid rgba(212,175,125,0.4);
    backdrop-filter: blur(4px);
}

.bq-card-badge--sale {
    background: rgba(90,26,32,0.85);
    color: white;
    backdrop-filter: blur(4px);
}

/* WhatsApp order button — appears on hover on desktop */
.bq-card-wa {
    position: absolute;
    bottom: 16px; right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(26, 23, 20, 0.88);
    border: 1px solid rgba(212, 175, 125, 0.3);
    padding: 9px 14px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, background 0.2s, border-color 0.2s;
    z-index: 2;
    border-radius: 2px;
}

.bq-card:hover .bq-card-wa {
    opacity: 1;
    transform: translateY(0);
}

.bq-card-wa:hover {
    background: var(--ink);
    border-color: var(--gold);
    color: var(--champagne);
}

/* ── Empty / loading states ── */

.bq-skeleton {
    background: linear-gradient(90deg, var(--cream-3) 25%, var(--cream-4) 50%, var(--cream-3) 75%);
    background-size: 200% 100%;
    animation: bqShimmer 1.5s infinite;
    aspect-ratio: 3/4;
}

.bq-skeleton--featured {
    grid-column: span 2;
    aspect-ratio: 4/3;
}

@keyframes bqShimmer {
        0% {
        background-position: 200% 0;
    }
        100% {
        background-position: -200% 0;
    }
}

.bq-empty {
    grid-column: span 2;
    text-align: center;
    padding: 80px 20px;
}

.bq-empty-title {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}

.bq-empty-sub {
    font-size: 13px;
    color: var(--warm-gray);
}

/* ── Mobile cards (≤550px) ── */

@media (max-width: 550px) {
    .bq-card-price {
        opacity: 1;
        transform: none;
    }

    .bq-card-wish {
        opacity: 1;
    }

    .bq-card-info {
        padding-bottom: 48px;
    }

    .bq-card-wa {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        justify-content: center;
        opacity: 1;
        transform: none;
        transition: background 0.2s, border-color 0.2s;
    }
}

/* ── Search overlay ── */

