@charset "utf-8";

/*
 * 성북당 상품 상세페이지 전용 CSS
 * 기존 style.css와 default_shop.css보다 나중에 적용됩니다.
 */

#sit,
#sit * {
    box-sizing: border-box;
}

/* =========================================================
   01. 상품 상세 상단 레이아웃
========================================================= */

#sit_ov_from {
    clear: both;
    border-top: 1px solid #eee4da;
    border-bottom: 1px solid #eee4da;
    background: #fff;
}

#sit_ov_wrap {
    display: grid;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 72px;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    gap: 70px;
    align-items: start;
}

#sit_ov_wrap::after {
    display: none;
}

/* 왼쪽 상품 이미지 */
#sit_pvi {
    display: grid;
    position: relative;
    float: none;
    min-width: 0;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

#sit_pvi_big {
    position: relative;
    float: none;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    border: 1px solid #eee4da;
    border-radius: 8px;
    background: #faf8f5;
    text-align: center;
}

#sit_pvi_big a.visible {
    display: flex;
    width: 100%;
    min-height: 520px;
    align-items: center;
    justify-content: center;
}

#sit_pvi_big img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

#sit_pvi_big #popup_item_image {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border: 1px solid #dfd4ca;
    border-radius: 50%;
    color: #705b4d;
    line-height: 40px;
    background: rgba(255, 255, 255, .94);
}

/* 이미지 썸네일 */
#sit_pvi_thumb {
    display: flex;
    width: 76px;
    margin: 0;
    padding: 0;
    float: none;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

#sit_pvi_thumb li {
    width: 76px;
    height: 76px;
    margin: 0;
}

#sit_pvi_thumb a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1d6cc;
    border-radius: 6px;
    background: #fff;
}

#sit_pvi_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

#sit_pvi_thumb a:hover,
#sit_pvi_thumb a:focus {
    border-color: #b96b26;
}

/* 오른쪽 상품 기본정보 */
#sit_ov {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 4px 0 0;
    float: none;
}

#sit_title {
    margin: 0;
    color: #33231a;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -1px;
}

#sit_desc {
    margin: 12px 0 0;
    color: #81736a;
    font-size: 14px;
    line-height: 1.7;
}

#sit_star_sns {
    display: flex;
    min-height: 42px;
    margin-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee4da;
    align-items: center;
    gap: 7px;
}

#sit_star_sns .sit_star {
    top: 0;
    margin: 0;
}

#sit_star_sns > span {
    margin: 0;
    color: #8a7b70;
    font-size: 13px;
}

#sit_btn_opt {
    right: 0;
    bottom: 14px;
}

.sit_info {
    margin: 0;
    padding: 22px 0;
    border-top: 0;
    border-bottom: 1px solid #eee4da;
}

.sit_ov_tbl {
    color: #65554b;
}

.sit_ov_tbl th {
    width: 115px;
    padding: 9px 0;
    color: #918278;
    font-size: 13px;
    font-weight: 500;
}

.sit_ov_tbl td {
    padding: 9px 0;
    color: #46362c;
    font-size: 14px;
}

.sit_info .tr_price th,
.sit_info .tr_price td {
    padding-top: 13px;
    padding-bottom: 18px;
}

.sit_info .tr_price td strong {
    color: #b65f1d;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.5px;
}

@media (max-width: 1000px) {
    #sit_ov_wrap {
        gap: 35px;
        grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    }

    #sit_pvi {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    #sit_pvi_thumb,
    #sit_pvi_thumb li {
        width: 64px;
    }

    #sit_pvi_thumb li {
        height: 64px;
    }

    #sit_pvi_big a.visible {
        min-height: 430px;
    }
}

/* =========================================================
   02. 옵션·수량·총금액
========================================================= */

#sit_ov .sit_option {
    margin: 18px 0 0;
    padding: 0;
}

#sit_ov .sit_option h3 {
    margin: 0 0 10px;
    color: #49372b;
    font-size: 14px;
}

#sit_ov .sit_option label {
    margin-bottom: 8px;
    color: #66554a;
    font-size: 13px;
    font-weight: 700;
}

#sit_ov .sit_option select {
    width: 100%;
    height: 50px;
    margin: 0 0 10px;
    padding: 0 42px 0 15px;
    border: 1px solid #d9c7b5;
    border-radius: 5px;
    color: #45352b;
    font-size: 14px;
    background-color: #fff;
    background-position: calc(100% - 15px) 50%;
}

#sit_ov .sit_option select:focus {
    border-color: #b96b26;
    outline: 2px solid rgba(185, 107, 38, .12);
}

#sit_sel_option {
    margin-top: 18px;
}

#sit_opt_added {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sit_opt_added li {
    position: relative;
    margin: 8px 0;
    padding: 17px;
    border: 1px solid #e4d7ca;
    border-radius: 6px;
    background: #faf7f3;
}

#sit_opt_added li .opt_name {
    padding-right: 30px;
    color: #49372b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

#sit_opt_added li .opt_count {
    display: flex;
    margin-top: 13px;
    align-items: center;
}

#sit_opt_added button {
    width: 32px;
    height: 32px;
    padding: 0;
    float: none;
    border: 1px solid #d8cabc;
    color: #5c493c;
    background: #fff;
}

