Files
du_an_khach_hang/LaptopTCC/scss/mobile_css.scss

2991 lines
71 KiB
SCSS
Raw Normal View History

2023-12-13 13:53:30 +07:00
*, ::after, ::before {
box-sizing: border-box;
}
body{
color:#000;
font-family: 'Roboto', sans-serif;
background: #F3F3F3;
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;
}
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}
.clearfix{
&::after {
content: '';
clear: both;
display: block;
}
}
.bg-white{
background: #fff !important;
}
.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;
}
.align-items-end{
align-items: flex-end;
}
.align-items-start{
align-items: flex-start;
}
.justify-content-between{
justify-content: space-between;
}
.justify-content-center{
justify-content: center;
}
.overflow-hidden{
overflow: hidden;
}
.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;
}
.m-auto {
margin: auto !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;
}
.hidden-scroll {
&::-webkit-scrollbar{
width: 0;
height: 0;
}
}
.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;
}
.text-underline{
text-decoration: underline;
}
.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::-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;}
.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 .content-text {font-size: 20px;}
.content-container{max-width: calc(100% - 20px);}
.fancybox-thumbs__list a {height: 90px;background-size: 100% 100%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #1781E0}
.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 .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: #118F3E;}
.label-container input:checked ~ .checkmark:after{display:block}
.label-container input:checked ~ .checkmark:after {content: '';width: 8px;height: 8px;background: #118F3E;border-radius: 50%;position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);}
.fancybox-slide--video {padding: 10px;}
.text-white {
color: #fff;
}
.red{
color: #E80E0E;
}
.color-main {
color: #00A551;
}
.bg-main {
background: #00A551;
}
.bg-linear{
background: linear-gradient(270deg, #00A551 0%, #8EB958 102.33%);
}
.bg-linear-animate{
background: repeating-linear-gradient(270deg, #00A551 0%, #8EB958 102.33%);
background-size: 200% auto;
background-position: 0 100%;
animation: 2s linear infinite forwards gradient-bg-antimation;
}
.fancybox-thumbs__list a {height: 90px;background-size: 100% 100%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #1781E0}
.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 .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%);}
.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}
@keyframes gradient-bg-antimation {
0% {background-position: 0 0}
100% {background-position: -200% 0}
}
@keyframes dash {0% {stroke-dashoffset: 0}100% {stroke-dashoffset: 822}}
.bg-content{
overflow: hidden;
position: relative;
&::before{
content: '';
position: absolute;
bottom: 0;
left: -10px;
right: -10px;
background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#fff));
background: linear-gradient(transparent, #fff);
height: 300px;
}
}
.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;
i{
margin-left: 4px;
}
}
}
.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;
}
.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;}
.icons{
background: url(../images/global-sprite.png) no-repeat;
background-size: 250px 250px;
}
.container{
padding: 0 10px;
}
.global-breadcrumb {
padding: 10px 0;
font-size: 12px;
line-height: 14px;
a{
color: #414141;
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content:'/';
padding: 0 10px;
font-weight: 400;
font-size: 12px;
margin-top: 1px;
}
&:last-child{
&::after{
content: none;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
margin: 20px 0 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
a{
width: 38px;
height: 38px;
line-height: 37px;
border-radius: 50%;
background: transparent;
text-align: center;
color: #A3A3A3;
margin: 0 4px;
overflow: hidden;
border: 1px solid #A3A3A3;
font-size: 14px;
&.current{
@extend .bg-linear;
color: #fff;
font-weight: 700;
border-color: transparent;
* {
filter: invert(1) brightness(100);
}
}
}
.icon-prev, .icon-next {
background: url(../images/global-icon-left.png) no-repeat 16px center;
background-size: 7px;
font-size: 0 !important;
display: block;
height: 100%;
background-position: 14px center;
}
.icon-next {
transform: rotate(-180deg);
}
}
.custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
width: 46px;
height: 46px;
background: rgba(0,0,0,0.4) !important;
&.disabled{
display: none;
}
}
.owl-prev {
left: 0;
border-radius: 0 40px 40px 0 !important;
}
.owl-next {
right: 0;
border-radius: 40px 0 0 40px !important;
}
.arrow{
filter: invert(1) brightness(100);
height: 100%;
display: block;
background: url(../images/global-icon-left.png) no-repeat;
background-position: 15px center;
background-size: 9px 17px;
transition: .2s all;
}
.arrow-next{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
margin: 0 !important;
position: absolute;
bottom: 15px;
left: 0;
right: 0;
.owl-dot {
margin: 0 6px 0 0;
width: 8px;
height: 8px;
border-radius: 50px;
transition: .2s all;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.80);
span{
display: none;
}
&.active {
@extend .bg-linear;
border-color: transparent;
}
}
}
}
.pd-custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
width: 18px;
height: 18px;
background: transparent !important;
&.disabled {
opacity: 0.15;
}
}
.owl-prev {
left: -20px;
}
.owl-next {
right: -20px;
}
.arrow{
height: 100%;
display: block;
background: url(../images/global-icon-left.png) no-repeat;
background-size: 9px;
}
.arrow-next{
transform: rotate(180deg);
}
}
}
.p-item{
border-radius: 12px;
border: 1px solid #F5F5F5;
background: #FFF;
padding: 10px;
text-align: center;
font-size: 12px;
line-height: 14px;
overflow: hidden;
a{
display: block;
color: #000;
}
img {
@extend .fit-img;
}
.p-img{
position: relative;
padding-bottom: 100%;
margin: 0 0 7px 0;
}
.p-type-holder{
min-height: 20px;
margin: 0 0 10px 0;
line-height: 20px;
text-align: left;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.p-bestsale {
margin: 0;
border-radius: 20px;
color: #fff;
background: linear-gradient(270deg, #FF7A00 0%, #FFB800 102.33%);
padding: 0 5px;
font-size: 11px;
font-weight: 700;
display: inline-flex;
align-items: center;
&::before{
content: '';
background: url(../images/p-icon-bestsale.png) no-repeat;
background-size: contain;
width: 11px;
height: 12px;
margin-right: 2px;
}
}
.p-name {
@extend .line-clamp-3;
margin: 10px 0;
min-height: 42px;
*{
@extend .inherit;
}
}
.p-price-holder{
margin: 10px 0;
color: #A3A3A3;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
min-height: 40px;
}
.p-price {
color: #E80E0E;
font-size: 16px;
font-weight: 800;
margin: 0 5px 0 0;
line-height: 20px;
u{
font-size: 12px;
line-height: inherit;
display: inline-block;
margin-left: 1px;
}
}
.p-discount {
border-radius: 5px;
background: #E80E0E;
color: #fff;
padding: 0 3px;
font-weight: 500;
line-height: 20px;
}
.p-old-price {
width: 100%;
text-decoration: line-through;
margin-top: 5px;
}
.p-btn-group{
display: flex;
align-items: center;
justify-content: space-between;
line-height: 28px;
}
.p-rate {
margin: 0;
color: #FF7A00;
font-size: 12px;
position: relative;
&::after{
content: "";
background: url(../images/star_rating.png) no-repeat;
background-size: 10px 44px;
width: 10px;
height: 10px;
position: absolute;
right: -12px;
top: 7px;
}
}
.p-btn-add {
width: 28px;
height: 28px;
border-radius: 5px;
background: url(../images/p-icon-cart.png) no-repeat center;
background-color: #F5F5F5;
background-size: 18px;
}
.p-deal-line {
height: 16px;
line-height: 16px;
margin: 0 0 8px;
border-radius: 12px;
background: linear-gradient(90deg, #FF7A00 2.7%, #FFCD9F 100%);
font-size: 11px;
font-style: italic;
font-weight: 500;
color: #fff;
position: relative;
&::before{
content: '';
width: 25px;
height: 25px;
background: url(../images/p-icon-deal-discount.png) no-repeat;
background-size: 25px;
z-index: 1;
position: absolute;
left: -4px;
bottom: -3px;
}
}
.p-deal-time{
border-radius: 12px;
border: 1px dashed #FF7A00;
background: #FFF;
color: #FF7A00;
font-size: 11px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
*{
line-height: 22px;
}
}
.p-deal-countdown{
font-size: 13px;
display: flex;
align-items: center;
b{
font-weight: 700;
margin-left: 3px;
&::after{
content: " :";
}
&:last-child::after{
content: none;
}
}
}
}
.art-item {
background: #fff;
color: #2F2F2F;
font-weight: 300;
line-height: 14px;
font-size: 11px;
display: flex;
flex-wrap: wrap;
a{
display: block;
color: #2F2F2F;
}
img {
@extend .fit-img;
}
.art-img{
width: 48%;
position: relative;
margin: 0 10px 0 0;
padding-bottom: 30%;
border-radius: 12px;
overflow: hidden;
}
.art-text {
width: calc(100% - 48% - 10px);
}
.art-category {
@extend .bg-linear;
display: table;
min-height: 20px;
line-height: 14px;
padding: 3px 10px;
border-radius: 0px 20px;
color: #FFF !important;
text-align: center;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 10px 0;
}
.art-title {
@extend .line-clamp-3;
font-weight: 500;
font-size: 13px;
line-height: 16px;
margin: 0 0 8px;
*{
@extend .inherit;
}
}
.art-summary {
@extend .line-clamp-3;
display: none ;
}
.art-time{
display: inline-flex;
color: #B6B6B6;
font-weight: 400;
margin: 0 10px 0 0;
align-items: center;
&:last-child{
margin: 0;
}
}
.icons {
width: 20px;
height: 15px;
}
.icon-clock {
background-position: -181px -44px;
}
.icon-visit {
background-position: -152px -44px;
}
}
.video-item {
position: relative;
padding-bottom: 60%;
border-radius: 8px;
overflow: hidden;
margin-bottom: 10px;
width: 100%;
&::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(0deg,rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.2) 100%);
z-index: 1;
}
&::after {
content: "";
background: url(../images/icon-video.png) no-repeat center;
background-size: contain;
width: 56px;
height: 56px;
border-radius: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
img {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}
.video-title{
position: absolute;
left: 10px;
right: 10px;
bottom: 10px;
color: #fff;
z-index: 1;
margin: 0;
font-weight: 600;
line-height: 20px;
font-size: 14px;
}
}
.global-header-container{
background: #fff;
padding: 8px 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 99;
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.3);
img{
display: block;
width: auto;
}
.header-logo{
width: 57px;
margin-right: 10px;
}
.header-right-group {
width: 80px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 10px;
.icons {
width: 22px;
height: 30px;
}
}
.cart-count{
width: 14px;
height: 14px;
line-height: 14px;
border-radius: 50%;
text-align: center;
background: linear-gradient(90deg, #FFB800 2.7%, #FFF59F 57.03%, #FFB800 100%);
color: #000;
font-style: normal;
font-weight: 700;
position: absolute;
top: -2px;
right: -5px;
font-size: 12px;
}
.icon-cart {
display: block;
height: 100%;
position: relative;
background-position: -216px -6px;
}
.icon-menu {
background-position: -8px -219px;
}
.icon-search{
@extend .bg-main;
width: 43px;
height: 40px;
border-left: 1px solid #C3C3C3;
position: relative;
&::before{
@extend .icons;
content: '';
display: block;
height: 100%;
background-position: 2px -35px;
}
}
}
.header-search-group{
width: calc(100% - 157px);
margin-right: 10px;
border-radius: 0px 21px 21px 0px;
box-shadow: 0px 0px 0px 1px #C3C3C3;
background: #fff;
position: relative;
border-radius: 21px;
overflow: hidden;
display: flex;
align-items: center;
*{
height: 40px;
border: 0;
margin: 0;
padding: 0;
}
input{
padding: 0 10px;
width: calc(100% - 43px);
}
}
.global-newsletter-container {
background: linear-gradient(270deg, #E3F2E9 0%, #CEE4B4 102.33%);
padding: 20px 0 0;
img{
display: block;
width: auto;
margin: 14px auto 0;
max-height: 160px;
}
.group-title {
font-size: 16px;
font-weight: 700;
line-height: 22px;
text-transform: uppercase;
margin: 0 0 13px 0;
}
.form-holder {
position: relative;
background: #fff;
border-radius: 50px;
display: flex;
justify-content: space-between;
input{
width: calc(100% - 80px);
height: 52px;
padding: 0 15px;
border-radius: 50px 0 0 50px;
margin: 0;
border-color: transparent;
&::placeholder{
color: #A3A3A3;
}
}
a {
@extend .bg-linear;
width: 80px;
line-height: 52px;
text-align: center;
color: #FFF;
text-transform: uppercase;
border-radius: 0 50px 50px 0;
font-weight: 700;
font-size: 13px;
}
}
.newsletter-error{
color: red;
margin-top: 15px;
font-weight: 500;
}
}
.global-footer-container {
background: #fff;
padding: 14px 0;
line-height: 24px;
font-size: 13px;
.item-bct {
img{
display: block;
width: auto;
max-width: 110px;
}
}
.group-title {
font-size: 15px;
font-weight: 600;
line-height: 20px;
margin: 0 0 10px 0;
}
a{
display: table;
color: #000;
}
p{
margin: 0;
}
.address-item{
margin-bottom: 18px;
}
.item{
margin-bottom: 5px;
.group-title{
border-radius: 8px;
background: #F3F3F3;
margin: 0;
line-height: 40px;
position: relative;
padding: 0 10px;
font-size: 13px;
text-transform: unset;
&.active::after{
transform: rotate(0deg);
}
&::after{
content: '\25B2';
font-size: 10px;
position: absolute;
top: -1px;
right: 10px;
transform: rotate(-180deg);
}
}
}
.item-list{
display: none;
padding: 10px 20px;
}
.item-social-media {
margin: 10px 0 0;
.group-title {
margin-top: 18px;
}
}
}
.global-footer-end{
border-top: 1px dashed #D9D9D9;
font-size: 13px;
color: #797979;
line-height: 20px;
padding-top: 10px;
margin-top: 10px;
a{
display: inline-block;
color: inherit;
}
p{
margin: 0;
}
b{
font-weight: 600;
}
}
.footer-social-media{
display: flex;
flex-wrap: wrap;
.icons {
width: 36px;
height: 36px;
margin: 0 8px 0 0;
transition: .3s all;
position: relative;
bottom: 0;
background-size: 500px 500px;
}
.icon-facebook {
background-position: -90px -90px;
}
.icon-youtube {
background-position: -162px -90px;
}
.icon-zalo {
background-position: -234px -90px;
}
.icon-qr {
background-position: -4px -81px;
}
.icon-cash {
background-position: -52px -80px;
}
.icon-clock {
background-position: -94px -81px;
}
.icon-wallet {
background-position: -134px -81px;
}
p{
margin: 0 30px 10px 0;
font-size: 10px;
line-height: 20px;
text-align: center;
&:last-child{
margin-right: 0;
}
.icons{
margin: auto auto 8px;
display: block;
width: 30px;
height: 20px;
background-size: 250px 250px;
position: unset;
}
}
}
.global-fixed-social {
position: fixed;
bottom: 10%;
right: 10px;
z-index: 99;
animation-duration: 1s;
animation-duration: 1s;
animation-fill-mode: both;
transform: translateX(2000px) scale(0.7);
a{
display: block;
}
.icon-mess {
width: 54px;
height: 54px;
margin: 0 0 10px;
background-position: center;
background-repeat: no-repeat;
background-size: 54px;
}
.global-go-top {
background: rgba(139, 185, 88, 0.5);
width: 40px;
height: 40px;
border-radius: 50%;
transition: .3s all;
margin: auto;
display: none;
&::before{
content: '';
display: block;
height: 100%;
transform: rotate(90deg);
background: url(../images/global-icon-left.png) no-repeat;
background-position: center;
background-size: 6px;
filter: brightness(100);
}
}
}
.global-deal-container{
@extend .bg-linear;
margin: 50px 0 10px;
border-radius: 12px;
padding: 70px 10px 20px;
position: relative;
.group-title{
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 8px 0;
margin: -116px auto 0;
.title {
color: #FFF;
text-shadow: 0px 4px 4px rgba(156, 0, 0, 0.96);
font-size: 32px;
font-style: italic;
font-weight: 800;
line-height: 36px;
margin: 0 18px 0 0;
}
}
.icon-clock {
width: 36px;
height: 36px;
margin-right: 7px;
background-repeat: no-repeat;
background-size: 36px;
background-position: center;
animation: tada 1.8s infinite ease-in-out;
}
.deal-time-holder {
margin-top: 7px;
font-weight: 300;
display: flex;
align-items: center;
border-radius: 18px;
box-shadow: 0px 0px 0px 1px #FFF;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.59) 57.29%, rgba(255, 255, 255, 0.80) 96.87%);
padding: 5px 14px;
line-height: 26px;
}
.deal-countdown-holder {
display: flex;
align-items: center;
b{
border-radius: 5px;
background: #000;
color: #fff;
font-size: 18px;
font-weight: 800;
position: relative;
padding: 0 3px;
margin: 0 5px;
height: 26px;
line-height: 27px;
&::after {
content: ":";
position: absolute;
right: -8px;
color: #000;
}
&:last-child{
&::after{
content: none;
}
}
}
}
.global-deal-type {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
a{
margin: 10px 0;
color: #fff;
text-transform: uppercase;
font-weight: 700;
opacity: .7;
padding: 12px;
border: 1px solid #fff;
border-radius: 50px;
width: calc(100% / 2 - 5px);
text-align: center;
&.current {
@extend .color-main;
background: #fff;
opacity: 1;
}
}
}
.btn-deal{
display: table;
margin: 19px auto 0;
color: #fff;
text-decoration-line: underline;
}
.product-holder{
min-height: 280px;
margin: 0 -10px 0 0;
}
}
.homepage{
padding: 10px;
overflow: hidden;
.home-slider-group{
min-height: 22vh;
margin-bottom: 10px;
}
.product-holder{
position: relative;
min-height: 300px;
}
}
.homepage-category-list {
display: flex;
flex-wrap: wrap;
a{
text-align: center;
margin: 0 10px 10px 0;
border-radius: 8px;
border: 1px solid #E3E3E3;
background: linear-gradient(180deg, #FFF 53.65%, #EFEFEF 100%);
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
color: #000;
font-size: 13px;
line-height: 16px;
width: calc(100% / 4 - 8px);
padding: 19px 4px 4px 4px;
&:nth-child(4n){
margin-right: 0;
}
}
.cat-title{
@extend .line-clamp-2;
}
.cat-thumb {
display: block;
width: 28px;
height: 24px;
margin: 0 auto 10px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
}
.home-policy-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.item{
border-radius: 10px;
border: 1px solid #F5F5F5;
background: #FFF;
margin: 0 0 10px 0;
width: calc(100% / 2 - 5px);
line-height: 14px;
font-size: 13px;
padding: 12px 10px;
text-align: center;
&:nth-child(5n){
width: 100%;
}
}
b{
font-weight: 700;
margin-bottom: 4px;
display: block;
}
a{
color: inherit;
display: inline;
}
.text{
margin: 0;
display: block;
}
.icons{
width: 48px;
height: 40px;
margin: 0 auto 8px;
display: block;
}
.icon-1 {
background-position: -207px -117px;
}
.icon-2 {
background-position: -10px -171px;
}
.icon-3 {
background-position: -77px -171px;
}
.icon-4 {
background-position: -140px -171px;
}
.icon-5 {
background-position: -201px -171px;
}
}
.home-collection-container {
margin: 10px 0;
padding: 15px 10px 24px;
border-radius: 12px;
background-size: 100% 100%;
background-repeat: no-repeat;
.group-title{
text-align: center;
margin: 0 0 15px 0;
color: #FFF;
font-size: 24px;
font-style: italic;
font-weight: 300;
line-height: 28px;
text-transform: uppercase;
span{
display: block;
margin: 8px 0 20px;
}
b{
font-size: 36px;
font-weight: 700;
display: inline-block;
line-height: 42px;
}
.text-bg {
border-radius: 31px;
background: linear-gradient(270deg, #F00 0%, #FF7A41 102.33%);
padding: 0 13px;
margin-left: 5px;
}
}
.btn-view {
color: #FFF;
font-size: 14px;
font-weight: 400;
text-decoration-line: underline;
text-transform: uppercase;
display: table;
margin: 20px auto 0;
}
.product-collection{
margin: 0 -10px 0 0;
min-height: 300px;
position: relative;
}
}
.home-product-container{
padding: 25px 10px;
border-radius: 12px;
background: #fff;
margin: 10px 0;
.category-child-holder{
display: flex;
white-space: nowrap;
overflow: auto;
font-size: 12px;
margin: 15px 0;
@extend .hidden-scroll;
a{
color: #000;
margin: 0 34px 0 0;
}
}
.group-title {
@extend .color-main;
margin: 0;
position: relative;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 23px;
padding-bottom: 12px;
display: table;
&::before, &::after{
@extend .bg-linear;
content: "";
height: 8px;
transform: skewX(-20deg);
position: absolute;
bottom: 0;
left: 0;
}
&::before {
width: 5px;
}
&::after{
left: 9px;
right: 0;
}
}
.btn-view{
@extend .color-main;
display: table;
font-size: 12px;
margin: 15px auto 0;
text-decoration: underline;
}
}
.home-article-container{
padding: 20px 10px 10px;
border-radius: 12px;
background: #FFF;
margin: 10px 0;
.group-title{
text-align: center;
line-height: 14px;
margin-bottom: 10px;
.title{
margin: 0 0 9px 0;
font-size: 20px;
line-height: 23px;
font-weight: 700;
text-transform: uppercase;
display: inline-block;
}
a{
color: #00A551;
font-size: 13px;
font-weight: 400;
text-decoration-line: underline;
text-transform: uppercase;
display: table;
margin: auto
}
}
.video-holder {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.video-item{
position: relative;
margin: 10px 0 0 0;
border-radius: 10px;
overflow: hidden;
cursor: pointer;
width: calc(100% / 2 - 5px);
padding-bottom: 30%;
&::before{
content: '';
position: absolute;
inset: 0;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
z-index: 1;
}
&::after{
content: '';
background: url(../images/icon-video.png) no-repeat center;
background-size: contain;
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
&:nth-child(1){
width: 100%;
margin: 0;
padding-bottom: 62%;
&::after {
width: 60px;
height: 60px;
}
.title{
display: block;
font-size: 13px;
position: absolute;
left: 10px;
right: 10px;
bottom: 15px;
white-space: nowrap;
overflow: hidden;
color: #fff;
z-index: 2;
text-overflow: ellipsis;
}
}
.title {
display: none;
}
img{
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}
}
.custom-dots .owl-dots {
margin-top: 10px !important;
position: unset;
.owl-dot {
border-color: #00A551;
}
}
.art-item {
margin-top: 15px;
}
}
.home-customer-review-container {
padding: 50px 10px 12px;
background-color: #fff;
border-radius: 15px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
overflow: hidden;
background-repeat: no-repeat;
background-position: top;
background-size: contain;
font-size: 12px;
line-height: 16px;
margin: 10px 0;
.group-title{
text-align: center;
width: 100%;
margin: 0 0 10px;
line-height: 14px;
p{
margin: 0;
}
.title {
color: #000;
font-size: 20px;
line-height: 23px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 7px;
}
}
.item{
background: #fff;
position: relative;
margin: 65px 0 0 0;
border-radius: 16px;
border: 2px solid #76b657;
padding: 10px 10px 14px;
width: calc(50% - 5px);
&::before{
@extend .color-main;
content: "0" counter(section);
counter-increment: section;
font-size: 36px;
font-weight: 700;
line-height: 42px;
text-decoration-line: underline;
text-transform: uppercase;
background: #fff;
margin: 0 0 12px;
display: block;
position: absolute;
top: -52px;
}
img{
display: block;
width: auto;
border-radius: 15px;
}
}
.item-title{
@extend .bg-linear;
line-height: 14px;
font-size: 11px;
display: table;
border-radius: 16px 0;
color: #FFF;
font-weight: 700;
padding: 9px 5px 9px 8px;
text-transform: uppercase;
margin: 0;
position: relative;
top: -11px;
left: -11px;
}
.item-summary{
margin-bottom: 12px;
}
.btn-view{
@extend .color-main;
display: table;
text-decoration: underline;
margin: 0 0 12px 0;
}
}
.home-introduce-container {
margin: 10px 0;
border-radius: 15px;
background: #FFF;
position: relative;
padding: 0;
font-size: 13px;
line-height: 16px;
border: 3px solid #00A551;
img{
display: block;
width: auto;
border-radius: 15px;
}
svg {
width: 100%;
}
.introduce-content-holder {
padding: 0 10px;
margin-top: -20px;
}
.introduce-line-top{
svg:last-child{
margin-top: -80px !important;
}
}
.introduce-line-bottom {
margin: -40px 0 0 0;
max-height: 122px;
}
p{
margin: 0 0 12px;
}
.title {
font-size: 20px;
line-height: 23px;
font-weight: 700;
margin: 0 0 18px;
}
.quote {
border-radius: 20px 0px;
background: linear-gradient(270deg, rgba(0, 165, 81, 0.25) 0%, rgba(142, 185, 88, 0.25) 102.33%);
padding: 16px;
margin-bottom: 12px;
}
}
.home-customer-images-container {
margin: 10px 0;
img{
display: block;
margin: auto;
width: 100%;
}
.col-left {
margin: 0 0 12px;
img {
border-radius: 15px;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.25);
}
}
.col-right{
padding: 10px;
border-radius: 15px;
background: linear-gradient(90deg, #00A551 0%, #FFB446 100%);
}
.owl-theme {
.active {
span{
background: linear-gradient(90deg, #FFB800 2.7%, #FFF59F 57.03%, #FFB800 100%) !important;
border-color: transparent !important;
}
}
span {
width: 8px !important;
height: 8px !important;
border: 1px solid #D9D9D9 !important;
background: transparent !important;
margin: 0 3px !important;
}
}
}
.deal-page {
.global-deal-container {
margin-top: 35px;
.group-title {
margin: -91px auto 0;
}
}
.product-holder {
margin: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.p-item{
margin-bottom: 10px;
width: calc(50% - 5px);
}
.paging {
a{
border-color: #fff;
color: #fff;
*{
filter: brightness(100);
}
&.current {
background: linear-gradient(90deg, #FFB800 2.7%, #FFF59F 57.03%, #FFB800 100%);
border-color: transparent;
color: #000;
* {
filter: unset;
}
}
}
}
}
.product-page {
.product-banner-group {
margin-bottom: 13px;
min-height: 10vh;
img{
border-radius: 12px;
}
}
.product-content-container {
padding: 10px;
background: #fff;
border-radius: 12px;
margin: 10px 0;
}
.product-holder{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.p-item{
margin: 0 0 10px 0;
width: calc(100% / 2 - 5px);
}
.static-html-container {
padding: 15px 0 10px 0;
font-size: 13px;
margin-top: 35px;
border-top: 2px solid #00A551;
}
}
.static-html-container{
position: relative;
font-size: 13px;
.static-content{
*{
font-family: inherit !important;
line-height: inherit !important;
}
}
.btn-static-group{
text-align: center;
margin-top: 14px;
a{
color: #00A551;
font-size: 13px;
line-height: 16px;
text-decoration-line: underline;
text-transform: uppercase;
display: none;
}
}
}
.product-category-child {
@extend .hidden-scroll;
margin: 13px 0 20px;
display: flex;
font-size: 13px;
line-height: 15px;
overflow: auto;
.item{
color: #000;
margin: 0;
padding: 0 10px;
text-align: center;
margin: 0 13px 0 0;
width: 70px;
}
.title {
@extend .inherit;
}
.image{
display: block;
width: 50px;
height: 50px;
border-radius: 50%;
position: relative;
margin: 0 auto 7px auto;
overflow: hidden;
background: #FFF;
background-repeat: no-repeat;
background-position: center;
background-size: 28px;
}
}
.product-sort-group {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
border-radius: 12px;
background: #FFF;
padding: 5px 10px;
font-size: 13px;
.box-left, .box-right {
padding: 5px 0;
display: flex;
align-items: center;
}
.btn-filter{
color: #000;
line-height: 33px;
border-radius: 8px;
border: 1px solid #F5F5F5;
background: #FFF;
padding: 0 10px;
display: inline-flex;
align-items: center;
margin-right: 10px;
&::before{
@extend .icons;
content: "";
width: 20px;
height: 20px;
background-position: -216px -44px;
margin-right: 3px;
}
}
select {
height: 34px;
border-radius: 8px;
border: 1px solid #F5F5F5;
background: #FFF;
padding: 0 5px;
}
.box-right {
.icons {
width: 30px;
height: 30px;
background-color: #F3F3F3;
margin: 0 0 0 5px;
border-radius: 8px;
overflow: hidden;
position: relative;
&.current{
&::before {
content: '';
display: block;
width: 100%;
height: 100%;
@extend .bg-linear;
}
&::after{
content: '';
background: inherit;
position: absolute;
inset: 0;
z-index: 1;
filter: brightness(100);
background-color: transparent;
}
}
}
}
.icon-grid {
background-position: -174px -75px;
}
.icon-list {
background-position: -211px -75px;
}
}
.product-filter-container{
background: #fff;
z-index: -99;
padding: 10px;
position: fixed;
bottom: -100%;
left: 0;
right: 0;
top: 100%;
transition: .15s all;
&.active {
transition: .15s all;
bottom: 0;
top: 0;
z-index: 999;
}
.filter-footer {
border-top: 1px solid #e1e1e1;
padding: 10px 0;
text-align: center;
display: flex;
justify-content: space-between;
margin-top: 10px;
font-weight: 500;
a {
width: calc(50% - 5px);
line-height: 34px;
padding: 0 10px;
color: #000;
box-shadow: 0px 0px 0px 1px #e5e5e5;
border-radius: 8px;
&:first-child{
color: #E80E0E;
box-shadow: 0px 0px 0px 1px #E80E0E;
}
}
}
.filter-content {
height: calc(100% - 65px);
overflow: auto;
}
.filter-item {
margin-bottom: 20px;
&.active {
.filter-list a{
display: flex;
}
}
}
.filter-title {
font-weight: 500;
margin-bottom: 10px;
}
.filter-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
a{
width: calc(50% - 10px);
margin: 0 0 10px 0;
color: #000;
line-height: 18px;
border: 1px solid #d5d5d5;
border-radius: 8px;
text-align: center;
font-size: 13px;
padding: 8px 10px;
display: flex;
align-items: center;
justify-content: center;
&:nth-child(n+7){
display: none;
}
}
.current{
@extend .bg-linear;
color: #fff;
border-color: transparent;
}
}
.btn-filter{
@extend .color-main;
display: block;
text-align: center;
position: relative;
line-height: 30px;
margin-top: 5px;
&::before{
content: 'Xem thêm +';
padding: 0 20px;
background: #fff;
text-decoration: underline;
}
&::after{
content: '';
height: 1px;
background: #d5d5d5;
width: 100%;
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
z-index: -1;
}
&.active{
&::before{
content: 'Thu gọn -';
}
}
}
}
.product-detail-page {
.pd-box-group{
border-radius: 12px;
background: #FFF;
margin: 0 0 10px 0;
padding: 10px;
}
.page-title {
font-size: 18px;
font-weight: 700;
line-height: 21px;
margin: 0 0 15px;
width: 100%;
}
.pd-price-group{
margin: 10px 0;
line-height: 21px;
font-size: 13px;
*{
display: inline-block;
}
}
.pd-price {
@extend .red;
font-size: 32px;
font-weight: 800;
margin: 0 10px 5px 0;
u{
font-size: 20px;
vertical-align: middle;
}
}
.pd-old-price {
margin: 0 10px 5px 0;
color: #A3A3A3;
font-size: 18px;
}
.pd-discount {
color: #fff;
border-radius: 5px;
background: #E80E0E;
font-weight: 500;
padding: 0 3px;
vertical-align: text-bottom;
}
.pd-desc-group, .pd-spec-group, .pd-comment-container {
.group-title{
border-bottom: 1px solid #F5F5F5;
font-size: 16px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
margin: 0 -10px 13px;
padding: 5px 10px 0;
span{
display: inline-block;
padding-bottom: 7px;
border-bottom: 1px solid #00A551;
}
}
}
.static-html-container {
margin: 0 -10px;
.static-content {
padding: 0 10px;
}
.group-title{
margin: 0 0 13px;
}
}
.pd-desc-group {
line-height: 20px;
.static-html-container {
padding: 0;
margin-bottom: 30px;
&::before{
content: none;
}
}
}
.pd-spec-group {
.btn-show {
display: block;
text-align: center;
line-height: 30px;
margin-top: 10px;
color: #00A551;
text-transform: uppercase;
}
}
.pd-spec-holder {
padding: 0;
tr{
&:nth-child(n+12){
display: none;
}
}
}
}
.pd-image-large {
border-radius: 15px;
margin-bottom: 24px;
overflow: hidden;
position: relative;
border: 6px solid #92c26c;
border-left: 6px solid #519064;
border-right: 6px solid #519064;
img{
border-radius: 10px;
}
}
.pd-gallery-holder{
padding: 0 20px;
margin: 20px 0;
.item{
display: block;
overflow: hidden;
border-radius: 15px;
border: 1px solid #D9D9D9;
&.mz-thumb-selected {
border: 2px solid #00A551;
}
}
img{
filter: unset !important;
}
}
.pd-summary-group {
font-size: 13px;
line-height: 16px;
margin: 0 0 15px;
.pd-summary-btn{
@extend .color-main;
display: table;
text-decoration: underline;
&::before{
content: 'Xem thêm +';
}
&.active::before{
content: 'Thu gọn -';
}
}
.pd-summary-list {
&.active {
.item{
display: block;
}
}
}
.item{
margin-bottom: 10px;
position: relative;
padding-left: 12px;
&::before{
content: '\25CF';
font-size: 6px;
position: absolute;
top: -1px;
left: 0;
}
&:nth-child(n+6){
display: none;
}
}
}
.pd-deal-price-group {
border-radius: 15px;
background: linear-gradient(270deg, #F00 0%, #FF7A41 102.33%);
margin: 15px 0;
padding: 8px 16px 14px;
color: #fff;
font-size: 13px;
font-weight: 300;
line-height: 26px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
.pd-deal-price{
margin: 0 0 4px;
*{
display: inline-block;
}
> span {
min-width: 90px;
}
b{
font-size: 28px;
font-weight: 700;
line-height: 33px;
u{
vertical-align: middle;
font-size: 16px;
}
}
}
.p-deal-old-price{
font-weight: 400;
margin-right: 10px;
}
.p-deal-discount{
color: #E80E0E;
font-weight: 500;
background: #fff;
padding: 0 3px;
display: inline-block;
min-width: unset !important;
border-radius: 5px;
line-height: 20px;
}
.pd-deal-time {
margin-bottom: 4px;
}
.pd-deal-time, .pd-deal-countdown{
display: flex;
align-items: center;
}
.pd-deal-countdown{
b{
margin: 0 0 0 10px;
background: #fff;
border-radius: 5px;
padding: 4px 3px;
position: relative;
color: #E80E0E;
font-size: 18px;
font-weight: 800;
line-height: 17px;
&::before{
content: ':';
color: #fff;
position: absolute;
left: -8px;
}
&:first-child{
&::before{
content: none;
}
}
}
}
.pd-deal-info{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
font-style: italic;
font-weight: 600;
margin-top: 10px;
white-space: nowrap;
}
.pd-deal-line {
border-radius: 12px;
background: #FFF7AF;
max-width: 270px;
width: 100%;
height: 16px;
position: relative;
margin-right: 10px;
}
.pd-deal-icon {
height: 16px;
border-radius: 20px;
position: absolute;
inset: 0;
width: 0;
background: #FFD600;
max-width: 100%;
min-width: 10px;
&::before{
content: '';
background: url(../images/p-icon-deal-discount.png) no-repeat right;
background-size: 25px;
width: 25px;
height: 25px;
position: absolute;
bottom: -3px;
right: -11px;
}
}
}
.pd-status-group{
margin: 0 0 18px;
font-size: 12px;
line-height: 14px;
b{
font-weight: 600;
}
p{
display: inline-block;
margin: 0 20px 10px 0;
}
}
.pd-config_group-holder {
margin: 0 0 15px 0;
font-size: 13px;
line-height: 16px;
.group-title {
display: block;
}
.pd-config_group-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
text-align: center;
a{
margin: 11px 0 0 0;
width: calc(100% / 2 - 4px);
padding: 10px;
border-radius: 8px;
border: 1px solid #D9D9D9;
background: #FFF;
color: #000;
&.current{
border: 2px solid #00A551;
@extend .color-main;
}
}
.title{
@extend .line-clamp-2;
margin-bottom: 4px;
}
.price {
@extend .red;
font-size: 15px;
font-weight: 800;
line-height: 18px;
u{
font-size: 12px;
vertical-align: middle;
}
}
}
}
.pd-offer-group {
margin: 36px 0 18px;
border-radius: 15px;
border: 1px dashed #00A551;
background: #FFF;
padding: 34px 20px 14px;
position: relative;
font-size: 13px;
line-height: 20px;
.group-title {
@extend .bg-main;
border-radius: 20px;
margin: 0;
color: #FFF;
line-height: 38px;
font-size: 13px;
font-weight: 700;
text-align: center;
padding: 0 15px;
position: absolute;
top: -20px;
left: 20px;
}
.item{
position: relative;
padding-left: 35px;
margin-bottom: 5px;
&:last-child{
margin: 0;
}
&::before{
content: "";
width: 16px;
height: 10px;
border: 3px solid #00A551;
border-top: 0;
border-right: 0;
position: absolute;
top: 2px;
left: 0;
transform: rotate(-45deg);
}
}
}
.pd-quantity-group{
margin: 14px 0;
display: flex;
align-items: center;
p{
margin: 0 22px 0 0;
}
.quanity-change-group{
display: flex;
align-items: center;
border-radius: 5px;
box-shadow: 0px 0px 0px 1px #D9D9D9;
background: #FFF;
text-align: center;
width: 102px;
a{
line-height: 40px;
width: 28px;
color: #000;
font-weight: bold;
}
input{
width: 46px;
height: 40px;
margin: 0;
padding: 0;
border: 0;
border-left: 1px solid #CECECE;
border-right: 1px solid #CECECE;
text-align: center;
}
}
}
.pd-btn-group {
margin: 14px 0;
a{
margin: 0 0 8px;
display: block;
text-align: center;
color: #000;
border-radius: 10px;
line-height: 21px;
border: 1px solid transparent;
background: #fff;
padding: 8px;
font-size: 13px;
b{
font-weight: 700;
font-size: 18px;
display: block;
}
span{
display: block;
line-height: 15px;
}
}
.btn-buynow {
@extend .bg-linear;
line-height: 52px;
color: #fff;
padding: 0;
}
.btn-add-cart {
border-color: #00A551;
color: #00A551;
}
.btn-pay-install {
background: #286ED6;
border-color: transparent;
color: #fff;
}
.btn-credit {
background: linear-gradient(90deg, #FFB800 2.7%, #FFF59F 57.03%, #FFB800 100%);
img{
display: inline-block;
margin: 0 4px;
width: auto;
height: 14px;
}
}
}
.pd-static-item {
margin-bottom: 16px;
border-radius: 15px;
overflow: hidden;
background: linear-gradient(90deg, #FFB446 0%, #00A551 100%);
padding: 2px;
img{
display: block;
width: auto;
margin: auto;
}
.item-video{
background: #fff;
padding: 12px;
border-radius: 0 0 13px 13px;
a{
display: block;
position: relative;
padding-bottom: 100%;
&::before{
content: '';
position: absolute;
inset: 0;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
z-index: 1;
}
&::after{
content: "";
background: url(../images/icon-video.png) no-repeat center;
background-size: contain;
width: 56px;
height: 56px;
line-height: 30px;
border-radius: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
}
img{
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}
}
.group-title{
font-size: 15px;
line-height: 18px;
font-weight: bold;
text-align: center;
margin: 0;
padding: 12px;
color: #fff;
}
.item-summary{
background: #fff;
text-align: center;
padding: 20px;
border-radius: 13px;
font-size: 15px;
line-height: 20px;
.title{
color: #00A551;
font-weight: 800;
text-transform: uppercase;
margin: 0;
}
p{
margin: 0 0 10px 0;
}
a{
display: table;
margin: 10px auto 14px;
color: #FF7A00;
font-size: 24px;
font-weight: 700;
}
.pd-btn-support{
display: block;
margin: 14px 0 0 0;
border-radius: 5px;
border: 1px solid #FF7A00;
background: #FFF;
font-size: 15px;
text-transform: uppercase;
font-weight: 400;
line-height: 32px;
transition: .2s all;
&:hover{
background: #FF7A00;
color: #fff;
}
}
}
.static-line{
font-weight: 300;
position: relative;
margin: 14px 0 8px;
&::before{
content: '';
background: #D9D9D9;
height: 1px;
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
}
span{
padding: 0 12px;
background: #fff;
position: relative;
}
}
}
.pd-spec-holder {
padding: 10px;
line-height: 20px;
font-size: 13px;
*{
margin: 0;
font-weight: inherit !important;
line-height: inherit !important;
}
tr{
&:nth-child(odd){
background: #F3F3F3;
td{
&:first-child{
border-radius: 5px 0 0 5px;
}
&:last-child{
border-radius: 0 5px 5px 0;
}
}
}
}
td{
padding: 10px 12px;
vertical-align: baseline;
&:nth-child(1){
font-weight: bold !important;
min-width: 100px;
}
}
}
.pd-product-tab-container {
min-height: 380px;
.tab-title-group{
@extend .hidden-scroll;
padding: 5px 10px 0;
margin: 0 -10px;
border-bottom: 1px solid #F5F5F5;
margin-bottom: 10px;
display: flex;
white-space: nowrap;
overflow: auto;
a{
margin-right: 27px;
color: #5B5B5B;
font-size: 16px;
font-weight: 700;
line-height: 23px;
padding-bottom: 11px;
border-bottom: 1px solid transparent;
&.active{
@extend .color-main;
border-color: #00A551;
}
}
}
.box-product-holder {
position: relative;
display: none;
}
}
.article-page {
padding-bottom: 10px;
.article-category-list {
@extend .hidden-scroll;
display: flex;
white-space: nowrap;
overflow: auto;
a{
margin: 0 6px 10px 0;
border-radius: 0px 24px;
color: #000;
background: #FFF;
padding: 0 14px;
line-height: 32px;
white-space: nowrap;
display: flex;
align-items: center;
&.current {
@extend .bg-linear;
color: #fff;
.image {
filter: brightness(100);
}
}
}
.image {
width: 14px;
height: 14px;
margin-right: 5px;
background-repeat: no-repeat;
background-position: center;
background-size: 14px auto;
}
.title{
@extend .inherit;
font-size: 11px;
font-weight: 600;
color: inherit;
}
}
.article-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.top-article-group, .article-cate-container {
padding: 10px;
border-radius: 12px;
background: #fff;
margin-bottom: 10px;
}
.art-item{
padding: 8px 0;
}
}
.top-article-group{
.group-title{
font-size: 20px;
font-weight: 700;
text-transform: uppercase;
line-height: 23px;
margin-bottom: 14px;
}
.art-item{
&:first-child{
display: block;
padding: 0;
.art-img, .art-text {
width: 100%;
margin: 0 0 14px 0;
}
.art-img{
padding-bottom: 62%;
}
.art-summary {
display: block;
margin: 8px 0;
color: #2F2F2F;;
}
}
}
}
.article-cate-container {
.group-title {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
margin: 0 0 14px;
font-size: 13px;
a{
@extend .color-main;
margin-top: 10px;
text-decoration: underline;
}
.title {
font-size: 20px;
font-weight: 700;
line-height: 23px;
text-transform: uppercase;
position: relative;
padding-left: 32px;
margin: 10px 0 0;
&::before{
@extend .icons;
content: "";
width: 22px;
height: 24px;
position: absolute;
left: 0;
background-position: -6px -93px;
background-size: 200px 200px;
}
}
}
}
.article-category-page {
.category-page-title {
display: flex;
align-items: center;
margin-bottom: 14px;
.title{
font-size: 20px;
font-weight: 700;
line-height: 23px;
text-transform: uppercase;
margin: 0;
}
.image{
width: 20px;
height: 20px;
margin-right: 5px;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
}
.top-article-group{
padding: 0;
margin: 0;
}
}
.article-detail-page {
.col-left, .col-right, .article-related-container {
border-radius: 15px;
background: #FFF;
margin-bottom: 10px;
padding: 10px;
}
.col-right {
.group-title {
text-transform: uppercase;
margin: 7px -10px 15px;
border-bottom: 1px solid #F5F5F5;
padding: 0 10px;
*{
border-bottom: 1px solid #00A551;
padding-bottom: 10px;
display: inline-block;
}
}
}
.header-search-group{
width: 100%;
margin: 0 0 10px;
form {
display: flex;
justify-content: space-between;
width: 100%;
border-radius: 21px;
overflow: hidden;
*{
height: 42px;
}
}
button{
@extend .bg-linear;
color: #fff;
border: 0;
padding: 0;
margin: 0;
font-weight: 700;
font-size: 13px;
white-space: nowrap;
width: 100px;
}
input{
width: calc(100% - 100px);
}
}
.page-title, .group-title{
font-size: 20px;
font-weight: 700;
line-height: 23px;
margin: 10px 0;
}
.art-detail-time{
p{
margin: 0 20px 15px 0;
display: inline-flex;
color: #B6B6B6;
font-weight: 400;
font-size: 13px;
align-items: center;
}
.icons {
width: 20px;
height: 15px;
}
.icon-clock {
background-position: -181px -44px;
}
.icon-visit {
background-position: -152px -44px;
}
}
.art-detail-content {
*{
font-family: inherit !important;
line-height: inherit !important;
}
}
}
.article-related-container {
.group-title {
text-transform: uppercase;
margin: 7px 0 15px;
}
.art-item{
display: block;
padding: 0;
.art-img, .art-text {
width: 100%;
margin: 0 0 14px 0;
}
.art-img{
padding-bottom: 62%;
}
}
.custom-dots .owl-dots {
margin-top: 10px !important;
position: unset;
.owl-dot {
border-color: #00A551;
}
}
}
@media (max-width: 320px) {
.art-item {
display: block;
.art-img, .art-text {
width: 100%;
margin: 0 0 10px 0;
}
.art-img{
padding-bottom: 62%;
}
.art-category{
text-align: left;
font-size: 8px;
margin: 0 0 5px 0;
}
.art-title{
font-size: 11px;
line-height: 13px;
}
.art-time {
display: flex;
margin: 5px 0;
}
}
.global-header-container {
.header-logo {
width: 40px;
}
.header-right-group {
width: 60px;
padding: 0;
}
}
.header-search-group {
width: calc(100% - 120px);
}
.homepage-category-list {
a {
width: calc(100% / 3 - 7px);
&:nth-child(4n){
margin-right: 10px;
}
&:nth-child(3n){
margin-right: 0;
}
}
}
.global-deal-container {
.global-deal-type a{
padding: 10px 0;
font-size: 12px;
}
}
.home-customer-review-container {
padding-top: 30px;
.group-title {
font-size: 10px;
.title{
font-size: 16px;
line-height: 18px;
}
}
.item{
width: 100%;
}
}
.home-introduce-container {
font-size: 12px;
line-height: 14px;
.introduce-line-top {
margin-top: -20px;
}
.introduce-line-bottom {
max-height: 110px;
}
.title {
font-size: 16px;
line-height: 19px;
margin: 0 0 13px;
}
}
}