/* ============================================================
   HOME-FEATURED.CSS — MV Moda Femenina
   Featured products, pillars, gold divider, responsive
   ============================================================ */

.sec-featured {
    padding: 60px 0;
    background: var(--cream);
    overflow-x: clip;    /* clips visual bleed without blocking touch scroll */
    overflow-y: visible;
}

.sec-featured-head {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 20px;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 4px 16px 12px;
    margin-bottom: 32px;
}

.prod-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.prod-card-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream-3);
    margin-bottom: 10px;
}

.prod-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

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

.prod-card-wish {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    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;
    transition: background 0.2s;
    color: var(--warm-gray);
}

.prod-card-wish:hover {
    background: white;
    color: var(--bordeaux);
}

.prod-card-wish--active svg {
    fill: var(--bordeaux);
    stroke: var(--bordeaux);
    color: var(--bordeaux);
}

.prod-card-name {
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.prod-card-price {
    font-family: var(--f-display);
    font-size: 14px;
    color: var(--warm-gray);
    font-feature-settings: 'tnum';
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

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

.prod-card-price-sale {
    color: var(--gold-dark);
}

.featured-cta {
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: 1px solid var(--ink);
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--cream);
}

/* ── Trust pillars ── */

.sec-pillars {
    padding: 0 20px;
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.pillar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 18px 4px;
    border-top: 1px solid var(--border);
}

.pillar:first-child {
    border-top: none;
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold);
}

.pillar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pillar-title {
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.3;
}

.pillar-sub {
    font-size: 11px;
    color: var(--warm-gray);
    line-height: 1.4;
}

/* ── Skeleton loader ── */

.prod-card-skeleton {
    aspect-ratio: 3/4;
    background: linear-gradient(90deg, var(--cream-3) 25%, var(--cream-4) 50%, var(--cream-3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 2px;
}

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

/* ── Desktop ── */

@media (min-width: 768px) {
    .sec-collections {
        padding: 72px 30px;
    }

    .coll-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        overflow: visible;
    }

    .coll-card {
        aspect-ratio: 3 / 4;
        flex: initial;
        scroll-snap-align: none;
    }

    .coll-scroll-hint {
        display: none;
    }

    .coll-name {
        font-size: 32px;
    }

    .sec-brand-inner {
        padding: 100px 60px;
    }

        .sec-featured {
        padding: 80px 0;
    }

    .prod-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        margin: 0 auto 32px;
        padding: 4px 24px 16px;
        gap: 16px;
    }

    .sec-pillars {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        flex-direction: unset;
        padding: 40px 60px;
        max-width: 1100px;
        margin: 0 auto;
    }

    .pillar {
        border-top: none;
        border-left: 1px solid var(--border);
    }

    .pillar:first-child {
        border-left: none;
    }
}

/* ── Tablet (1024px) ── */

@media (min-width: 1024px) {
    .sec-collections {
        padding: 90px 40px;
    }

    .coll-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "hero wide wide"
            "hero soon1 soon2";
        gap: 20px;
        height: 640px;
    }

    .coll-card {
        aspect-ratio: auto;
    }

    .coll-card--hero { grid-area: hero; }
    .coll-card--wide { grid-area: wide; }
    .coll-card:nth-of-type(3) { grid-area: soon1; }
    .coll-card:nth-of-type(4) { grid-area: soon2; }

    .coll-card--hero .coll-name,
    .coll-card--wide .coll-name {
        font-size: 44px;
    }

    .sec-brand-inner {
        padding: 100px 80px;
    }

    .prod-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: var(--max-content);
        gap: 24px;
        padding: 4px 40px 16px;
    }

    .prod-card:nth-child(n+5) {
        display: none;
    }

        .sec-pillars {
        padding: 48px 80px;
    }
}

/* ── Large Desktop (1280px) ── */

@media (min-width: 1280px) {
    .coll-grid {
        height: 700px;
    }

    .sec-brand-inner {
        padding: 120px 100px;
    }

    .prod-grid {
        gap: 28px;
        padding: 4px 60px 20px;
    }

        .sec-pillars {
        padding: 56px 120px;
    }
}

/* ── Gold divider ── */

.sec-gold-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 28px;
}

.sec-gold-divider::before,
.sec-gold-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.6;
}

.sec-gold-divider-gem {
    color: var(--gold);
    font-size: 10px;
    flex-shrink: 0;
}