#sit_opt_added .sit_qty_minus {
    border-radius: 4px 0 0 4px;
}

#sit_opt_added .sit_qty_plus {
    border-radius: 0 4px 4px 0;
}

#sit_opt_added .num_input {
    width: 44px;
    height: 32px;
    padding: 0;
    float: none;
    border-top: 1px solid #d8cabc;
    border-right: 0;
    border-bottom: 1px solid #d8cabc;
    border-left: 0;
    color: #45352b;
    background: #fff;
    text-align: center;
}

#sit_opt_added .sit_opt_prc {
    width: auto;
    margin-left: auto;
    padding: 0;
    float: none;
    color: #4c392e;
    font-size: 14px;
    font-weight: 700;
    line-height: 32px;
}

#sit_opt_added .sit_opt_del {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    color: #9b8d83;
    background: transparent;
}

#sit_opt_added .sit_opt_del:hover {
    color: #b65f1d;
    background: #f2e6da;
}

/* 총 결제금액 */
#sit_tot_price {
    display: flex;
    min-height: 64px;
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid #e8ddd2;
    align-items: center;
    justify-content: space-between;
    color: #67564a;
    font-size: 14px;
    line-height: 1.4;
}

#sit_tot_price span {
    float: none;
    font-weight: 700;
}

#sit_tot_price strong {
    margin-left: auto;
    color: #b65f1d;
    font-size: 27px;
    line-height: 1;
}

/* =========================================================
   03. 구매 버튼
========================================================= */

#sit_ov_btn {
    display: grid;
    width: 100%;
    margin-top: 4px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 54px;
    gap: 8px;
}

#sit_ov_btn::after {
    display: none;
}

#sit_ov_btn button,
#sit_ov_btn .sit_btn_wish,
#sit_ov_btn #sit_btn_alm {
    width: auto;
    height: 54px;
    margin: 0;
    padding: 0 16px;
    float: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 800;
    line-height: 52px;
}

#sit_ov_btn .sit_btn_cart {
    border: 1px solid #b96b26;
    color: #a75d22;
    background: #fff;
}

#sit_ov_btn .sit_btn_cart:hover {
    color: #fff;
    background: #a95f22;
}

#sit_ov_btn .sit_btn_buy {
    border: 1px solid #b96b26;
    color: #fff;
    background: #b96b26;
}

#sit_ov_btn .sit_btn_buy:hover {
    border-color: #a95f22;
    background: #a95f22;
}

#sit_ov_btn .sit_btn_wish {
    display: flex;
    padding: 0;
    border: 1px solid #d9c7b5;
    align-items: center;
    justify-content: center;
    color: #806e62;
    background: #fff;
    text-decoration: none;
}

#sit_ov_btn .sit_btn_wish:hover {
    border-color: #b96b26;
    color: #b96b26;
}

#sit_ov_btn #sit_btn_alm {
    grid-column: 1 / -1;
    border: 1px solid #b96b26;
    color: #fff;
    background: #b96b26;
    text-align: center;
}

#sit_ov_btn .itemform-naverpay {
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 0;
    clear: both;
}

/* 품절 안내 */
#sit_ov_soldout {
    margin: 18px 0 0;
    padding: 17px;
    border: 1px solid #efd1cc;
    border-radius: 5px;
    color: #b2463a;
    background: #fff5f3;
    text-align: center;
}

@media (max-width: 600px) {
    #sit_ov_btn {
        grid-template-columns: 1fr 1fr 50px;
        gap: 6px;
    }

    #sit_ov_btn button,
    #sit_ov_btn .sit_btn_wish {
        height: 50px;
        padding: 0 10px;
        font-size: 14px;
        line-height: 48px;
    }
}

/* =========================================================
   04. 상품 상세 탭과 우측 구매 패널
========================================================= */

#sit_info {
    display: grid;
    position: relative;
    width: min(1200px, calc(100% - 40px));
    min-height: 600px;
    margin: 50px auto 80px;
    border: 0;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
    background: transparent;
}

#sit_info::after {
    display: none;
}

/* 왼쪽 상세 콘텐츠 */
#sit_tab {
    display: block;
    width: auto;
    min-width: 0;
    overflow: visible;
}

/* 상단 탭 */
#sit_tab .tab_tit {
    display: grid;
    position: sticky;
    top: 72px;
    z-index: 12;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #e3d7cb;
    border-radius: 7px 7px 0 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    list-style: none;
}

#sit_tab .tab_tit::after {
    display: none;
}

#sit_tab .tab_tit li {
    display: block;
    width: auto;
    float: none;
}

#sit_tab .tab_tit li + li {
    border-left: 1px solid #e8ddd2;
}

#sit_tab .tab_tit li button {
    display: flex;
    position: relative;
    width: 100%;
    height: 64px;
    padding: 0 10px;
    border: 0;
    align-items: center;
    justify-content: center;
    color: #7d6d62;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    background: transparent;
    cursor: pointer;
}

#sit_tab .tab_tit li button:hover {
    color: #a75d22;
    background: #fffaf5;
}

#sit_tab .tab_tit li button.selected {
    color: #a75d22;
    background: #fff;
}

#sit_tab .tab_tit li button.selected::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 3px;
    background: #b96b26;
    content: "";
}

