@charset "UTF-8";

.section {
    font-family: "Noto Sans Thai", sans-serif;
}
.section-shop,
.section-order-list {
    padding: 80px 0 120px;
}
.section-goods,
.section-completed {
    padding: 106px 0 120px;
}

/* 카테고리 & 월드 선택 */
.category-wrapper {
    position: relative;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 30px;
    display: flex;
    z-index: 10;
}
.category-wrapper .headline {
    align-self: center;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -1.1px;
    color: #000;
}
.category-wrapper .category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.category-wrapper .category .button-category {
    background: transparent;
    border: 1px solid #d4d4d4;
    min-width: 86px;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.8px;
    color: #333;
    padding: 0 5px;
    box-sizing: border-box;
}
.category-wrapper .category .button-category.active {
    background: #3c3c3c;
    color: #fff;
}
.category-wrapper .select-world {
    margin-left: auto;
    padding-left: 30px;
}
.category-wrapper .select-world .select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #d4d4d4;
    background: url(../images/arrow-down.png) no-repeat 95% 50% / 15px 15px;
    width: 180px;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.8px;
    color: #333;
    padding: 0 24px;
}
.category-wrapper .select-world .select:focus {
    outline: 0;
}

/* 아이템 리스트 */
.items {
    padding: 50px 0 0;
}
.items .items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}
.items .items-list .item {
    background: #eaeaea;
    position: relative;
    width: 310px;
    height: 500px;
}
.items .items-list .item .fin {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.items .items-list .item .item-detail-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 101px;
    box-sizing: border-box;
}
.items .items-list .item .item-detail-link .mycard {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
}
.items .items-list .item .item-detail-link .hot,
.items .items-list .item .item-detail-link .new,
.items .items-list .item .item-detail-link .best {
    position: absolute;
    top: 10px;
    right: 10px;
}
.items .items-list .item .item-detail-link .img-item {
    background: #fff;
    position: relative;
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.items .items-list .item .item-detail-link .item-name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.9px;
    color: #000;
    text-align: center;
    padding: 37px 20px 8px;
}
.items .items-list .item .item-detail-link .period {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.9px;
    color: #666;
}
.items .items-list .item .item-detail-link .price {
    background: #291919;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 68px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

/* 아이템 상세 */
.goods {
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 83px;
    padding: 50px 0 100px;
}
.goods .goods-img {
    background: #eaeaea;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 600px;
    padding: 30px;
    box-sizing: border-box;
}
.goods .goods-img .label {
    position: absolute;
    top: 30px;
    left: 30px;
    width: calc(100% - 60px);
}
.goods .goods-img .label .mycard {
    position: absolute;
    top: 0;
    left: 0;
}
.goods .goods-img .label .new,
.goods .goods-img .label .hot,
.goods .goods-img .label .best {
    position: absolute;
    top: 0;
    right: 0;
}
.goods .goods-img img {
    width: 340px;
    height: 340px;
}
.goods .goods-content {
    flex: 1 1 40%;
    padding: 36px 0;
}
.goods .goods-content .goods-name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1.8px;
    color: #000;
    padding-bottom: 20px;
}
.goods .goods-content .goods-price,
.goods .goods-content .goods-count {
    font-size: 32px;
    font-weight: 500;
    line-height: 118.75%;
    letter-spacing: -1.6px;
    color: #000;
}

.goods .goods-content .period {
    display: block;
    font-size: 22px;
    letter-spacing: -1.6px;
    padding-top: 20px;
    color: #666;
}
.goods .goods-content .goods-des {
    border-top: 1px solid #d4d4d4;
    margin-top: 30px;
    padding: 30px 0;
}
.goods .goods-content .goods-des pre {
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.9px;
    white-space: pre-line;
    margin: 0;
}
.goods .goods-content .selected-world {
    padding-bottom: 40px;
}
.goods .goods-content .selected-world .title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.9px;
    color: #333;
    padding-right: 25px;
}
.goods .goods-content .selected-world .des {
    border: 1px solid #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: -0.9px;
    color: #333;
    padding: 11px 38px;
}
.goods .goods-content .button-purchase {
    background: #6b0000;
    width: 100%;
    height: 68px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

/* 아이템 구매 유의사항 */
.notice-accordion {
    padding-top: 100px;
}
.notice-accordion details[open] summary svg {
    transform: rotate(180deg);
}
.notice-accordion details summary {
    border: 1px solid #d4d4d4;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 98px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -1.1px;
    padding: 0 50px;
    box-sizing: border-box;
}
.notice-accordion details div {
    border: 1px solid #d4d4d4;
    border-top: 0;
    font-size: 18px;
    font-weight: 400;
    padding: 50px;
}
.notice-accordion details div strong {
    display: inline-block;
    padding-top: 6px;
    color: #eb2525;
}

/* 구매완료 */
.purchased-item .item-info {
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
    padding: 50px 0;
}
.purchased-item .item-info .headline {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1.4px;
    color: #333;
    padding-bottom: 22px;
}
.purchased-item .item-info .item-name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1.8px;
    color: #000;
    padding-bottom: 5px;
}
.purchased-item .item-info .item-price {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1.6px;
    color: #000;
}
.purchased-item .notice {
    padding: 75px 0 0;
}
.purchased-item .notice .notice-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 133.333%;
    letter-spacing: -0.9px;
    color: #000;
    text-align: center;
}
.purchased-item .button-wrapper {
    padding-top: 87px;
}
.purchased-item .button-wrapper .link-to-webshop {
    background: #c90000;
    max-width: 600px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto;
}

