/* ==========================================================================
   Kham pha san pham (trang San pham) - 3 the xen ke anh trai/phai.
   Nen the mau kem + hoa tiet cham, tieu de do, nut vien.
   ========================================================================== */

.product-explore {
    --pe-card-bg: #fbf7f1;
    --pe-ink: var(--main-text-color, #2b1f18);
    --pe-muted: #5d4c42;
    --pe-accent: var(--main-site-bakground, #a13a27);
    --pe-dot: #e0d2b4;

    padding: 60px 20px 70px;
    background-color: #fff
}

.product-explore__inner {
    max-width: 1180px;
    margin: 0 auto
}

.product-explore__title {
    margin: 0 0 32px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 28px;
    line-height: 1.25;
    /* chu thuong theo mau, khong in hoa nhu cac section khac */
    text-transform: none;
    color: var(--pe-ink)
}

/* ---------- The san pham ---------- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 24px 32px;
    margin-bottom: 22px;
    background-color: var(--pe-card-bg);
    overflow: hidden
}

/* Hoa tiet cham nam ngay sau goi san pham, mo dan ra ria (ve bang CSS de dung mau kem brand) */
.product-card__media:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 55%;
    width: 128%;
    height: 118%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(var(--pe-dot) 1.3px, transparent 1.5px);
    background-size: 11px 11px;
    -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
    pointer-events: none
}

.product-card__media,
.product-card__body {
    position: relative;
    z-index: 1
}

.product-card__media {
    margin: 0;
    text-align: center
}

.product-card__media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto
}

/* Nhan nho + icon net mong */
.product-card__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pe-muted)
}

.product-card__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--pe-accent);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.product-card__title {
    margin: 0 0 14px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 24px;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--pe-accent)
}

.product-card__desc {
    max-width: 520px;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pe-muted)
}/* ---------- Tablet tro len: anh mot ben, chu mot ben ---------- */
@media screen and (min-width:768px) {
    .product-explore {
        padding: 70px 40px 80px
    }
    .product-explore__title {
        font-size: 34px;
        margin-bottom: 40px
    }
    .product-card {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 36px 44px;
        margin-bottom: 26px
    }
    .product-card--mirror {
        flex-direction: row-reverse
    }
    .product-card__media {
        flex: 0 0 38%
    }
    .product-card__media img {
        max-height: 300px
    }
    .product-card__body {
        flex: 1 1 auto
    }
}

@media screen and (min-width:1024px) {
    .product-explore {
        padding: 90px 60px 100px
    }
    .product-explore__title {
        font-size: 40px
    }
    .product-card {
        gap: 60px;
        padding: 40px 56px;
        min-height: 300px
    }
    .product-card__title {
        font-size: 30px
    }
    .product-card__media img {
        max-height: 330px
    }
}}