#sit_tab .item_use_count,
#sit_tab .item_qa_count {
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 99px;
    color: #8c796b;
    font-size: 11px;
    line-height: 21px;
    background: #f2e8de;
}

/* 탭 콘텐츠 */
#sit_tab .tab_con {
    margin: 0;
    padding: 35px 30px 60px;
    border-right: 1px solid #e3d7cb;
    border-bottom: 1px solid #e3d7cb;
    border-left: 1px solid #e3d7cb;
    border-radius: 0 0 7px 7px;
    background: #fff;
    list-style: none;
}

#sit_tab .tab_con > li {
    width: 100%;
    margin: 0;
}

#sit_inf,
#sit_use,
#sit_qa,
#sit_dex {
    margin: 0;
}

/* 상품 상세 이미지 */
#sit_inf_explan {
    width: 100% !important;
    margin: 0 auto 45px;
    overflow: hidden;
    text-align: center;
}

#sit_inf_explan img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#sit,
#sit_info,
#sit_buy {
    overflow: visible;
}

/* 오른쪽 구매 패널 */
#sit_buy {
    display: block;
    position: relative;
    width: auto;
    min-width: 0;
    border: 0;
}

#sit_buy .sit_buy_inner {
    position: sticky !important;
    top: 92px !important;
    overflow: hidden;
    border: 1px solid #dfd1c3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(60, 43, 31, .08);
}

.sit_buy_summary {
    padding: 22px 20px;
    border-bottom: 1px solid #eadfd4;
    background: #fffaf5;
}

.sit_buy_summary strong {
    display: block;
    color: #3e2d23;
    font-size: 15px;
    line-height: 1.55;
}

.sit_buy_summary span {
    display: block;
    margin-top: 12px;
    color: #b65f1d;
    font-size: 22px;
    font-weight: 800;
    text-align: right;
}

/* 우측 옵션 */
#sit_buy .sit_side_option {
    padding: 18px 18px 8px;
    border-bottom: 1px solid #eee4da;
}

#sit_buy .sit_side_option h3 {
    margin: 0 0 10px;
    color: #49372b;
    font-size: 13px;
}

#sit_buy .sit_side_option select {
    width: 100%;
    height: 46px;
    margin-bottom: 10px;
    padding: 0 38px 0 12px;
    border: 1px solid #d9c7b5;
    border-radius: 5px;
    color: #4c3b30;
    background-color: #fff;
}

#sit_buy .sit_sel_option {
    height: auto;
    max-height: 290px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b9aa9f transparent;
}

#sit_buy .sit_sel_option::-webkit-scrollbar {
    width: 5px;
}

#sit_buy .sit_sel_option::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #b9aa9f;
}

#sit_buy .sit_sel_option li {
    padding: 16px;
    border-bottom: 1px solid #eee4da;
    background: #fff;
}

#sit_buy .sit_sel_option .opt_name {
    padding-right: 25px;
    color: #4b392e;
    font-size: 12px;
    line-height: 1.5;
}

#sit_buy .sit_sel_option .opt_count {
    display: flex;
    margin-top: 12px;
    align-items: center;
}

#sit_buy .sit_sel_option button {
    width: 30px;
    height: 30px;
    float: none;
    border-color: #d8cabc;
}

#sit_buy .sit_sel_option .num_input {
    width: 40px;
    height: 30px;
    float: none;
}

#sit_buy .sit_sel_option .sit_opt_prc {
    width: auto;
    margin-left: auto;
    float: none;
    font-size: 13px;
}

/* 우측 총금액과 버튼 */
#sit_buy .sum_section {
    padding: 18px;
    background: #fff;
}

#sit_buy .sit_tot_price {
    display: flex;
    padding: 0 0 16px;
    align-items: center;
    justify-content: space-between;
    color: #6e5c50;
    font-size: 13px;
}

#sit_buy .sit_tot_price span {
    float: none;
}

#sit_buy .sit_tot_price strong {
    margin-left: auto;
    color: #b65f1d;
    font-size: 22px;
}

#sit_buy .sit_order_btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

#sit_buy .sit_order_btn button {
    width: 100%;
    height: 48px;
    padding: 0;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
}

#sit_buy .sit_order_btn .sit_btn_cart {
    margin: 0;
    border: 1px solid #b96b26;
    color: #a75d22;
    background: #fff;
}

#sit_buy .sit_order_btn .sit_btn_buy {
    border: 1px solid #b96b26;
    color: #fff;
    background: #b96b26;
}

@media (max-width: 1050px) {
    #sit_info {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 20px;
    }
}

/* =========================================================
   우측 구매 패널 sticky 보정
========================================================= */

#sit_info {
    align-items: stretch;
}

#sit_tab {
    align-self: start;
}

#sit_buy {
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

#sit_buy .sit_buy_inner {
    position: sticky !important;
    top: 92px !important;
}

/* =========================================================
   05. 상품 상세정보
========================================================= */

/* 상품정보 제목 */
#sit_inf h2.contents_tit {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 30px;
    padding: 0 0 18px;
    overflow: visible;
    border-bottom: 1px solid #e7dbcf;
    color: #3d2b20;
    font-size: 24px;
    line-height: 1.4;
}

#sit_inf h2.contents_tit span {
    display: inline-block;
    position: relative;
}

#sit_inf h2.contents_tit span::after {
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 42px;
    height: 3px;
    background: #b96b26;
    content: "";
}