/* 주문내역 */
.order-list {
    padding-top: 50px;
}
.order-list .table-wrapper {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.order-list .table-wrapper .table {
    width: 100%;
}
.order-list .table-wrapper .table thead tr th {
    height: 73px;
    font-size: 18px;
    font-weight: 500;
    line-height: 122.222%;
    letter-spacing: -0.9px;
    color: #000;
}
.order-list .table-wrapper .table thead tr th:nth-child(odd),
.order-list .table-wrapper .table tbody tr td:nth-child(odd) {
    background: #f6f6f6;
}
.order-list .table-wrapper .table tbody tr td {
    border-top: 1px solid #d4d4d4;
    height: 60px;
    font-size: 18px;
    font-weight: 500;
    line-height: 122.222%;
    color: #000;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .section-shop,
    .section-order-list,
    .section-goods,
    .section-completed {
        padding: 20px 0 50px;
    }

    .category-wrapper {
        border-bottom: 0;
        display: block;
        padding: 0;
    }
    .category-wrapper .headline {
        border-bottom: 1px solid #d4d4d4;
        font-size: 14px;
        letter-spacing: -0.7px;
        padding-bottom: 20px;
    }
    .category-wrapper .category {
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 20px;
    }
    .category-wrapper .category .button-category {
        min-width: calc(25% - 5px);
        font-size: 14px;
    }
    .category-wrapper .select-world {
        padding-left: 0;
        padding-top: 20px;
    }
    .category-wrapper .select-world .select {
        width: 100%;
    }

    .items {
        padding-top: 20px;
    }
    .items .items-list .item {
        width: calc(50% - 10px);
        height: 235px;
    }
    .items .items-list .item .item-detail-link .img-item {
        width: 80px;
        height: 80px;
    }
    .items .items-list .item .item-detail-link {
        padding-top: 50px;
    }
    .items .items-list .item .item-detail-link .mycard {
        width: 80px;
    }
    .items .items-list .item .item-detail-link .item-name {
        font-size: 10px;
        line-height: 12px;
        padding: 8px 5px 0;
    }
    .items .items-list .item .item-detail-link .period {
        font-size: 10px;
        line-height: 12px;
        padding: 8px 5px 0;
        word-break: keep-all;
    }
    .items .items-list .item .item-detail-link .price {
        height: 36px;
        font-size: 12px;
    }

    .goods {
        display: block;
        padding: 20px 0 0;
    }
    .goods .goods-img {
        width: 100%;
        height: 248px;
        padding: 10px;
    }
    .goods .goods-img .label {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
    }
    .goods .goods-img img {
        width: 112px;
        height: 112px;
    }
    .goods .goods-content {
        width: 100%;
        text-align: center;
        padding: 20px 0 0;
    }
    .goods .goods-content .goods-name {
        font-size: 18px;
        letter-spacing: -0.9px;
        padding-bottom: 5px;
    }
    .goods .goods-content .goods-price,
    .goods .goods-content .goods-count {
        font-size: 18px;
        line-height: 20px;
        letter-spacing: -0.9px;
    }
    .goods .goods-content .period {
        font-size: 14px;
        letter-spacing: -0.9px;
    }
    .goods .goods-content .goods-des {
        margin-top: 20px;
        padding: 20px 0 30px;
    }
    .goods .goods-content .goods-des pre {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -0.7px;
        word-break: keep-all;
    }
    .goods .goods-content .selected-world {
        padding-bottom: 30px;
    }
    .goods .goods-content .selected-world .title {
        font-size: 12px;
        letter-spacing: -0.6px;
        padding-right: 10px;
    }
    .goods .goods-content .selected-world .des {
        font-size: 12px;
        letter-spacing: -0.6px;
        padding: 8px 31px;
    }
    .goods .goods-content .button-purchase {
        width: 100%;
        height: 42px;
        font-size: 14px;
    }
    .notice-accordion {
        padding-top: 20px;
    }
    .notice-accordion details summary {
        height: 40px;
        font-size: 12px;
        letter-spacing: -0.6px;
        padding: 0 20px;
    }
    .notice-accordion details summary svg {
        width: 14px;
        height: 9px;
    }
    .notice-accordion details div {
        font-size: 10px;
        letter-spacing: -0.5px;
        padding: 22px 20px 13px;
    }

    .order-list {
        padding-top: 20px;
    }
    .order-list .table-wrapper {
        overflow-x: scroll;
    }
    .order-list .table-wrapper .table {
        width: 768px;
    }
    .order-list .table-wrapper .table thead tr th {
        height: 41px;
        font-size: 12px;
        letter-spacing: -0.6px;
    }
    .order-list .table-wrapper .table tbody tr td {
        height: 39px;
        font-size: 12px;
    }
}

@media screen and (max-width: 430px) {
    .items .items-list .item .item-detail-link .mycard {
        width: 50px;
    }
}
