.desktop{
    display: block;
}

.mobile{
    display: none;
}

.orange{
    color: #009900;
}

.warning{
    color: #CC0000;
}

* {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
    box-sizing: border-box; 
    -webkit-box-sizing: border-box;
}

body{
    margin: 0;
    /*font-family: 'Segoe UI',SegoeUI,'Microsoft JhengHei',微軟正黑體,"Helvetica Neue",Helvetica,Arial,sans-serif;*/
    font-family: 'Segoe UI',SegoeUI,'Microsoft JhengHei',"PingFang TC";
}

a {
    color: #B87C1A;
    text-decoration: none;
}

input {
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px 20px;
    -webkit-appearance: none;
    outline: none;
    width: 100%;
}

input:disabled {
    background: linear-gradient(0deg, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 0%, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 100%), rgba(255, 255, 255, 0.20);
}

.custom-select-wrapper.disabled .custom-select__trigger {
    background: linear-gradient(0deg, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 0%, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 100%), rgba(255, 255, 255, 0.20);
    cursor: default;
}

.btn {
    border-radius: 5px;
    border: 1px solid var(--Hipp_Primary, #B87C1A);
    background: var(--btn_gradient_gold, linear-gradient(92deg, #CB9032 0%, #DFA83C 12.4%, #A6702A 29.81%, #935B28 39.41%, #A26C30 51.62%, #B2803B 65.39%, #EDCA6C 88.35%, #BE8E2C 98.44%));
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    padding: 11px 29px;
    width: fit-content;
    width: -moz-fit-content;
    cursor: pointer;
}

.popupbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    /*background-color: white;*/
    /*padding: 20px 40px;*/
    z-index: 56;
    display: none;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: black;
    background-color: white;
}

.popupbox .close-btn {
    top: 0;
    right: 0;
    position: absolute;
    width: 35px;
    height: 40px;
    cursor: pointer;
}

.popupbox .close-btn:before {
    content: '\00D7';
    display: block;
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 30px;
    line-height: 30px;
}

.popupbox .popup-content {
    /*width: 81%;*/
    height: 95%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 40px;
    margin: auto;
}

.popupbox .popup-content ol{
    padding: 0px;
}

.popupbox .popup-content ul{
    list-style-type:lower-roman;
}

.popupbox .popup-content table, .popupbox .popup-content td, .popupbox .popup-content th{
    border: 1px solid black;
    border-collapse: collapse;
    padding: 4px;
}

.popupbox .popup-content .tc_tb_header{
    border: 1px solid black;
    text-align: center;
    background-color: #E2175F;
    color: white;
}

.popupbox .popup-content table i{
    color: #E2175F;
}

.popupbox .popup-content p{
    text-align: center;
}

.country-code-container{
    position: absolute;
    width: 114px;
    padding: 1px;
}

.country-code-container .custom-select__trigger{
    border: 0px;
    background: transparent;
}

.country-code-container .custom-select__trigger span{
    /*color: #F76F92;*/
    /*font-weight: bold;*/
}



.custom-select-wrapper {
     position: relative;
     user-select: none;
     width: 100%;
}
 .custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border-width: 0px;
    border-style: solid;
    border-color: #DFDFDF;
    border-radius: 5px;
}
 .custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 300;
    color: #3b3b3b;
    height: 40px;
    line-height: 21px;
    background: #ffffff;
    cursor: pointer;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
    height: 41px;
}
.dropdown-selector .custom-select__trigger {
    border: 0px;
 }

.custom-select__trigger span{
    white-space: nowrap;
    overflow: hidden;
}
 .custom-options {
     position: absolute;
     display: block;
     top: 100%;
     left: 0;
     right: 0;
     border-radius: 5px;
     background: #fff;
     transition: all 0.5s;
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     z-index: 2;
     max-height: 300px;
     overflow-y: auto;
     width: 100%;
     min-width: max-content;
}
 .custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
 .custom-option {
     position: relative;
     display: block;
     padding: 0 22px 0 22px;
     font-size: 15px;
     font-weight: 300;
     color: #3b3b3b;
     line-height: 40px;
     cursor: pointer;
     transition: all 0.5s;
}
 .custom-option.sm-lineht{
     line-height: 24px;
 }
 .custom-option:hover {
     cursor: pointer;
     background-color: #f2fafe;
}