/* 상세 이미지 영역 */
#sit_inf_explan {
    width: 100% !important;
    margin: 0 auto 55px;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

#sit_inf_explan > p {
    margin: 0;
}

#sit_inf_explan img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

/* 에디터에서 들어간 불필요한 여백 방지 */
#sit_inf_explan p:empty {
    display: none;
}

#sit_inf_explan br:first-child,
#sit_inf_explan br:last-child {
    display: none;
}

/* 상품 정보고시 제목 */
#sit_inf > h3 {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 55px 0 18px;
    overflow: visible;
    color: #3d2b20;
    font-size: 20px;
    line-height: 1.4;
}

/* 상품 정보고시 표 */
#sit_inf_open {
    width: 100%;
    margin: 0;
    border-top: 2px solid #6d5545;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

#sit_inf_open th,
#sit_inf_open td {
    border-right: 0;
    border-bottom: 1px solid #e8ddd2;
    border-left: 0;
    line-height: 1.65;
    vertical-align: middle;
}

#sit_inf_open th {
    width: 190px;
    padding: 16px 18px;
    color: #716157;
    font-size: 13px;
    font-weight: 600;
    background: #f8f3ed;
    text-align: left;
}

#sit_inf_open td {
    padding: 16px 20px;
    color: #4e3e34;
    font-size: 13px;
    background: #fff;
}

/* =========================================================
   배송·교환 정보
========================================================= */

#sit_dex > h2 {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 30px;
    padding-bottom: 18px;
    overflow: visible;
    border-bottom: 1px solid #e7dbcf;
    color: #3d2b20;
    font-size: 24px;
    line-height: 1.4;
}

#sit_dvr,
#sit_ex {
    margin: 0;
    padding: 28px 0;
    color: #66564b;
    font-size: 14px;
    line-height: 1.8;
}

#sit_dvr + #sit_ex {
    border-top: 1px solid #e7dbcf;
}

#sit_dvr h3,
#sit_ex h3 {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 18px;
    overflow: visible;
    color: #49362b;
    font-size: 18px;
}

@media (max-width: 800px) {
    #sit_inf_open th {
        width: 145px;
        padding: 14px;
    }

    #sit_inf_open td {
        padding: 14px;
    }
}


/* =========================================================
   06. 상품 상세 모바일
========================================================= */

@media (max-width: 768px) {
    /* 전체 상품 상단 */
    #sit_ov_from {
        border-top: 0;
    }

    #sit_ov_wrap {
        display: block;
        width: calc(100% - 30px);
        margin: 0 auto;
        padding: 30px 0 45px;
    }

    /* 상품 이미지 */
    #sit_pvi {
        display: flex;
        width: 100%;
        float: none;
        flex-direction: column;
        gap: 12px;
    }

    #sit_pvi_big {
        display: block;
        width: 100%;
        float: none;
        grid-column: auto;
        grid-row: auto;
        order: 1;
        border-radius: 7px;
    }

    #sit_pvi_big a.visible {
        display: flex;
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
        align-items: center;
        justify-content: center;
    }

    #sit_pvi_big img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: contain;
    }

    #sit_pvi_big #popup_item_image {
        right: 12px;
        bottom: 12px;
    }

    /* 모바일 썸네일 */
    #sit_pvi_thumb {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0 0 4px;
        float: none;
        grid-column: auto;
        grid-row: auto;
        order: 2;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    #sit_pvi_thumb::-webkit-scrollbar {
        display: none;
    }

    #sit_pvi_thumb li {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
        margin: 0;
    }

    /* 상품 기본정보 */
    #sit_ov {
        width: 100%;
        min-height: 0;
        margin-top: 30px;
        padding: 0;
        float: none;
    }

    #sit_title {
        font-size: 24px;
        line-height: 1.4;
        letter-spacing: -.8px;
    }

    #sit_desc {
        margin-top: 10px;
        font-size: 13px;
    }

    #sit_star_sns {
        min-height: 45px;
        margin-top: 14px;
        padding-bottom: 14px;
    }

    #sit_btn_opt {
        bottom: 12px;
    }

    /* 상품 기본정보 표 */
    .sit_info {
        padding: 17px 0;
    }

    .sit_ov_tbl th {
        width: 100px;
        padding: 8px 0;
        font-size: 12px;
    }

    .sit_ov_tbl td {
        padding: 8px 0;
        font-size: 13px;
    }

    .sit_info .tr_price td strong {
        font-size: 25px;
    }

    /* 옵션 */
    #sit_ov .sit_option {
        margin-top: 15px;
    }

    #sit_opt_added li {
        padding: 15px;
    }

    /* 총금액 */
    #sit_tot_price {
        min-height: 58px;
        padding: 15px 0;
    }

    #sit_tot_price strong {
        font-size: 24px;
    }

    /* 구매 버튼 */
    #sit_ov_btn {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            50px;
    }

    #sit_ov_btn button,
    #sit_ov_btn .sit_btn_wish {
        height: 50px;
        line-height: 48px;
    }

    /* 상세정보 전체 */
    #sit_info {
        display: block;
        width: 100%;
        min-height: 0;
        margin: 20px 0 60px;
    }

    #sit_tab {
        width: 100%;
    }

    /* 상세 탭 */
    #sit_tab .tab_tit {
        top: 64px;
        width: 100%;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    #sit_tab .tab_tit li button {
        height: 54px;
        padding: 0 4px;
        font-size: 12px;
        letter-spacing: -.5px;
    }

    #sit_tab .item_use_count,
    #sit_tab .item_qa_count {
        min-width: 18px;
        height: 18px;
        margin-left: 3px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 18px;
    }

    /* 상세 콘텐츠 */
    #sit_tab .tab_con {
        padding: 25px 15px 45px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    #sit_inf h2.contents_tit,
    #sit_dex > h2 {
        margin-bottom: 24px;
        font-size: 21px;
    }

    #sit_inf_explan {
        margin-bottom: 40px;
    }

    #sit_inf_explan img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* 모바일에서는 중복되는 우측 구매 패널 제거 */
    #sit_buy {
        display: none;
    }

    /* 상품정보고시 */
    #sit_inf_open {
        display: block;
        width: 100%;
    }

    #sit_inf_open tbody,
    #sit_inf_open tr,
    #sit_inf_open th,
    #sit_inf_open td {
        display: block;
        width: 100%;
    }

    #sit_inf_open tr {
        border-bottom: 1px solid #e8ddd2;
    }

    #sit_inf_open th {
        padding: 12px 14px 5px;
        border-bottom: 0;
        background: #f8f3ed;
    }

    #sit_inf_open td {
        padding: 6px 14px 14px;
        border-bottom: 0;
        background: #f8f3ed;
    }

    /* 배송·교환 */
    #sit_dvr,
    #sit_ex {
        padding: 22px 0;
        font-size: 13px;
    }
}


