/* BASIC css start */
/* =========================================================
   대한골드 상품상세 옵션 + 구매버튼 리뉴얼
   FINAL - SOLID LUXURY ORANGE
   ========================================================= */


/* =========================================================
   01. 옵션 영역
   ========================================================= */

#productDetail .thumb-info .info .table-opt .opt-wrap {
    width: 100%;
    padding: 14px 0 8px;
}


/* 옵션 제목 */
#productDetail .thumb-info .info .table-opt .opt-wrap .tit {
    margin-bottom: 9px;
    padding-left: 0;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    color: #222;
}


/* 옵션명 */
#productDetail .thumb-info .info .table-opt .opt-wrap dt {
    float: left;

    width: 115px;

    margin-top: 0;
    padding: 16px 0 10px;

    box-sizing: border-box;

    color: #333;
    font-size: 14px;
    font-weight: 500;
}


/* 옵션창 */
#productDetail .thumb-info .info .table-opt .opt-wrap dd {
    float: left;

    width: calc(100% - 115px);

    margin: 0 0 8px;

    box-sizing: border-box;
}


/* =========================================================
   셀렉트박스
   ========================================================= */

#productDetail .thumb-info .info .table-opt .opt-wrap select {
    width: 100% !important;
    height: 52px !important;

    padding: 0 52px 0 16px !important;

    box-sizing: border-box;

    border: 1px solid #dedede !important;
    border-radius: 12px;

    color: #333;

    font-family: inherit;
    font-size: 14px;

    outline: none;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-color: #fff;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 8px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#productDetail .thumb-info .info .table-opt .opt-wrap select:hover {
    border-color: #bdbdbd !important;
}


#productDetail .thumb-info .info .table-opt .opt-wrap select:focus {
    border-color: #777 !important;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.045);
}


/* 텍스트 입력 옵션 */
#productDetail .thumb-info .info .table-opt .opt-wrap dd input[type=text] {
    width: 100% !important;
    height: 52px !important;

    padding: 0 16px !important;

    box-sizing: border-box;

    border: 1px solid #dedede !important;
    border-radius: 12px;

    background: #fff;

    color: #333;

    font-family: inherit;
    font-size: 14px;

    outline: none;
}


/* =========================================================
   02. 선택된 옵션 박스
   ========================================================= */

#MK_innerOptWrap #MK_innerOptScroll {
    margin-top: 8px;
}


#MK_innerOptWrap .MK_inner-opt-cm li {
    position: relative;

    min-height: 46px;

    margin-top: 8px !important;

    padding:
        19px
        16px
        58px
        16px !important;

    box-sizing: border-box;

    border: 1px solid #ececec;
    border-radius: 13px;

    background: #fafafa;

    font-size: 13px;
}


#MK_innerOptWrap #MK_innerOpt_01 li {
    margin-top: 8px;

    border-top: 1px solid #ececec;

    padding-top: 19px;
    padding-bottom: 58px;
}


/* 옵션 상품명 */
#MK_innerOptWrap .MK_inner-opt-cm li .MK_p-name {
    width: calc(100% - 180px);

    color: #222;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;
}


/* 옵션 가격 */
#MK_innerOptWrap .MK_inner-opt-cm li .MK_price {
    top: 19px;
    right: 46px;

    color: #222;

    font-size: 15px;
    font-weight: 600;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_price span {
    font-weight: 600;
}


/* =========================================================
   옵션 삭제 X
   ========================================================= */