.custom-option-search {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #E2E2E2;
}

.custom-option-search__input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 300;
    color: #3b3b3b;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
}

.custom-option-search__input:focus {
    border-color: #1B6231;
}
 .custom-option.selected {
     color: #222222;
     /*background-color: rgba(240,80,126,0.2);*/
}

.arrow {
     position: relative;
     height: 5px;
     width: 8.6px;
}
 .arrow::before, .arrow::after {
     content: "";
     position: absolute;
     bottom: 0px;
     width: 0.09rem;
     height: 100%;
     transition: all 0.5s;
}
 .arrow::before {
     left: 2px;
     transform: rotate(-45deg);
     background-color: #000000;
}
 .arrow::after {
     left: 5px;
     transform: rotate(45deg);
     background-color: #000000;
}
 .open .arrow::before {
     left: 2px;
     transform: rotate(45deg);
}
 .open .arrow::after {
     left: 5px;
     transform: rotate(-45deg);
}

.checkbox-group{
    position: relative;
}

.checkbox-group:has(input:disabled) .checkbox {
    cursor: default;
}

.checkbox-group:has(input:disabled) .checkbox input:disabled ~ .checkmark,
.checkbox-group:has(input:disabled) .checkbox:hover input:disabled ~ .checkmark{
    background: linear-gradient(0deg, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 0%, var(--Grey_bg, rgba(0, 0, 0, 0.03)) 100%), rgba(255, 255, 255, 0.20);
}

.checkbox-group:has(input:disabled) .checkbox input:disabled:checked ~ .checkmark {
    background: rgba(0, 0, 0, 0.50);
}

.checkbox{
    display: inline-block;
    position: relative;
    padding-left: 28px;
    padding-right: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    line-height: 24px;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  display: none;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border-radius: 24px;
    border: 1px solid #E2E2E2;
}

.checkmark.tnc{
    border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
  background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
  background-color: black;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 8px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background-color: white;
}

.checkbox .checkmark.tnc:after{
    left: 8px;
    top: 4px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 0px;
    background-color: unset;
}

.modal{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    position: fixed;
    display: none;
    z-index: 2;
    align-items: center;
    justify-content: center;
    top: 0;
    /*display: flex;*/
}

.modal .container{
    max-width: 368px;
    background-color: #faf5ed;
    margin: auto;
    position: relative;
    color: #54474F;
    width: 90vw;
    padding-bottom: 25px;
    border-radius: 10px;
    /*background-image: url(../../assets/img/modal_bg.jpg?v3);*/
    background-size: 100%;
    background-position: top;
}

.modal .container .title{
    padding: 25px 4vw 6px 4vw;
    /*color: #951B81;*/
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 30px;
    text-align: center;
}

.modal .container .title .detail{
    font-size: 14px;
    line-height: 16px;
    margin-top: 5px;
}

.modal .container .content{
    padding: 0vw 2vw 2vw;
    color: #555555;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
}

.modal .container .icon-fail{
    width: 50px;
    height: 50px;
    background-image: url(../../assets/img/icon_failed.svg?v4);
    background-repeat: no-repeat;
    background-size: 100%;
    margin: auto;
    margin-bottom: 10px;
}

.modal .container .icon-success{
    width: 50px;
    height: 50px;
    background-image: url(../../assets/img/icon_success.svg?v4);
    background-repeat: no-repeat;
    background-size: 100%;
    margin: auto;
    margin-bottom: 10px;
}

.modal .container .btn{
    padding: 0vw 2vw 6vw;
    display: none;
    width: 53.4%;
    background-color: #7F7365;
    font-size: 15px;
    /*font-weight: bold;*/
    letter-spacing: 0;
    line-height: 17px;
    text-align: center;
    padding: 10px 0px;
    color: #FFFFFF;
    margin: auto;
    margin-bottom: 10px;
    box-shadow: none;
}

.modal .container .cancel{
    padding: 0vw 2vw 6vw;
    /* display: none; */
    width: 53.4%;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 17px;
    text-align: center;
    padding: 10px 0px;
    color: #6C6256;
    margin: auto;
    border: 1px solid #7F7365;
    border-radius: 5px;
}

.modal .container .btn p{
    box-sizing: border-box;
    height: 41px;
    max-width: 141px;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 40px;
    text-align: center;
    margin: auto;
}

