/* =========================================
   CAPSULE.CSS - V2 (Optimalizált, DRY verzió)
   ========================================= */

/* --- Fő konténer és elrendezés --- */
.capsule-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

.capsule-section {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.capsule-section:last-child {
    border-bottom: none;
}

/* --- Logók és feliratok --- */
.section-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.section-logo img {
    height: 250px;
    width: auto;
    display: inline-block;
}

.section-logo.watermark {
    opacity: 0.09;
    pointer-events: none;
}

.section-logo.watermark img {
    height: 180px;
}

/* --- Elrendezési struktúrák (Flexbox) --- */
.product-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
}

.bogre-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 820px;
    margin: 0 auto;
}

.bogre-sides {
    flex: 0 0 32%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

/* --- Egyedi elem méretezések és pozíciók --- */
.product.polo {
    flex: 0 0 44%;
    max-width: 440px;
}

.product.bogre {
    flex: 0 0 20%;
    max-width: 210px;
    margin-bottom: 3rem;
    margin-left: -2%;
    margin-right: -2%;
    position: relative;
    z-index: 1;
}

.product.fuzet {
    flex: 0 0 36%;
    max-width: 360px;
    transform: rotate(13deg);
    transform-origin: bottom right;
    margin-bottom: 1rem;
}

.bogre-main {
    flex: 0 0 52%;
    max-width: 420px;
}

.side-item {
    width: 100%;
}

/* =========================================
   KÖZÖS VIZUÁLIS STÍLUSOK (DRY)
   ========================================= */

/* 1. Alap képbeállítások és animáció minden termékre */
.product img,
.bogre-main img,
.side-item img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    transition: transform 0.3s ease;
}

/* 2. Közös hover effekt minden termékre */
.product:hover img,
.bogre-main:hover img,
.side-item:hover img {
    transform: translateY(-8px) scale(1.03);
}

/* 3. Csak a bögrék kapnak árnyékot (Póló és füzet nem!) */
.product.bogre img,
.bogre-main img,
.side-item img {
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));
}

/* =========================================
   RESZPONZIVITÁS
   ========================================= */

@media (max-width: 800px) {
    .product-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .product.polo {
        flex: 0 0 65%;
        order: 1;
    }

    .product.bogre {
        flex: 0 0 38%;
        margin: 0;
        order: 2;
    }

    .product.fuzet {
        flex: 0 0 52%;
        transform: rotate(8deg);
        order: 3;
    }

    .bogre-showcase {
        gap: 1.5rem;
    }

    .bogre-main {
        flex: 0 0 50%;
    }

    .bogre-sides {
        flex: 0 0 38%;
    }
}

@media (max-width: 520px) {
    .product.polo {
        flex: 0 0 85%;
    }

    .product.bogre {
        flex: 0 0 48%;
    }

    .product.fuzet {
        flex: 0 0 68%;
        transform: rotate(5deg);
    }

    .bogre-showcase {
        flex-direction: column;
        align-items: center;
    }

    .bogre-main {
        flex: 0 0 auto;
        width: 80%;
        max-width: 320px;
    }

    .bogre-sides {
        flex: 0 0 auto;
        flex-direction: row;
        width: 80%;
        max-width: 320px;
    }
}