Files

2387 lines
52 KiB
SCSS
Raw Permalink Normal View History

2023-05-19 16:40:07 +07:00
body{
color:#000;
font-family: 'Inter', sans-serif;
background: #fff;
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: #EE6A6A;
}
.grey{
color: #999;
}
.yellow{
color: #fdb813;
}
.color-main{
color: #D8262F;
}
.black{
color: #222;
}
.green{
color: #29A07E;
}
.bg-blue{
background: #005BAD;
}
.bg-red{
background: #D91605;
}
.bg-green{
background: #29A07E;
}
.bg-main{
background: #D8262F;
}
.blue-light{
color: #31c6fe;
}
.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;
}
}
.bg-linear{
background:linear-gradient(180deg, #EE1B25 0%, #FF7E85 100%);
}
.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{font-size: 13px; 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: 22px;cursor: pointer;margin-bottom: 5px;}
.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: #FF0000;}
.label-container input:checked ~ .checkmark:after{display:block}
.label-container input:checked ~ .checkmark:after {content: '';width: 9px;height: 9px;background: #FF0000;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: 15px;
padding: 12px 10px;
background: #F5F5F5;
text-transform: uppercase;
a{
color: #000000;
&:hover{
@extend .color-main;
}
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content:'';
background: url(../images/icon-left.png) no-repeat;
background-position: center 5px;
background-size: 6px;
transform: rotate(-180deg);
width: 28px;
height: 18px;
color: #A3A3A3;
}
&:last-child{
&::after{
content: none;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
background: #F5F5F5;
border-radius: 12px;
margin: 12px 0;
padding: 13px;
a{
line-height: 24px;
text-align: center;
color: #000;
margin: 0 10px;
transition: .12s all;
font-size: 13px;
line-height: 24px;
&.current{
@extend .color-main;
font-weight: 700;
}
&:last-child{
margin: 0;
}
}
.prev, .next {
@extend .icons;
border: 0;
font-size: 0 !important;
width: 20px;
background-position: -191px -71px !important;
background-size: 219px !important;
}
.prev{
transform: rotate(-180deg);
}
}
.icons{
background: url(../images/sprite.png) no-repeat;
background-size: 300px 300px;
}
.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: 0;
}
.owl-next {
right: 0;
}
.arrow{
width: 12px;
height: 20px;
display: block;
background: url(../images/icon-left.png) no-repeat;
background-position: center;
background-size: contain;
transition: .2s all;
opacity: .4;
&:hover{
opacity: 1;
}
}
.arrow-next{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
margin-top: 16px !important;
.owl-dot {
span{
margin: 0 7px;
width: 10px;
height: 10px;
border-radius: 50%;
background: transparent;
transition: .2s all;
background: rgba(0, 0, 0, 0.5);
}
&.active {
span{
background: #D8262F;
}
}
}
}
}
.p-item{
background: #FFFFFF;
overflow: hidden;
line-height: 16px;
position: relative;
padding: 12px 10px;
box-shadow: 0px 0px 0px 1px #D9D9D9;
border-radius: 15px;
text-align: center;
font-size: 12px;
img{
@extend .fit-img;
transition: .4s all !important;
transform: scale(1);
}
.p-img{
display: block;
position: relative;
padding-bottom: 100%;
overflow: hidden;
margin-bottom: 7px;
}
.p-name{
display: block;
color: #000;
text-transform: uppercase;
margin: 0 0 7px 0;
*{
@extend .inherit;
@extend .line-clamp-2;
}
}
.p-price{
margin: 7px 0 0 0;
color: #D8262F;
font-weight: 700;
font-size: 16px;
line-height: 24px;
}
.p-price-group{
min-height: 24px;
line-height: 24px;
font-size: 13px;
*{
display: inline-block;
}
}
del{
font-weight: 500;
margin-right: 6px;
color: #B7B7B7;
}
.p-discount {
color: #D8262F;
}
.p-deal-group{
margin-top: 5px;
position: relative;
background: #FFD0D4;
border-radius: 9px;
height: 18px;
&::before{
content: '';
width: 19px;
height: 26px;
background: url(../images/icon-deal.png) no-repeat;
background-size: contain;
position: absolute;
bottom: 0;
left: 0px;
z-index: 1;
}
}
.p-line {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
background: #F90012;
border-radius: inherit;
}
.p-sale-quantity {
margin: 0;
position: absolute;
inset: 0;
color: #fff;
line-height: 18px;
font-weight: 600;
font-size: 11px;
}
}
.global-goTop{
position: fixed;
right: -100%;
bottom: 40px;
transition: .4s all;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #D8262F;
transform: rotate(90deg);
z-index: 3;
box-shadow: 0px 0px 5px 0px rgba(255,255,255,.5);
&::before{
content: '';
display: block;
height: 100%;
background: url(../images/icon-left.png) no-repeat;
background-position: center;
background-size: 9px;
filter: brightness(100);
}
&.active{
right: 10px;
}
}
.global-header-container{
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 99;
padding: 9px 12px;
box-shadow: 0px 0px 2px rgba(0,0,0,.3);
background: #fff;
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
.icons{
width: 24px;
height: 24px;
background-size: 200px;
}
.icon-menu{
width: 28px;
height: 28px;
margin-right: 15px;
background-color: #D8262F;
border-radius: 6px;
background-size: 220px;
background-position: -2px -27px;
}
.icon-user {
background-position: -107px -30px;
margin-right: 15px;
}
.icon-cart{
position: relative;
background-position: -150px -30px;
}
.icon-search {
width: 28px;
height: 28px;
background-size: 430px;
background-position: -73px -62px;
filter: invert(1);
margin-right: 15px;
border-radius: 6px;
&.active{
background-color: #D8262F;
filter: unset;
background-size: 300px 300px;
background-position: -47px -39px;
}
}
.header-logo{
max-width: 120px;
img{
width: auto;
height: auto;
max-height: 36px;
display: block;
}
}
.cart-count{
width: 15px;
height: 15px;
line-height: 15px;
font-size: 12px;
border-radius: 50%;
font-weight: 700;
color: #fff;
background: #D8262F;
font-style: normal;
text-align: center;
position: absolute;
top: -4px;
right: -4px;
}
}
.header-search-group{
display: none;
background: #fff;
position: absolute;
left: 0;
right: 0;
top: calc(100% + 0px);
width: calc(100% - 20px) !important;
margin: auto;
padding: 0 10px 10px 10px;
border-bottom: 1px solid #d9d9d9;
form{
display: flex;
align-items: center;
padding: 2px;
position: relative;
box-shadow: 0px 0px 0px 1px #D9D9D9;
border-radius: 6px;
width: 100%;
}
.text-search {
padding: 0 10px;
border: 0;
margin: 0;
height: 32px;
width: calc(100% - 50px);
color: #8D8D8D;
}
.icon-search {
border-radius: 6px;
border: 0;
margin: 0;
padding: 0;
background-color: #D8262F;
background-position: -71px -60px;
filter: unset;
position: absolute;
right: 3px;
top: 2px;
height: 32px;
width: 32px;
}
}
.global-tags-group{
margin: 50px 0 12px 0 !important;
padding: 0 !important;
.tags-list{
@extend .clearfix;
}
a{
float: left;
margin: 0 6px 6px 0;
background: #ECECEC;
border-radius: 21px;
padding: 0 10px;
line-height: 38px;
font-size: 13px;
color: #000;
&:hover{
color: #fff;
background: #000;
}
}
}
.footer-newsletter-container{
color: #fff;
padding: 0 10px;
margin: 18px 0 10px 0;
.container{
padding: 20px 10px;
background: #D8262F;
border-radius: 12px;
@extend .d-block;
}
.col-left{
display: flex;
align-items: center;
flex-wrap: wrap;
*{
display: block;
}
.text{
width: calc(100% - 126px);
font-size: 12px;
line-height: 15px;
}
b{
font-weight: 700;
font-size: 15px;
line-height: 18px;
margin-bottom: 6px;
}
}
.icon-mailbox{
width: 114px;
height: auto;
padding-bottom: 83px;
margin-right: 12px;
background-position: -11px -267px;
background-size: 360px;
}
.newsletter-form-holder {
display: flex;
flex-wrap: wrap;
align-items: center;
margin-top: 25px;
}
input {
width: calc(100% - 145px);
border: 0;
margin: 0 5px 0 0;
padding: 0 20px;
height: 42px;
border-radius: 25px;
color: #AFAFAF;
}
button {
background: #FED700;
border-radius: 25px;
width: 100px;
height: 42px;
font-size: 13px;
color: #D8262F;
font-weight: 700;
padding: 0;
margin: 0;
border: 0;
}
.error-note {
text-transform: capitalize;
width: 100%;
p{
margin: 10px 0 0 0;
}
}
}
.global-footer{
.icons{
width: 23px;
height: 24px;
margin-right: 7px;
float: left;
}
.icon-map {
background-position: -185px -5px;
}
.icon-tel {
background-position: -258px -6px;
}
.icon-email {
background-position: -223px -4px;
}
}
.footer-info-group{
font-size: 13px;
line-height: 24px;
padding-top: 24px;
padding-bottom: 24px;
a{
display: table;
color: #000;
position: relative;
padding-left: 12px;
&::before{
content: '';
position: absolute;
top: 10px;
left: 0;
width: 4px;
height: 4px;
border-radius: 50%;
background: #000;
}
&:hover{
@extend .color-main;
}
}
.col{
margin: 0 0 10px 0;
&:first-child {
border-radius: 10px;
overflow: hidden;
padding: 20px 10px;
background: #F3F3F3;
.title{
line-height: 20px;
padding: 0;
margin: 0 0 17px 0;
&::before{
content: none;
}
}
}
}
.title{
background: #F3F3F3;
border-radius: 10px;
text-transform: uppercase;
position: relative;
padding: 0 28px 0 14px;
line-height: 50px;
font-weight: 700;
font-size: 15px;
margin: 0;
&::before{
@extend .icons;
content: '';
width: 13px !important;
height: 13px !important;
position: absolute;
top: 17px;
right: 14px;
margin: 0 !important;
background-position: -216px -140px;
}
&.active::before{
transform: rotate(-180deg);
top: 19px;
}
}
.footer-bct {
display: block;
margin: 15px 0 0 0;
padding: 0;
&::before{
content: none;
}
img{
width: auto;
height: auto;
max-height: 54px;
}
}
.info-list {
padding: 10px 10px 10px 20px;
display: none;
}
.address-list{
display: block;
background: #F3F3F3;
padding: 0;
a{
display: flex;
padding: 0;
line-height: 24px;
margin: 0 0 10px 0;
@extend .clearfix;
&::before{
content: none;
}
&:last-child{
margin: 0;
}
}
span{
float: left;
width: calc(100% - 30px);
}
}
}
.footer-store-box {
background: #fff;
padding: 0 0 25px 0;
.container {
@extend .d-block;
}
a{
display: flex;
line-height: 24px;
margin: 0 0 5px 0;
color: #000;
@extend .clearfix;
&::before{
content: none;
}
&:hover{
@extend .color-main;
}
&:last-child{
margin: 0;
}
span{
float: left;
width: calc(100% - 30px);
font-size: 13px;
}
}
.item{
margin: 0 0 40px 0;
&:last-child{
margin: 0;
}
&:nth-child(4n){
margin-right: 0;
}
&:nth-child(2){
.number{
background: #FF000D;
&::before{
border-bottom-color: #FF000D;
}
}
}
&:nth-child(3){
.number{
background: #D8262F;
&::before{
border-bottom-color: #D8262F;
}
}
}
&:nth-child(4){
.number{
background: #9F0008;
&::before{
border-bottom-color: #9F0008;
}
}
}
}
.group-title{
display: flex;
align-items: center;
line-height: 27px;
font-weight: 700;
font-size: 12px;
margin: 0 0 10px 0;
}
.number{
background: #FF794F;
color: #fff;
font-size: 18px;
margin-right: 13px;
position: relative;
padding: 0 6px;
&::before{
content: '';
border-bottom: 28px solid #FF794F;
border-right: 10px solid transparent;
position: absolute;
right: -9px;
top: -1px;
}
}
}
.footer-end-group{
@extend .d-block;
padding: 10px;
background: #F3F3F3;
text-align: center;
font-size: 15px;
line-height: 26px;
p{
margin: 0 0 6px 0;
}
.icon-payment{
width: 100%;
max-width: 335px;
height: 28px;
display: block;
background-size: contain;
background-position: center;
float: none;
margin: 10px auto 0 auto;
}
}
.global-deal-countdown{
display: flex;
align-items: center;
font-size: 16px;
b{
margin: 0 9px;
position: relative;
color: #fff;
background: #000;
border-radius: 5px;
line-height: 36px;
min-width: 36px;
text-align: center;
font-weight: 700;
font-size: 16px;
&:last-child::after{
content: none;
}
&::after{
content: ':';
position: absolute;
right: -8px;
}
}
}
.global-btn-view {
color: #D8262F !important;
position: relative;
margin-top: 12px;
font-weight: 500;
font-size: 13px;
line-height: 30px;
display: flex !important;
align-items: center;
justify-content: center;
&::after{
@extend .icons;
content: '';
background-position: -172px -72px;
display: inline-block;
height: 23px;
width: 10px;
background-size: 220px;
margin-left: 4px;
}
}
.homepage{
img{
width: auto;
height: auto;
}
.product-holder{
display: flex;
flex-wrap: wrap;
position: relative;
min-height: 200px;
}
.banner-under-deal{
margin: 11px auto 30px auto;
width: calc(100% - 20px);
img{
display: block;
border-radius: 10px;
}
}
}
.home-category-group{
overflow: hidden;
background: #fff;
position: relative;
z-index: 2;
img{
display: block;
margin: auto 0 auto auto;
}
a{
color: #000;
display: table;
font-size: 13px;
line-height: 24px;
}
.item{
border-bottom: 1px solid #EBEBEB;
display: flex;
flex-wrap: wrap;
padding: 20px 18px;
}
.box-left, .box-img{
width: 50%;
}
.box-img {
text-align: right;
}
.cat-1 {
font-weight: 700;
font-size: 16px;
line-height: 19px;
margin-bottom: 12px;
}
.global-btn-view{
justify-content: unset;
}
}
.home-deal-group{
margin: 12px 0;
background: #D8262F;
border-radius: 20px;
padding: 20px 10px 10px 10px;
.p-item{
margin: 10px 10px 0 0;
width: calc(100% / 2 - 25px);
box-shadow: unset;
&:nth-child(2n){
margin-right: 0;
}
}
.global-btn-view{
color: #fff !important;
&::after{
filter: brightness(100);
}
}
.group-title{
color: #fff;
margin-bottom: 10px;
line-height: 30px;
justify-content: center;
.title{
font-weight: 700;
font-size: 24px;
text-transform: uppercase;
margin: 0 0 15px 0;
color: #FED700;
}
p{
font-weight: 700;
font-size: 16px;
margin: 0 10px 0 0;
}
}
.icon-bolt{
width: 40px;
height: 40px;
margin: 0 7px 15px 0;
background-size: 375px;
background-position: -183px -180px;
animation: tada 1.8s infinite ease-in-out;
}
}
.home-box-group{
margin: 30px 0 40px 0;
padding: 0 10px;
.box-title{
text-transform: uppercase;
font-weight: 700;
font-size: 24px;
line-height: 29px;
margin: 0 0 20px 0;
text-align: center;
}
.box-holder-left{
.p-img{
margin-bottom: 14px;
}
.p-item {
padding: 16px;
margin-bottom: 10px;
}
.p-name {
font-size: 15px;
line-height: 24px;
margin: 0 0 12px 0;
}
.p-price {
font-size: 24px;
line-height: 24px;
margin: 12px 0 9px 0;
}
.p-price-group{
*{
font-size: 15px;
}
}
}
.box-holder-right{
.p-item{
@extend .clearfix;
margin-bottom: 10px;
text-align: left;
font-size: 13px;
line-height: 18px;
}
.p-img{
float: left;
width: 31%;
padding: 0;
margin: 0 10px 0 0 ;
img{
position: unset;
}
}
.p-text {
width: calc(100% - 31% - 10px);
float: left;
}
.p-name{
margin: 0 0 10px 0;
}
.p-price {
font-size: 16px;
line-height: 24px;
}
}
}
.home-customer-comment-group{
margin: 40px 0 20px 0;
padding: 0 10px;
.box-title-group{
line-height: 32px;
margin-bottom: 20px;
text-align: center;
.title{
margin: 0;
text-transform: uppercase;
font-size: 24px;
font-weight: 700;
}
a{
margin: 0;
}
}
img{
@extend .fit-img;
border-radius: 15px;
}
.image {
margin: 0 0 16px 0;
position: relative;
padding-bottom: 57.5%;
}
.item-name{
display: flex;
align-items: center;
margin: 16px 0 11px 0;
font-size: 15px;
line-height: 28px;
color: #8D8D8D;
i{
width: 28px;
height: 28px;
border-radius: 50%;
margin: 0 8px 0 0;
background-repeat: no-repeat;
background-size: contain;
}
b{
font-weight: 700;
}
}
.summary{
@extend .line-clamp-3;
margin: 17px 0 0 0;
font-weight: 300;
font-size: 15px;
line-height: 20px;
}
}
.product-page{
padding: 13px 10px;
.product-holder{
display: flex;
flex-wrap: wrap;
}
.p-item{
margin: 0 10px 10px 0;
width: calc(100% / 2 - 25px);
&:nth-child(2n){
margin-right: 0;
}
}
.box-content-holder{
background: #F5F5F5;
border-radius: 8px;
margin-bottom: 10px;
padding: 10px;
}
.box-display {
display: flex;
flex-wrap: wrap;
align-items: center;
a{
width: 25px;
height: 24px;
margin: 0 13px 6px 0;
}
p{
margin: 0 20px 6px 0 ;
font-size: 13px;
line-height: 24px;
}
}
.btn-filter{
background: #000000;
border-radius: 8px;
display: flex;
align-items: center;
line-height: 46px;
height: auto !important;
width: auto !important;
color: #fff;
padding: 0 7px;
margin: 0 0 6px 0 !important;
font-size: 13px;
}
.icon-grid {
background-position: -8px -144px;
&:hover, &.current{
background-position: -8px -180px;
}
}
.icon-list {
background-position: -54px -144px;
&:hover, &.current{
background-position: -53px -180px;
}
}
.icon-filter{
width: 22px;
height: 24px;
margin-right: 6px;
background-position: -99px -144px;
}
select{
background: #FFFFFF;
border: 1px solid #B7B7B7;
border-radius: 8px;
margin: 0;
height: 40px;
padding: 0 15px 0 5px;
}
.sort-by-group{
display: flex;
align-items: center;
flex-wrap: wrap;
b{
font-weight: 700;
font-size: 13px;
line-height: 24px;
margin-right: 13px;
}
}
}
.product-filter-container{
position: fixed;
transition: .3s all;
bottom: 0;
left: 0;
right: 0;
top: 50%;
background: #fff;
z-index: -1;
opacity: 0;
visibility: visible;
padding: 16px;
&.active{
top: 0;
opacity: 1;
visibility: visible;
z-index: 999;
}
.popup-header {
font-weight: 700;
font-size: 18px;
margin-bottom: 10px;
line-height: 24px;
padding-bottom: 10px;
border-bottom: 1px solid #d9d9d9;
}
.popup-body {
height: calc(100% - 104px);
overflow: auto;
a{
color: #000;
display: table;
line-height: 20px;
font-size: 13px;
padding-left: 30px;
position: relative;
margin-bottom: 9px;
&:last-child{
margin: 0;
}
&::before{
content: '';
width: 15px;
height: 15px;
border: 1px solid #B7B7B7;
border-radius: 3px;
position: absolute;
top: 3px;
left: 0;
background: #fff;
transition: .1s all;
}
&.current ,&:hover{
@extend .color-main;
font-weight: 600;
&::after{
content: "";
display: block;
box-sizing: border-box;
position: absolute;
left: 3px;
top: 1.5px;
width: 5px;
height: 9px;
border-width: 0 2px 2px 0;
border-style: solid;
border-color: #fff;
transform-origin: bottom left;
transform: rotate(45deg)
}
&::before{
@extend .bg-main;
border-color: transparent;
}
}
}
}
.popup-footer {
padding-top: 10px;
margin-top: 10px;
border-top: 1px solid #d9d9d9;
display: flex;
align-items: center;
justify-content: flex-end;
a{
color: #000;
line-height: 36px;
border: 1px solid #d9d9d9;
border-radius: 6px;
padding: 0 15px;
margin-left: 12px;
&:first-child{
@extend .bg-main;
color: #fff;
border-color: transparent;
}
}
}
.filter-list{
display: none;
margin-top: 16px;
}
.filter-item{
padding: 13px 0;
border-bottom: 1px solid #D9D9D9;
&:first-child{
padding-top: 0;
}
&:last-child{
border: 0;
}
}
.filter-title{
font-weight: 600;
line-height: 20px;
margin: 0;
position: relative;
&::after{
content: '';
background: url(../images/icon-left.png) no-repeat center;
background-size: 5px;
width: 20px;
height: 20px;
position: absolute;
top: 0px;
right: 0;
transform: rotate(-90deg);
}
&.active::after{
transform: rotate(90deg);
}
}
}
.product-deal-page{
margin: 16px 0;
padding: 10px;
background: #D8262F;
border-radius: 26px;
.product-holder{
display: flex;
flex-wrap: wrap;
}
.p-item{
margin: 0 10px 10px 0;
box-shadow: unset;
width: calc(100% / 2 - 25px);
&:nth-child(2n){
margin-right: 0;
}
}
.paging{
margin: 0;
background: transparent;
a{
color: #fff;
}
.prev, .next {
filter: invert(1);
}
}
.group-title{
color: #fff;
margin-bottom: 20px;
line-height: 30px;
justify-content: center;
.title{
font-weight: 700;
font-size: 24px;
text-transform: uppercase;
margin: 0;
color: #FED700;
}
p{
font-weight: 700;
font-size: 16px;
margin: 0 10px 0 0;
}
}
.icon-bolt{
width: 40px;
height: 40px;
margin: 0 7px 15px 0;
background-size: 375px;
background-position: -183px -180px;
animation: tada 1.8s infinite ease-in-out;
}
}
.product-detail-page {
padding: 10px;
.page-title{
font-weight: 700;
font-size: 20px;
line-height: 26px;
margin: 22px 0 8px 0;
}
.deal-time-holder, .pd-deal-group {
margin-top: 10px;
}
.pd-deal-holder {
margin: 20px 0;
background: #D8262F;
color: #Fff;
border-radius: 12px;
padding: 20px 16px;
text-align: center;
font-size: 16px;
p{
margin: 0;
}
b{
font-weight: 600;
}
.title{
font-weight: 700;
font-size: 22px;
line-height: 32px;
text-transform: uppercase;
color: #FED700;
}
.icon-bolt{
width: 32px;
height: 32px;
background-position: -152px -144px;
animation: tada 1.8s infinite ease-in-out;
}
}
.pd-deal-group {
position: relative;
background: #FFD0D4;
border-radius: 12px;
color: #D8262F;
font-size: 12px;
font-weight: 600;
text-align: center;
width: 100%;
max-width: 282px;
line-height: 19px;
height: 19px;
margin: 14px auto 0 auto;
&::before {
content: '';
background: url(../images/pd-icon-deal.png) no-repeat;
background-size: contain;
width: 19px;
height: 27px;
position: absolute;
left: 0;
bottom: -.5px;
z-index: 2;
}
}
.pd-line {
background: #FED700;
border-radius: inherit;
max-width: 100%;
position: absolute;
inset: 0;
}
.pd-sale-quantity{
position: relative;
z-index: 1;
}
.pd-price-group{
font-size: 14px;
line-height: 24px;
color: #D8262F;
margin: 20px 0 14px 0;
}
.pd-price{
font-weight: 700;
font-size: 28px;
line-height: 24px;
color: #D8262F;
margin: 0 0 10px 0;
}
.pd-old-price{
font-weight: 500;
margin-right: 4px;
color: #B7B7B7;
}
.pd-offer-group {
margin: 15px 0;
border: 2px dashed #D8262F;
border-radius: 15px;
font-size: 13px;
line-height: 20px;
padding: 15px 10px;
.title {
color: #D8262F;
font-weight: 700;
font-size: 16px;
line-height: 24px;
margin-bottom: 5px;
}
.item{
padding-left: 16px;
position: relative;
&::before {
content: '';
width: 4px;
height: 4px;
border-radius: 50%;
background: #000;
position: absolute;
top: 9px;
left: 3px;
}
}
}
.pd-quantity-group {
margin: 15px 0;
display: flex;
align-items: center;
p {
font-weight: 700;
font-size: 13px;
line-height: 24px;
margin: 0 15px 0 0;
}
}
.pd-quantity-holder {
display: flex;
align-items: center;
border-radius: 6px;
box-shadow: 0px 0px 0px 1px #B7B7B7;
text-align: center;
width: 100px;
a{
color: #000;
line-height: 40px;
width: 30px;
}
input{
text-align: center;
font-weight: 700;
border: 0;
padding: 0;
margin: 0;
height: 40px;
width: 40px;
}
}
.pd-btn-group {
margin: 20px 0 10px 0;
text-align: center;
text-transform: uppercase;
font-weight: 700;
font-size: 20px;
a{
@extend .bg-main;
line-height: 52px;
color: #FFFFFF;
margin: 10px 0;
display: block;
border-radius: 12px;
box-shadow: unset;
&:first-child{
width: 100%;
}
&:nth-child(2){
color: #00833E;
background: #fff;
box-shadow: 0px 0px 0px 1px #00833E;
}
&:nth-child(3){
background: #00833E;
color: #fff;
}
}
}
.pd-static-text{
font-size: 13px;
line-height: 22px;
position: relative;
display: flex;
justify-content: center;
text-align: center;
padding: 0 39px;
margin-bottom: 20px;
p{
margin: 0;
}
&::before{
@extend .icons;
content: '';
width: 26px;
height: 26px;
background-position: -7px -4px;
}
a{
@extend .color-main;
font-weight: 700;
}
}
.pd-tab-title-group {
display: flex;
overflow: auto;
white-space: nowrap;
margin-bottom: 23px;
position: relative;
padding-bottom: .1px;
&::after{
content: '';
border-bottom: 1px solid #D9D9D9;
position: absolute;
left: 0;
right: 0;
bottom: 0px;
z-index: -1;
}
a{
color: #8D8D8D;
font-weight: 700;
font-size: 13px;
line-height: 24px;
margin: 0 26px 0 0;
padding-bottom: 6px;
position: relative;
border-bottom: 1px solid transparent;
&::after{
content: '';
height: 1px;
width: 100%;
left: 0;
right: 0;
transition: .3s all;
position: absolute;
bottom: -1px;
}
&.active{
@extend .color-main;
border-bottom: 1px solid #D8262F;
&::after{
@extend .bg-main;
}
}
}
}
.pd-tab-content{
display: none;
padding-bottom: 30px;
&.active{
display: block;
}
*{
font-family: inherit;
}
}
.pd-desc-btn {
text-align: center;
a{
display: none;
color: #000;
border: 1px solid #d9d9d9;
max-width: 200px;
margin: auto;
text-align: center;
line-height: 36px;
border-radius: 6px;
font-weight: 500;
}
}
.pd-spec-holder{
table {
max-width: 800px;
margin: auto;
}
tr:nth-child(odd) {
background: #f5f5f5;
}
td {
padding: 10px 12px;
* {
margin: 0;
}
}
}
}
.pd-image-large{
margin-bottom: 11px;
.item{
display: block;
position: relative;
padding-bottom: 100%;
}
img{
@extend .fit-img;
}
}
.pd-image-gallery{
margin-bottom: 22px;
.current{
.item{
border-color: #D8262F;
}
}
.item{
position: relative;
display: block;
padding-bottom: 100%;
border-radius: 8px;
overflow: hidden;
border: 1px solid #d9d9d9;
}
img{
@extend .fit-img;
}
}
.pd-variant-option-group {
tr {
display: block;
margin: 5px 0;
}
td {
display: inline-flex;
align-items: center;
}
a{
color: #000;
display: block;
box-shadow: 0px 0px 0px 1px #DEDEDE;
background: #fff;
padding: 0 15px;
margin: 0 10px 10px 0;
border-radius: 3px;
line-height: 30px;
}
.selected{
@extend .bg-main;
color: #fff;
box-shadow: unset;
}
.variant-option-label {
font-size: 13px;
font-weight: bold;
line-height: 30px;
min-width: 70px;
margin-top: -6px;
}
.variant-option-value-box {
display: inline-block;
}
.variant-color {
a {
width: 30px;
height: 30px;
display: block;
font-size: 0;
border-radius: 50%;
margin: 0 11px 11px 0;
box-shadow: 0px 0px 0px 1px #DEDEDE;
position: relative;
padding: 0;
line-height: 0;
}
.selected::before {
content: '';
width: 36px;
height: 36px;
border-radius: 50%;
box-shadow: 0px 0px 0px 1.5px #D8262F;
position: absolute;
top: -3px;
left: -3px;
}
}
}
.pd-related-container{
margin: 20px 0;
padding-top: 20px;
border-top: 1px solid #D9D9D9;
.title{
text-align: center;
font-weight: 700;
font-size: 24px;
line-height: 30px;
text-transform: uppercase;
margin: 0 0 18px 0;
}
.p-item {
box-shadow: unset;
border: 1px solid #d9d9d9;
}
}
.cart-page {
padding: 16px 10px 0 10px;
.cart-box-group{
border-top: 4px solid #D8262F;
margin-bottom: 16px;
font-size: 13px;
line-height: 20px;
text-transform: uppercase;
p{
margin: 0;
padding: 11px 10px;
background: #F5F5F5;
}
a {
color: #D8262F;
text-decoration-line: underline;
font-weight: 700;
display: inline-block;
}
}
.cart-box-hidden{
display: none;
*{
display: block;
border-radius: 3px;
height: 40px;
line-height: 40px;
margin: 13px 0 0 0;
}
input{
background: #FFFFFF;
border: 1px solid #D9D9D9;
padding: 0 14px;
color: #8D8D8D;
width: calc(100% - 29px);
}
a{
display: block;
max-width: 165px;
background: #D8262F;
color: #fff;
text-decoration: none;
text-align: center;
}
}
.cart-price-group{
display: flex;
align-items: center;
justify-content: space-between;
line-height: 20px;
margin: 14px 0;
font-size: 13px;
p{
margin: 0;
}
b{
font-weight: 700;
}
}
.cart-total-price{
font-weight: 700;
}
.cart-btn-group{
text-align: center;
a{
@extend .color-main;
font-weight: 500;
font-size: 13px;
line-height: 16px;
}
}
.btn-submit{
display: block;
margin: 15px 0;
width: 100%;
font-weight: 700;
font-size: 16px;
background: #D8262F;
border-radius: 3px;
color: #fff;
border: 0;
padding: 0;
height: 40px;
}
}
.cart-info-group{
margin: 16px 0;
&:last-child{
margin-bottom: 0;
}
.box-item, .payment-item{
margin-bottom: 35px;
}
.title{
font-weight: 600;
font-size: 20px;
line-height: 24px;
margin-bottom: 10px;
}
.box-item{
input, select{
width: calc(100% - 29px);
height: 40px;
line-height: 40px;
background: #FFFFFF;
border: 1px solid #D9D9D9;
border-radius: 8px;
display: block;
}
input{
padding: 0 14px;
color: #8D8D8D;
margin: 0 0 10px 0;
}
select{
margin: 0 0 10px 0;
width: 100%;
display: block;
padding: 0 10px;
&:last-child{
margin: 0;
}
}
}
.cart-summary-group {
background: #F5F5F5;
padding: 16px;
}
.item-row {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
border-bottom: 1px solid #D9D9D9;
padding: 16px 0;
font-size: 13px;
line-height: 20px;
&:first-child{
padding-top: 0;
}
}
.p-img {
width: 92px;
margin-right: 26px;
text-align: center;
img{
display: block;
margin: auto;
}
a{
font-weight: 300;
font-size: 16px;
line-height: 19px;
color: #8D8D8D;
display: inline-block;
margin-top: 15px;
}
}
.p-text {
width: calc(100% - 118px);
}
.p-name {
display: block;
line-height: 20px;
color: #000;
margin: 0 0 10px 0;
}
.p-price {
font-weight: 600;
font-size: 15px;
line-height: 18px;
color: #D8262F;
margin: 10px 0;
}
.p-variant-item {
line-height: 24px;
margin: 10px 0;
display: flex;
align-items: center;
span{
width: 26px;
height: 26px;
border-radius: 50%;
border: 1px solid #DEDEDE;
margin: 0 15px;
position: relative;
&::before{
content: '';
width: 32px;
height: 32px;
border-radius: 50%;
position: absolute;
border: solid 2px #D8262F;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
}
b{
background-color: #D8262F;
color: #fff;
padding: 2px 10px;
border-radius: 3px;
margin: 0 15px;
text-align: center;
min-width: 37px;
}
}
.p-quantity-group {
margin: 12px 0 0 0;
display: flex;
align-items: center;
p{
margin: 0 10px 0 0;
}
input{
background: #FFFFFF;
border: 1px solid #999999;
border-radius: 5px;
text-align: center;
font-weight: 700;
font-size: 16px;
height: 33px;
width: 55px;
}
}
}