/* --- CSS SPECIFICO PER LA PAGINA SHOP (Stile Dolomia) --- */

.shop-page {
    background-color: #fcfcfc; /* Sfondo chiaro e pulito tipico dei brand luxury skincare */
    color: #1a1a1a; /* Testo scuro ma non nero assoluto */
}

.shop-page .glass-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-page nav a {
    color: #333;
}

.shop-page nav a:hover, .shop-page nav a.active {
    color: #000;
    font-weight: 600;
}

.shop-container {
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* Hero Section Shop */
.shop-hero {
    text-align: center;
    margin-bottom: 60px;
}

.shop-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #212121;
}

.shop-hero p {
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* Filtri Categories */
.shop-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    color: #000;
}

.filter-btn.active {
    color: #000;
    font-weight: 600;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -21px; /* Si allinea al bordo del container */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

/* Griglia Prodotti */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne su PC per equilibrio con i banner */
    gap: 80px 40px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    justify-content: center;
}

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

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Formato ritratto classico per e-commerce beauty */
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
    transform: scale(1.05); /* Zoom lento e premium */
}

/* Bottone Hover "Aggiungi" (Quick Add) */
.product-hover-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.product-card:hover .product-hover-action {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-add {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 4px; /* Angoli leggermente smussati, non troppo rotondi per stile Dolomia */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s, color 0.3s;
}

.btn-quick-add:hover {
    background-color: #000;
    color: #fff;
}

/* Info Prodotto sotto l'immagine */
.product-info {
    text-align: center;
}

.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
}

.product-price {
    font-size: 15px;
    color: #333;
}

/* --- EFFETTO DOLOMIA: INTERSTIZIALI --- */
.beauty-interstitial {
    grid-column: 1 / -1;
    height: 45vh;
    margin: 40px auto;
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-attachment: scroll;
}

.interstitial-text {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 4rem; /* Ingrandito da 3rem */
    font-weight: 600; /* Più marcato (prima era 400) */
    letter-spacing: 16px; /* Aumentato */
    text-shadow: 0 8px 30px rgba(0,0,0,0.5); /* Ombra più forte per staccare dal fondo */
    pointer-events: none;
    text-transform: uppercase;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
    line-height: 1.2;
}

/* Responsive Grid & Interstitials */
@media (max-width: 768px) {
    .shop-hero h1 { font-size: 28px; }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    .product-image-wrapper { aspect-ratio: 1/1; }
    
    .beauty-interstitial {
        height: 25vh;
        margin: 20px auto;
    }
    
    .interstitial-text {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .btn-quick-add {
        padding: 8px 15px;
        font-size: 11px;
        background-color: rgba(255,255,255,0.9);
    }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .interstitial-text { font-size: 24px; letter-spacing: 4px; }
}
