/* ===== FEATURED SECTION ===== */
.featured-section {
    position: relative; /* kell a pseudo-elementhez vagy overlayhez */
    width: 100%;
    padding: 100px 40px;
    background: #032e54;
    background: linear-gradient(90deg, rgb(39, 55, 69) 0%, rgb(29, 65, 97) 100%);
    overflow: hidden;
}

/* PNG overlay */
.featured-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/feature/feature-image.png') no-repeat center center;
    background-size: cover; /* kitölti a teljes szekciót, arányosan */
    opacity: 0.15; /* átlátszóság, hogy ne legyen túl harsány */
    pointer-events: none; /* ne zavarja a kattintást */
    z-index: 0;
}

.featured-title {
    font-size: 1.5rem;
    margin-bottom: 70px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Container */
.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* GRID DESKTOP */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 kártya soronként */
    gap: 20px; /* egy kicsit kisebb távolság, hogy férjen el */
}

/* CARD */
.featured-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px; /* kicsit kisebb padding a kompaktabb megjelenéshez */
}
.featured-card {
    background: #395877;
    border-radius: 10px; 
    overflow: hidden; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    color: inherit; display: block; 
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.featured-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* IMAGE */
.featured-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-img img {
    transform: scale(1.08);
}

/* CONTENT */
.featured-content {
    padding: 15px; /* kisebb belső margó, hogy a card ne legyen túl nagy */
}

.featured-content h3 {
    font-size: 1.1rem; /* kisebb cím */
    margin-bottom: 8px;
}

.featured-content p {
    font-size: 0.85rem; /* kisebb leírás */
    margin-bottom: 15px;
    color:#c2d2e1;
    text-decoration: none;
}

.featured-sizes li {
    font-size: 0.8rem; /* kisebb lista */
    padding: 4px 0;
}

/* SIZES */
.featured-sizes {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.featured-sizes li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.featured-sizes li:last-child {
    border-bottom: none;
}

.featured-sizes .size {
    color: #dce3ea;
    font-weight: 500;
}

.featured-sizes .price {
    color: #4dd0e1;
    font-weight: 600;
}

/* ===== TABLET ===== */
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kártya soronként tabletre */
        gap: 15px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .featured-section {
        padding: 70px 20px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .featured-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .featured-content {
        padding: 20px;
    }
}
.featured-card,
.featured-card * {
    text-decoration: none;
}

.featured-card {
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
}