Files
du_an_khach_hang/LaptopTCC/scss/pc_style.scss

3100 lines
75 KiB
SCSS
Raw Normal View History

2023-12-13 13:53:30 +07:00
body{
color:#000;
font-family: 'Roboto', sans-serif;
background: #F3F3F3;
position: relative;
font-size: 14px;
min-width: 1212px;
word-break: break-word;
counter-reset: section;
font-weight: 400;
overflow-x: hidden;
}
::-webkit-scrollbar-track{background:#f5f5f5;}
::-webkit-scrollbar-thumb{background: grey;border-radius:5px;}
::-webkit-scrollbar-thumb:hover{background:#00a40f;}
::-webkit-scrollbar{width: 13px;height:10px;}
.clearfix{
&::after{
content:'';clear:both;display:block
}
}
.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}
.fit-img{width: auto;position: absolute;top: 0;left: 0;right: 0;bottom: 0;max-width: 100%;max-height: 100%;margin: auto;display: block;}
.hover-img a{position:relative;overflow:hidden;display:block}
.hover-img a::before{content:"";position:absolute;top:0;left:-15%;bottom:0;width:0;height:100%;background-color:rgba(255,255,255,0.5);-webkit-transition:none;transition:none;-webkit-transform:skewX(-25deg);transform:skewX(-10deg)}
.hover-img a:hover::before{width:120%;background-color:rgba(255,255,255,0);-webkit-transition:all .45s ease-out;transition:all .45s ease-out;z-index:2}
.scale-img{display:block;overflow:hidden}
.scale-img:hover img{-webkit-transform:scale(1.3);transform:scale(1.3)}
.scale-img img{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:.3s all;transition:.3s all}
.content-container {max-width: 500px;min-height: 300px;}
@keyframes gradient-bg-antimation {
0% {background-position: 0 0}
100% {background-position: -200% 0}
}
.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: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%);}
.container {
max-width: 1216px;
min-width: 1216px;
}
.row {
margin: 0 -8px;
}
.container, .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
padding: 0 8px;
}
.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;
}
.global-breadcrumb {
padding: 10px 0;
font-size: 12px;
line-height: 14px;
a{
color: #414141;
&:hover{
@extend .color-main;
}
}
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: 33px 0 16px;
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;
&:hover, &.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;
}
&:hover{
background: #00a551 !important;
}
}
.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: 21px;
.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,&:hover{
@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;
&:hover{
background: unset !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: 15px;
border: 1px solid #F5F5F5;
background: #FFF;
padding: 10px 10px 15px 10px;
text-align: center;
font-size: 13px;
overflow: hidden;
a{
display: block;
color: #000;
}
img {
@extend .fit-img;
}
.p-img{
position: relative;
padding-bottom: 100%;
margin: 0 0 10px 0;
}
.p-type-holder{
min-height: 20px;
margin: 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-2;
font-size: 13px;
line-height: 16px;
margin: 10px 0;
min-height: 32px;
&:hover{
@extend .color-main;
}
*{
@extend .inherit;
}
}
.p-price-holder{
margin: 10px 0 16px;
color: #A3A3A3;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: 42px;
}
.p-price {
color: #E80E0E;
font-size: 20px;
font-weight: 800;
margin: 0 5px 0 0;
line-height: 20px;
u{
font-size: 15px;
line-height: inherit;
display: inline-block;
margin-left: 1px;
}
}
.p-discount {
border-radius: 5px;
background: #E80E0E;
color: #fff;
padding: 0 3px;
font-size: 13px;
font-weight: 500;
line-height: 20px;
}
.p-old-price {
width: 100%;
line-height: 16px;
text-decoration: line-through;
margin-top: 6px;
font-size: 14px;
}
.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;
&:hover{
filter: invert(128) brightness(2) sepia(1);
}
}
.p-deal-line {
height: 16px;
line-height: 16px;
margin: 0 0 6px;
border-radius: 12px;
background: linear-gradient(90deg, #FF7A00 2.7%, #FFCD9F 100%);
font-size: 12px;
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: 12px;
display: flex;
align-items: center;
justify-content: center;
*{
line-height: 21px;
}
}
.p-deal-countdown{
font-size: 14px;
display: flex;
align-items: center;
b{
font-weight: 700;
margin-left: 3px;
&::after{
content: " :";
}
&:last-child::after{
content: none;
}
}
}
}
.art-item {
background: #fff;
border-radius: 15px;
padding: 16px;
color: #2F2F2F;
font-weight: 300;
line-height: 20px;
a{
display: block;
color: #2F2F2F;
&:hover{
@extend .color-main;
}
}
img {
@extend .fit-img;
}
.art-img{
position: relative;
margin: 0 0 12px;
padding-bottom: 62%;
border-radius: 15px;
overflow: hidden;
}
.art-category {
@extend .bg-linear;
display: table;
min-height: 22px;
line-height: 22px;
padding: 0 15px;
border-radius: 0px 20px;
color: #FFF !important;
text-align: center;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 10px 0;
}
.art-title {
@extend .line-clamp-2;
font-weight: 500;
margin: 0 0 6px;
*{
@extend .inherit;
}
}
.art-summary {
@extend .line-clamp-3;
margin: 0 0 10px;
}
.art-time{
display: inline-flex;
color: #B6B6B6;
font-weight: 400;
font-size: 13px;
margin: 0 30px 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;
}
}
.global-fixed-social {
position: fixed;
bottom: 40%;
right: 10px;
z-index: 10000;
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;
&:hover{
background: rgba(139, 185, 88, 1);
}
&::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-address-list{
color: #000;
p{
margin: 0;
}
a{
color: #000;
display: table;
&:hover{
@extend .color-main;
}
}
.address-item {
font-size: 13px;
line-height: 24px;
margin-bottom: 25px;
}
.group-title {
font-size: 15px;
font-weight: 600;
line-height: 20px;
margin: 0 0 12px 0;
}
}
.global-header-top{
@extend .bg-main;
color: #fff;
line-height: 36px;
font-size: 13px;
.col-left{
margin: 0;
font-style: italic;
font-weight: 700;
}
.col-right{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
}
.global-address-list{
transition: 0.2s all;
position: absolute;
top: calc(100% + 30px);
left: 8px;
right: 8px;
background: #fff;
z-index: 1;
border-radius: 0 0 10px 10px;
padding: 20px;
display: flex;
flex-wrap: wrap;
box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
z-index: -2;
opacity: 0;
visibility: hidden;
}
.item-group{
&:hover{
.global-address-list {
opacity: 1;
visibility: visible;
z-index: 4;
top: 100%;
}
}
}
.address-item {
width: 50%;
font-size: 14px;
}
.item-group{
margin-right: 25px;
.item{
margin: 0;
}
}
.item{
color: #fff;
margin-right: 25px;
display: flex;
align-items: center;
&:last-child{
margin: 0;
}
}
.icons {
width: 18px;
height: 16px;
}
.icon-map {
background-position: -8px -8px;
}
.icon-bag {
background-position: -36px -8px;
}
.icon-news {
background-position: -67px -8px;
margin-right: 3px;
}
.icon-bolt {
background-position: -97px -8px;
}
}
.global-header-container {
min-height: 102px;
background: #fff;
padding: 16px 0;
top: -50px;
transition: .2s all;
img{
display: block;
width: auto;
}
.container, .col-right, .col-left{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
z-index: 3;
}
.container {
flex-wrap: nowrap;
}
.col-left {
width: 230px;
margin-right: 16px;
}
.col-right {
width: calc(100% - 811px);
flex-wrap: nowrap;
white-space: nowrap;
.icons{
width: 22px;
height: 22px;
margin-right: 6px;
}
}
.header-logo{
margin-right: 16px;
width: 170px;
}
.item-title{
margin: 0 13px 0 0;
display: flex;
align-items: center;
font-size: 12px;
line-height: 42px;
color: #000;
cursor: pointer;
&:hover{
@extend .color-main;
}
}
.col-right-item{
margin-right: 16px;
position: relative;
&:hover{
.sub-item-group {
top: 100%;
opacity: 1;
visibility: visible;
z-index: 4;
}
.item-title {
@extend .bg-linear-animate;
}
}
.item-title{
background: repeating-linear-gradient(270deg, #FFB800 0%, #FF7A41 102.33%);
background-size: 200% auto;
background-position: 0 100%;
animation: 2s linear infinite forwards gradient-bg-antimation;
border-radius: 30px;
padding: 0 12px;
color: #fff;
margin: 0;
}
}
.sub-item-group {
padding: 6px 20px 6px 12px;
border-radius: 10px;
background: #FFF;
box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.25);
position: absolute;
top: calc(100% + 30px);
left: 0;
right: 0;
transition: .2s all;
opacity: 0;
visibility: hidden;
z-index: -1;
min-width: 150px;
a{
display: block;
color: #000;
font-weight: 500;
line-height: 18px;
white-space: nowrap;
margin: 5px 0;
&:hover{
@extend .color-main;
*{
color: inherit;
}
}
}
b{
color: #FF7A00;
}
}
.item-cart{
border-radius: 21px;
border: 1px solid #00A551;
background: #FFF;
padding: 0 10px 0 6px;
margin: 0;
}
.cart-count{
width: 14px;
height: 14px;
line-height: 15px;
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: -4px;
right: -4px;
}
.icon-phone {
background-position: -131px -8px;
animation: phonering 1.8s infinite ease-in-out;
}
.icon-order {
background-position: -175px -9px;
}
.icon-cart {
background-position: -216px -9px;
position: relative;
}
}
.header-search-group{
width: 549px;
margin-right: 16px;
form{
border-radius: 50px;
box-shadow: 0px 0px 0px 1px #C3C3C3;
background: #FFF;
display: flex;
justify-content: space-between;
position: relative;
*{
height: 42px;
border: 0;
margin: 0;
}
}
input{
padding: 0 15px;
width: 485px;
border-radius: 50px 0 0 50px;
&::placeholder {
color: #C9C9C9;
}
}
button{
border-radius: 0 50px 50px 0;
width: 105px;
@extend .bg-main;
color: #fff;
border-left: #C3C3C3;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
bottom: 0;
right: 0;
&::before{
@extend .icons;
content: '';
width: 22px;
height: 22px;
background-position: -9px -44px;
}
}
}
.global-menu-container{
z-index: 1;
margin: 0;
width: 43px;
&::after {
content: '';
padding: 20px 27px;
position: absolute;
margin: 30px 0 0 -55px;
}
&:hover{
.menu-list{
display: block;
}
}
.group-title{
@extend .bg-main;
color: #fff;
margin: 0;
line-height: 42px;
border-radius: 7px;
padding: 0 7px 0 36px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
position: relative;
font-size: 0;
white-space: nowrap;
display: inline-block;
&::before{
content: "";
position: absolute;
top: 11px;
left: 10px;
height: 20px;
width: 20px;
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
}
&::after{
content: "";
width: 14px;
height: 2px;
background: #fff;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 10px;
}
}
.menu-list{
display: none;
position: absolute;
width: 230px;
height: 502px;
top: 100%;
left: 8px;
z-index: 5;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
border-radius: 15px;
}
a{
color: #000;
display: table;
&:hover{
@extend .color-main;
}
}
.cat-item{
height: calc(100% / 8);
&:last-child{
border-color: transparent;
}
&:first-child{
.cat-1 {
border-radius: 15px 15px 0 0;
}
}
&:last-child{
.cat-1 {
border-radius: 0 0 15px 15px;
}
}
&:hover{
.cat-1{
border-color: #00A551;
&::before {
right: -15px;
}
&::after{
right: 11px;
filter: invert(1) brightness(100);
}
}
.sub-menu{
display: flex;
}
}
}
.cat-1 {
color: #000 !important;
height: 100%;
display: flex;
align-items: center;
background: #fff;
padding: 0 50px 0 15px;
position: relative;
font-size: 13px;
line-height: 17px;
overflow: hidden;
border-bottom: 1px solid #F5F5F5;
&::before{
@extend .bg-linear;
content: "";
width: 50px;
position: absolute;
top: 0;
bottom: 0;
right: -100%;
transform: skewX(26deg);
transition: .25s all;
}
}
.cat-2{
font-weight: bold;
margin-bottom: 10px;
}
.cat-thumb{
width: 20px;
height: 20px;
margin-right: 6px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.cat-title {
width: calc(100% - 26px);
@extend .line-clamp-2;
}
.has-child{
&::after{
content: "";
background: url(../images/global-icon-left.png) no-repeat;
background-size: contain;
width: 10px;
height: 10px;
position: absolute;
top: 50%;
transform: translateY(-50%) rotate(-180deg);
right: 11px;
}
}
.sub-menu {
@extend .clearfix;
display: none;
flex-wrap: wrap;
position: absolute;
top: 0;
left: 230px;
height: 502px;
width: 970px;
background: #fff;
overflow: auto;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
z-index: 1;
padding: 16px 18px;
}
.sub-item {
width: 25%;
float: left;
padding: 0 20px 0 0;
margin-bottom: 25px;
a{
line-height: 20px;
margin: 7px 0;
}
}
}
.global-header-homepage{
.global-menu-container .group-title{
display: none;
}
.menu-list {
display: block;
top: calc(100% + 32px);
font-size: 13px;
box-shadow: unset;
}
.col-left {
width: 187px;
margin-right: 16px;
}
.header-logo{
margin: 0;
width: 187px;
}
.header-search-group{
width: 592px;
}
}
.global-header-fixed {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 99;
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.3);
min-height: unset;
.header-logo, .menu-list {
display: none;
}
.global-menu-container {
width: 100%;
.group-title {
display: block;
font-size: 15px;
padding: 0 7px 0 43px;
}
}
.menu-list {
top: 100%;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
}
}
.global-newsletter-container {
background: linear-gradient(270deg, #E3F2E9 0%, #CEE4B4 102.33%);
img{
display: block;
width: auto;
margin-right: 66px;
}
.container{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
.group-title {
font-size: 20px;
font-weight: 700;
line-height: 28px;
text-transform: uppercase;
margin: 0 0 24px 0;
max-width: 500px;
}
.form-holder {
position: relative;
width: 645px;
background: #fff;
border-radius: 50px;
display: flex;
justify-content: space-between;
input{
width: 490px;
height: 58px;
padding: 0 25px;
border-radius: 50px 0 0 50px;
margin: 0;
border-color: transparent;
&::placeholder{
color: #A3A3A3;
}
}
a {
@extend .bg-linear;
width: calc(100% - 490px);
line-height: 58px;
text-align: center;
color: #FFF;
text-transform: uppercase;
border-radius: 0 50px 50px 0;
}
}
.newsletter-error{
color: red;
margin-top: 15px;
font-weight: 500;
}
}
.global-footer-container {
background: #fff;
padding: 22px 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 12px 0;
}
a{
display: table;
color: #000;
&:hover{
@extend .color-main;
}
}
.address-item:nth-child(1) {
.group-title {
max-width: 240px;
}
}
}
.global-footer-end{
border-top: 1px dashed #D9D9D9;
font-size: 13px;
color: #797979;
line-height: 20px;
padding-top: 16px;
p{
margin: 0;
}
b{
font-weight: 600;
}
}
.footer-social-media{
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
.icons {
width: 36px;
height: 36px;
margin: 0 8px 0 0;
transition: .3s all;
position: relative;
bottom: 0;
background-size: 500px 500px;
&:hover{
bottom: 5px;
}
}
.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-deal-container{
@extend .bg-linear;
margin: 46px 0 16px;
border-radius: 15px;
padding: 40px 16px 20px;
position: relative;
.group-title{
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 8px 0;
max-width: 710px;
margin: -69px auto auto auto;
.title {
color: #FFF;
text-shadow: 0px 4px 4px rgba(156, 0, 0, 0.96);
font-size: 36px;
font-style: italic;
font-weight: 800;
line-height: 42px;
margin: 0 18px 0 0;
}
}
.icon-clock {
width: 42px;
height: 42px;
margin-right: 10px;
background-repeat: no-repeat;
background-size: 42px;
background-position: center;
animation: tada 1.8s infinite ease-in-out;
}
.deal-time-holder {
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 {
margin: 10px 0;
display: flex;
align-items: center;
justify-content: center;
a{
margin: 0 5px;
color: #fff;
text-transform: uppercase;
font-weight: 700;
opacity: .7;
padding: 9px 52px;
border: 1px solid #fff;
border-radius: 50px;
&:hover, &.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: 450px;
background: #fff;
border-radius: 15px;
padding: 14px 16px;
}
}
.homepage{
padding-top: 16px;
.home-box-container, .home-video-container{
margin: 16px 0;
background: #fff;
padding: 18px 16px;
border-radius: 15px;
}
}
.home-banner-group{
width: 956px;
margin: auto 0 16px auto;
display: flex;
flex-wrap: wrap;
min-height: 502px;
a{
display: block;
img{
border-radius: 15px;
display: block;
}
}
.home-slider-group {
width: 632px;
margin: 0 16px 16px 0;
img{
border-radius: 0;
}
}
.home-banner-right{
width: 308px;
margin: 0 0 16px 0;
a{
margin: 0 0 16px 0;
&:last-child{
margin: 0;
}
}
}
.home-banner-bottom{
width: 100%;
display: flex;
flex-wrap: wrap;
a{
margin: 0 16px 0 0;
width: calc(100% / 3 - 11px);
&:nth-child(3n){
margin: 0;
}
}
}
}
.home-policy-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.item{
border-radius: 10px;
border: 1px solid #F5F5F5;
background: #FFF;
margin: 16px 16px 16px 0;
width: calc(100% / 5 - 13px);
line-height: 14px;
font-size: 12px;
padding: 12px;
display: flex;
flex-wrap: wrap;
align-items: center;
&:nth-child(5n){
margin-right: 0;
}
}
b{
font-weight: 700;
margin-bottom: 4px;
}
.text{
margin: 0;
width: calc(100% - 48px);
*{
display: block;
}
}
.icons{
width: 48px;
height: 40px;
}
.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: 16px 0;
padding: 24px 16px;
border-radius: 15px;
background-size: 100% 100%;
background-repeat: no-repeat;
.group-title{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
margin: 0 0 15px 0;
}
.group-left {
margin: 0;
color: #FFF;
font-size: 50px;
font-style: italic;
font-weight: 700;
line-height: 50px;
text-transform: uppercase;
display: flex;
align-items: baseline;
span {
font-size: 32px;
font-style: italic;
font-weight: 300;
text-transform: uppercase;
line-height: 38px;
}
.text-bg {
border-radius: 31px;
background: linear-gradient(270deg, #F00 0%, #FF7A41 102.33%);
padding: 0 22px 0 10px;
margin: 0 10px 0 13px;
}
}
.btn-view {
color: #FFF;
font-size: 14px;
font-weight: 400;
text-decoration-line: underline;
text-transform: uppercase;
}
.home-collection-info {
display: flex;
flex-wrap: wrap;
}
.banner-holder {
width: 373px;
margin-right: 16px;
img{
display: block;
width: auto;
border: 1px solid #FF8F8F;
border-radius: 15px;
}
}
.product-collection{
width: calc(100% - 389px);
}
.p-img{
padding-bottom: 78% !important;
img {
width: auto !important;
}
}
}
.home-product-container{
.product-category-holder{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
.category-child-holder{
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 13px;
font-weight: 300;
a{
color: #000;
margin: 0 34px 0 0;
&:hover{
@extend .color-main;
}
&:last-child{
@extend .color-main;
text-decoration: underline;
margin: 0;
font-weight: 400;
}
}
}
.group-title {
@extend .color-main;
margin: 0;
position: relative;
font-size: 26px;
font-style: normal;
font-weight: 700;
line-height: 30px;
padding-bottom: 17px;
&::before, &::after{
@extend .bg-linear;
content: "";
height: 12px;
transform: skewX(-20deg);
position: absolute;
bottom: 0;
left: 0;
}
&::before {
width: 5px;
}
&::after{
left: 9px;
right: 0;
}
}
}
.home-article-container{
padding: 18px 0;
.group-title{
text-align: center;
line-height: 30px;
margin-bottom: 25px;
.title{
margin: 0 17px 0 0;
font-size: 26px;
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;
}
}
.video-holder {
@extend .clearfix;
}
.video-item{
float: left;
width: 280px;
height: 170px;
position: relative;
margin: 0 16px 0 0;
border-radius: 15px;
overflow: hidden;
cursor: pointer;
&::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: '\25B6';
width: 56px;
height: 56px;
line-height: 56px;
border-radius: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
color: #e8e8ea;
background: linear-gradient(90deg, #5ed555 50%, #15bd7b 50%);
font-size: 28px;
padding-left: 7px;
}
&:nth-child(1){
width: 576px;
height: 356px;
margin-bottom: 0;
&::after {
width: 80px;
height: 80px;
line-height: 80px;
font-size: 43px;
}
.title{
display: block;
font-size: 20px;
position: absolute;
left: 17px;
right: 17px;
bottom: 15px;
white-space: nowrap;
overflow: hidden;
color: #fff;
z-index: 2;
text-overflow: ellipsis;
}
}
&:nth-child(3), &:nth-child(5){
margin-right: 0;
}
&:nth-child(n+4){
margin-top: 16px;
}
.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;
}
}
}
.home-customer-review-container {
padding: 64px 100px 23px;
background-color: #fff;
border-radius: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
overflow: hidden;
background-repeat: no-repeat;
background-position: top;
background-size: contain;
font-size: 13px;
line-height: 16px;
margin: 16px 0;
.group-title{
text-align: center;
width: 100%;
margin: 0 0 30px;
line-height: 16px;
p{
margin: 0;
}
.title {
color: #000;
font-size: 26px;
line-height: 30px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 11px;
}
}
.item{
background: #fff;
position: relative;
margin-top: 26px;
border-radius: 20px;
border: 2px solid #76b657;
padding: 50px 14px 14px;
width: 39.2%;
&::before{
@extend .color-main;
content: "0" counter(section);
counter-increment: section;
font-size: 48px;
font-weight: 700;
line-height: 56px;
text-decoration-line: underline;
text-transform: uppercase;
background: #fff;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: -72px;
}
img{
display: block;
width: auto;
border-radius: 15px;
}
}
.item-title{
@extend .bg-linear;
line-height: 39px;
display: table;
border-radius: 20px 0;
color: #FFF;
font-weight: 700;
padding: 0 30px 0 13px;
text-transform: uppercase;
margin: 0;
position: absolute;
top: -1px;
left: -1px;
}
.item-summary{
margin-bottom: 12px;
}
.btn-view{
@extend .color-main;
display: table;
text-decoration: underline;
margin: 0 0 20px 0;
}
}
.home-introduce-container {
margin: 16px 0;
border-radius: 15px;
background: #FFF;
position: relative;
padding: 26px 0 30px;
font-size: 13px;
line-height: 16px;
border: 3px solid #00A551;
img{
display: block;
width: auto;
border-radius: 15px;
}
svg {
width: 100%;
}
.introduce-content-holder {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
padding: 25px 16px 0;
}
.introduce-line-bottom {
margin: -40px 0 0 0;
}
.col-left, .col-right {
width: calc(50% - 8px);
}
p{
margin: 0 0 12px;
}
.title {
font-size: 26px;
line-height: 30px;
font-weight: 700;
margin: 0 0 13px;
}
.quote {
border-radius: 20px 0px;
background: linear-gradient(270deg, rgba(0, 165, 81, 0.25) 0%, rgba(142, 185, 88, 0.25) 102.33%);
line-height: 18px;
padding: 16px;
margin: 20px 0 0;
}
}
.home-customer-images-container {
margin: 16px 0;
display: flex;
flex-wrap: wrap;
img{
display: block;
width: auto;
}
.col-left {
width: 288px;
margin-right: 16px;
img {
border-radius: 15px;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.25);
}
}
.col-right{
width: calc(100% - 304px);
padding: 30px 16px;
border-radius: 15px;
background: linear-gradient(90deg, #00A551 0%, #FFB446 100%);
}
.custom-nav .owl-nav {
.owl-prev {
left: -16px;
}
.owl-next {
right: -16px;
}
}
}
.deal-page {
.product-holder {
display: flex;
flex-wrap: wrap;
}
.p-item{
margin: 0 16px 0 0;
width: calc(100% / 4 - 12px);
border: 0;
&:hover{
box-shadow: 0px 0px 6px 1px #F5F5F5;
}
&:nth-child(n+5){
margin-top: 16px;
}
&:nth-child(4n){
margin-right: 0;
}
}
.paging {
a{
border-color: #fff;
color: #fff;
*{
filter: brightness(100);
}
&:hover, &.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: 23px;
min-height: 220px;
img{
border-radius: 15px;
}
}
.product-content-container {
padding: 17px;
background: #fff;
border-radius: 15px;
margin: 10px 0 16px;
}
.paging {
margin: 30px 0 40px;
}
.product-holder{
display: flex;
flex-wrap: wrap;
}
.p-item{
margin: 0 16px 0 0;
width: calc(100% / 5 - 13px);
&:nth-child(5n){
margin-right: 0;
}
&:nth-child(n+6){
margin-top: 16px;
}
}
}
.product-category-child {
margin: 23px 0 30px;
display: flex;
flex-wrap: wrap;
font-size: 15px;
line-height: 18px;
.item{
color: #000;
margin: 0;
padding: 0 20px;
width: calc(100% / 7 - 14px);
text-align: center;
margin: 0 16px 0 0;
&:nth-child(7n){
margin-right: 0;
}
&:nth-child(n+8){
margin-top: 30px;
}
&:hover{
@extend .color-main;
.image {
&::before{
@extend .bg-linear;
content: '';
display: block;
width: 100%;
height: 100%;
}
&::after{
content: '';
background: inherit;
position: absolute;
inset: 0;
background-color: transparent;
filter: invert(1) brightness( 100);
}
}
}
}
.title {
@extend .inherit;
}
.image{
display: block;
width: 60px;
height: 60px;
border-radius: 50%;
position: relative;
margin: 0 auto 20px auto;
overflow: hidden;
background: #FFF;
background-repeat: no-repeat;
background-position: center;
background-size: 36px;
}
.no-thumb {
&::after {
filter: unset !important;
}
}
}
.product-filter-container {
padding: 17px;
background: #fff;
border-radius: 15px;
margin: 30px 0 10px;
.filter-item {
display: flex;
flex-wrap: wrap;
margin-bottom: 16px;
&:last-child{
margin: 0;
}
}
.filter-title{
width: 110px;
margin: 6px 30px 0 0;
font-size: 13px;
font-weight: 700;
}
.filter-list {
width: calc(100% - 140px);
}
a, select {
display: inline-block;
line-height: 30px;
padding: 0 12px;
border-radius: 8px;
background: #f3f3f3;
color: #000;
font-size: 13px;
margin: 0 7px 7px 0;
cursor: pointer;
border: 0;
&.current, &:hover {
@extend .bg-linear;
color: #fff;
}
}
select{
height: 30px;
background: #f3f3f3 !important;
color: #000 !important;
padding: 0 8px;
}
}
.product-sort-group {
margin-bottom: 18px;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 30px;
font-size: 13px;
.group-title{
font-weight: 700;
margin: 0 20px 0 0;
}
.box-left, .box-right{
display: flex;
align-items: center;
}
.box-left {
a{
border-radius: 8px;
border: 1px dashed #C3C3C3;
background: #FFF;
color: #000;
margin: 0 5px 0 0;
padding: 0 11px;
&:hover, &.current {
@extend .bg-linear;
color: #fff;
border-color: transparent;
}
}
}
.icons {
width: 30px;
height: 30px;
background-color: #F3F3F3;
margin: 0 0 0 5px;
border-radius: 8px;
overflow: hidden;
position: relative;
&:hover, &.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-list-container {
justify-content: space-between;
.p-item{
@extend .clearfix;
width: calc(100% / 2 - 8px);
margin: 0 0 16px 0 !important;
text-align: left;
.p-img {
width: 35%;
padding-bottom: 35%;
margin: 0 16px 0 0;
float: left;
}
.p-text, .p-type-holder, .p-btn-group {
width: calc(100% - 35% - 16px);
float: left;
}
.p-type-holder, .p-name {
margin: 0;
}
.p-price-holder {
justify-content: flex-start;
}
.p-type-holder, .p-price-holder, .p-name {
height: auto;
min-height: unset;
}
.p-bestsale {
margin: 0 10px 10px 0;
}
.p-rate {
font-size: 13px;
}
}
}
.static-html-container{
position: relative;
padding: 28px 0 10px 0;
font-size: 13px;
&::before{
@extend .bg-main;
content: '';
max-width: 1000px;
width: 100%;
height: 2px;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
.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-detail-page {
.pd-box-group{
border-radius: 15px;
background: #FFF;
margin: 0 0 16px 0;
padding: 16px;
}
.page-title {
font-size: 20px;
font-weight: 700;
line-height: 24px;
margin: 0 0 19px;
width: 100%;
}
.pd-info-container, .pd-info-col-left {
display: flex;
flex-wrap: wrap;
}
.pd-price-group{
margin: 18px 0;
line-height: 21px;
font-size: 13px;
*{
display: inline-block;
}
}
.pd-price {
@extend .red;
font-size: 32px;
font-weight: 800;
u{
font-size: 20px;
vertical-align: middle;
}
}
.pd-old-price {
margin: 0 10px;
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: 20px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
margin: 0 -16px 16px;
padding: 0 16px;
span{
display: inline-block;
padding-bottom: 9px;
border-bottom: 1px solid #00A551;
}
}
}
.pd-desc-group {
width: 795px;
margin-right: 16px;
float: left;
line-height: 20px;
.static-html-container {
font-size: inherit;
padding: 0;
margin-bottom: 30px;
&::before{
content: none;
}
}
}
.pd-spec-group {
width: 389px;
float: left;
.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-info-col-left {
width: calc(100% - 286px);
margin-right: 15px;
.pd-info-group{
width: calc(100% - 389px);
}
}
.pd-info-col-right {
width: 271px;
}
.pd-image-container {
width: 373px;
margin-right: 16px;
.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;
}
.pd-gallery-holder{
padding: 0 20px;
margin: 20px 0 40px;
.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;
.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-bottom: 18px;
padding: 9px 16px;
color: #fff;
font-size: 13px;
font-weight: 300;
line-height: 16px;
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: 2px;
display: inline-block;
min-width: unset !important;
border-radius: 5px;
}
.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: 14px;
}
.pd-deal-line {
border-radius: 12px;
background: linear-gradient(90deg, #FFD600 2.7%, #FFF7AF 100%);
background-size: 200% auto;
background-position: 0 100%;
animation: 2s linear infinite forwards gradient-bg-antimation;
max-width: 340px;
width: 100%;
height: 16px;
position: relative;
}
.pd-deal-icon {
background: url(../images/p-icon-deal-discount.png) no-repeat;
background-size: 25px;
width: 25px;
height: 25px;
position: absolute;
bottom: -3px;
left: -4px;
}
}
.pd-status-group{
margin: 0 0 18px;
font-size: 12px;
line-height: 14px;
b{
font-weight: 600;
}
p{
display: inline-block;
margin: 0 25px 10px 0;
}
}
.pd-config_group-holder {
margin: 18px 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 - 8px);
padding: 10px;
border-radius: 8px;
border: 1px solid #D9D9D9;
background: #FFF;
color: #000;
&:hover{
@extend .color-main;
border-color: #00A551;
}
&.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 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 14px 0;
a{
margin: 0 0 8px;
width: 100%;
text-align: center;
color: #000;
border-radius: 10px;
line-height: 21px;
border: 1px solid transparent;
background: #fff;
padding: 8px;
font-size: 13px;
transition: .2s all;
&:hover{
box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
}
&:nth-child(2), &:nth-child(3) {
width: calc(50% - 4px);
}
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: '\25B6';
width: 56px;
height: 56px;
line-height: 56px;
border-radius: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
color: #e8e8ea;
background: linear-gradient(90deg, #5ed555 50%, #15bd7b 50%);
font-size: 28px;
padding-left: 7px;
}
}
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: 400px;
.tab-title-group{
padding: 0 16px;
margin: 0 -16px;
border-bottom: 1px solid #F5F5F5;
margin-bottom: 16px;
padding-bottom: 13px;
a{
margin-right: 35px;
color: #5B5B5B;
font-size: 20px;
font-weight: 700;
line-height: 23px;
padding-bottom: 13px;
border-bottom: 1px solid transparent;
&.active{
@extend .color-main;
border-color: #00A551;
}
}
}
.box-product-holder {
position: relative;
display: none;
}
}
.article-page {
padding-bottom: 16px;
.article-category-list {
display: flex;
flex-wrap: wrap;
align-items: center;
a{
margin: 0 16px 16px 0;
border-radius: 0px 24px;
color: #000;
background: #FFF;
padding: 0 14px;
line-height: 42px;
white-space: nowrap;
display: flex;
align-items: center;
&:hover, &.current {
@extend .bg-linear;
color: #fff;
.image {
filter: brightness(100);
}
}
}
.image {
width: 24px;
height: 24px;
margin-right: 10px;
background-repeat: no-repeat;
background-position: center;
background-size: 20px auto;
}
.title{
@extend .inherit;
font-size: 16px;
font-weight: 600;
color: inherit;
}
}
.article-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.art-item{
font-size: 13px;
line-height: 18px;
border-radius: 0;
width: calc(50% - 9px);
display: flex;
flex-wrap: wrap;
padding: 0;
.art-img {
width: 50%;
padding-bottom: 31%;
margin: 0 16px 0 0;
img{
width: 100%;
height: 100%;
object-fit: cover;
}
}
.art-text {
width: calc(50% - 16px);
}
}
}
.top-article-group{
margin: 0 0 16px 0;
border-radius: 15px;
background: #fff;
padding: 22px 16px 16px;
.group-title {
font-size: 26px;
font-weight: 700;
line-height: 30px;
text-transform: uppercase;
margin-bottom: 20px;;
}
.top-article-holder{
@extend .clearfix;
.art-item{
display: flex;
flex-wrap: wrap;
width: 575px;
float: right;
padding: 0;
&:nth-child(1){
float: left;
display: block;
padding: 0;
.art-img {
width: 100%;
padding-bottom: 356px;
margin: 0 0 11px;
}
.art-text {
width: 100%;
}
.art-title {
font-size: 14px;
line-height: 20px;
}
.art-summary{
@extend .line-clamp-2;
}
}
&:nth-child(n+3){
border-top: 1px solid #F5F5F5;
padding-top: 20px;
margin-top: 20px;
}
}
}
}
.article-cate-container{
margin: 0 0 16px 0;
border-radius: 15px;
background: #fff;
padding: 22px 16px;
.group-title{
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
margin-bottom: 28px;
a{
@extend .color-main;
text-decoration: underline;
}
.title {
font-size: 26px;
font-weight: 700;
line-height: 30px;
text-transform: uppercase;
position: relative;
padding-left: 42px;
margin: 0;
&::before{
@extend .icons;
content: "";
width: 26px;
height: 30px;
position: absolute;
left: 0;
background-position: -9px -117px;
}
}
}
}
.article-category-page{
.category-page-title {
display: flex;
align-items: center;
margin-bottom: 20px;
.title{
font-size: 26px;
font-weight: 700;
line-height: 30px;
text-transform: uppercase;
margin: 0;
}
.image{
width: 26px;
height: 30px;
margin-right: 7px;
background-repeat: no-repeat;
background-size: 25px auto;
background-position: center;
}
}
.top-article-group {
margin: 0;
padding: 0 0 25px;
border-radius: 0;
border-bottom: 1px solid #F5F5F5;
}
.art-item{
padding: 25px 0;
width: 50%;
&:nth-child(odd){
padding-right: 18px;
}
&:nth-child(n+3){
border-top: 1px solid #F5F5F5;
}
}
}
.article-detail-page {
.page-title {
font-size: 24px;
font-weight: 700;
line-height: 30px;
margin: 0 0 10px;
}
.art-detail-time{
p{
margin: 0 30px 20px 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;
}
}
}
.art-detail-container{
display: flex;
flex-wrap: wrap;
align-items: flex-start;
.col-left, .col-right {
border-radius: 15px;
background: #FFF;
overflow: hidden;
}
.col-left {
width: 795px;
margin-right: 16px;
padding: 28px 16px 16px;
}
.col-right {
width: 389px;
padding: 28px 0 0;
.group-title{
padding: 0 16px;
border-bottom: 1px solid #F5F5F5;
font-size: 20px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
span{
display: inline-block;
padding-bottom: 10px;
border-bottom: 1px solid #00A551;
}
}
}
.header-search-group {
width: 100%;
padding: 0 16px;
margin: 0;
}
.art-item{
padding: 16px;
width: 100%;
align-items: flex-start;
&:nth-child(n+2){
border-top: 1px solid #F5F5F5;
}
.art-img{
width: 47.5%;
}
.art-text {
width: calc(100% - 47.7% - 16px);
}
.art-category, .art-summary, .art-time{
display: none;
}
.art-title {
display: block;
}
}
}
.article-related-container {
margin-top: 30px;
.group-title {
font-size: 26px;
font-weight: 700;
line-height: 30px;
text-transform: uppercase;
margin: 0 0 20px;
}
.art-item{
width: 100%;
padding: 16px;
display: block;
line-height: 20px;
border-radius: 15px;
.art-img {
margin: 0 0 12px;
padding-bottom: 62%;
width: 100%;
}
.art-text {
width: 100%;
}
}
.custom-dots .owl-dots {
margin-top: 10px !important;
position: unset;
.owl-dot {
border-color: #00A551;
}
}
}