/* =========================================================
   07. 사용후기
========================================================= */

#sit_use > h2,
#sit_qa > h2 {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 28px;
    padding: 0 0 18px;
    overflow: visible;
    border-bottom: 1px solid #e7dbcf;
    color: #3d2b20;
    font-size: 24px;
    line-height: 1.4;
}

/* 후기 상단 요약 */
.sit_use_top {
    position: relative;
    min-height: 105px;
    margin: 0 0 25px;
    padding: 24px 190px 24px 24px;
    border: 1px solid #e2d5c8;
    border-radius: 7px;
    background: #fffaf5;
}

.sit_use_top h4 {
    margin: 0 0 12px;
    color: #49372b;
    font-size: 18px;
}

.sit_use_top h4 span {
    color: #9a897d;
    font-size: 12px;
    font-weight: 400;
}

.sit_use_top .sit_star {
    height: auto;
    max-height: 20px;
}

#sit_use_wbtn {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}

#sit_use_wbtn a,
#sit_qa_wbtn a {
    display: inline-flex;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #b96b26;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 42px;
    background: #b96b26;
    text-decoration: none;
}

/* 후기 목록 */
#sit_use_ol {
    margin: 0;
    padding: 0;
    border-top: 2px solid #6e5545;
    list-style: none;
}

.sit_use_li {
    position: relative;
    min-height: 135px;
    padding: 22px 120px 22px 112px;
    border-bottom: 1px solid #e8ddd2;
    background: #fff;
}

.sit_use_li::after {
    display: none;
}

.sit_thum {
    position: absolute;
    top: 22px;
    left: 0;
    width: 88px;
    height: 88px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e3d7cb;
    border-radius: 6px;
    background: #f7f2ed;
}

.sit_thum img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sit_use_dl {
    margin: 0;
}

.sit_use_dl dd {
    margin: 4px 0;
    color: #8b7b70;
    font-size: 12px;
    line-height: 1.6;
}

.sit_use_dl .sit_use_star {
    margin-bottom: 8px;
}

.sit_use_dl .sit_use_tit {
    display: block;
    margin-bottom: 7px;
    color: #49372b !important;
    font-size: 15px;
    font-weight: 700;
}

.sit_use_li_title {
    position: absolute;
    right: 0;
    bottom: 22px;
    padding: 8px 12px;
    border: 1px solid #dccbbb;
    border-radius: 4px;
    color: #715d50;
    font-size: 12px;
    background: #fff;
}

.sit_use_li_title:hover {
    border-color: #b96b26;
    color: #a75d22;
    background: #fffaf5;
}

.sit_use_con {
    margin: 18px 0 0;
    padding: 18px;
    border-radius: 5px;
    color: #625248;
    font-size: 14px;
    line-height: 1.8;
    background: #faf6f1;
}

.sit_use_p {
    margin: 0;
    padding: 0;
}

.sit_use_reply {
    margin: 18px 0 0;
    padding: 16px 0 0 38px;
    border-top: 1px dashed #d8c8b9;
    color: #6f5d51;
}

/* =========================================================
   08. 상품문의
========================================================= */

#sit_qa {
    margin: 0;
}

#sit_qa_wbtn {
    margin: 0 0 20px;
    text-align: right;
}

#sit_qa_ol {
    margin: 0;
    padding: 0;
    border-top: 2px solid #6e5545;
    list-style: none;
}

.sit_qa_li {
    position: relative;
    min-height: 74px;
    padding: 20px 12px;
    border-bottom: 1px solid #e8ddd2;
    background: #fff;
}