.modal .container .btn img{
    width: 28vw;
    margin: auto;
    display: block;
}

.modal .container .inputbox{
    text-align: center;
    padding: 0vw 2vw 4vw;
    display: none;
}

.modal .container .inputbox input{
    box-sizing: border-box;
    height: 41px;
    max-width: 200px;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 16px;
    text-align: center;
    margin: auto;
}

.cal-container{
    /*min-width: 33%;*/
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
}

.address-container{
    min-width: 33%;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
}

.date-dropdowns{
    display: none;
}

.datepicker{
    display: flex;
    justify-content: space-evenly;
    gap: 7.5px;
}

.distpicker{
    display: flex;
    justify-content: space-evenly;
}


#g_header .wrap{
    max-width: 1440px;
    width: 100%;
    margin: auto;
}

#g_header .wrap .banner img{
    display: block;
    width: 100%;
}

#g_header .wrap .logo{
    background-color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

#g_header .wrap .logo svg{
    width: 14%;
    display: block;
    max-width: 120px;
}

#g_footer{
    background: var(--Hipp_Primary, #B87C1A);
    min-height: 100px;
    display: flex;
    color: white;
    max-width: 1440px;
    margin: auto;
    align-items: center;
}

#g_footer a{
    color: white;
}

#g_footer .wrap{
    font-size: 15px;
    margin: unset;
    margin-left: 100px;
    display: flex;
    gap: 3px;
}

#nav{
    max-width: 1440px;
    width: 100%;
    margin: auto;
    background: linear-gradient(90deg, #D39E30 0%, #EDD882 20%, #FFEA7F 51%, #E4C466 85%, #D39E30 100%);
    padding: 15px;
}

.nav-box {
    display: flex;
    height: 46px;
    padding-left: 38px;
    max-width: 504px;
    margin: auto;
}

.nav-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 14.9%;
    position: relative;
}

.nav-info.active:has(~ .nav-info.active):after {
    height: 1.5px;
    background: #9B6726;
}

.nav-info:nth-child(1):before {
    content: '1'; 
}

.nav-info:nth-child(2):before {
    content: '2';
}

.nav-info:nth-child(3):before {
    content: '3';
}

.nav-info:nth-child(4):before {
    content: '4';
}

.nav-info:nth-child(5):before {
    content: '5';
}

.nav-info.active:before {
    color: white;
    background-color: #9B6726;
}

.nav-info.active:has(~ .nav-info.active):before {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'> <path d='M9.2867 0.279544C9.5115 -0.0239129 9.94384 -0.0906768 10.2524 0.130423C10.5609 0.351522 10.6288 0.776759 10.404 1.08022L4.74423 8.72047C4.50328 9.04574 4.02938 9.09508 3.72453 8.82663L0.230144 5.74939C-0.0542566 5.49895 -0.0783865 5.06915 0.176249 4.78943C0.430884 4.5097 0.867859 4.48597 1.15226 4.73642L4.07695 7.31179L9.2867 0.279544Z' fill='white'/> </svg>");
}

.nav-info:before {
    content: '';
    color: #5f33bc;
    display: block;
    width: 24px;
    height: 24px;
    z-index: 10;
    background-color: white;
    border-radius: 30px;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 14px;
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-info:after {
    content: '';
    display: block;
    width: 56%;
    height: 1.5px;
    background: rgba(155, 103, 38, 0.30);
    position: absolute;
    right: 9%;
    top: 12px;
    z-index: 1;
}

.nav-info-count {
    display: none;
}

.nav-info:nth-last-child(2) {
    padding: 0px;
}

.nav-info:nth-last-child(2):after{
    display:none;
}

.nav-info span {
    font-weight: 500;
    font-size: 12px;
    position: absolute;
    width: max-content;
    bottom: 0px;
    color: #9B6726;
}

.nav-info.active span {
    color: #9B6726;
}

#mainContent{
    max-width: 1440px;
    width: 100%;
    margin: auto;
    background-image: url(../img/image_bg_desktop.png);
    padding-top: 50px;
    padding-bottom: 100px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #57833a;
}

.center{
    text-align: center;
}

.wrap{
    max-width: 800px;
    margin: auto;
}

.g_title{
    margin: auto;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
    max-width: 580px;
    margin-top: 50px;
}

