body { background: #f7f8fa; }

[v-cloak] { opacity: 0; visibility: hidden; transition: visibility 0s 5s, opacity 5s linear; }
[v-cloak] > * { opacity: 0; visibility: hidden; transition: visibility 0s 5s, opacity 5s linear;  }


input[type=radio] { outline: none; appearance: none; background-color: rgb(255, 255, 255); border-radius: 50%; cursor: pointer; position: relative; display: inline-block; min-width: 24px; height: 24px; border: 2px solid #ccc; }
input[type=radio]:checked { background: #ff6000; border: 2px solid #ff6000; }
input:checked::before { -webkit-box-align: center; align-items: center; display: flex; height: 14px; -webkit-box-pack: center; justify-content: center; margin: 6px 5px; position: absolute; text-align: center; }
input[type=radio]:checked:before { content: ""; height: 100%; width: 100%; border-radius: 50%; background: #ff6000; margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 4px solid #fff; }

input[type=checkbox] { appearance: none; background-color: rgb(255, 255, 255); background-image: none; border: 2px solid rgb(155, 155, 155); cursor: pointer; display: inline-block; align-self: flex-start; outline: none; position: relative; height: 20px; width: 20px; min-width: 20px; min-height: 20px; border-radius: 6px; }
input[type=checkbox]:checked { background: rgb(255, 96, 0); border: 2px solid rgb(255, 96, 0); }
input[type=checkbox]:checked::before { content: ""; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='12' viewBox='0 0 15 12'%3E%3Cpath fill='%23FFF' fill-rule='nonzero' d='M13.927 2.2l-6.845 9.289a1.011 1.011 0 0 1-1.43.188L.764 7.769a1 1 0 0 1 1.25-1.562L6.09 9.468l6.227-8.451a1 1 0 1 1 1.61 1.183z'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; position: absolute; inset: 3px 1.7px 2.2px 1px; left: -3px; top: -4px; width: 12px; height: 12px; background-size: 12px 12px; }

/* region Cart Header */
.cart-header { position: relative; background-color: #fff; width: 100%; height: 70px; border-bottom: 1px solid #dee2e6; }
.cart-header .container { height: 100%; }
.cart-header .row { height: 100%; }
.cart-header .logo { display: flex; align-items: center; }
.cart-header .logo > a { display: flex; align-items: center; }
.cart-header .text { display: flex; align-items: center; justify-content: center; height: 100%; }
.cart-header .text .safe-shop { display: inline-flex; align-items: center; justify-content: center; }
.cart-header .text .safe-shop svg { margin-right: 5px; }

.cart-header .profile { display: flex; align-items: center; justify-content: flex-end; height: 100%; }
.cart-header .profile a { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--bs-dark); }
.cart-header .profile .user-profile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #eee; font-size: 16px; line-height: 1; border-radius: 50%; font-weight: 600; }
.cart-header .profile .user-cart { margin-left: 20px; }
.cart-header .profile .user-cart > svg { width: 20px; height: 20px; }
/* endregion */

.cart-main { padding: 30px 0 100px; }

/* region Cart Checkout */
.invoice-choose { display: flex; align-items: center; justify-content: flex-start; font-size: 13px; line-height: 1; background-color: #fff; border-radius: 8px; padding: 20px; border: 1px solid #dee2e6; margin-bottom: 40px; }
.invoice-choose .ch2 { font-weight: 600; margin: 0 10px; }
.invoice-choose .ch3 { font-weight: 600; color: #ff6000; cursor: pointer; }

.invoice-address { display: flex; flex-direction: column; background-color: #fff; border-radius: 8px; padding: 20px; border: 1px solid #dee2e6; }
.invoice-address .form-group { margin-bottom: 10px; font-size: 14px; }
.invoice-address .form-check { cursor: pointer; }
.invoice-address .action { margin-top: 20px; }

.invoice-payment { display: flex; align-items: center; justify-content: flex-start; flex-direction: column; width: 100%; }
.invoice-payment .form-check { display: flex; align-items: center; justify-content: flex-start; background-color: #fff; border-radius: 8px; font-size: 18px; padding: 20px; border: 1px solid #dee2e6; cursor: pointer; width: 100%; }
.invoice-payment .form-check span { font-size: 18px; }

.payment-detail { padding: 30px; background-color: #fff; border-radius: 8px; border: 1px solid #dee2e6; margin: 15px 0; }
.payment-detail h3 { font-size: 20px; margin-bottom: 20px; }
.payment-detail .form-group { margin-bottom: 15px; font-size: 14px; }
/* endregion */

/* region Cart Sidebar */
.cart-sidebar { background:#fff; border: 1px solid #dee2e6; border-radius: 10px; }
.cart-sidebar-title { display: flex; align-items: center; font-weight: 800; font-size: 16px; line-height: 1; padding: 15px 15px 13px; border-bottom: 1px solid #dee2e6; }
.cart-sidebar-detail { font-size: 13px; line-height: 1; padding: 0 15px; border-bottom: 1px solid #dee2e6; }
.cart-sidebar-detail .cs-main { width: 100%; }
.cart-sidebar-detail .cs-main>li { display: flex; align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; width: 100%; line-height: 1; padding: 15px 0; border-bottom: 1px dashed #dee2e6; }
.cart-sidebar-detail .cs-main>li .qty { margin-left: auto; }
.cart-sidebar-detail .cs-main>li .price { font-weight: 400; }
.cart-sidebar-detail .cs-main>li .name>small { display: block; margin-top: 3px; font-size: 11px; color: #767676; }
.cart-sidebar-detail .cs-main>li:last-child { border-bottom: 0; }

.cart-sidebar-detail .cs-sub { width: 100%; flex: 0 0 100%; list-style: square; padding-left: 14px; margin: 5px 0 0; font-size: 12px; color: #767676; }
.cart-sidebar-detail .cs-sub>li { position: relative; display: flex; align-items: center; justify-content: space-between; line-height: 1; padding: 5px 0; }
.cart-sidebar-detail .cs-sub>li::before { content: ""; position: absolute; top: 0; left: -13px; border-left: 1px solid #ccc; border-radius: 0; width: 10px; height: 15px; }
.cart-sidebar-detail .cs-sub>li::after { position: absolute; content: ""; top: 10px; left: -13px; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-radius: 0; width: 10px; height: 100%; }
.cart-sidebar-detail .cs-sub>li:last-child:after { border-left: none; }
.cart-sidebar-detail .cs-sub>li:last-child:before { border-left: none; }

.cart-sidebar-setup { padding: 5px 15px; border-bottom: 1px solid #dee2e6; }
.cart-sidebar-setup ul li { display: flex; align-items: center; justify-content: flex-start; font-weight: 300; font-size: 13px; line-height: 1; padding: 5px 0; }
.cart-sidebar-setup ul li span { margin-left: auto; }

.cart-sidebar-total { padding: 15px 15px 0; }
.cart-sidebar-total ul li { display: flex; align-items: center; justify-content: flex-start; font-weight: 800; font-size: 14px; line-height: 1; padding: 5px 0; }
.cart-sidebar-total ul li span { margin-left: auto; }
.cart-sidebar-total ul li.light { font-weight: 300; font-size: 12px; }

.cart-sidebar-action { padding: 15px; }
.cart-sidebar-action .btn { width: 100%; }
/* endregion */

/* region Cart Register/Login */
.text-agreement { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; margin: 20px 0; border: 1px solid #dee2e6; padding: 15px; border-radius: 10px; }
.text-agreement b { margin: 4px 0 0; }
.text-agreement .form-check { margin: 4px 0; }
.text-agreement .form-check span { font-size: 13px; }

.register-box { background-color: #fff; border-radius: 8px; padding: 40px; border: 1px solid #dee2e6; }
.register-box h2 { font-size: 22px; margin-bottom: 20px; }
.register-box .form-group { margin-bottom: 15px; font-size: 14px; }

.login-box { background-color: #fff; border-radius: 8px; padding: 40px; border: 1px solid #dee2e6; }
.login-box .heading { margin-bottom: 20px; }
.login-box .heading .h-title { font-size: 20px; margin: 0; }
.login-box .heading .h-desc { font-size: 15px; margin: 5px 0 0; }
.login-box h2 { font-size: 22px; margin-bottom: 20px; }
.login-box .form-group { margin-bottom: 15px; font-size: 14px; }

/* endregion */

/* region Cart Main */
.wh-cart { display: flex; align-items: flex-start; border: 1px solid #dee2e6; justify-content: center; flex-direction: column; width: 100%; margin-bottom: 15px; background-color: #fff; border-radius: 6px; }
.wh-cart .wh-cart-header { background-color: #ffffff; border-bottom: 1px solid #dee2e6; display: flex; align-items: center; justify-content: space-between; width: 100%; border-radius:6px 6px  0 0 ; padding: 15px; }
.wh-cart .wh-cart-header>.wh-name { font-size: 20px; font-weight: 600; color: var(--bs-dark); line-height: 1;}
.wh-cart .wh-cart-body { display: flex; align-items: flex-start; justify-content: flex-start; width: 100%; padding: 15px; }
.wh-cart .wh-cart-body>div.wh-icon { display: flex; align-items: flex-start; justify-content: flex-start; flex: 55px; }
.wh-cart .wh-cart-body>div.wh-icon>svg { width: 40px; height: 40px; fill: #999;}
.wh-cart .wh-cart-body>div.wh-name { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; flex: calc(100% - 360px); }
.wh-cart .wh-cart-body>div.wh-name>h3 { font-size: 16px; font-weight: 600; color: var(--bs-dark); line-height: 1; margin: 0;}
.wh-cart .wh-cart-body>div.wh-name>span { font-size: 13px; font-weight: 300; line-height: 1; margin: 8px 0 0; color: #999;}
.wh-cart .wh-cart-body>div.wh-name>ul { list-style: none; padding: 0; margin: 8px 0 0;}
.wh-cart .wh-cart-body>div.wh-name>ul>li { font-size: 12px; color: #999;}
.wh-cart .wh-cart-body>div:nth-child(3) { flex: 120px; }
.wh-cart .wh-cart-body>div.wh-price { display: flex; align-items: flex-end; justify-content: center; flex-direction: column; flex: 200px; }
.wh-cart .wh-cart-body>div.wh-price>.wh-old { font-size: 14px; font-weight: 500; text-decoration: line-through; color: #999; }
.wh-cart .wh-cart-body>div.wh-price>.wh-new { font-size: 18px; font-weight: 600; color: var(--bs-dark);}
.wh-cart .wh-cart-body>div.wh-trash { display: flex; align-items: center; justify-content: flex-end; flex: 40px;}
.wh-cart .wh-cart-body>div.wh-trash>a { display: block; margin-top: 4px; -webkit-transition: .25s; -o-transition: .25s; transition: .25s; }
.wh-cart .wh-cart-body>div.wh-trash>a>svg { width: 18px; height: 18px;fill: #999; -webkit-transition: .25s; -o-transition: .25s; transition: .25s;}
.wh-cart .wh-cart-body>div.wh-trash>a:hover>svg { fill: var(--bs-danger); }
.wh-cart-footer { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.wh-cart-footer>a { display: flex; align-items: center; justify-content: center; color: var(--bs-dark); }
.wh-cart-footer>a>svg { width: 16px; height: 16px;fill: #999; -webkit-transition: .25s; -o-transition: .25s; transition: .25s;}
.wh-cart-footer>a:hover { color: var(--bs-danger); }
.wh-cart-footer>a:hover>svg { fill: var(--bs-danger); }

.wh-cart-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #dee2e6; }
.wh-cart-head>div:nth-child(1) { flex: 30%; }
.wh-cart-head>div:nth-child(1)>h1 { font-size: 32px; font-weight: 500; margin: 0; color: var(--bs-dark);}
.wh-cart-head>div:nth-child(2) { display: flex; align-items: center; justify-content: flex-end; flex: 70%; }
.wh-cart-head #progressbar { position: relative; display: flex; align-items: center; justify-content: center; counter-reset: step; }
.wh-cart-head #progressbar li { position: relative; display: flex; align-items: center; justify-content: flex-start; list-style-type: none; color: var(--bs-dark); text-transform: uppercase; font-size: 13px; margin-left: 40px; }
.wh-cart-head #progressbar li:before { content: counter(step); counter-increment: step; width: 20px; line-height: 20px; display: block;text-align: center; font-size: 13px;font-weight: 600; color: #fff; background: var(--bs-dark); border-radius: 3px; margin-right: 6px;}
.wh-cart-head #progressbar li:after { content: ''; width: 100%; height: 3px; background: var(--bs-dark); position: absolute; left: -84%; top: 8px; z-index: -1;  }
.wh-cart-head #progressbar li:first-child:after { content: none; }
.wh-cart-head #progressbar li>span { line-height: 1; }
.wh-cart-head #progressbar li.active:before,
.wh-cart-head #progressbar li.active:after{ background: var(--bs-primary); color: white; }
/* endregion */

/* region Cart Complete */
.cart-complete { text-align: center; font-size: 18px; padding-top: 60px }
.cart-complete svg { height: 62px; width: 62px; fill: var(--bs-success); }
.cart-complete h1 { font-size: 32px; color: var(--bs-success); margin: 0 0 15px; }
.cart-complete .orderNo { font-size: 18px; margin-bottom: 15px; }
.cart-complete .orderNo b{ display: block; font-size: 28px; font-weight: 700; letter-spacing: 2px; }
/* endregion */


@media only screen and (max-width: 767px){
    .cart-main { overflow: hidden; }

    .cart-header .logo > a { justify-content: flex-start; }
    .cart-header .logo img { height: 20px; width: auto; }
    .cart-header .text { display: none; }

    .wh-cart .wh-cart-body { flex-wrap: wrap; }
    .wh-cart .wh-cart-body>div.wh-name { flex: calc(100% - 60px); margin-bottom: 10px; }
    .wh-cart .wh-cart-body>div.wh-name>ul { margin-top: 3px; }
    .wh-cart .wh-cart-body>div.wh-price { flex: 0 0 160px; }

    .register-box { padding: 20px; margin-bottom: 20px; }
    .login-box { padding: 20px; }

    .cart-sidebar { margin-top: 30px; }

    .invoice-choose { margin: 30px 0; padding: 10px; flex-wrap: wrap; }
    .invoice-choose .ch3 { margin-top: 10px; }

    .page-action .ll-2 .btn { width: 100% !important; }
}