.sit_qa_li::after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.sit_qa_li_title {
    display: flex;
    width: calc(100% - 190px);
    min-height: 32px;
    padding: 0;
    float: left;
    border: 0;
    align-items: center;
    color: #4c3a30;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.sit_qa_dl {
    display: flex;
    width: 185px;
    min-height: 32px;
    margin: 0;
    float: right;
    align-items: center;
    justify-content: flex-end;
    color: #918177;
    font-size: 12px;
    line-height: 1.4;
}

.sit_qa_dl dd {
    margin: 0 0 0 12px;
}

.sit_qaa_done,
.sit_qaa_yet {
    height: 26px;
    margin-right: 10px;
    padding: 0 9px;
    border-radius: 99px;
    font-size: 11px;
    line-height: 26px;
}

.sit_qaa_done {
    color: #996020;
    background: #f7e7c5;
}

.sit_qaa_yet {
    color: #7d736c;
    background: #eeeae6;
}

/* 문의 질문과 답변 */
.sit_qa_con {
    padding-top: 18px;
    clear: both;
}

.sit_qa_p {
    margin: 0;
    border: 1px solid #e5d9cd;
    border-radius: 6px;
    overflow: hidden;
    color: #5e4d42;
    line-height: 1.75;
    background: #faf6f1;
}

.sit_qa_qaq,
.sit_qa_qaa {
    position: relative;
    min-height: 60px;
    padding: 18px 20px 18px 55px;
}

.sit_qa_qaa {
    border-top: 1px solid #e5d9cd;
    background: #fff;
}

.sit_qa_p .qa_alp {
    top: 17px;
    left: 20px;
    color: #b96b26;
    font-size: 19px;
    font-weight: 800;
}

.sit_qa_cmd {
    margin-top: 10px;
    text-align: right;
}

/* 빈 목록 */
#sit_use .sit_empty,
#sit_qa .sit_empty {
    padding: 70px 20px;
    border-top: 1px solid #e4d8cc;
    border-bottom: 1px solid #e4d8cc;
    color: #94857a;
    font-size: 13px;
    background: #fff;
    text-align: center;
}


@media (max-width: 768px) {
    #sit_use > h2,
    #sit_qa > h2 {
        margin-bottom: 22px;
        font-size: 21px;
    }

    /* 후기 상단 */
    .sit_use_top {
        min-height: 0;
        padding: 20px;
    }

    #sit_use_wbtn {
        position: static;
        margin-top: 17px;
        transform: none;
    }

    #sit_use_wbtn a,
    #sit_qa_wbtn a {
        width: 100%;
        height: 44px;
    }

    /* 후기 목록 */
    .sit_use_li {
        min-height: 0;
        padding: 18px 0;
    }

    .sit_thum {
        position: relative;
        top: auto;
        left: auto;
        width: 76px;
        height: 76px;
        margin-bottom: 14px;
    }

    .sit_use_li_title {
        position: static;
        display: inline-flex;
        margin-top: 14px;
    }

    .sit_use_con {
        margin-top: 15px;
        padding: 15px;
    }

    /* 문의 목록 */
    .sit_qa_li {
        padding: 17px 5px;
    }

    .sit_qa_li_title {
        width: 100%;
        min-height: 0;
        float: none;
        font-size: 13px;
    }

    .sit_qa_dl {
        width: 100%;
        min-height: 0;
        margin-top: 10px;
        float: none;
        justify-content: flex-start;
    }

    .sit_qa_dl dd {
        margin: 0 12px 0 0;
    }

    .sit_qa_qaq,
    .sit_qa_qaa {
        padding: 16px 15px 16px 45px;
        font-size: 13px;
    }

    .sit_qa_p .qa_alp {
        top: 15px;
        left: 15px;
    }
}


/* =========================================================
   09. 모바일 하단 고정 구매 영역
========================================================= */

