.page {
    overflow: visible;
}
.quick_menu {
    display: none;
}
.radio label span,
.checkbox label span {
    width: 20px;
    height: 20px;
}
.radio label span::after,
.checkbox label span::after {
    background-size: 14px 14px;
}

.product {
    margin-top: 40px;
    display: flex;
    align-items: start;
    gap: 80px;
    position: relative;
}
.product_wrap {
    width: 100%;
}
.product_wrap section {
    margin-bottom: 80px;
}
.product_wrap section:last-child {
    margin-bottom: 0;
}

/*-- payment_h --*/
.payment_h {
    width: 100%;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-400);
    display: flex;
    justify-content: space-between;
    align-items: center;
}              
.payment_name,
.payment_name span {
    font-size: var(--ft22);
    font-weight: var(--semi-bold);
}
.payment_name span {
    color: var(--primary);
}
.add_change {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--primary);
    cursor: pointer;
}
.add_change:hover {
    text-decoration: underline;
}

/*----------------------- all_option -----------------------*/
.all_option {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.all_chk p {
    font-weight: var(--semi-bold);   
}
.delete_box {
    margin-bottom: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}
.delete {
    font-size: var(--ft16);
    color: var(--gray-400);
    cursor: pointer;
}
.delete:hover {
    text-decoration: underline;
}
.all_delete {
    display: flex;
    align-items: center;
    gap: 10px;
}
.all_delete::after {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background-color: var(--dark-line);
}

.product_title {
    width: 100%;
    padding-right: 30px;
}

.shopping_guide {
    width: 100%;
    padding: 16px 30px;
    border-radius: 10px;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.shopping_guide img {
    width: 16px;
    height: 16px;
}
.shopping_guide p {
    color: var(--gray-500);
}
.shopping_guide strong {
    font-weight: var(--semi-bold);
    color: var(--primary);
}

/*----------------------- product_index -----------------------*/
.product_index {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.company_group {
    margin-bottom: 24px;
}
.company_group:last-child {
    margin-bottom: 0;
}
.company_name {
    padding: 16px 30px;
    border: 1px solid var(--dark-line);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background-color: var(--gray-200);
    display: flex;
    align-items: center;
    gap: 20px;
}
.company_name p {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
}
.product_list {
    margin-top: 0px;
    border-radius: 0 0 8px 8px;
}

/*----------------------- input_list -----------------------*/
.input_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.input_list li {
    display: flex;
}
.input_name_l {
    width: 100px;
    max-height: 50px;
    flex-shrink: 0;
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--gray-500);
    display: flex;
    align-items: center;
}
.page .input_list li  > .input_box,
.page .tel_box,
.page .add_box,
.delivery_box {
    width: 100%;
    max-width: 400px;
}
.add_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.radio_group {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.delivery_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*-- pay_list --*/
.pay_list {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pay_list li {
    width: 100%;
    height: 70px;
}
.pay_list label {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid var(--dark-line);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.pay_list img {
    width: 30px;
    height: 30px;
}
.pay_list img.kakaopay {
    width: auto;
    height: 25px;
}
.pay_list p {
    font-weight: var(--medium);
    color: var(--gray-500);
}
.pay_list input[type="radio"]:checked ~ label {
    border-color: var(--gray-500);
    background-color: var(--gray-100);
}

/*----------------------- delivery_none -----------------------*/
.delivery_none {
    width: 100%;
    padding: 50px 20px;
    border-radius: 8px;
    background-color: var(--gray-100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.delivery_none figure {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}
.delivery_none p {
    color: var(--gray-500);
    text-align: center;
}
.delivery_none .btn {
    max-width: 360px;
    margin-top: 30px;
    background-color: var(--gray-400);
}

/*----------------------- agree_list -----------------------*/
.agree_list li {
    border-bottom: 1px solid var(--dark-line);
}
.agree_main {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.agree_main label {
    width: 100%;
    height: 100%;
}
.agree_main label strong {
    font-weight: var(--medium);
    color: var(--primary);
}
.agree_link {
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 50%;
    transition: background .3s ease;
}
.agree_link:hover {
    background-color: var(--gray-100);
}
.agree_link a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.agree_link img {
    width: 12px;
    height: 12px;
}
.agree_main.on .drop {
    transform: rotate(180deg);
}
.agree_box {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px 30px 24px;
    display: none;
}
.agree_box p {
    font-size: var(--ft14);
    color: var(--gray-500);
}


/*----------------------- delivery_address -----------------------*/
.delivery_address * {
    color: var(--gray-500);
}
.delivery_title {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.delivery_label {
    font-weight: var(--semi-bold);
}
.delivery_default {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.delivery_default::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/images/chk_cir_p.svg') no-repeat center / contain;
}
.delivery_info {
    margin-top: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.delivery_info p {
    font-size: var(--ft14);
    display: flex;
    align-items: center;
    gap: 8px;
}
.delivery_info p:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 8px;
    background-color: var(--gray-400);
}


/*----------------------- sale_sec -----------------------*/
.coupon_input {
    width: 100%;
    max-width: 400px;
    height: 54px;
    border-radius: 8px;
    border: 1px solid var(--dark-line);
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border .4s ease;
}
.coupon_input::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: url('/images/right_g.svg') no-repeat center / contain;
}
.coupon_input:hover {
    border-color: var(--gray-600);
}
.coupon_input p {
    font-size: 16px;
}

/*-- coupon_popup --*/
.coupon_list {
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.coupon_box label {
    align-items: start;
}
.coupon_num {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    margin-bottom: 8px;
}
.radio label p.coupon_title {
    line-height: 20px;
}
.coupon_text {
    margin-top: 8px;
    font-size: var(--ft14);
    color: var(--gray-400);
}

.coupon_box.none label span::before {
    background-color: var(--gray-200);
    border: none;
}
.coupon_box.none label span::after {
    opacity: 0;
}
.coupon_box.none p {
    opacity: .3;
}

/*-- point_box --*/
.point_box {
    width: 100%;
    max-width: 400px;
}
.point_box.lock {
    pointer-events: none;
}
.point_box.lock .input_btn {
    background-color: var(--gray-200);
    color: var(--gray-300);
    border: none;
}
.point_btm {
    margin-top: 10px;
    display: flex;
    justify-content: end;
    gap: 6px;
}
/* .point_btm p:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}
.point_btm p:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background-color: var(--dark-line);
} */
.point_btm p,
.point_btm span {
    font-size: var(--ft14);
}


/*----------------------- product_summary -----------------------*/
.product_summary {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 130px;
    left: 0;
}
.product_summary .inner {
    background-color: var(--gray-100);
    border-radius: 8px;
    padding-top: 20px;
    overflow: hidden;
}
.summary_item {
    width: 100%;
    padding: 6px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.point_get {
    margin: 24px 20px 0;
    width: calc(100% - 40px);
    padding: 12px 18px;
    border-radius: 8px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.point_get > img {
    width: 18px;
    height: 18px;
}
.point_get p {
    color: var(--gray-500);
}
.point_get p strong {
    font-weight: var(--semi-bold);
    color: var(--primary);
}
.get_hover {
    width: 14px;
    height: 14px;
    cursor: pointer;
    position: relative;
}
.hover_text {
    padding: 6px 10px;
    background-color: var(--gray-600);
    border-radius: 8px;
    font-size: var(--ft12);
    color: var(--white);
    text-align: center;
    text-wrap: nowrap;
    position: absolute;
    left: 0;
    transform: translateX(calc(-50% + 7px)) translateY(calc(-100% - 14px));
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}
.hover_text::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: url(/images/guide_box.svg) no-repeat center / contain;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -8px;
}

.get_hover:hover .hover_text {
    opacity: 1;
    pointer-events: all;
}
.summary_total {
    width: 100%;
    margin-top: 10px;
    padding: 24px 30px 10px;
    border-top: 1px solid var(--dark-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.summary_label {
    font-size: var(--ft16);
}
.summary_value {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
}
.summary_value.color {
    color: var(--red);
}
.summary_price {
    font-size: var(--ft20);
    font-weight: var(--bold);
    color: var(--primary);
}
.btn_order {
    width: 100%;
    height: 60px;
    margin-top: 26px;
    background-color: var(--primary);
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.btn_order span {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.btn_continue {
    width: 100%;
    height: 60px;
    margin-top: 10px;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--dark-line);
}
.btn_continue a {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--gray-500);
    display: flex;
    justify-content: center;
    align-items: center;
}


/*-- btm_sticky --*/
.m_btm_btn {
    display: none;
    width: 100%;
    height: 65px;
    padding: 6px 10px;
    background: var(--white);
    border-top: 1px solid var(--dark-line);
    /* display: flex; */
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 5;
}
.btm_summary {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.btm_price {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
}
.m_btm_btn .btn_order {
    border-radius: 10px;
    margin-top: 0;
    height: 100%;
    font-size: var(--ft16);
}

/*----------------------- delivery_popup -----------------------*/
.delivery_popup .popup_box {
    width: 100%;
    max-width: 580px;
}
.p_delivery_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.p_delivery_box {
    width: 100%;
    padding: 30px 30px 20px;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
}
.p_delivery_box.chk {
    background-color: var(--primary-bg);
    border-color: var(--primary);
}
.delivery_btn_list {
    display: flex;
    align-items: center;
    gap: 10px;
}
.delivery_btn_list div {
    width: 100%;
    height: 34px;
    border: 1px solid var(--dark-line);
    background-color: var(--white);
    font-size: var(--ft14);
    font-weight: var(--medium);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
}
.delivery_btn_list div.primary {
    border: none;
    background-color: var(--primary);
    color: var(--white);
}

.delivery_add {
    width: 100%;
    height: 54px;
    margin-top: 40px;
    background-color: var(--gray-400);
    border-radius: 8px;
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

@media all and (max-width: 1400px) {
    .page.container-sm {
        padding: 0 40px;
    }
    .product {
        gap: 40px;
    }
}

@media all and (max-width: 1400px) {
    .page.container-sm {
        padding: 0 20px;
    }
    .payment_h {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .payment_name, 
    .payment_name span {
        font-size: var(--ft20);
    }
    .product_summary {
        width: 300px;
    }


}

@media all and (max-width: 1024px) {
    .page.container-sm {
        padding: 0;
    }
    .product {
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
    .all_option {
        height: auto;
        padding: 10px 20px;
        margin-bottom: 0;
        border-radius: 0;
        border: none;
    }
    .all_chk p {
        font-size: var(--ft14);
    }
    .delete_box,
    .sold_out_delete {
        gap: 6px;
    }
    .delete_box {
        padding: 0 20px;
    }
    .delete {
        font-size: var(--ft14);
    }
    .shopping_guide {
        width: calc(100% - 40px);
        margin: 0 auto 24px;
        padding: 12px 20px;
    }
    .sale_sec .shopping_guide {
        width: 100%;
    }
    .shopping_guide img {
        width: 14px;
        height: 14px;
    }
    .shopping_guide p {
        font-size: var(--ft14);
    }
    .product_list {
        padding: 0 20px;
        border: none;
        border-radius: 0;
    }
    .product_list li {
        padding: 16px 0;
    }
    .product_delet {
        top: 16px;
    }
    .product_summary {
        position: static;
        width: 100%;
        border-top: 14px solid var(--gray-100);
    }
    .product_summary .inner {
        background-color: var(--white);
    }
    .summary_item {
        padding: 6px 20px;
    }
    .summary_label {
        font-size: var(--ft16);
    }
    .summary_total {
        padding: 16px 20px 10px;
    }
    .point_get {
        margin-top: 12px;
        background-color: var(--gray-100);
        border: 1px solid var(--gray-200);
    }

    .product_summary .btn_order,
    .product_summary .btn_continue {
        display: none;
    }
    .btm_sticky {
        display: block;
    }
    .m_btm_btn {
        display: flex;
    }
    
    .product_wrap section {
        margin-bottom: 24px;
    }
    .payment_h {
        padding: 16px 20px;
        border-bottom: none;
        border-top: 14px solid var(--gray-100);
    }
    .input_list,
    .pay_list,
    .agree_list,
    .delivery_address {
        padding: 0 20px;
    }
    .input_name_l {
        width: 80px;
    }

    .product_index {
        gap: 20px;
    }
    .company_name {
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 0;
        padding-bottom: 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--dark-line);
        text-align: center;
        border: none;
        background: none;
    }


    /*-- delivery_popup --*/
    .p_delivery_box {
        padding: 20px 20px 16px;
    }
    .delivery_btn_list {
        gap: 6px;
    }
    .delivery_btn_list div {
        border-radius: 6px;
    }
    .delivery_add {
        height: 46px;
        margin-top: 30px;
    }

    /*-- delivery_none --*/
    .delivery_none {
        background: none;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    .delivery_none figure {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    .delivery_none .btn {
        margin-top: 16px;
    }
}

@media all and (max-width: 768px) {
    .payment_h {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .payment_name, 
    .payment_name span {
        font-size: var(--ft18);
    }
    .checkbox label span {
        width: 16px;
        height: 16px;
    }
    .checkbox label span::after {
        width: 10px;
        height: 10px;
    }
    .agree_box {
        padding: 0px 20px 20px;
    }
    .page .input_list li > .input_box, 
    .page .tel_box, .page .add_box {
        width: 100%;
    }

    .coupon_input {
        height: 46px;
    }
    .point_get {
        margin-top: 6px;
        padding: 10px 14px;
        gap: 6px;
    }
    .point_get > img {
        width: 14px;
        height: 14px;
    }
    .point_get p {
        font-size: var(--ft14);
    }

    /*-- delivery_popup --*/
    .delivery_btn_list div {
        height: 30px;
    }
}

@media all and (max-width: 600px) {
    .pay_list {
        flex-direction: column;
    }
    .pay_list li {
        height: 54px;
    }
    .pay_list img {
        width: 24px;
        height: 24px;
    }
    .pay_list img.kakaopay {
        height: 20px;
    }
    .input_list li {
        flex-direction: column;
        /* gap: 10px; */
    }
}

@media all and (max-width: 360px) {
    .btm_summary {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
    .btm_num {
        font-size: var(--ft14);
    }
    .btm_price {
        font-size: var(--ft18);
    }
}