@charset "utf-8";

/* =========================================================
   NEWZZLE ITEM DETAIL CSS FINAL
   경로 : /theme/newzzle/skin/shop/daon/item_detail.css
========================================================= */

/* 공통 */
#sit_ov_from *,
#sit_info *,
#sit_buy * {
    box-sizing: border-box;
}

#sit_ov_from {
    background: #fff;
}

#sit_ov_wrap {
    word-break: keep-all;
}

#sit_title {
    color: #111;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

#sit_desc {
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

#sit_star_sns {
    line-height: 1.5;
}

#sit_star_sns span {
    vertical-align: middle;
}

#sit_btn_opt .sns_area {
    z-index: 1000;
}

/* 썸네일 */
#sit_pvi_thumb img {
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

#sit_pvi_thumb a:hover img {
    border-color: #111;
}

/* 가격/정보영역 */
.sit_info {
    margin-top: 14px;
}

.sit_info .tr_price th,
.sit_info .tr_price td {
    vertical-align: middle;
}

.sit_ov_tbl th,
.sit_ov_tbl td {
    vertical-align: top;
}

.sit_ov_tbl td {
    line-height: 1.65;
}

.sit_ov_tbl td strong {
    color: #111;
}

.same_it a {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
}

.same_it a.current img {
    border: 1px solid #111;
}

/* 옵션영역 */
.sit_option select,
.sit_side_option select {
    border-radius: 8px;
}

#btn_option {
    z-index: 9999;
}

#sit_sel_option .opt_name,
.sit_sel_option .opt_name {
    word-break: keep-all;
}

/* 총금액 */
#sit_tot_price {
    margin-top: 8px;
}

#sit_tot_price strong,
.sit_tot_price strong {
    color: #111;
}

/* 상단 구매 버튼 */
#sit_ov_btn {
    margin-top: 18px;
}

#sit_ov_btn .sit_btn_cart,
#sit_ov_btn .sit_btn_buy,
#sit_ov_btn .sit_btn_wish,
.sit_order_btn .sit_btn_cart,
.sit_order_btn .sit_btn_buy {
    transition: all 0.2s ease;
}

#sit_ov_btn .sit_btn_cart:hover,
#sit_ov_btn .sit_btn_buy:hover,
#sit_ov_btn .sit_btn_wish:hover,
.sit_order_btn .sit_btn_cart:hover,
.sit_order_btn .sit_btn_buy:hover {
    opacity: 0.92;
}

/* 모바일 하단 구매하기 버튼 */
.btn_option_wr {
    display: none;
}

/* 상품설명 더보기 */
#sit_inf_explan_wrapper {
    position: relative;
    margin-bottom: 20px;
}

#sit_inf_explan {
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.explan_closed {
    max-height: 800px;
}

.explan_closed:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 75%);
    pointer-events: none;
}

#sit_inf_more_btn_w {
    text-align: center;
    padding: 24px 0 10px;
    position: relative;
    z-index: 2;
    background: #fff;
    margin-top: -40px;
}

#btn_inf_more {
    width: 100%;
    max-width: 380px;
    height: 52px;
    line-height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

#btn_inf_more:hover {
    border-color: #bbb;
    background: #fafafa;
}

#btn_inf_more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

#btn_inf_more.active i {
    transform: rotate(180deg);
}

/* 회원 혜택 */
.member_benefit {
    margin: 0 0 25px;
}

.member_benefit h3 {
    margin: 0 0 16px;
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.member_benefit ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: table;
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    background: #fff;
}

.member_benefit ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.member_benefit li {
    display: table-cell;
    vertical-align: top;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.member_benefit li a {
    display: block;
    text-align: center;
    padding: 26px 14px;
    min-height: 220px;
    color: #111;
    text-decoration: none;
    transition: background 0.2s ease;
}

.member_benefit li a:hover {
    background: #fcfcfc;
}

.member_benefit li i {
    display: block;
    font-size: 28px;
    margin-bottom: 16px;
    color: #111;
}

.member_benefit li h1 {
    margin: 0 0 8px;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
    color: #111;
}

.member_benefit li p {
    margin: 0 0 8px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #111;
    word-break: keep-all;
}

.member_benefit li span {
    display: block;
    color: #888;
    font-size: 0.95em;
    line-height: 1.7;
    word-break: keep-all;
}

/* 상품정보 고시 */
#sit_inf_open {
    width: 100%;
}

#sit_inf_open th,
#sit_inf_open td {
    line-height: 1.7;
}

/* 하단 탭 */
#sit_tab .tab_tit li button {
    letter-spacing: -0.02em;
    word-break: keep-all;
}

#sit_use,
#sit_qa,
#sit_dvr,
#sit_ex {
    word-break: keep-all;
}