/* PC에서는 숨김 */
.sit_mobile_purchase_bar,
.sit_mobile_purchase_dim,
.sit_mobile_sheet_close {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    body.is-mobile-purchase-open {
        overflow: hidden;
    }

    /* 기존 모바일 CSS의 #sit_buy { display:none } 덮어쓰기 */
    #sit_buy {
        display: block !important;
        position: fixed;
        right: 0;
        bottom: calc(68px + env(safe-area-inset-bottom));
        left: 0;
        z-index: 1002;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        transform: translateY(calc(100% + 90px));
        transition: transform .28s ease;
        pointer-events: none;
    }

    #sit_buy.is-mobile-open {
        transform: translateY(0);
        pointer-events: auto;
    }

    #sit_buy .sit_buy_inner {
        position: relative !important;
        top: auto !important;
        width: 100%;
        max-height: min(72vh, 620px);
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -12px 35px rgba(40, 27, 19, .2);
        overscroll-behavior: contain;
    }

    /* 모바일 구매창 닫기 */
    .sit_mobile_sheet_close {
        position: sticky;
        top: 0;
        z-index: 5;
        display: flex;
        width: 100%;
        height: 38px;
        padding: 0;
        border: 0;
        align-items: center;
        justify-content: center;
        color: #7d6d62;
        font-size: 0;
        background: #fff;
        cursor: pointer;
    }

    .sit_mobile_sheet_close::before {
        width: 42px;
        height: 4px;
        border-radius: 99px;
        background: #d7cac0;
        content: "";
    }

    .sit_mobile_sheet_close span {
        display: none;
    }

    /* 구매창 상품정보 */
    #sit_buy .sit_buy_summary {
        padding: 10px 20px 18px;
    }

    #sit_buy .sit_buy_summary strong {
        padding-right: 15px;
        font-size: 14px;
    }

    #sit_buy .sit_buy_summary span {
        font-size: 21px;
    }

    #sit_buy .sit_side_option {
        padding: 17px 20px 8px;
    }

    #sit_buy .sit_sel_option {
        max-height: 230px;
    }

    #sit_buy .sum_section {
        position: sticky;
        bottom: 0;
        z-index: 4;
        padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
        border-top: 1px solid #e8ddd2;
        background: #fff;
    }

    #sit_buy .sit_order_btn button {
        height: 52px;
        font-size: 15px;
    }

    /* 화면 어둡게 */
    .sit_mobile_purchase_dim {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: block;
        visibility: hidden;
        background: rgba(28, 20, 15, .48);
        opacity: 0;
        transition:
            opacity .25s ease,
            visibility .25s ease;
        pointer-events: none;
    }

    .sit_mobile_purchase_dim.is-active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    /* 하단 고정 버튼 */
    .sit_mobile_purchase_bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1003;
        display: grid;
        min-height: calc(68px + env(safe-area-inset-bottom));
        padding:
            8px
            15px
            calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #ded3c8;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -5px 18px rgba(48, 33, 23, .09);
    }

    .sit_mobile_wish {
        display: flex;
        height: 52px;
        padding: 0;
        border: 1px solid #d8c9bc;
        border-radius: 7px;
        align-items: center;
        justify-content: center;
        color: #6f5c4f;
        font-size: 21px;
        background: #fff;
    }

    .sit_mobile_purchase_open {
        height: 52px;
        padding: 0 20px;
        border: 1px solid #b96b26;
        border-radius: 7px;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        background: #b96b26;
    }
}


/* =========================================================
   관심상품 활성 상태
========================================================= */

#sit_ov_btn .sit_btn_wish.is-active {
    border-color: #d94a43;
    color: #d94a43;
    background: #fff5f4;
}

#sit_ov_btn .sit_btn_wish.is-active:hover {
    border-color: #c83e38;
    color: #c83e38;
    background: #ffedeb;
}

.sit_mobile_wish.is-active {
    border-color: #d94a43;
    color: #d94a43;
    background: #fff5f4;
}

.sit_mobile_wish.is-active i {
    color: #d94a43;
}

.sit_mobile_wish {
    text-decoration: none;
}

/* =========================================================
   상품 상세페이지 신규 톤앤매너
========================================================= */

:root {
    --item-charcoal: #2b2b28;
    --item-yellow: #ffd400;
    --item-text: #222;
    --item-muted: #777;
    --item-line: #dedede;
    --item-soft: #f7f7f5;
    --item-red: #d93636;
}

/* SHOP 상단 배너 */
.shop-item-hero {
    display: flex;
    width: 100vw;
    min-height: 160px;
    margin-left: calc(50% - 50vw);
    align-items: center;
    justify-content: center;
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

.shop-item-hero h1 {
    margin: 0;
    color: inherit;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
}

/* 상품 상세 기본 색상 */
#sit {
    color: var(--item-text);
}

#sit_ov_from {
    border-color: var(--item-line);
    background: #fff;
}

#sit_pvi_big {
    border-color: var(--item-line);
    background: var(--item-soft);
}

#sit_ov h2,
#sit_ov h3,
#sit_buy h3,
#sit_use > h2,
#sit_qa > h2 {
    color: var(--item-charcoal);
}

/* 구분선과 옵션 박스 */
#sit_tot_price,
#sit_opt_added li,
#sit_buy .sit_side_option,
#sit_buy .sit_sel_option li {
    border-color: var(--item-line);
}

#sit_opt_added li,
#sit_buy .sit_sel_option li,
.sit_buy_summary {
    background: var(--item-soft);
}

/* 가격 */
#sit_tot_price,
#sit_buy .sit_tot_price {
    color: var(--item-muted);
}

#sit_tot_price strong,
#sit_buy .sit_tot_price strong,
.sit_buy_summary span {
    color: var(--item-charcoal);
}

/* 상단 구매 버튼 */
#sit_ov_btn .sit_btn_cart {
    border-color: var(--item-charcoal);
    color: var(--item-charcoal);
    background: #fff;
}

#sit_ov_btn .sit_btn_cart:hover,
#sit_ov_btn .sit_btn_cart:active {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

#sit_ov_btn .sit_btn_buy,
#sit_ov_btn #sit_btn_alm {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

#sit_ov_btn .sit_btn_buy:hover,
#sit_ov_btn .sit_btn_buy:active,
#sit_ov_btn #sit_btn_alm:hover {
    border-color: var(--item-charcoal);
    color: #fff;
    background: var(--item-charcoal);
}

/* 관심상품 */
#sit_ov_btn .sit_btn_wish {
    border-color: var(--item-line);
    color: var(--item-muted);
    background: #fff;
}

#sit_ov_btn .sit_btn_wish:hover {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
}