.g_desc{
    margin: auto;
    margin-top: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    max-width: 580px;
}

.mainBox{
    text-align: left;
    position: relative;
    border-radius: 10px;
    border: 1px solid var(--Hipp_Primary, #B87C1A);
    background: linear-gradient(0deg, var(--hipp-primary-5, rgba(184, 124, 26, 0.08)) 0%, var(--hipp-primary-5, rgba(184, 124, 26, 0.08)) 100%), var(--White, #FFF);
    /* shadow_card */
    box-shadow: 10px 15px 20px 0 rgba(0, 0, 0, 0.10);
    margin: auto;
    padding: 30px;
    max-width: 580px;
    color:#1B6231;
}

.index .mainBox{
    max-width: 580px;
}

.index .mainBox .g_title{
    margin-top: 0px;
    text-align: center;
}

.index .mainBox .g_desc{
    text-align: center;
}

.index .mainBox .title{
    margin-top: 50px;
}

.mainBox .requir{
    position: absolute;
    top: 50.5px;
    right: 6.5%;
}

.mainBox .form form {
    margin-bottom: 40px;
}

.mainBox .section{
    margin-bottom: 60px;
}

.mainBox .inner-section{
    border-radius: 5px;
    border: 1px solid var(--White, #FFF);
    background: #FFF;
    margin-bottom: 30px;
    padding: 0px 20px 20px 20px;
}

.redeem .mainBox .g_title{
    margin-top: 0px;
}

.redeem .mainBox .g_desc{
    margin-bottom: 50px;
}

.redeem .mainBox .inner-section{
    padding: 20px;
    border-radius: 5px;
    color: black;
    border: 1px solid var(--Hipp_second_blue, #009DE2);
    background: linear-gradient(0deg, rgba(0, 157, 226, 0.10) 0%, rgba(0, 157, 226, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section .gift-info{
    display: flex;
}

.redeem .mainBox .gift-info .product-thumb-wra img{
    width: 74px;
    margin-right: 10px;
}

.redeem .mainBox .gift-info .product-info .product-name{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 5px;
}

.redeem .mainBox .redeem-info{
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

.redeem .mainBox .redeem-code-info{
    border-radius: 5px;
    background: var(--White, #FFF);
    padding: 20px;
    margin-top: 20px;
}

.redeem .mainBox .gift-info .product-info{
    flex: 1;
}

.redeem .mainBox .inner-section .more-btn{
    cursor: pointer;
    margin-left: auto;
    align-self: flex-start;
}

.redeem .mainBox .inner-section .more-btn svg{
    transition: transform 0.2s;
}

.redeem .mainBox .inner-section .more-btn.collapsed svg{
    transform: rotate(180deg);
}

.mainBox .title{
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}

.dropdown-selector {
    overflow: visible;
    display: inline-block;
    /*border: 1px solid #E2E2E2;
    border-radius: 5px;*/
}

.mainBox .selector{
    width: 100%;
}

.mainBox .input-group-wrap.redeem .input-group{
    width: 48%;
}

.mainBox .input-group-wrap .input-group {
    width: 48%;
}

.mainBox .input-group-wrap .input-group.address-group{
    width: 31.6%;
}

.mainBox .input-group-wrap.hongkong .input-group.building {
    width: 100%;
}

.mainBox .input-group-wrap .selector{
    width: 99%;
}

.selector .seperator {
    /*width: 3px;
    display: inline-block;*/
    background-color: #DDDDDD;
    height: 41px;
}

.mainBox .form input[name="email-address"]{
    padding-right: 130px;
}

.mainBox .form input[name="mobile_phone"]{
    padding-right: 130px;
    padding-left: 110px;
}

.mainBox .input-group-wrap{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mainBox .input-group-wrap.address-group{
    flex-wrap: wrap;
}

.mainBox .input-group-wrap.address-group .inner-address-group{
    width: 66%;
}

.mainBox .input-group-wrap.inner-address-group .input-group{
    width: 47.8%;
}

.mainBox .input-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
}

.index .mainBox .input-group{
    max-width: 420px;
    margin: auto;
    margin-top: 20px;
}

.mainBox .input-group.non-hongkong {
    display: none;
}

.mainBox .input-group.state, .mainBox .input-group.city, .mainBox .input-group-wrap.state-city-group {
    display: none;
}

.mainBox .input-group .error {
    width: 100%;
    font-size: 14px;
    color: #F03B13;
    text-align: left;
    margin-top: 10px;
    display: none;
}

.mainBox .input-group .error::before{
    content: '*';
/*    width: 22px;
    height: 22px;
    background-image: url('../../assets/img/icon_warning.svg');
    background-size: 22px;
    background-repeat: no-repeat;*/
    display: block;
    /*margin-right: 8px;*/
}

.mainBox .input-group .error.active {
    display: flex;
    align-items: center;
}

.mainBox .input-group label{
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
}

.mainBox .input-group.tnc label{
    font-weight: normal;
}

.mainBox .input-group .desc {
    width: 100%;
    font-size: 13px;
    text-align: left;
    color: black;
    margin-top: 10px;
}

.mainBox .desc{
    width: 100%;
    font-size: 16px;
    text-align: left;
    color: #009900;
    margin-top: 10px;
    display: block;
}

.mainBox .input-group label.upload{
    width: 160px;
    height: 160px;
    font-size: 18px;
    color: #009de2;
    border: 0.8px dashed rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.mainBox .input-group label.upload::before{
    content: '';
    width: 50px;
    height: 50px;
    background-image: url('../img/icon_upload.svg');
    background-repeat: no-repeat;
    background-size: contain;
        margin-bottom: 10px;
}

.mainBox .input-group label.upload #output{
    position: absolute;
    display: block;
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mainBox .input-group input.upload{
    display: none;
}

.mainBox .input-group .upload-wra{
    position: relative;
}

.mainBox .input-group .upload-wra .clear{
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(../../assets/img/icon_remove.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    left: 150px;
    top: 5px;
    display: none;
}

.mainBox .input-group .upload-wra .clear.active{
    display: block;
}

.mainBox .input-group .input_wrap{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.mainBox .input-group .input_wrap .country-code-container{
    position: absolute;
}

.mainBox .salutation.input-group{
    min-width: 149px;
}

.mainBox .btn {
    max-width: 200px;
    width: 100%;
    margin: auto;
}

.mainBox .back.btn {
    border-radius: 5px;
    border: 1px solid var(--Grey, rgba(0, 0, 0, 0.50));
    background: unset;
    color: black;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.mainBox .back.btn .text, .mainBox .next.btn .text{
    width: 100%;
}

.mainBox .next.btn{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.mainBox .btn-group{
    display: flex;
    justify-content: space-between;
}

.mainBox .btn-group .btn{
    margin: unset;
}

.mainBox .radio-group .radio-detail {
    width: 100%;
    border-radius: 10px;
    background-color: rgb(0 153 0 / 5%);
    margin-top: 20px;
    padding: 3.6%;
    display: none;
}

.mainBox .radio-group .radio-detail.no-bg{
    background-color: unset;
    padding: 0px;
    margin: 0px;
}

.mainBox .radio-group .radio-detail.active{
    display: block;
    position: relative;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--Hipp_Green_line, #B0D6AA);
background: linear-gradient(0deg, var(--Hipp_Green_bg, #F8FFF8) 0%, var(--Hipp_Green_bg, #F8FFF8) 100%), var(--White, #FFF);
}

.mainBox .radio-group .radio-detail .delete-baby{
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: none;
}

.mainBox .radio-group .radio-detail .delete-baby.visible{
    display: block;
}

.mainBox .radio-group .add-baby {
    display: none;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid var(--Hipp_Primary, #B87C1A);
    background: var(--White, #FFF);
    color: #B87C1A;
    padding-right: 20px;
    padding-left: 20px;
    margin: initial;
    margin-top: 20px;
}

.mainBox .radio-group .add-baby.active {
    display: flex;
    justify-content: space-between;
}

.mainBox .radio-group .add-baby .text{
    width: 100%;
}

.mainBox .radio-group .radio-detail .title{
    font-size: 16px;
    text-align: left;
}

.mainBox .radio-group .radio-detail .input-group-wrap .input-group{
    width: 48%;
}

.btn-send {
    top: 0%;
    right: 0%;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 18px;
    border-radius: 5px;
    background: var(--Hipp_Primary, #B87C1A);
    color: white;
    cursor: pointer;
    width: 150px;
    max-width: 150px;
    text-align: center;
    padding: 11.5px;
    margin-left: 10px;
}

.btn-send.disable {
    background-color: #b0b0b0;
}

.region-container{
    width: 100%;
}

.salutation-container{
    width: 100%;
}

.gender-container{
    width: 100%;
}

.hospital-container{
    width: 100%;
}

.imf-container{
    width: 100%;
}

.redeem-container{
    width: 100%;
}

.redeem #qrcode{
    margin: auto;
    width: 214px;
    margin-top: 54px;
    margin-bottom: 54px;
}

.redeem #qrcode_product{
    margin: auto;
    width: 214px;
    margin-top: 54px;
    margin-bottom: 54px;
}

.redeem #qrcode_consultation{
    margin: auto;
    width: 214px;
    margin-top: 54px;
    margin-bottom: 54px;
}

.redeem .mainBox .inner-section[data-id="116"],
.redeem .mainBox .inner-section[data-id="118"],
.redeem .mainBox .inner-section[data-id="119"]{
    border: 1px solid rgb(236 0 138);
    background: linear-gradient(0deg, rgba(236, 0, 138, 0.10) 0%, rgba(236, 0, 138, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="121"],
.redeem .mainBox .inner-section[data-id="115"],
.redeem .mainBox .inner-section[data-id="122"]{
    border: 1px solid rgb(5 172 237);
    background: linear-gradient(0deg, rgba(5, 172, 237, 0.10) 0%, rgba(5, 172, 237, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="114"],
.redeem .mainBox .inner-section[data-id="124"],
.redeem .mainBox .inner-section[data-id="125"],
.redeem .mainBox .inner-section[data-id="126"]{
    border: 1px solid rgb(241 110 32);
    background: linear-gradient(0deg, rgba(241, 110, 32, 0.10) 0%, rgba(241, 110, 32, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="113"],
.redeem .mainBox .inner-section[data-id="127"],
.redeem .mainBox .inner-section[data-id="128"],
.redeem .mainBox .inner-section[data-id="129"]{
    border: 1px solid rgb(92 44 144);
    background: linear-gradient(0deg, rgba(92, 44, 144, 0.10) 0%, rgba(92, 44, 144, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="112"]{
    border: 1px solid rgb(0 153 0);
    background: linear-gradient(0deg, rgba(0, 153, 0, 0.10) 0%, rgba(0, 153, 0, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="111"]{
    border: 1px solid rgb(255 211 1);
    background: linear-gradient(0deg, rgba(255, 211, 1, 0.10) 0%, rgba(255, 211, 1, 0.10) 100%), var(--White, #FFF);
}

.redeem .mainBox .inner-section[data-id="110"],
.redeem .mainBox .inner-section[data-id="117"]{
    border: 1px solid rgb(238 0 0);
    background: linear-gradient(0deg, rgba(238, 0, 0, 0.10) 0%, rgba(238, 0, 0, 0.10) 100%), var(--White, #FFF);
}



.product-offer label.checkbox{
    padding: 15px 15px 15px 48px;
    border-radius: 5px;
    border: 1px solid var(--Hipp_Green_line, #B0D6AA);
    background: var(--White, #FFF);
    width: 100%;
}

.product-offer label.checkbox:has(input:checked){
    background: linear-gradient(0deg, var(--Hipp_Green_bg, #F8FFF8) 0%, var(--Hipp_Green_bg, #F8FFF8) 100%), var(--White, #FFF);
}

.product-offer .checkmark{
    top: 15px;
    left: 15px;
}

.product-offer .offer-wrap{
    display: flex;
}

.product-offer .offer-info{
    margin-left: 15px;
}

.product-offer .offer-description{
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.product-offer .offer-thumbnail img{
    width: 80px;
}

.product-offer .offer-price-wrap .offer-price{
    color: #B87C1A;
    font-size: 18px;
    font-weight: 500;
}

.product-offer .offer-price-wrap .offer-price span{
    font-weight: normal;
    font-size: 11px;
    font-weight: 500;
}

.product-offer .offer-price-wrap{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3px;
}

.product-offer .offer-price-wrap .offer-tag{
    border-radius: 50px;
    background: var(--Hipp_second_pink, #EC008B);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: white;
    padding: 3px 8px;
}

.product-offer .offer-sale-price{
    color: var(--Grey, rgba(0, 0, 0, 0.50));
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.redeem .product .product-name{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 20px;
    margin-top: 15px;
}

.redeem .product .product-thumb-wra img{
    max-width: 230px;
    width: 55%;
    display: block;
    margin: auto;
}

.redeem .title{
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 24px;
    margin-bottom: 9px;
}

.redeem .mainBox{
    max-width: 684px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 150px;
}

.redeem .table{
    margin-top: 20px;
}

.personal .table{
    margin-top: 20px;
}

.table .row{
    display: flex;
    padding: 3px 0px;
}

.table .row .col-2{
    width: 20%;
}

.thanks .next-event{
    margin: auto;
    line-height: 26px;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 400px;
}

@media (max-width: 800px){
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
    #g_header .wrap .logo svg{
        width: 29%;
        max-width: 100px;
    }

    #nav{
        height: 40px;
        padding: 10px;
    }

    #mainContent{
        background-image: url(../img/image_bg_mobile.png);
    }

    #mainContent .wrap{
        padding: 0 15px;
    }

    #g_footer .wrap{
        margin: auto;
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }

    .nav-box{
        height: unset;
        padding-left: unset;
        max-width: unset;
        justify-content: center;
        align-items: center;
    }
    
    .nav-info span{
        display: none;
    }

    .nav-info:before{
        display: none;
    }

    .nav-info:after {
        height: 3px;
        top: 48%;
        min-width: 56px;
        position: relative;
        border-radius: 3px;
    }

    .nav-info-count{
        display: flex;
        color: #9B6726;
        line-height: 20px;
        font-weight: bold;
    }

    .nav-info:nth-last-child(2){
        padding-right: 2.9%;
    }

    .nav-info:nth-last-child(2):after{
        content: '';
        display: block;
        width: 56%;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.30);
        right: 9%;
        top: 48%;
        z-index: 1;
    }
    
    .nav-info{
        padding-right: 2%;
    }

    /*.nav-info.active:has(~ .nav-info.active):before {
        display: flex;
    }*/

    .nav-info:after{
        background: rgba(255, 255, 255, 0.80);
    }

    .nav-info.active:has(~ .nav-info.active):after{
        height: 3px;
    }

    .nav-info.active:after {
        background: #9B6726;
        height: 3px;
    }

    .mainBox{
        padding: 30px 20px;
        margin: auto;
    }

    .mainBox .requir{
        position: relative;
        top: 0;
        right: 0;
        margin-top: 10px;
    }
    
    .mainBox .title{
        font-size: 20px;
        line-height: 22px;
    }
    
    .mainBox .input-group-wrap{
        flex-direction: column;
    }
    
    .mainBox .input-group-wrap .input-group{
        width: 100%;
    }
    
    .mainBox .input-group-wrap .input-group.address-group:first-child{
        width: 100%;
    }

    .mainBox .input-group-wrap.address-group .inner-address-group{
        width: 100%;
        flex-direction: row;
    }
    
    .mainBox .input-group-wrap.inner-address-group .input-group.address-group:first-child{
        width: 48%;
    }

    .mainBox .input-group-wrap.inner-address-group .input-group{
        width: 48%;
    }
    
    .mainBox .radio-group .radio-detail .input-group{
        width: 100%;
    }
    
    .mainBox .input-group-wrap.redeem .input-group{
        width: 100%;
    }
    
    .mainBox .radio-group .radio-detail .input-group-wrap .input-group{
        width: 100%;
    }
    
    .mainBox .salutation.input-group{
        width: 100%;
    }
    
    .mainBox .btn-group{
        align-items: center;
        flex-direction: column-reverse;
        gap: 15px;
    }

    .mainBox .btn-group .btn{
        max-width: 305px;
    }


    .g_title{
        font-size: 24px;
    }
    
    .g_desc{
        font-size: 15px;
        width: 90%;
    }
    
    .table .row .col-2{
        min-width: 36%;
    }
    
    .redeem .mainBox{
        width: 90%;
    }
    
    .redeem .g_desc{
        width: 90%;
    }
    
    input{
        font-size: 15px;
    }
    
    .custom-select__trigger span{
        font-size: 15px;
    }
    
    .checkbox{
        font-size: 15px;
    }

    .datepicker{
        gap: 5px;
    }
}