Files

3348 lines
77 KiB
SCSS

body{
color:#000;
font-family: 'Roboto', sans-serif;
background: #F8F8FC;
position: relative;
font-size:14px;
font-weight:400;
line-height:1.5;
text-align:left;
max-width: 650px;
margin: auto;
word-break: break-word;
counter-reset: section;
overflow: auto;
}
a{
text-decoration: none;
outline: none;
}
b{
font-weight: bold;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: .5rem;
}
.h1, h1 {font-size: 2em}
.h2, h2 {font-size: 1.5em}
.h3, h3 {font-size: 1.17em}
.h4, h4, .h5, h5, .h6, h6 {font-size: initial}
.h1, h1,.h2, h2,.h3, h3,.h4, h4,.h5, h5,.h6, h6 {font-weight: bold}
.ul {
margin: 0;
padding: 0;
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
.clearfix{
&::after {
content: '';
clear: both;
display: block;
}
}
.clear {
clear: both;
}
button, input, select {
outline: none !important;
color: #000;
}
textarea {font-family: inherit;}
table{
width: 100% !important;
-webkit-overflow-scrolling: touch;
border-collapse: collapse;
}
@media screen and (-webkit-min-device-pixel-ratio: 0){
select, textarea, input {
font-size: 16px;
}
}
iframe {
max-width: 100%;
display: block;
border: 0;
width: 100%;
margin: auto;
}
.text-white {
color: #fff;
}
.text-10{
font-size: 10px;
}
.text-11{
font-size: 11px;
}
.text-12{
font-size: 12px;
}
.text-13{
font-size: 13px;
}
.text-14{
font-size: 14px;
}
.text-15{
font-size: 15px;
}
.text-16{
font-size: 16px;
}
.text-17{
font-size: 17px;
}
.text-18{
font-size: 18px;
}
.text-19{
font-size: 19px;
}
.text-20{
font-size: 20px;
}
.text-21{
font-size: 21px;
}
.text-22{
font-size: 22px;
}
.text-24{
font-size: 24px;
}
.text-28{
font-size: 28px;
}
.text-30{
font-size: 30px;
}
.text-36{
font-size: 36px;
}
.line-height-2{
line-height: 2;
}
.line-22{
line-height: 22px;
}
.blue{
color: #005BAD;
}
.blue-2{
color: #1988EC;
}
.blue-light{
color: #00FFF0;
}
.orange{
color: #FE7801;
}
.red{
color: #CE000C;
}
.grey{
color: #999;
}
.yellow{
color: #fdb813;
}
.color-main{
color: #007FD5;
}
.black{
color: #222;
}
.green{
color: #29A07E;
}
.bg-blue{
background: #005BAD;
}
.bg-red{
background: #D91605;
}
.bg-green{
background: #29A07E;
}
.bg-main{
background: #007FD5;
}
.blue-light{
color: #31c6fe;
}
@keyframes gradient-bg-antimation {
0% {
background-position: 0 0
}
100% {
background-position: -200% 0
}
}
@keyframes backInRight{
0%{
opacity:.7;
transform:translateX(2000px) scale(.7)
}
80%{
opacity:.7;
transform:translateX(0) scale(.7)
}
to{
opacity:1;
transform:scale(1)
}
}
.animate__backInRight{
animation-name:backInRight;
}
.bg-linear{
background: linear-gradient(90.13deg, #FF7E00 1.62%, #FF4949 98.76%);
}
.bg-linear-animate{
background: -o-repeating-linear-gradient(left,#ff990f 0,#fe532e 50%,#ff990f 100%);
background: repeating-linear-gradient(to right,#ff990f 0,#fe532e 50%,#ff990f 100%);
background-size: 200% auto;
background-position: 0 100%;
animation: 2s linear infinite forwards gradient-bg-antimation;
}
.text-white{
color: #fff;
}
.bg-white{
background: #fff !important;
}
.font-weight-lighter{
font-weight: 300;
}
.flex-wrap{
flex-wrap: wrap;
}
.d-flex{
display: flex !important;
}
.d-block{
display: block !important;
}
.d-none{
display: none !important;
}
.d-inline-block{
display: inline-block !important;
}
.align-items-center{
align-items: center;
}
.align-items-baseline{
align-items: baseline;
}
.justify-content-between{
justify-content: space-between;
}
.justify-content-center{
justify-content: center;
}
.overflow-hidden{
overflow: hidden !important;
}
.overflow-auto{
overflow: auto;
}
.float-left{
float: left;
}
.float-right{
float: right;
}
.float-none{
float: none;
}
.position-relative{
position: relative;
}
.text-white {
color: #fff;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-uppercase{
text-transform: uppercase;
}
.text-capitalize{
text-transform: capitalize;
}
.w-100{
width: 100% !important;
}
.w-50{
width: 50% !important;
}
.w-auto{
width: auto !important;
}
.h-100{
height: 100% !important;
}
.h-auto{
height: auto !important;
}
.m-0{
margin: 0 !important;
}
.mb-0{
margin-bottom: 0 !important;
}
.mt-0{
margin-top: 0 !important;
}
.ml-0{
margin-left: 0 !important;
}
.mr-0{
margin-right: 0 !important;
}
.mt-2{
margin-top: .5rem!important
}
.mt-3 {
margin-top: 1rem!important;
}
.mb-2{
margin-bottom: .5rem!important
}
.mb-3 {
margin-bottom: 1rem!important;
}
.p-0{
padding: 0 !important;
}
.pt-0{
padding-top: 0 !important;
}
.pb-0{
padding-bottom: 0 !important;;
}
.pl-0{
padding-left: 0 !important;
}
.pr-0{
padding-right: 0 !important;;
}
.pt-2, .py-2 {
padding-top: .5rem!important;
}
.pt-3, .py-3 {
padding-top: 1rem!important;
}
.border-0{
border: 0 !important;
}
.p-15{
padding: 0 15px;
}
.font-weight-bold{
font-weight: bold;
}
.form-control {
display: block;
width: calc(100% - 1.5rem - 2px);
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.bg-orange{
background: #ff9219;
}
.font-100{
font-weight: 100;
}
.font-200{
font-weight: 200;
}
.font-300{
font-weight: 300;
}
.font-400{
font-weight: 400;
}
.font-500{
font-weight: 500;
}
.font-600{
font-weight: 600;
}
.font-700{
font-weight: 700;
}
.font-800{
font-weight: 800;
}
.font-900{
font-weight: 900;
}
.text-underline{
text-decoration: underline;
}
.font-italic{
font-style: italic;
}
.border-bottom{
border-bottom: 1px solid #ccc;
}
.pb-1, .py-1 {
padding-bottom: 0.25rem!important;
}
.fit-img{
width: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
.autocomplete-suggestions{position:absolute;width: 100%;;border:solid 1px #ddd;right:0;max-height:300px;overflow:auto;display:none;background:#fff;z-index:9;top: 100%;}
.autocomplete-suggestions a{display: flex;align-items: flex-start;padding:10px;overflow:hidden;}
.autocomplete-suggestions a img{width:60px;float:left;margin-right: 12px;}
.autocomplete-suggestions a .info{width: calc(100% - 72px);}
.autocomplete-suggestions a .info .name{display:block;color:#333;}
.autocomplete-suggestions a .info .price{color:#ec1c24;}
.autocomplete-suggestions a:hover{background-color:#f5f5f5;}
.autocomplete-suggestions::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);background-color: #f1f1f1;border-radius: 10px;}
.autocomplete-suggestions::-webkit-scrollbar{width: 6px;background-color: #f1f1f1;}
.autocomplete-suggestions::-webkit-scrollbar-thumb{border-radius: 10px;background-color: #ccc;}
.icon-star{background-image: url(../images/star.png);width: 85px;height: 14px;display: inline-block;background-repeat: no-repeat;background-size: 85px 90px;vertical-align: sub;}
.icon-star.star-1{background-position: -2px -74px;}
.icon-star.star-2{background-position: -2px -56px;}
.icon-star.star-3{background-position: -2px -38px;}
.icon-star.star-4{background-position: -2px -20px;}
.icon-star.star-5, .icon-star.star-0{background-position: -2px -2px;}
.success-checkmark .check-icon .icon-circle {border-color: #0542b7;opacity: .5;}
.success-checkmark .check-icon .icon-line {background-color: #0542b7;}
.success-checkmark .check-icon{border-color: #0542b7 }
.content-container{max-width: calc(100% - 60px);}
.bg-content{
overflow: hidden;
position: relative;
&::before{
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#fff));
background: linear-gradient(transparent, #fff);
height: 300px;
}
}
.inherit{
font-size: inherit;
font-weight: inherit;
line-height: inherit;
margin: 0;
}
.line-clamp-2{
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3{
text-overflow: ellipsis;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-4{
text-overflow: ellipsis;
-webkit-line-clamp: 4;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-5{
text-overflow: ellipsis;
-webkit-line-clamp: 5;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.fancybox-slide--video {
padding: 10px;
}
.fancybox-thumbs__list a {height: 90px;background-size: 80%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #FF848D}
.btn-html-content{
text-align: center;
padding: 16px;
a{
display: none;
line-height: 36px;
background: #FFFFFF;
color: #1988EC;
box-shadow: 0px 0px 0px 1px #1988EC;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
margin: auto;
max-width: 126px;
width: 100%;
transition: .15s all;
font-size: 13px;
&:hover{
background: #1988EC;
color: #fff;
}
i{
margin-left: 4px;
}
}
}
.label-container{display:block;position:relative;padding-left: 24px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height: 21px;cursor: pointer;}
.label-container:hover{@extend .color-main;}
.label-container .checkmark{position:absolute;top:3px;left:0;height: 13px;width: 13px;background-color: #fff;border-radius:50%;border: 1px solid #BFBFBF}
.label-container input{position:absolute;opacity:0;cursor:pointer}
.label-container input:checked ~ .checkmark{border-color: #FF7A00;}
.label-container input:checked ~ .checkmark:after{display:block}
.label-container input:checked ~ .checkmark:after {content: '';width: 8px;height: 8px;background: #FF7A00;border-radius: 50%;position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);}
.bg-popup {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.4);
z-index: 99;
cursor: pointer;
}
.p-10{
padding-left: 10px;
padding-right: 10px;
}
.container{
padding: 0 10px;
}
.global-breadcrumb{
font-size: 12px;
line-height: 14px;
padding-top: 12px;
padding-bottom: 12px;
text-transform: uppercase;
color: #797979;
a{
color: inherit;
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content: '\203A';
padding: 0 6px;
font-size: 20px;
position: relative;
top: -1px;
}
&:last-child{
&::after{
content: none;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
margin: 20px 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
a{
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 50%;
background: #F3F3F3;
text-align: center;
color: #000;
margin: 0 4px;
transition: .12s all;
&:hover, &.current{
background-color: #FFC21F;
color: #fff;
}
}
.icon-prev, .icon-next {
background: url(../images/icon-left.png) no-repeat center;
background-size: 7px 12px;
background-color: #F3F3F3;
font-size: 0 !important;
}
.icon-next {
transform: rotate(-180deg);
}
}
.icons{
background: url(../images/sprite.png) no-repeat;
background-size: 315px 400px;
}
.mb-icons{
background: url(../images/mb-sprite.png) no-repeat;
background-size: 250px 250px;
}
.custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
background: unset !important;
&.disabled{
display: none;
}
}
.owl-prev {
left: 0px;
}
.owl-next {
right: 0px;
}
.arrow{
width: 26px;
height: 53px;
display: block;
background: url(../images/icon-left.png) no-repeat;
background-position: 6px center;
background-size: 8px 16px;
transition: .2s all;
background-color: #fff;
box-shadow: 0px 0.748699px 4.4922px rgba(0, 0, 0, 0.25);
border-radius: 0 50px 50px 0;
}
.arrow-next{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
margin: 0 !important;
.owl-dot {
margin: 0 3px;
width: 6px;
height: 6px;
border-radius: 50px;
background: transparent;
transition: .2s all;
background: #ccc;
background: rgba(0, 0, 0, 0.5);
span{
display: none;
}
&.active{
width: 20px;
}
&.active {
background: #007FD5;
}
}
}
}
.p-item{
background: #FFFFFF;
overflow: hidden;
position: relative;
padding: 8px 6px;
border: 0.885787px solid #EAEAEA;
border-radius: 13px;
font-size: 12px;
line-height: 16px;
z-index: 1;
img{
display: block;
width: auto;
}
p{
margin: 0;
}
.p-img{
display: block;
position: relative;
padding-bottom: 100%;
overflow: hidden;
margin-bottom: 8px;
border-radius: inherit;
img{
@extend .fit-img;
}
}
.p-icons-group{
position: absolute;
top: -1px;
right: 10px;
z-index: 1;
}
.p-icon-sale-off {
display: block;
width: 30px;
height: 38px;
background: url(../images/p-bg-saleoff.png) no-repeat center;
background-size: contain;
}
.p-discount{
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
color: #fff;
font-weight: 700;
font-size: 10px;
background: url(../images/p-bg-discount.png) no-repeat center;
background-size: contain;
display: block;
margin: auto auto auto 2px;
}
.p-brand-group{
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11px;
line-height: 18px;
min-height: 18px;
margin: 5px 0;
}
.p-brand{
font-weight: 500;
text-transform: uppercase;
line-height: 18px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100px;
img{
max-height: 18px;
}
}
.p-sku span, .p-outstock{
@extend .red;
}
.p-name{
display: block;
color: #000;
font-weight: 500;
margin: 5px 0 7px 0;
min-height: 32px;
*{
@extend .inherit;
@extend .line-clamp-2;
}
}
.p-price-group{
@extend .red;
margin: 7px 0 10px 0;
min-height: 38px;
font-size: 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.p-price{
color: #000000;
margin: 0 0 6px 0;
font-weight: 700;
font-size: 15px;
width: 100%;
}
del{
font-weight: 500;
margin-right: 4px;
color: #999999;
}
.p-btn-group{
display: flex;
align-items: center;
justify-content: space-between;
line-height: 23px;
font-size: 10px;
}
.p-btn-compare{
color: #FF7A00;
position: relative;
padding-left: 17px;
&.selected{
@extend .red;
font-weight: bold;
&::before{
content: '\2713';
font-size: 11px;
box-shadow: 0px 0px 0px 1px #DA251C;
}
}
&::before{
content: '+';
width: 10px;
height: 10px;
line-height: 10px;
border-radius: 50%;
text-align: center;
background: #fff;
box-shadow: 0px 0px 0px 1px #FF7A00;
position: absolute;
top: 6px;
left: 0;
}
}
.p-btn-buy{
width: 32px;
height: 23px;
border-radius: 3.57441px;
background: url(../images/p-icon-btn.png) no-repeat center;
background-color: #F5F5F5;
background-size: 17px 13px;
margin-left: 4px;
transition: .15s all;
}
.p-quantity-group{
display: flex;
align-items: center;
}
.p-instock {
color: #33C600;
}
.p-deal-group{
margin: 12px 0 6px 0;
position: relative;
background: linear-gradient(270deg, rgba(255,184,0, .3) 0%, rgba(255,122,48, .3) 100%);
border-radius: 26px;
height: 13px;
line-height: 13px;
text-align: center;
&::before{
content: '';
width: 15px;
height: 21px;
background: url(../images/p-bg-deal.png) no-repeat;
background-size: contain;
position: absolute;
bottom: 0;
left: 0;
z-index: 1;
}
}
.p-deal-line {
@extend .bg-linear-animate;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
border-radius: inherit;
}
.p-sale-quantity {
margin: 0;
position: absolute;
inset: 0;
color: #fff;
font-weight: 500;
font-size: 10.7232px;
}
.p-countdown{
text-align: center;
font-weight: 300;
font-size: 10px;
line-height: 12px;
*{
display: inline-block;
margin: 0;
}
}
}
.art-item{
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
border-radius: 10px;
background: #fff;
overflow: hidden;
font-size: 13px;
line-height: 16px;
a{
display: block;
color: #000;
}
img {
@extend .fit-img;
}
.art-img{
position: relative;
padding-bottom: 56.5%;
}
.art-text{
@extend .clearfix;
padding: 9px 10px 16px 10px;
display: flex;
flex-wrap: wrap;
align-items: center
}
.art-time{
margin: 0 4px 0 0;
width: 34px;
height: 32px;
color: #fff;
font-weight: 700;
font-size: 9px;
line-height: 10px;
background: url(../images/art-bg-time.png) no-repeat;
background-position: center;
background-size: 34px 32px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.art-title{
@extend .line-clamp-2;
font-weight: 600;
width: calc(100% - 38px);
}
.art-summary{
@extend .line-clamp-3;
font-size: 12px;
margin-top: 7px;
width: 100%;
}
}
.global-compare-group{background:#fff;position:fixed;bottom:0;left:0;width:100%;-webkit-box-shadow:3px -2px 11px 1px rgba(0,0,0,0.25);box-shadow:3px -2px 11px 1px rgba(0,0,0,0.25);z-index:9999;display:none}
.global-compare-group .title{background:#0080D7;padding:8px 12px;font-size:18px}
.global-compare-group p{margin:0}
.global-compare-group .pro-compare-holder{padding:12px}
.global-compare-group .compare-pro-holder .compare-item{display:block;width:calc(100% / 3 - 25px);margin:0 10px 10px 0;float:left;border:1px dashed #000;color:#000;border-radius:5px;overflow:hidden;position:relative;text-align:center;padding:8px}
.global-compare-group .compare-pro-holder .compare-item:nth-child(3n){margin:0}
.global-compare-group .btn-compare{width:100%;line-height:40px;background:#0080D7;color:#fff;font-weight:600;font-size:18px;border-radius:4px;text-align:center;display:block}
.global-compare-group .btn-compare:hover{background:#1d6393}
.global-compare-group {
.remove-compare::after, .close-compare::after {
content: '\00D7';
}
.remove-compare {
position: absolute;
font-size: 26px;
line-height: 18px;
padding: 7px;
right: 0;
top: 0;
cursor: pointer;
&:hover::after {
@extend .red;
}
}
.compare-item {
img {
display: block;
margin: auto;
max-width: 56%;
}
.name {
@extend .line-clamp-2;
color: #000;
font-size: 13px;
line-height: 20px;
&:hover {
@extend .red;
}
}
}
}
.global-header-container{
@extend .bg-main;
padding: 3px 10px 10px 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9;
&::after{
content: '';
height: 61px;
position: absolute;
left: 0;
right: 0;
top: calc(100% - 1px);
background: #007FD5;
border-radius: 0px 0px 30px 30px;
transition: .3s all;
z-index: -1;
}
img {
max-height: 42px;
display: block;
width: auto;
}
.mb-icons {
width: 24px;
height: 24px;
}
.icon-menu {
background-position: -9px -6px;
}
.icon-cart {
background-position: -54px -8px;
position: relative;
margin-right: 5px;
}
.cart-count{
color: #fff;
background: linear-gradient(270deg, #FFB800 0%, #FF7A30 100%);
text-align: center;
width: 15px;
height: 15px;
line-height: 16px;
border-radius: 50%;
font-weight: 700;
font-size: 12px;
position: absolute;
top: -2px;
right: -5px;
}
}
.header-search-group{
width: 100%;
margin-top: 7px;
position: relative;
form{
background: #fff;
border-radius: 30px;
padding: 0 12px;
position: relative;
}
input {
border: 0;
margin: 0;
padding: 0;
height: 36px;
border-radius: 30px 0 0 30px;
color: #B6B6B6;
width: calc(100% - 36px);
}
.icon-search {
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 36px;
height: 36px;
border: 0;
padding: 0;
margin: auto;
background-position: -9px -47px
}
}
.header-fixed {
padding: 10px;
z-index: 99;
box-shadow: 0px 2px 4px 0px rgba(0,0,0,.3);
border-radius: 0 !important;
&::after{
height: 0;
}
.header-logo{
display: none;
}
.icon-cart{
order: 1;
}
.header-search-group {
width: calc(100% - 98px);
margin: 0;
}
}
.header-other-page{
border-radius: 0px 0px 30px 30px;
transition: .3s all;
&::after{
content: none;
}
}
.global-fixed-right{
position: fixed;
z-index: 9;
right: 10px;
bottom: 80px;
animation-duration:1s;
animation-duration:1s;
animation-fill-mode:both;
transform:translateX(2000px) scale(.7);
.mb-icons, .icons{
display: block;
width: 40px;
height: 40px;
margin: 0 0 4px 0;
&:last-child{
margin-bottom: 0;
}
}
.icon-phone {
background-position: -9px -162px;
animation: phonering 1.8s infinite ease-in-out;
}
.icon-zalo {
background-position: -72px -162px;
}
.icon-messenger {
background-position: -134px -162px;
}
.icon-goTop{
border-radius: 50%;
background-position: -281.6px -200px;
background-color: rgba(0,0,0,0.4);
display: none;
}
}
.global-fixed-bottom{
display: flex;
align-items: center;
justify-content: space-around;
background: #fff;
padding: 10px 0;
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 98;
box-shadow: 26px 3px 14px rgba(0, 0, 0, 0.25);
font-size: 12px;
line-height: 22px;
a{
color: #000;
font-weight: 500;
}
.mb-icons{
display: block;
width: 20px;
height: 20px;
margin: auto;
}
.icon-home {
background-position: -51px -53px;
}
.icon-menu {
background-position: -88px -53px;
}
.icon-support {
background-position: -124px -53px;
}
.icon-buildpc {
background-position: -160px -53px;
}
.icon-cart {
background-position: -198px -53px;
}
.current{
color: #007FD5;
.icon-home {
background-position: -51px -89px;
}
.icon-menu {
background-position: -88px -89px;
}
.icon-support {
background-position: -124px -89px;
}
.icon-buildpc {
background-position: -160px -89px;
}
.icon-cart {
background-position: -198px -89px;
}
}
}
.global-menu-container {
position: fixed;
top: 0;
left: -100%;
bottom: 0;
background: #fff;
z-index: 100;
width: 81%;
box-shadow: 0px 0 9px 2px rgba(0,0,0,.3);
transition: .4s all;
padding: 16px 0;
overflow: hidden;
&.show-menu {
left: 0;
}
a {
color: #000;
line-height: 20px;
padding: 10px 0;
}
.global-menu-content {
display: block;
overflow: auto;
height: 100%;
}
.global-menu-header {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.header-user {
position: relative;
padding-left: 65px;
font-size: 15px;
line-height: 40px;
margin-bottom: 15px;
&::before {
content: '';
background: url(../images/sprite.png) no-repeat;
background-position: -234px -18px;
width: 40px;
height: 40px;
position: absolute;
top: 0;
left: 12px;
filter: invert(1);
}
}
.global-menu-list {
.title {
font-weight: 600;
font-size: 15px;
margin-bottom: 15px;
position: relative;
display: flex;
align-items: center;
padding: 0 12px;
&::before {
content: '';
background: url(../images/mb-sprite.png) no-repeat;
background-size: 250px;
width: 20px;
height: 18px;
background-position: -99px -7px;
filter: invert(1);
margin-right: 8px;
}
}
}
.cat-item {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #f3f3f3;
padding: 0 0 0 12px;
&:first-child {
border-top: 1px solid #f3f3f3;
}
}
.sub-menu {
width: calc(100% - 25px);
border-top: 1px solid #f3f3f3;
background: #f3f3f3;
padding: 0 18px;
display: none;
margin-left: -12px;
a {
display: block;
}
}
.cat-1 {
width: calc(100% - 46px);
display: flex;
align-items: center;
color: #000;
font-weight: 500;
}
.cat-thum {
width: 30px;
height: 25px;
margin-right: 10px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.cat-title{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: calc(100% - 40px);
}
.menu-static-list{
padding: 0 12px;
}
.icons {
background-size: 315px 400px;
}
.icon-arrow {
border-left: 1px solid #f3f3f3;
display: block;
width: 45px;
text-align: center;
font-size: 20px;
line-height: 45px;
height: 45px;
background-position: -56px -181px;
background-size: 400px;
&.active {
transform: rotate(-180deg);
background-position: -56px -184px;
border-left: 0;
border-right: 1px solid #f3f3f3;
}
}
.icon-close {
position: relative;
width: 40px;
height: 40px;
line-height: 40px;
position: absolute;
top: 0;
right: 0;
text-align: center;
&::before {
content: '\00D7';
font-size: 36px;
}
}
.icon-phone {
background-position: -131px -123px;
background-size: 250px 250px;
}
.icon-buildpc {
background-position: -43px -41px;
background-size: 215px 300px;
}
.icon-deal {
background-position: 2px -35px;
background-size: 175px 260px;
}
.icon-news{
background-size: 250px;
background-position: -174px -121px;
}
}
.global-footer-container{
background: #fff;
}
.footer-news-container{
padding: 24px 10px 10px 10px;
.group-title{
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 10px;
margin-bottom: 10px;
border-bottom: 1px solid #BFBFBF;
line-height: 20px;
font-weight: 700;
font-size: 10px;
.title {
font-size: 20px;
margin: 0;
}
a{
color: #007FD5;
line-height: 19px;
&::after{
content: '\00BB';
font-size: 14px;
margin-left: 3px;
}
}
}
.art-item{
margin: 4px 2px 6px 2px;
}
}
.footer-review-container{
background: #F8F8FC;
padding: 15px 10px;
.item{
overflow: hidden;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
img{
width: 100%;
height: 100%;
border-radius: 8px 0 0 8px;
object-fit: cover;
}
.image {
width: 33%;
height: 23%;
margin: 0 13px 0 0;
position: relative;
}
.icon-star {
display: block;
margin: 4px 0 1px -17px;
transform: scale(.6);
}
.text {
width: calc(100% - 33% - 13px);
position: relative;
border-top: 1px solid #FF5C00;
}
.summary{
@extend .line-clamp-4;
font-weight: 700;
font-size: 10px;
line-height: 12px;
margin: 0 0 5px 0;
}
.customer-info{
display: flex;
align-items: center;
i{
width: 20px;
height: 20px;
margin-right: 7px;
background-size: contain;
background-repeat: no-repeat;
}
p{
margin: 0;
width: calc(100% - 27px);
line-height: 13px;
font-size: 8px;
*{
display: block;
}
}
b{
font-weight: 600;
}
}
}
.footer-policy-container{
@extend .bg-main;
color: #fff;
padding: 15px 10px 0 10px;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
.item{
font-weight: 300;
font-size: 11px;
line-height: 13px;
display: flex;
align-items: center;
margin: 0 0 25px 0;
min-width: 45%;
*{
display: block;
}
}
b{
font-weight: 700;
font-size: 13px;
line-height: 15px;
}
span{
max-width: 135px;
}
.icons{
width: 42px;
height: 40px;
margin-right: 4px;
background-size: 255px 300px;
}
.icon-truck {
background-position: -8px -83px;
}
.icon-return {
background-position: -72px -88px;
}
.icon-payment {
background-position: -8px -141px;
}
.icon-support {
background-position: -73px -141px;
}
.item-text{
width: calc(100% - 44px);
}
}
.footer-info-group{
.title{
font-weight: 700;
line-height: 44px;
text-transform: uppercase;
color: #333333;
margin: 0;
position: relative;
padding: 0 10px;
&::after{
content: '\203A';
font-size: 24px;
position: absolute;
top: -1.5px;
right: 10px;
}
&.active::after{
transform: rotate(90deg);
}
}
.item{
border-bottom: 1px solid #F5F5F5;
}
a{
font-size: 13px;
line-height: 14px;
display: block;
color: #000000;
margin: 0 0 10px 0;
}
.item-list{
display: none;
padding: 10px;
}
.icon-map, .icon-tel, .icon-email{
padding-left: 24px;
position: relative;
margin-bottom: 12px;
&::before{
@extend .icons;
content: '';
width: 24px;
height: 20px;
position: absolute;
top: -3px;
left: 0;
background-position: -170px -144px;
}
}
.icon-tel{
&::before{
background-position: -207px -143px;
}
}
.icon-email{
&::before{
background-position: -243px -141px;
}
}
.icon-bct {
margin-top: 15px;
img{
display: block;
max-width: 100px;
width: auto;
}
}
.icon-facebook {
background-position: -9px -279px;
}
.icon-instagram {
background-position: -45px -279px;
}
.icon-tiktok {
background-position: -81px -279px;
}
.icon-mail {
background-position: -117px -279px;
}
.icon-phone {
background-position: -153px -279px;
}
.icon-youtube {
background-position: -189px -279px;
}
}
.global-footer-end{
padding: 10px;
font-weight: 300;
font-size: 12px;
line-height: 16px;
padding-bottom: 80px;
background: #F8F8FC;
img{
max-height: 74px;
}
.logo{
margin-bottom: 10px;
display: block;
}
p{
margin-bottom: 6px;
&:last-child{
margin: 0;
}
}
}
.global-support-group{
padding: 16px 10px 8px 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.icons{
width: 20px;
height: 20px;
}
.sub-item{
margin-bottom: 12px;
a{
position: relative;
}
}
.title{
margin: 0 0 10px 0;
font-weight: 600;
font-size: 13px;
line-height: 25px;
text-transform: uppercase;
display: flex;
align-items: center;
}
.number{
background: #FF981F;
color: #fff;
font-weight: 600;
margin: 0 12px 0 0;
padding: 0 10px 0 8px;
position: relative;
font-size: 16px;
&::before{
content: '';
border-bottom: 22px solid #FF981F;
border-right: 6px solid transparent;
position: absolute;
right: -5.6px;
top: 0;
bottom: 0;
}
}
.number-2 {
background: #FF5F03;
&::before{
border-bottom: 22px solid #FF5F03;
}
}
.number-3 {
background: #D91605;
&::before{
border-bottom: 22px solid #D91605;
}
}
.number-4 {
background: #9D0D00;
&::before{
border-bottom: 22px solid #9D0D00;
}
}
.item-sub-group{
a{
display: flex;
align-items: center;
font-size: 12px;
line-height: 19px;
color: #000000;
position: relative;
padding-left: 22px;
margin: 4px 0;
&::before{
@extend .icons;
content: '';
position: absolute;
left: 0;
background-position: -279px -143px;
}
}
}
}
.global-deal-countdown{
display: flex;
align-items: center;
justify-content: center;
text-align: center;
p{
position: relative;
margin: 0;
font-weight: 600;
font-size: 10px;
line-height: 12px;
color: #fff;
margin: 0 8px;
&::after{
content: ':';
font-weight: 800;
font-size: 16px;
line-height: 32px;
position: absolute;
top: 0;
right: -11px;
}
&:last-child::after{
content: none;
}
*{
display: block;
}
}
b{
width: 26px;
height: 32px;
line-height: 32px;
margin: 0 0 4px 0;
background: #FFFFFF;
border-radius: 5px;
text-align: center;
color: #001253;
font-weight: 800;
font-size: 16px;
}
}
.homepage{
position: relative;
z-index: 9;
.home-banner-container{
padding: 0 10px 10px 10px;
position: relative;
}
.home-banner-slider{
min-height: 120px;
margin-bottom: 15px;
img{
border-radius: 10px;
}
}
.product-holder {
position: relative;
min-height: 300px;
display: flex;
overflow: auto;
}
.p-item{
margin: 0 10px 0 0;
padding: 6px;
min-width: 160px;
overflow: unset;
.p-brand {
max-width: 40px;
}
.p-name{
font-size: 11px;
line-height: 13px;
min-height: 26px;
}
.p-price-group {
font-size: 9px;
line-height: 10px;
min-height: 28px;
letter-spacing: -0.5px;
}
.p-price{
font-size: 12px;
line-height: 10px;
margin-bottom: 8px;
}
.p-btn-group{
font-size: 10px;
}
.p-btn-compare {
padding-left: 18px;
}
}
.banner-under-deal {
margin: 14px 0;
img{
border-radius: 10px;
}
}
}
.home-btn-group{
display: flex;
justify-content: space-around;
font-weight: 500;
font-size: 12px;
line-height: 14px;
text-align: center;
a{
color: #000;
}
span{
display: block;
max-width: 74px;
margin: auto;
}
.mb-icons{
background-color: #007FD5;
display: block;
margin: auto auto 4px auto;
width: 46px;
height: 46px;
border-radius: 50%;
}
.icon-menu {
background-position: -84px 7px;
}
.icon-deal {
background-position: -119px 1.5px;
}
.icon-buildpc {
background-position: -158px 5.5px;
}
.icon-news {
background-position: -193px 7px;
}
}
.home-deal-group{
border-radius: 12px;
overflow: hidden;
background-position: center;
margin: 0 0 13px 0;
padding: 13px 10px;
.group-title{
text-align: center;
margin-bottom: 13px;
color: #fff;
}
.title{
font-weight: 800;
font-size: 28px;
line-height: 33px;
margin: 0 0 9px 0;
span{
position: relative;
background: transparent;
&::before, &::after{
content: '';
background-color: #fff;
max-width: 60px;
width: 100%;
height: 1px;
position: absolute;
bottom: 7px;
left: -62px;
}
&::after{
left: unset;
right: -62px;
}
}
}
.btn-view{
display: block;
text-align: center;
line-height: 30px;
margin: 13px auto 0 auto;
font-size: 14px;
color: #FF1313;
border-radius: 40px;
background: #fff;
max-width: 106px;
}
.product-holder{
background: #FFFFFF;
border-radius: 10px;
padding: 10px;
}
.p-item{
margin: 0 10px 0 0;
border: 0;
box-shadow: 0px 0.551587px 4.4127px rgba(0, 0, 0, 0.25);
min-width: 146px;
}
}
.home-collection-container{
margin: 14px 0;
padding: 20px 010px;
border-radius: 12px;
overflow: hidden;
background-position: center;
.container {
padding: 0;
}
.collection-tab-group{
display: flex;
overflow: auto;
margin-bottom: 17px;
a{
margin: 0 8px 0 0;
box-shadow: 0px 0.914894px 1.82979px 0.914894px rgba(0, 0, 0, 0.25);
border-radius: 7px;
background: #fff;
display: flex;
align-items: center;
text-align: center;
color: #000000;
padding: 5px 10px;
min-width: 145px;
&:nth-child(1){
.image{
background: #FF7E00;
}
}
&:nth-child(2){
.image{
background: linear-gradient(180deg, #037FAA 0%, #00B2F0 100%);
}
}
&:nth-child(3){
.image{
background: linear-gradient(180deg, #FFF500 0%, #FFBF42 100%);
}
}
&:nth-child(4){
.image{
background: linear-gradient(359.34deg, #42FF92 -6.9%, #1F834A 107.13%);
}
}
&.current{
color: #fff;
.image{
filter: saturate(1.8);
}
&:nth-child(1){
background: #FF7E00;
.image{
background: #fff;
}
}
&:nth-child(2){
background: linear-gradient(180deg, #037FAA 0%, #00B2F0 100%);
}
&:nth-child(3){
background: linear-gradient(180deg, #FFF500 0%, #FFBF42 100%);
}
&:nth-child(4){
background: linear-gradient(359.34deg, #42FF92 -6.9%, #1F834A 107.13%);
}
}
}
.image{
width: 35px;
height: 35px;
border-radius: 50%;
margin-right: 5px;
position: relative;
overflow: hidden;
background: #FF7E00;
}
i{
display: block;
height: 100%;
background-position: center;
background-size: calc(100% - 14px);
background-repeat: no-repeat;
}
b{
font-weight: 500;
font-size: 17px;
line-height: 22px;
text-transform: uppercase;
}
.text{
width: calc(100% - 40px);
margin: 0;
span {
display: none;
}
}
}
.btn-view{
display: flex;
align-items: center;
justify-content: center;
margin: 14px auto 0 auto;
max-width: 90px;
line-height: 22px;
text-align: center;
color: #fff;
box-shadow: 0px 0px 0px 1px #fff;
font-weight: 500;
font-size: 10px;
border-radius: 50px;
&::after{
content: '\00BB';
font-size: 16px;
margin: -1px 0 0 2px;
}
}
}
.home-box-group{
margin: 15px 0;
.box-title-holder{
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
padding: 0;
margin: 0 0 9px 0;
font-weight: 500;
font-size: 10px;
&::after{
content: '';
position: absolute;
bottom: 0;
right: 0;
left: 15px;
height: 2px;
background: #FF7A00;
z-index: 1;
}
}
.title{
background: #0080D7;
color: #fff;
margin: 0;
text-transform: uppercase;
font-weight: 600;
font-size: 20px;
position: relative;
padding: 0px 9px 0 9px;
max-width: calc(100% - 134px);
line-height: 34px;
&::after{
content: '';
border-bottom: 34px solid #0080D7;
border-right: 26px solid transparent;
position: absolute;
top: 0;
bottom: 0;
right: -25.5px;
}
span{
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.btn-view{
color: #000;
height: 34px;
line-height: 34px;
&::after{
content: '\00BB';
font-size: 14px;
}
}
.cat-child-list{
display: flex;
white-space: nowrap;
overflow: auto;
margin-bottom: 10px;
a{
color: #000000;
font-size: 13px;
line-height: 28px;
margin: 0 8px 0 0;
padding: 0 10px;
background: #EEEEEE;
border-radius: 5px;
}
}
}
.product-page{
padding-bottom: 10px;
.product-banner-group{
margin-bottom: 12px;
img{
border-radius: 10px;
}
}
.product-holder{
display: flex;
flex-wrap: wrap;
margin-top: 10px;
}
.p-item {
margin: 0 10px 10px 0;
width: calc(100% / 2 - 19px);
&:nth-child(2n){
margin-right: 0;
}
}
.static-html-group{
margin-top: 30px;
position: relative;
padding: 32px 0 0 0;
font-weight: 300;
font-size: 14px;
line-height: 20px;
&::before, &::after{
content: '';
height: 1px;
background: #FF5353;
width: 100%;
position: absolute;
top: -1px;
left: 50%;
transform: translateX(-50%);
}
&::after{
width: 50%;
top: 7px;
}
}
.static-btn-group {
text-align: center;
margin: 20px 0 0 0;
a {
display: none;
font-weight: 500;
font-size: 14px;
line-height: 32px;
max-width: 120px;
margin: auto;
text-align: center;
text-transform: uppercase;
color: #373737;
box-shadow: 0px 0px 0px 1px #373737;
border-radius: 30px;
transition: .15s all;
&::after {
content: '\00BB';
font-size: 20px;
margin-left: 5px;
}
&:last-child::after {
transform: rotate(-90deg);
display: inline-block;
position: relative;
top: 2px;
}
}
}
.box-filter-group{
.title {
font-weight: 600;
line-height: 16px;
margin: 0 0 6px 0;
}
}
.filter-title-list {
white-space: nowrap;
overflow: auto;
display: flex;
align-items: center;
padding-bottom: 10px;
select {
appearance: none;
background: url(../images/icon-down.png) no-repeat;
background-size: 8px 5px;
background-position: center right 6px;
padding: 0 20px 0 10px;
background-color: #F3F3F3;
border: 1px solid #CECECE;
border-radius: 5px;
height: 32px;
margin: 0 8px 0 0;
}
a{
font-size: 15px;
color: #000;
margin: 0 8px 0 0;
background: #F3F3F3;
border: 1px solid #CECECE;
border-radius: 5px;
line-height: 32px;
height: 31px;
display: flex;
align-items: center;
padding: 0 14px;
}
}
.sort-title-list{
white-space: nowrap;
overflow: auto;
display: flex;
align-items: center;
padding-bottom: 10px;
a{
background: #F3F3F3;
border: 1px solid #CECECE;
border-radius: 5px;
color: #000000;
font-weight: 300;
line-height: 30px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 10px;
margin: 0 8px 0 0;
}
.current{
background: #007FD5;
color: #fff;
border-color: transparent;
.mb-icons {
filter: brightness(100);
}
}
.mb-icons{
width: 15px;
height: 15px;
margin-left: 4px;
}
.icon-up {
background-position: -9px -126px;
}
.icon-down {
transform: rotate(180deg);
background-position: -9px -126px;
}
.icon-eye {
background-position: -69px -122px;
}
.icon-box {
background-position: -98px -122px;
}
}
.icon-filter{
width: 13px;
height: 32px;
margin-left: 4px;
background-position: -8px -81px;
}
}
.product-display-list{
.p-item{
width: 100%;
display: flex;
flex-wrap: wrap;
margin: 0 0 10px 0;
.p-img{
width: 36%;
padding-bottom: 36%;
margin: 0 12px 0 0;
}
.p-text{
width: calc(100% - 36% - 12px);
}
.p-icons-group{
right: unset;
left: 8px;
}
}
}
.popup-filter-group {
position: fixed;
top: 0;
right: -100%;
bottom: 0;
z-index: 100;
width: 85%;
transition: .3s all;
background: #fff;
&.active {
right: 0;
}
.popup-button {
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 8px 10px;
line-height: 36px;
text-align: center;
font-weight: 500;
box-shadow: 0px -1px 6px 1px #ebebeb;
a {
color: #000;
width: calc(100% / 3 - 6px);
border-radius: 5px;
box-shadow: 0px 0px 0px 1px #e6e6e6;
color: #000;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
&:first-child::before {
content: '\2716';
margin-right: 4px;
}
&:nth-child(2) {
margin: 0 8px;
color: #CE000C;
&::before {
content: '\21BB';
margin-right: 4px;
}
}
&:nth-child(3) {
color: #fff;
background: #007FD5;
}
}
}
.popup-body {
height: calc(100% - 72px);
overflow: auto;
padding: 10px;
a {
color: #000;
text-align: center;
line-height: 36px;
border: 1px solid #e0e0e0;
margin: 0 8px 8px 0;
width: calc(100% / 2 - 6px);
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
&:nth-child(2n) {
margin-right: 0;
}
&.selected {
color: #fff;
background: #007FD5;
border-color: transparent;
}
}
}
.title {
font-weight: 700;
margin-bottom: 10px;
text-transform: uppercase;
font-size: 15px;
}
.item {
margin: 30px 0 20px 0;
}
.brand-item{
a{
font-weight: 600;
height: 36px;
}
}
.list-holder {
display: flex;
flex-wrap: wrap;
}
}
.product-detail-page{
.page-title {
font-weight: 600;
font-size: 18px;
line-height: 22px;
padding-bottom: 13px;
margin: 0 0 13px 0;
border-bottom: 1px solid #E7E7E7;
}
.pd-image-group {
min-height: 40vh;
}
.pd-image-large{
margin-bottom: 15px;
img{
@extend .fit-img;
}
.item{
position: relative;
display: block;
padding-bottom: 100%;
border-radius: 20px;
overflow: hidden;
}
}
.pd-image-gallery{
margin: 30px 0 15px 0;
img{
@extend .fit-img;
}
.item{
position: relative;
display: block;
border: 1px solid #E0E0E0;
border-radius: 8px;
overflow: hidden;
padding-bottom: 100%;
}
.current{
.item{
border-color: #CE000C;
}
}
}
.pd-status-group{
margin: 15px 0 10px 0;
font-size: 12px;
line-height: 18px;
display: flex;
flex-wrap: wrap;
align-items: center;
p{
margin: 0;
}
.icon-star{
transform: scale(0.8);
width: 80px;
height: 15px;
margin: 0 0 0 -7px;
}
}
.pd-summary-group{
margin: 10px 0;
font-weight: 300;
font-size: 13px;
line-height: 20px;
.item{
position: relative;
padding-left: 15px;
&::before{
content: '\26AC';
font-size: 15px;
position: absolute;
left: 0;
top: -1px;
color: #D9D9D9;
}
}
}
.pd-deal-holder{
margin: 10px 0 15px 0;
border-radius: 10px;
box-shadow: 0px 0px 0px 1px #CE000C;
overflow: hidden;
font-size: 10px;
line-height: 12px;
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
p{
margin: 0;
}
.group-title{
background: #CE000C;
font-weight: 700;
font-size: 20px;
line-height: 50px;
color: #FFFFFF;
display: flex;
align-items: center;
white-space: nowrap;
padding: 0 6px;
margin-right: 15px;
position: relative;
&::after{
content: '';
border-top: 50px solid #CE000C;
border-right: 13px solid transparent;
position: absolute;
top: 0;
bottom: 0;
right: -12px;
}
i{
width: 23px;
height: 23px;
margin-right: 4px;
background-repeat: no-repeat;
background-size: 23px;
animation: tada 2s linear infinite;
}
}
}
.deal-countdown{
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 10px;
line-height: 12px;
color: #1B49C0;
text-align: center;
margin-right: 5px;
*{
display: block;
}
p{
margin: 0 5px;
position: relative;
&::after{
content: ":";
font-weight: 800;
font-size: 15.1011px;
line-height: 18px;
position: absolute;
top: 2px;
right: -7px;
}
&:first-child{
margin-left: 0;
}
&:last-child::after{
content: none;
}
}
b{
width: 19px;
height: 23px;
line-height: 23px;
border-radius: 3px;
font-weight: 800;
font-size: 13px;
background: #1B49C0;
color: #fff;
margin: 0 auto 2px auto;
letter-spacing: -.7px;
}
}
.pd-deal-count{
p {
margin: 0 0 8px 0;
}
}
.pd-deal-group{
position: relative;
background: linear-gradient(270deg, rgba(255, 184, 0, 0.3) 0%, rgba(255, 122, 48, 0.3) 100%);
border-radius: 26px;
height: 9px;
line-height: 9px;
&::before{
content: '';
width: 10px;
height: 14px;
background: url(../images/p-bg-deal.png) no-repeat;
background-size: contain;
position: absolute;
bottom: -1px;
left: 0px;
z-index: 1;
}
.pd-line{
@extend .bg-linear-animate;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
border-radius: inherit;
}
}
.pd-price-group{
@extend .red;
background: #F5F5F5;
border-radius: 12px;
margin: 10px 0;
font-size: 12px;
line-height: 18px;
padding: 4px 15px;
*{
display: inline-block;
}
}
.pd-price{
font-weight: 700;
font-size: 24px;
line-height: 44px;
margin: 0 10px 0 0;
}
.pd-old-price{
margin: 0 10px 0 0;
color: #999999;
font-weight: 400;
font-size: 16px;
}
.pd-variant-group {
margin: 10px 0;
.group-title{
font-weight: 700;
font-size: 16px;
line-height: 20px;
margin: 0;
}
.pd-variant-list{
display: flex;
flex-wrap: wrap;
}
.item{
background: #FFFFFF;
border-radius: 8px;
overflow: hidden;
line-height: 20px;
text-align: center;
padding: 6px 4px;
margin: 10px 8px 0 0;
color: #000;
font-size: 12px;
width: calc(100% / 3 - 14px);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
flex-direction: column;
box-shadow: 0px 0px 0px 1px #D9D9D9;
letter-spacing: -0.5px;
transition: .1s all;
&:nth-child(3n){
margin-right: 0;
}
&.current{
@extend .red;
box-shadow: 0px 0px 0px 1px #CE000C;
}
}
.price{
margin-top: 2px;
font-weight: 700;
font-size: 16px;
display: block;
width: 100%;
}
.name{
display: block;
width: 100%;
}
}
.pd-quantity-group{
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 12px 0;
p{
margin: 0 13px 0 0;
font-weight: 700;
line-height: 20px;
}
}
.pd-quantity-holder {
box-shadow: 0px 0px 0px 1px #B6B6B6;
border-radius: 5px;
width: 111px;
display: flex;
align-items: center;
overflow: hidden;
*{
color: #000;
text-align: center;
font-weight: 600;
font-size: 16px;
line-height: 32px;
height: 32px;
}
a{
width: 30px;
}
input{
border: 0;
padding: 0;
margin: 0;
width: calc(100% - 60px);
}
}
.pd-btn-group{
display: flex;
flex-wrap: wrap;
a{
margin: 0 10px 10px 0;
width: calc(100% / 2 - 5px);
text-align: center;
font-weight: 700;
font-size: 18px;
line-height: 50px;
text-transform: uppercase;
color: #FFFFFF;
background: linear-gradient(270deg, #FFB800 0%, #FF7A30 100%);
border-radius: 8px;
color: #fff;
transition: .2s all;
&:hover{
box-shadow: 0px 0px 5px 0px rgba(0,0,0,.3);
}
&:nth-child(2){
@extend .red;
background: #fff;
margin-right: 0;
box-shadow: 0px 0px 0px 1px #DA251C;
&:hover{
box-shadow: 0px 0px 5px 1px #DA251C;
}
}
}
}
.pd-offer-group {
border: 1px dashed #CE000C;
border-radius: 12px;
margin: 10px 0;
position: relative;
.group-title{
background: #CE000C;
border-radius: 21px;
color: #fff;
line-height: 28px;
font-weight: 700;
font-size: 16px;
display: inline-block;
padding: 0 10px 0 35px;
margin: 0;
position: absolute;
top: -14px;
left: 18px;
&::before{
@extend .icons;
content: '';
width: 28px;
height: 28px;
position: absolute;
left: 10px;
top: 0px;
background-position: -8px -316px;
background-size: 265px 350px;
}
}
}
.pd-offer-list{
padding: 20px 12px 12px 14px;
font-size: 14px;
line-height: 24px;
.item{
position: relative;
}
}
}
.pd-box-content{
margin: 15px 0;
background: #FFFFFF;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25);
border-radius: 12px;
overflow: hidden;
.group-title{
font-weight: 500;
font-size: 16px;
line-height: 22px;
border-bottom: 1px solid #F3F3F3;
padding: 10px;
margin: 0;
}
.static-content{
padding: 10px 10px 14px 10px;
}
.pd-desc-btn{
text-align: center;
padding: 10px 10px 14px 10px;
a{
display: none;
background: #FFFFFF;
box-shadow: 0px 0px 0px 1px #D91605;
border-radius: 5px;
color: #D91605;
line-height: 40px;
width: fit-content;
margin: auto !important;
position: relative;
padding: 0 23px;
&::after{
content: '';
border-right: 2px solid #D91605;
border-bottom: 2px solid #D91605;
width: 5px;
height: 5px;
display: inline-block;
margin-left: 9px;
transform: rotate(45deg);
position: relative;
top: -3px;
}
&:last-child::after{
transform: rotate(-135deg);
top: -1px;
}
}
}
}
.pd-spec-group{
tr{
font-size: 13px;
line-height: 16px;
overflow: hidden;
&:nth-child(even){
background: #F3F3F3;
}
}
td{
padding: 9px 8px 9px 14px;
width: auto;
&:first-child(){
font-weight: 600;
}
*{
margin: 0 !important;
font-size: inherit !important;
line-height: inherit !important;
}
}
}
.cart-page{
padding-bottom: 16px;
.page-title-group{
line-height: 20px;
margin-bottom: 5px;
font-size: 12px;
p{
font-weight: 700;
font-size: 20px;
margin: 0 5px 0 0;
}
}
.page-note{
margin: 5px 0 13px 0;
line-height: 20px;
display: none;
}
.col-right{
background: #F8F8F8;
border-radius: 10px;
padding: 14px 10px;
margin-top: 12px;
.group-title{
text-transform: uppercase;
text-align: center;
color: #0163A5;
font-weight: 700;
font-size: 16px;
line-height: 20px;
padding-bottom: 12px;
border-bottom: 1px dashed #999999;
margin: 0 0 10px 0;
}
table{
font-size: 15px;
line-height: 22px;
.text-14 {
font-size: 12px;
}
}
tr {
&:nth-child(2){
font-size: 13px;
}
}
td {
vertical-align: baseline;
padding: 4px 0;
}
b{
font-weight: 700;
}
label{
display: flex;
align-items: flex-start;
font-size: 12px;
line-height: 16px;
margin: 10px 0 0 0;
cursor: pointer;
input {
transform: scale(1.15);
position: relative;
top: 3px;
margin: 0 7px 0 0;
}
}
}
.cart-total-price{
color: #FF0000;
font-size: 20px;
font-weight: 700;
display: block;
margin: 0 0 5px 0;
}
.cart-btn-group{
display: flex;
flex-wrap: wrap;
.item{
margin: 12px 10px 0 0;
width: calc(100% / 2 - 5px);
text-align: center;
background: #0163A5;
border-radius: 10px;
color: #fff;
line-height: 36px;
border: 0;
padding: 0;
font-weight: 600;
font-size: 14px;
position: relative;
transition: .15s all;
&:nth-child(2n){
margin-right: 0;
}
&:nth-child(2){
background: #FF5F03;
}
&:nth-child(3), &:nth-child(4){
background: #FFF;
color: #0163A5;
box-shadow: 0px 0px 0px 1px #0163A5;
display: flex;
align-items: center;
justify-content: center;
&::before{
@extend .icons;
content: '';
width: 22px;
height: 36px;
margin-right: 6px;
}
}
}
.cart-print {
&::before{
background-position: -54px -359px !important;
}
}
.cart-excel {
&::before{
background-position: -99px -359px !important;
}
}
}
.page-btn-group {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
text-align: center;
margin: 10px 0 17px 0;
a{
line-height: 24px;
margin: 0 8px 8px 0;
font-weight: 500;
font-size: 13px;
color: #041E42;
background: #BAE0FA;
padding: 4px 16px;
border: 1px solid transparent;
border-radius: 5px;
filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.25));
&:last-child{
background: #fff;
margin-right: 0;
border-color: #3A92EC;
}
}
}
}
.cart-product-holder{
margin: 0 0 10px 0;
.item-row{
padding: 12px 0;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
border-bottom: 1px solid #D9D9D9;
&:last-child{
border: 0;
}
}
.item-img{
width: 33%;
margin-right: 8px;
border: 1px solid #E9E9E9;
border-radius: 10px;
overflow: hidden;
img{
display: block;
}
}
.item-text{
width: calc(100% - 33% - 10px);
font-size: 13px;
line-height: 20px;
}
.item-name{
@extend .line-clamp-2;
color: #000;
line-height: 18px;
}
.item-instock, .item-outstock {
margin: 4px 0;
border-radius: 5px;
text-align: center;
padding: 0 8px;
line-height: 24px;
font-weight: 500;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
}
.item-instock {
background: #F4FAF6;
color: #00A046;
&::before{
content: '\2714';
width: 12px;
height: 12px;
border-radius: 50%;
box-shadow: 0px 0px 0px 1px #00A046;
line-height: 12px;
font-size: 5px;
margin-right: 4px;
}
}
.item-outstock {
color: #CE000C;
background: rgba(206,0,12,0.05);
&::before{
content: '\2706';
font-size: 18px;
font-weight: 600;
transform: rotate(284deg);
margin-right: 4px;
}
}
.item-offer {
position: relative;
margin: 6px 0;
.title{
font-weight: 700;
line-height: 20px;
position: relative;
margin: 0;
&::after{
content: '\00AB';
transform: rotate(-90deg);
font-size: 18px;
position: absolute;
margin-left: 4px;
}
}
}
.item-offer-content{
color: #FF4157;
margin-bottom: 6px;
b{
display: none !important;
}
}
.item-price{
display: inline-block;
color: #FF0000;
margin: 0 5px 0 0;
font-weight: 500;
font-size: 16px;
}
.item-old-price{
display: inline-block;
line-height: 20px;
text-decoration-line: line-through;
color: #8D8D8D;
margin: 0;
}
.item-quanity{
margin-top: 12px;
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
}
.item-quanity-holder {
display: flex;
align-items: center;
text-align: center;
background: #FFFFFF;
border-radius: 5px;
box-shadow: 0px 0px 0px 1px #B6B6B6;
overflow: hidden;
width: 88px;
*{
line-height: 24px;
height: 24px;
color: #000;
text-align: center;
padding: 0;
margin: 0;
border: 0;
}
a{
width: 24px;
font-size: 16px;
font-weight: 600;
}
input{
width: 40px;
}
}
.icon-delete{
width: 24px;
height: 24px;
border-radius: 5px;
box-shadow: 0px 0px 0px 1.3px #156fac;
background-position: -93px -270px;
background-size: 215px 300px;
}
}
.cart-form-group {
background: #fff;
border-radius: 15px;
box-shadow: 0px 0px 0px 1px #2176B0;
padding: 15px 10px;
.group-title{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
line-height: 20px;
padding-bottom: 10px;
border-bottom: 1px dashed #999999;
margin-bottom: 13px ;
p{
font-weight: 700;
font-size: 16px;
text-transform: uppercase;
color: #0163A5;
margin: 0;
}
a{
color: #0163A5;
display: flex;
align-items: center;
&::before{
@extend .icons;
content: '';
width: 19px;
height: 20px;
margin-right: 5px;
background-position: -184px -363px;
}
}
}
.payment-item{
margin-top: 20px;
}
}
.cart-input-group{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
input, select, .input-select, textarea{
background: #F5F5F5;
border-radius: 5px;
height: 35px;
margin-bottom: 4px;
color: #8D8D8D;
padding: 0 10px;
width: 100%;
border: 0;
outline: none;
}
select {
width: 49.4%;
color: #000;
}
.input-select {
width: calc(100% / 2 - 22px);
}
textarea{
height: 56px;
resize: none;
padding: 13px;
}
.btn-company{
margin: 14px 0 0;
line-height: 20px;
color: #000000;
position: relative;
padding-left: 20px;
&::before{
content: '';
position: absolute;
top: 4px;
left: 0;
height: 12px;
width: 12px;
background-color: #fff;
border-radius: 50%;
box-shadow: 0px 0px 0px 1px #BFBFBF;
}
&.active{
color: #FF7A00;
&::before{
box-shadow: 0px 0px 0px 1px #FF7A00;
}
&::after{
content: '';
background: #FF7A00;
width: 7px;
height: 7px;
border-radius: 50%;
position: absolute;
top: 6.5px;
left: 2.5px;
}
}
}
.company-input{
margin-top: 15px;
display: none;
}
}
@media (max-width: 403px) {
.footer-policy-container{
.item{
min-width: unset;
width: 100%;
}
span{
max-width: unset;
}
}
.global-support-group{
.sub-item{
width: 100%;
}
}
.product-detail-page {
.pd-deal-count {
width: 100%;
text-align: center;
margin: 5px 0;
padding: 0 10px;
}
.pd-variant-group {
.item{
width: calc(100% / 2 - 12px);
&:nth-child(2n){
margin-right: 0;
}
&:nth-child(3n){
margin-right: 8px;
}
}
}
}
}
@media (max-width: 320px) {
.global-fixed-bottom a {
font-size: 11px;
}
.product-page{
.product-holder{
.p-item{
width: 100%;
display: flex;
flex-wrap: wrap;
margin: 0 0 10px 0;
.p-img{
width: 36%;
padding-bottom: 36%;
margin: 0 12px 0 0;
}
.p-text{
width: calc(100% - 36% - 12px);
}
.p-icons-group{
right: unset;
left: 8px;
}
}
}
}
.popup-filter-group {
width: 100%;
.popup-button a{
font-size: 12px;
}
}
.product-detail-page {
.pd-deal-holder {
.group-title {
width: 100%;
margin: 0;
justify-content: center;
}
}
.deal-countdown {
width: 100%;
margin: 5px 0;
padding: 0 10px;
justify-content: center;
}
.pd-variant-group {
.item{
width: 100%;
margin-right: 0 !important;
}
}
.pd-btn-group a{
margin-right: 0;
width: 100%;
}
}
.cart-page {
.cart-btn-group {
.item{
margin-right: 0;
width: 100%;
}
}
.page-btn-group a{
margin-right: 0;
width: 100%;
}
}
.cart-input-group {
select, .input-select {
width: 100%;
}
}
}