/* --- Featured Section Layout --- */
.featured-section {
    background-color: #080808; /* Slightly different from main bg for contrast */
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.section-subtitle {
    color: #888;
    font-size: 1.1rem;
}

/* --- The Grid --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-bottom: 60px;
}

/* --- Product Card V2 Design --- */
.product-card-v2 {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 51, 51, 0.3); /* Subtle red glow border */
}

/* Badges (Hot/New) */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff3333;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.new {
    background: #3399ff; /* Blue for New */
}

/* Image Area */
.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%; /* Aspect Ratio */
    overflow: hidden;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-v2:hover .card-image-wrapper img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Hover Overlay with Button */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-card-v2:hover .card-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 20px;
    background: white;
    color: black;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-card-v2:hover .btn-view {
    transform: translateY(0);
}

/* Content Area */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.card-meta .tag {
    color: #ff3333;
    font-weight: 600;
    text-transform: uppercase;
}

.card-meta .rating {
    color: #ffcc00;
}

.product-card-v2 h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Price & Action Footer */
.card-footer {
    margin-top: auto; /* Pushes footer to bottom */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.btn-cart {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cart:hover {
    background: #ff3333;
    transform: scale(1.1);
}

/* --- Section Actions (Discover Button) --- */
.section-actions {
    text-align: center;
}

.btn-wide {
    padding: 15px 40px;
    font-size: 1rem;
    border: 1px solid #333;
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-wide:hover {
    border-color: #ff3333;
    background: rgba(255, 51, 51, 0.05);
    color: #ff3333;
}

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

@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}