/* ============================================
   Module: produit_home_splash
   Grille 4 produits par ligne - Dark Theme
   ============================================ */

#phs_container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.phs_title {
    font-family: 'Playfair Display', 'Bodoni Moda', 'Cormorant Garamond', Didot, Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff !important;
    margin-bottom: 30px;
    position: relative;
}

.phs_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.phs_item {
    width: calc(25% - 15px);
    box-sizing: border-box;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.phs_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(186, 133, 215, 0.15);
    border-color: #BA85D7;
}

.phs_link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.phs_image_wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    background: #111111;
}

.phs_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.phs_item:hover .phs_img {
    transform: scale(1.05);
}

.phs_badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
}

.phs_sale {
    background: #e74c3c;
    color: #fff;
}

.phs_new {
    background: #BA85D7;
    color: #fff;
    left: auto;
    right: 10px;
}

.phs_info {
    padding: 15px;
    text-align: center;
}

.phs_name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 0 8px 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phs_price_block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phs_price {
    font-size: 16px;
    font-weight: 700;
    color: #FEF1D1 !important;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .phs_item {
        width: calc(33.333% - 14px);
    }
}

@media (max-width: 767px) {
    .phs_item {
        width: calc(50% - 10px);
    }
    .phs_grid {
        gap: 12px;
    }
    .phs_title {
        font-size: 24px;
        letter-spacing: 2px;
    }
}

@media (max-width: 479px) {
    .phs_item {
        width: calc(50% - 6px);
    }
    .phs_grid {
        gap: 12px;
    }
    .phs_info {
        padding: 10px 6px;
    }
    .phs_name {
        font-size: 12px;
        letter-spacing: 0px;
    }
    .phs_price {
        font-size: 14px;
    }
}