#sit_ov_btn .sit_btn_wish.is-active,
#sit_ov_btn .sit_btn_wish.is-active:hover,
.sit_mobile_wish.is-active {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

/* 우측 고정 구매 패널 */
#sit_buy .sit_buy_inner {
    border-color: var(--item-line);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.sit_buy_summary {
    border-color: var(--item-line);
}

.sit_buy_summary strong,
#sit_buy .sit_side_option h3,
#sit_buy .sit_sel_option .opt_name {
    color: var(--item-charcoal);
}

#sit_buy .sit_side_option select {
    border-color: var(--item-line);
    color: var(--item-charcoal);
}

/* 우측 패널 구매 버튼 */
#sit_buy .sit_order_btn .sit_btn_cart {
    border-color: var(--item-charcoal);
    color: var(--item-charcoal);
    background: #fff;
}

#sit_buy .sit_order_btn .sit_btn_cart:hover,
#sit_buy .sit_order_btn .sit_btn_cart:active {
    border-color: var(--item-yellow);
    background: var(--item-yellow);
}

#sit_buy .sit_order_btn .sit_btn_buy {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

#sit_buy .sit_order_btn .sit_btn_buy:hover,
#sit_buy .sit_order_btn .sit_btn_buy:active {
    border-color: var(--item-charcoal);
    color: #fff;
    background: var(--item-charcoal);
}

/* 후기·문의 */
.sit_use_top {
    border-color: var(--item-line);
    background: var(--item-soft);
}

.sit_use_top h4,
.sit_use_dl .sit_use_tit {
    color: var(--item-charcoal) !important;
}

#sit_use_wbtn a,
#sit_qa_wbtn a {
    border-color: var(--item-charcoal);
    color: #fff;
    background: var(--item-charcoal);
}

#sit_use_wbtn a:hover,
#sit_qa_wbtn a:hover {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

/* 모바일 구매 버튼 */
@media (max-width: 768px) {
    .shop-item-hero {
        min-height: 120px;
    }

    .shop-item-hero h1 {
        font-size: 38px;
    }

    .sit_mobile_purchase_open {
        border-color: var(--item-yellow);
        color: var(--item-charcoal);
        background: var(--item-yellow);
    }
}

@media (max-width: 480px) {
    .shop-item-hero {
        min-height: 104px;
    }

    .shop-item-hero h1 {
        font-size: 33px;
    }
}

/* =========================================================
   신규 차콜 · 옐로우 컬러 최종 보정
========================================================= */

/* 판매가 및 강조 금액 */
.sit_info .tr_price td strong,
#sit_tot_price strong,
#sit_buy .sit_tot_price strong,
.sit_buy_summary span {
    color: var(--item-charcoal);
}

/* 이미지 썸네일과 옵션 포커스 */
#sit_pvi_thumb a:hover,
#sit_pvi_thumb a:focus {
    border-color: var(--item-yellow);
}

#sit_ov .sit_option select:focus,
#sit_buy .sit_side_option select:focus {
    border-color: var(--item-charcoal);
    outline: 2px solid rgba(255, 212, 0, .2);
}

#sit_opt_added .sit_opt_del:hover {
    color: var(--item-charcoal);
    background: #fff8d6;
}

/* 상세정보 탭 */
#sit_tab .tab_tit {
    border-color: var(--item-line);
}

#sit_tab .tab_tit li + li {
    border-color: var(--item-line);
}

#sit_tab .tab_tit li button {
    color: var(--item-muted);
}

#sit_tab .tab_tit li button:hover {
    color: var(--item-charcoal);
    background: #fffbea;
}

#sit_tab .tab_tit li button.selected {
    color: var(--item-charcoal);
    background: #fff;
}

#sit_tab .tab_tit li button.selected::after {
    background: var(--item-yellow);
}

#sit_tab .item_use_count,
#sit_tab .item_qa_count {
    color: var(--item-charcoal);
    background: #f1f1ef;
}

/* 후기와 상품문의 */
#sit_use > h2,
#sit_qa > h2 {
    border-color: var(--item-line);
    color: var(--item-charcoal);
}

#sit_use_ol,
#sit_qa_ol {
    border-top-color: var(--item-charcoal);
}

.sit_use_li,
.sit_qa_li {
    border-color: var(--item-line);
}

.sit_use_li_title:hover {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: #fffbea;
}

.sit_qa_p .qa_alp {
    color: var(--item-charcoal);
}

/* 구매 버튼 상호작용 */
#sit_ov_btn .sit_btn_cart:hover,
#sit_ov_btn .sit_btn_cart:active,
#sit_buy .sit_order_btn .sit_btn_cart:hover,
#sit_buy .sit_order_btn .sit_btn_cart:active {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

#sit_ov_btn .sit_btn_buy,
#sit_ov_btn #sit_btn_alm,
#sit_buy .sit_order_btn .sit_btn_buy,
.sit_mobile_purchase_open {
    border-color: var(--item-yellow);
    color: var(--item-charcoal);
    background: var(--item-yellow);
}

#sit_ov_btn .sit_btn_buy:hover,
#sit_ov_btn .sit_btn_buy:active,
#sit_ov_btn #sit_btn_alm:hover,
#sit_buy .sit_order_btn .sit_btn_buy:hover,
#sit_buy .sit_order_btn .sit_btn_buy:active {
    border-color: var(--item-charcoal);
    color: #fff;
    background: var(--item-charcoal);
}