#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del {
    top: 13px;
    right: 10px;

    width: 30px;
    height: 30px;

    background: none !important;

    text-indent: 0 !important;

    font-size: 0;

    border-radius: 50%;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del:after {
    content: "×";

    display: flex;

    width: 30px;
    height: 30px;

    align-items: center;
    justify-content: center;

    color: #aaa;

    font-size: 20px;
    font-weight: 300;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del:hover:after {
    background: #eeeeee;
    color: #555;
}


/* =========================================================
   03. 수량 +/- 버튼
   ========================================================= */

#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl {
    position: absolute !important;

    left: 16px !important;
    right: auto !important;

    top: auto !important;
    bottom: 14px !important;

    height: 32px;

    margin: 0 !important;

    display: flex;

    align-items: center;

    overflow: hidden;

    border: 1px solid #dddddd;
    border-radius: 9px;

    background: #fff;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl input,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl .basic_option,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl .MS_amount_basic,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl .addition_option {
    position: static !important;

    order: 2;

    width: 42px !important;
    height: 32px !important;

    padding: 0 !important;

    box-sizing: border-box;

    border: 0 !important;
    border-left: 1px solid #eeeeee !important;
    border-right: 1px solid #eeeeee !important;

    background: #fff;

    color: #222;

    font-size: 13px;

    text-align: center !important;

    outline: none;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a {
    position: static !important;

    display: flex !important;

    width: 32px !important;
    height: 32px !important;

    margin: 0 !important;

    align-items: center;
    justify-content: center;

    background: none !important;

    text-indent: 0 !important;

    font-size: 0;

    transition: background-color 0.15s ease;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a.MK_btn-dw {
    order: 1;

    width: 32px !important;
    height: 32px !important;

    background: none !important;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a.MK_btn-up {
    order: 3;

    width: 32px !important;
    height: 32px !important;

    background: none !important;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a.MK_btn-dw:after {
    content: """;

    color: #555;

    font-size: 18px;
    font-weight: 400;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a.MK_btn-up:after {
    content: "+";

    color: #555;

    font-size: 18px;
    font-weight: 400;
}


#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl a:hover {
    background: #f3f3f3 !important;
}


/* =========================================================
   04. 총 상품금액
   ========================================================= */

#MK_innerOptTotal {
    margin-top: 12px;

    padding: 20px 4px 3px;

    box-sizing: border-box;

    border-top: 1px solid #e5e5e5;

    text-align: right;
}


#MK_innerOptTotal .totalLeft {
    float: left;

    padding-top: 5px;
}


#MK_innerOptTotal .MK_txt-total {
    color: #444;

    font-size: 15px;
    font-weight: 500;
}


#MK_innerOptTotal .MK_txt-won {
    color: #222;

    font-size: 18px;
}


#MK_innerOptTotal .totalRight .MK_total {
    margin-top: 0;

    color: #111;

    font-size: 26px;
    font-weight: 700;

    letter-spacing: -0.5px;
}


/* =========================================================
   05. 구매 / 장바구니 / 선물하기
   ========================================================= */

#productDetail .thumb-info .info .dg-prd-btns {
    width: 100%;

    margin-top: 17px;

    font-size: 0;
}


#productDetail .thumb-info .info .dg-action-row {
    display: flex;

    width: 100%;

    gap: 7px;

    align-items: center;
}


/* 공통 버튼 */
#productDetail .thumb-info .info .dg-action-row .dg-btn {
    display: flex;

    position: relative;

    height: 56px;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 13px;

    font-family: inherit;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: -0.4px;

    text-decoration: none !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


/* =========================================================
   구매하기
   SOLID LUXURY ORANGE
   ========================================================= */

#productDetail .thumb-info .info .dg-action-row .dg-btn-buy {
    flex: 1.65;

    height: 59px;

    position: relative;

    overflow: hidden;

    color: #fff;

    font-size: 16px;
    font-weight: 700;

    /*
       ★ 처음부터 끝까지 이 색 하나
       ★ 그라데이션 없음
       ★ 어두운 주황 없음
       ★ 검정 없음
    */
    background: #E96B0C;

    border: 1px solid #E96B0C;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        0 6px 16px rgba(233, 107, 12, 0.25);
}


/* 내용은 효과보다 위 */
#productDetail .thumb-info .info .dg-btn-buy .dg-btn-icon,
#productDetail .thumb-info .info .dg-btn-buy .dg-btn-text {
    position: relative;

    z-index: 2;
}


/* 왼쪽 작은 시그니처 점 */
#productDetail .thumb-info .info .dg-btn-buy:after {
    content: "";

    position: absolute;

    left: 14px;
    top: 50%;

    width: 5px;
    height: 5px;

    margin-top: -2.5px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.13);

    z-index: 2;
}


/*
   지나가는 반사광
   색 자체는 절대 안 바뀜
*/
#productDetail .thumb-info .info .dg-btn-buy:before {
    content: "";

    position: absolute;

    top: -40%;
    left: -65%;

    width: 42%;
    height: 180%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.04) 20%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0.04) 80%,
            rgba(255, 255, 255, 0) 100%
        );

    transform: skewX(-22deg);

    transition:
        left 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);

    z-index: 1;
}


/* 구매 hover */
#productDetail .thumb-info .info .dg-action-row .dg-btn-buy:hover {
    /*
       hover해도 똑같은 주황
       색상 변화 없음
    */
    background: #E96B0C;
    border-color: #E96B0C;

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 9px 22px rgba(233, 107, 12, 0.31);
}


/* hover 시 빛만 지나감 */
#productDetail .thumb-info .info .dg-btn-buy:hover:before {
    left: 125%;
}


/* =========================================================
   장바구니
   ========================================================= */

#productDetail .thumb-info .info .dg-action-row .dg-btn-cart {
    flex: 0.85;

    height: 54px;

    color: #333;

    font-size: 14px;

    border: 1px solid #dddddd;

    background: #fff;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.025);
}


#productDetail .thumb-info .info .dg-action-row .dg-btn-cart:hover {
    background: #f8f8f8;

    border-color: #cfcfcf;

    transform: translateY(-1px);

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   선물하기
   ========================================================= */

#productDetail .thumb-info .info .dg-action-row .dg-btn-gift {
    flex: 0.85;

    height: 54px;

    color: #4a3b3e;

    font-size: 14px;

    border: 1px solid #eedee2;

    background:
        linear-gradient(
            180deg,
            #fffafa 0%,
            #fff6f8 100%
        );

    box-shadow:
        0 2px 7px rgba(120, 70, 80, 0.025);
}


#productDetail .thumb-info .info .dg-action-row .dg-btn-gift:hover {
    background:
        linear-gradient(
            180deg,
            #fff7f9 0%,
            #fff0f3 100%
        );

    border-color: #e8ccd3;

    transform: translateY(-1px);

    box-shadow:
        0 4px 10px rgba(120, 70, 80, 0.055);
}


/* 클릭 */
#productDetail .thumb-info .info .dg-action-row .dg-btn:active {
    transform: translateY(1px);

    box-shadow: none;
}


/* 기존 버튼 a 마진 제거 */
#productDetail .thumb-info .info .prd-btns .dg-action-row a {
    margin: 0 !important;
}


/* =========================================================
   SOLD OUT
   ========================================================= */

#productDetail .thumb-info .info .dg-prd-btns .soldout {
    width: 100%;
    height: 56px;

    box-sizing: border-box;

    margin: 0;

    border: 1px solid #ddd;
    border-radius: 13px;

    background: #f7f7f7;

    color: #999;

    font-size: 15px;
    font-weight: 600;

    line-height: 54px;
    text-align: center;

    letter-spacing: 0;
}


/* =========================================================
   06. 버튼 아이콘
   ========================================================= */

#productDetail .thumb-info .info .dg-action-row .dg-btn {
    gap: 7px;
}


#productDetail .thumb-info .info .dg-action-row .dg-btn-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}


/* SVG */
#productDetail .thumb-info .info .dg-action-row .dg-btn-icon svg {
    display: block;

    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


/* 구매 아이콘 */
#productDetail .thumb-info .info .dg-btn-buy .dg-btn-icon {
    width: 20px;
    height: 20px;

    flex-basis: 20px;

    color: rgba(255, 255, 255, 0.97);
}


#productDetail .thumb-info .info .dg-btn-buy .dg-btn-icon svg {
    width: 20px;
    height: 20px;
}


/* 장바구니 */
#productDetail .thumb-info .info .dg-btn-cart .dg-btn-icon {
    color: #555;
}


/* 선물하기 */
#productDetail .thumb-info .info .dg-btn-gift .dg-btn-icon {
    color: #b77d89;
}


/* 선물 hover */
#productDetail .thumb-info .info .dg-btn-gift:hover .dg-btn-icon {
    transform:
        rotate(-5deg)
        scale(1.05);
}


/* 구매 hover */
#productDetail .thumb-info .info .dg-btn-buy:hover .dg-btn-icon {
    transform: translateY(-1px);
}


/* 장바구니 hover */
#productDetail .thumb-info .info .dg-btn-cart:hover .dg-btn-icon {
    transform: translateY(-1px);
}
/* BASIC css end */

