/* ---------------------------------- */
/* top category nav                   */
/* ---------------------------------- */
.product-nav {  
    margin-top: 87px;
    padding-top: 100px;
    background: #ebebeb;
}
.product-nav .inner {
    display: flex;
    max-width: 1380px;
    width: 85vw;
    margin: 0 auto;
}
.product-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
    font-size: 23px;
    letter-spacing: 0.05em;
    background: #D6D6D6;
    transition: background 0.2s, color 0.2s;
    word-break: keep-all;
    text-align: center;
    line-height: 1.1em;
    border-right: 2px solid #fff;
}
.product-nav__item:first-of-type {
    border-radius: 20px 0 0 0;
}
.product-nav__item:last-of-type {
    border-radius: 0 20px 0 0;
}

.product-nav__item img {
    width: 66px;
    object-fit: cover;
}

.product-nav__item.is-active {
    background: #fff;
    color: #000;
    font-weight: 700;
}

/* ---------------------------------- */
/* product list section               */
/* ---------------------------------- */
.product-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.product-list__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 50px;
}

.product-list__label {
    color: var(--main-green);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-align: center;
}

.product-list__title {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin-bottom: 100px;
    text-align: center;
}

/* grid: desktop 4 columns */
.product-list__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.product-list__item {
    padding: 24px;
    border-top: 1px solid #D6D6D6;
    border-right: 1px solid #D6D6D6;
    text-align: center;
}

.product-list__item:nth-child(4n) {
    border-right: none;
}

.product-list__thumb {
    margin-bottom: 20px;
}

.product-list__thumb img {
    width: 100%;
    display: block;
}

.product-list__name {
    font-size: 29px;
    font-weight: 700;
    color: var(--main-green);
    margin-bottom: 20px;
}

.product-list__desc {
    font-size: 18px;
    letter-spacing: 0;
}

/* ---------------------------------- */
/* mobile (768px 이하)                */
/* ---------------------------------- */
@media (max-width: 768px) {

    /* nav: 3 x 2 */
    .product-nav {
        margin-top: 0;
        padding-top: 50px;
    }
    .product-nav .inner {
        flex-wrap: wrap;
    }
    .product-nav__item {
        flex: 0 0 33.3333%;
        padding: 16px 6px;
        font-size: 15px;
        border: 1px solid #fff;
    }
    .product-nav__item:nth-of-type(3) {
        border-radius: 0 20px 0 0;
    }
    .product-nav__item:last-of-type {
        border-radius: 0;
    }


    .product-nav__item img {
        width: 42px;
    }

    .product-list {
        padding: 32px 16px 60px;
    }

    .product-list .common-move-btn {
        background-color: var(--main-green);
    }
    .product-list .common-move-btn span {
        font-size: 19px;
    }
    .product-list__top {
        justify-content: center;
        margin-bottom: 70px;
    }

    .product-list__label {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.05em;
        margin-bottom: 3px;
    }
    .product-list__title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    /* grid: mobile 2 columns */
    .product-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-list__item {
        padding: 16px;
    }

    .product-list__item:nth-child(4n) {
        border-right: 1px solid #eee;
    }

    .product-list__item:nth-child(2n) {
        border-right: none;
    }

    .product-list__name {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .product-list__desc {
        font-size: 11px;
    }
}