#sit_use img,
#sit_qa img,
#sit_dvr img,
#sit_ex img,
#sit_inf_explan img {
    max-width: 100%;
    height: auto;
}

/* 우측 구매영역 */
#sit_buy {
    background: #fff;
}

.sit_buy_inner {
    background: #fff;
}

.sit_side_option {
    background: #fff;
}

.sum_section .sit_tot_price {
    color: #111;
}

/* 네이버페이 등 외부 버튼 영역 */
.itemform-naverpay {
    clear: both;
    width: 100%;
    margin-top: 8px;
}

/* =========================
   TABLET / MOBILE
========================= */
@media (max-width: 768px) {

    /* 상단 구조 */
    #sit_ov_wrap {
        width: 100%;
        padding: 20px 16px;
        border-top: 0;
    }

    #sit_pvi,
    #sit_ov {
        float: none;
        width: 100%;
    }

    #sit_pvi {
        margin-bottom: 24px;
    }

    #sit_pvi_big {
        float: none;
        width: 100%;
    }

    #sit_pvi_big img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #sit_pvi_thumb {
        float: none;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-top: 10px;
        padding-bottom: 4px;
        white-space: nowrap;
    }

    #sit_pvi_thumb li {
        flex: 0 0 auto;
        margin: 0;
    }

    #sit_pvi_thumb img {
        width: 64px;
        height: 64px;
        object-fit: cover;
    }

    #sit_ov {
        min-height: auto;
        height: auto !important;
        padding-bottom: 0;
    }

    #sit_title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    #sit_desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .sit_info {
        margin-top: 12px;
    }

    .sit_info .sit_ov_tbl th,
    .sit_info .sit_ov_tbl td {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* 모바일 구매하기 버튼 노출 */
    .btn_option_wr {
        display: block;
        position: sticky;
        bottom: 0;
        left: 0;
        z-index: 30;
        background: #fff;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #e9e9e9;
        margin-top: 14px;
    }

    .btn_option_wr .btn_cart_op,
    .btn_option_wr .btn_submit,
    .btn_option_wr .btn {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: #111;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        text-align: center;
    }

    /* 옵션 레이어 하단 버튼 */
    #sit_ov_btn {
        display: flex;
        gap: 8px;
        align-items: center;
        margin-top: 16px;
    }

    #sit_ov_btn:after {
        display: none;
    }

    #sit_ov_btn button,
    #sit_ov_btn a {
        float: none;
        margin: 0;
    }

    #sit_ov_btn .sit_btn_cart,
    #sit_ov_btn .sit_btn_buy {
        flex: 1;
        width: auto;
        height: 54px;
        line-height: 54px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 10px;
    }

    #sit_ov_btn .sit_btn_wish {
        width: 54px;
        min-width: 54px;
        height: 54px;
        line-height: 54px;
        border-radius: 10px;
    }

    /* 회원혜택 */
    .member_benefit {
        margin: 0 0 20px;
    }

    .member_benefit h3 {
        font-size: 1.35em;
        margin-bottom: 12px;
    }

    .member_benefit ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .member_benefit li {
        display: block;
        width: 50%;
    }

    .member_benefit li a {
        min-height: 190px;
        padding: 20px 10px;
    }

    .member_benefit li i {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .member_benefit li h1 {
        font-size: 1em;
    }

    .member_benefit li p {
        font-size: 0.98em;
        line-height: 1.5;
    }

    .member_benefit li span {
        font-size: 0.88em;
        line-height: 1.55;
    }

    /* 상세 하단 구조 */
    #sit_info {
        display: block;
        min-height: auto;
        margin-top: 20px;
        margin-bottom: 24px;
        border-left: 0;
        border-right: 0;
    }

    #sit_tab,
    #sit_buy {
        display: block;
        width: 100%;
    }

    #sit_buy {
        border-left: 0;
        border-top: 1px solid #ececec;
    }

    /* 탭 버튼 */
    #sit_tab .tab_tit {
        display: flex;
        flex-wrap: wrap;
    }

    #sit_tab .tab_tit li {
        float: none;
        width: 33.3333%;
        display: block;
    }

    #sit_tab .tab_tit li button {
        width: 100%;
        height: 50px;
        padding: 0 6px;
        font-size: 13px;
        line-height: 1.25;
    }

    #sit_tab .tab_con {
        padding: 18px 14px;
    }

    /* 상품정보 고시 */
    #sit_inf_open th,
    #sit_inf_open td {
        display: block;
        width: 100%;
    }

    #sit_inf_open th {
        padding: 12px 12px 6px;
        border-bottom: 0;
    }

    #sit_inf_open td {
        padding: 0 12px 12px;
    }

    /* 더보기 버튼 */
    #btn_inf_more {
        height: 50px;
        line-height: 48px;
        font-size: 14px;
    }
}