Files
du_an_khach_hang/SongLongMedia/scss/pc_style.scss

3134 lines
73 KiB
SCSS

body{
color:#000;
font-family: 'Inter', sans-serif;
background: #FFFFFF;
position: relative;
font-size: 14px;
min-width: 1224px;
word-break: break-word;
counter-reset: section;
font-weight: 400;
}
.bg-grey{
background: #F8F8F8;
}
a{
text-decoration: none;
}
a:hover {
text-decoration: none;
}
.ul, .ol {
margin: 0;
padding: 0;
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
.clearfix{
&::after {
content: '';
clear: both;
display: block;
}
}
.clear {
clear: both;
}
.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}
button, input, select {
outline: none !important;
color: #000;
}
table{
width: 100%;
-webkit-overflow-scrolling: touch;
}
@media screen and (-webkit-min-device-pixel-ratio: 0){
select, textarea, input {
font-size: 16px;
}
}
@media(min-width: 1200px){
select, textarea, input {
font-size: 14px;
}
}
iframe {
max-width: 100%;
}
.text-10{
font-size: 10px;
}
.text-11{
font-size: 11px;
}
.text-12{
font-size: 12px;
}
.text-13{
font-size: 13px;
}
.text-14{
font-size: 14px;
}
.text-15{
font-size: 15px;
}
.text-16{
font-size: 16px;
}
.text-17{
font-size: 17px;
}
.text-18{
font-size: 18px;
}
.text-19{
font-size: 19px;
}
.text-20{
font-size: 20px;
}
.text-22{
font-size: 22px;
}
.text-24{
font-size: 24px;
}
.text-25{
font-size: 25px;
}
.text-26{
font-size: 26px;
}
.text-27{
font-size: 27px;
}
.text-28{
font-size: 28px;
}
.text-30{
font-size: 30px;
}
.text-36{
font-size: 36px;
}
.blue{
color: #0085FF;
}
.blue-light{
color: #00FFF0;
}
.red{
color: #CE000C;
}
.yellow{
color: #fdb813;
}
.black{
color: #222;
}
.grey{
color: #888;
}
.green{
color: #29A07E;
}
.orange{
color: #FE7801;
}
.color-main{
color: #1781E0;
}
.bg-red{
background: #D91605;
}
.bg-white{
background: #fff;
}
.bg-orange{
background: #ff9219;
}
.bg-green{
background: #29A07E;
}
.bg-main{
background: #1781E0;
}
.font-100{
font-weight: 100;
}
.font-200{
font-weight: 200;
}
.font-300{
font-weight: 300;
}
.font-400{
font-weight: 400;
}
.font-500{
font-weight: 500;
}
.font-600{
font-weight: 600;
}
.font-700{
font-weight: 700;
}
.font-800{
font-weight: 800;
}
.font-900{
font-weight: 900;
}
.underline{
text-decoration: underline;
}
.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;margin-top:2px;max-height:300px;overflow:auto;display:none;background:#fff;z-index:9;top: 100%;}
.autocomplete-suggestions a{display: flex;align-items: flex-start;padding:10px;overflow:hidden;}
.autocomplete-suggestions a img{width:60px;float:left;margin-right: 12px;}
.autocomplete-suggestions a .info{width: calc(100% - 72px);}
.autocomplete-suggestions a .info .name{display:block;color:#333;}
.autocomplete-suggestions a .info .price{color:#ec1c24;}
.autocomplete-suggestions a:hover{background-color:#f5f5f5;}
.autocomplete-suggestions::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);background-color: #f1f1f1;border-radius: 10px;}
.autocomplete-suggestions::-webkit-scrollbar{width: 6px;background-color: #f1f1f1;}
.autocomplete-suggestions::-webkit-scrollbar-thumb{border-radius: 10px;background-color: #ccc;}
.icon-star{background-image: url(../images/star.png);width: 85px;height: 14px;display: inline-block;background-repeat: no-repeat;background-size: 85px 90px;vertical-align: sub;}
.icon-star.star-1{background-position: -2px -74px;}
.icon-star.star-2{background-position: -2px -56px;}
.icon-star.star-3{background-position: -2px -38px;}
.icon-star.star-4{background-position: -2px -20px;}
.icon-star.star-5, .icon-star.star-0{background-position: -2px -2px;}
.hover-img {
a{
position:relative;
overflow:hidden;
display: block;
&::before{
content:"";
position:absolute;
top:0;
left:-15%;
bottom:0;
width:0;
height:100%;
background-color:rgba(255, 255, 255, 0.5);
transition:none;
transform:skewX(-25deg);
}
&:hover::before{
width:120%;
background-color:rgba(255, 255, 255, 0);
transition:all .45s ease-out;
z-index:2;
}
}
}
.scale-img{
display: block;
overflow: hidden;
&:hover{
img{
transform: scale(1.3);
}
}
img{
transform: scale(1);
transition: .3s all;
}
}
::-webkit-scrollbar-track{background:#f5f5f5;}
::-webkit-scrollbar-thumb{@extend .bg-main;border-radius:10px;}
::-webkit-scrollbar-thumb:hover{background:#aaa;}
::-webkit-scrollbar{width: 15px;height:10px;}
.success-checkmark .check-icon .icon-circle {border-color: #0542b7;opacity: .5;}
.success-checkmark .check-icon .icon-line {background-color: #0542b7;}
.success-checkmark .check-icon{border-color: #0542b7 }
.content-container {max-width: 500px;min-height: 300px;}
.bg-content{
overflow: hidden;
position: relative;
&::before{
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#fff));
background: linear-gradient(transparent, #fff);
height: 200px;
}
}
.bg-linear{
background: linear-gradient(90.13deg, #FF7E00 1.62%, #FF4949 98.76%);
}
.bg-linear-animate{
background: -o-repeating-linear-gradient(left,#ff990f 0,#fe532e 50%,#ff990f 100%);
background: repeating-linear-gradient(to right,#ff990f 0,#fe532e 50%,#ff990f 100%);
background-size: 200% auto;
background-position: 0 100%;
animation: 2s linear infinite forwards gradient-bg-antimation;
}
.fancybox-thumbs__list a {height: 90px;background-size: 100% 100%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #1781E0}
.skeleton {
animation: skeleton-loading 2s linear alternate;
display: block;
animation-iteration-count: 3, 0, infinite;
}
.animate__backInRight{
animation-name:backInRight;
}
@keyframes skeleton-loading {
0% {background-color: #c2cfd6;}
100% {background-color: #f0f3f5;}
}
@keyframes gradient-bg-antimation {
0% {
background-position: 0 0
}
100% {
background-position: -200% 0
}
}
@keyframes backInRight{
0%{
opacity:.7;
transform:translateX(2000px) scale(.7)
}
80%{
opacity:.7;
transform:translateX(0) scale(.7)
}
to{
opacity:1;
transform:scale(1)
}
}
@keyframes tada{
0%{ transform:scale(1)}
10%,20%{ transform:scale(.9) rotate(-8deg)}
30%,50%,70%{ transform:scale(1.3) rotate(8deg)}
40%,60%{ transform:scale(1.3) rotate(-8deg)}
100%,80%{ transform:scale(1) rotate(0)}
}
@keyframes pulseCps {
0% {
content: '\2764';
color: #fff;
transform: scale(1);
transform-origin: center center;
font-size: 14px;
}
50% {
content: '\2764';
color: #d70018;
transform: scale(1.15);
font-size: 14px;
}
to {
content: '\2764';
color: #fff;
transform: scale(1);
font-size: 14px;
}
}
.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;
}
.container {
max-width: 1224px;
min-width: 1224px;
}
.row {
margin: 0 -12px;
}
.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 12px;
}
.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%);}
.global-breadcrumb{
font-size: 14px;
font-weight: 300;
line-height: 30px;
background: #Fff;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
a{
color: #3F3F3F;
&:hover{
@extend .color-main;
}
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content:'\203A';
padding: 0 8px;
font-size: 20px;
font-weight: 400;
}
&:first-child{
&::before{
@extend .icons;
content: '';
display: inline-block;
width: 16px;
height: 16px;
background-position: -180px -7px !important;
margin-right: 8px;
}
}
&:last-child{
&::after{
content: none;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
margin: 20px 0 40px 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
a{
width: 36px;
height: 36px;
line-height: 36px;
border-radius: 50%;
background: #F3F3F3;
text-align: center;
color: #000;
margin: 0 4px;
transition: .12s all;
overflow: hidden;
&:hover, &.current{
background-color: #1781E0;
color: #fff;
* {
filter: brightness(100 );
}
}
}
.icon-prev, .icon-next {
background: url(../images/icon-left.png) no-repeat center;
background-size: 7px 12px;
font-size: 0 !important;
display: block;
height: 100%;
}
.icon-next {
transform: rotate(-180deg);
}
}
.btn-html-content{
text-align: center;
padding: 16px;
a{
display: none;
line-height: 36px;
background: #FFFFFF;
color: #1988EC;
box-shadow: 0px 0px 0px 1px #1988EC;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
margin: auto;
max-width: 126px;
width: 100%;
transition: .15s all;
font-size: 13px;
&:hover{
background: #1988EC;
color: #fff;
}
i{
margin-left: 4px;
}
}
}
.bg-popup {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.4);
z-index: 99;
cursor: pointer;
}
.icons{
background: url(../images/sprite.png) no-repeat;
background-size: 200px 350px;
}
.custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
background: unset !important;
&.disabled{
display: none;
}
}
.owl-prev {
left: 4px;
}
.owl-next {
right: 4px;
}
.arrow{
width: 32px;
height: 62px;
display: block;
background: url(../images/icon-left.png) no-repeat;
background-position: 6px center;
background-size: 10px 18px;
transition: .2s all;
background-color: #fff;
box-shadow: 0px 0.748699px 4.4922px rgba(0, 0, 0, 0.25);
border-radius: 0 50px 50px 0;
}
.arrow-next{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
margin: 5px !important;
.owl-dot {
margin: 0 7px;
width: 8px;
height: 8px;
border-radius: 50px;
background: transparent;
transition: .2s all;
background: #ccc;
span{
display: none;
}
&.active{
width: 30px;
}
&.active,&:hover{
background: #0080D7;
}
}
}
}
.p-item{
background: #FFFFFF;
position: relative;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
border-radius: 9px;
padding: 13px 13px 10px 13px;
font-size: 12px;
line-height: 20px;
z-index: 1;
transition: .2s all;
img{
display: block;
width: auto;
}
a{
display: block;
color: #3F3F3F;
}
&:hover{
box-shadow:0px 1px 10px 0px rgba(161, 161, 161, 0.8);
.p-img img{
bottom: 15px;
}
}
.p-img{
display: block;
position: relative;
padding-bottom: 100%;
overflow: hidden;
margin-bottom: 6px;
img{
@extend .fit-img;
transition: .4s all !important;
}
}
.p-discount{
width: 80px;
height: 32px;
line-height: 26px;
font-weight: 700;
color: #Fff;
background: url(../images/p-discount.png) no-repeat;
background-size: 80px 32px;
z-index: 1;
position: absolute;
text-align: center;
top: 0;
left: -4px;
}
.p-type-group {
display: flex;
align-items: center;
flex-wrap: wrap;
font-size: 10px;
line-height: 17px;
min-height: 17px;
color: #fff;
margin: 6px 0;
*{
border-radius: 3px;
margin-right: 4px;
padding: 0 7px;
&:last-child{
margin: 0;
}
}
}
.p-new {
background: #36AC4A;
}
.p-bestsale {
background: #F68704;
}
.p-hot {
background: #E00;
}
.p-name{
min-height: 40px;
font-size: 14px;
font-weight: 600;
margin: 5px 0;
&:hover{
@extend .color-main;
}
*{
@extend .inherit;
@extend .line-clamp-2;
}
}
.p-price-holder{
margin: 5px 0;
color: #A0A0A0;
font-weight: 600;
line-height: 26px;
min-height: 26px;
*{
display: inline-block;
}
}
.p-price{
color: #E00;
font-weight: 800;
font-size: 16px;
margin: 0 5px 0 0;
}
.p-offer-group{
margin: 5px 0;
height: 43px;
}
.p-offer-holder{
@extend .line-clamp-2;
background: #f6f6f6;
border: 0.821px solid #ECECEC;
height: 43px;
padding: 4px 7px;
overflow: hidden;
color: #6C6C6C;
font-weight: 300;
line-height: 17px;
}
.icon-star{
transform: scale(0.7);
margin: auto auto auto -14px;
display: block;
}
.p-btn-like{
display: table;
margin: 5px 0 auto auto;
color: #A0A0A0;
line-height: 19px;
&:hover{
color: #EE0000;
&::after{
animation: pulseCps 1s ease-out infinite;
}
}
&::after{
content: '\2661';
color: #EE0000;
font-size: 20px;
display: inline-block;
vertical-align: bottom;
margin-left: 5px;
}
}
}
.art-item{
box-shadow: 0px 0.748699px 2.9948px rgba(0, 0, 0, 0.2);
border-radius: 8px;
background: #fff;
overflow: hidden;
font-size: 12px;
line-height: 16px;
transition: .2s all;
&:hover{
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}
a{
display: block;
color: #000;
&:hover{
@extend .color-main;
}
}
img {
@extend .fit-img;
}
.art-img{
position: relative;
padding-bottom: 56.5%;
}
.art-text{
@extend .clearfix;
padding: 9px 9px 12px 9px;
display: flex;
flex-wrap: wrap;
align-items: center
}
.art-time{
margin: 0 10px 0 0;
width: 60px;
height: 38px;
padding: 0 10px;
color: #fff;
font-weight: 700;
font-size: 12px;
line-height: 14px;
background: url(../images/art-bg-time.png) no-repeat;
background-position: center;
background-size: contain;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.art-title{
@extend .line-clamp-2;
font-weight: 600;
font-size: 14px;
line-height: 16px;
width: calc(100% - 70px);
}
.art-summary{
@extend .line-clamp-3;
padding: 0 2px;
margin-top: 13px;
width: 100%;
}
}
.global-countdown-holder {
display: flex;
align-items: center;
b {
margin: 0 6px;
color: #CB1C21;
font-size: 16px;
font-weight: 600;
background: #fff;
border-radius: 3px;
padding: 0 4px;
min-width: 30px;
text-align: center;
position: relative;
&::after {
content: ':';
position: absolute;
right: -8px;
color: #fff;
}
&:last-child{
margin-right: 9px;
&::after{
content: none;
}
}
}
}
.global-header-top{
background: #e9efff;
line-height: 40px;
font-size: 11px;
font-weight: 500;
a{
color: #040c64;
display: flex;
align-items: center;
}
b{
font-weight: 900;
font-size: 14px;
}
.icons {
width: 12px;
height: 30px;
margin-right: 15px;
transform: scale(1.5);
}
.icon-exchange {
background-position: -10px -2px;
}
.icon-medal {
background-position: -39px -2px;
}
.icon-delivery {
width: 24px;
background-position: -63px -3px;
}
}
.global-header-main{
@extend .bg-main;
padding: 13px 0;
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 99;
.header-logo{
width: 296px;
margin-right: 14px;
img{
display: block;
width: auto;
height: auto;
}
}
.header-middle-group{
width: 497px;
margin-right: 25px;
display: flex;
align-items: center;
justify-content: flex-end;
}
}
.header-other-page, .header-fixed {
.header-search-group {
width: calc(100% - 46px);
}
.header-menu-container{
width: 40px;
&:hover{
.global-menu-container {
opacity: 1;
visibility: visible;
z-index: 3;
top: calc(100% + 13px);
&::before {
content: '';
width: 300px;
height: 60px;
position: absolute;
left: 30px;
top: -32px;
}
}
}
}
}
.header-group-right{
width: calc(100% - 832px);
display: flex;
align-items: center;
justify-content: space-between;
a{
color: #fff;
line-height: 16px;
font-size: 13px;
font-weight: 500;
display: flex;
align-items: center;
}
.icons{
width: 20px;
height: 32px;
margin-right: 8px;
background-position: -9px -37px;
}
.icon-phone {
background-position: -9px -37px;
animation: tada 1.8s infinite ease-in-out;
}
.icon-map {
background-position: -45px -40px;
}
.icon-cart {
background-position: -82px -39px;
position: relative;
}
.cart-count {
background: #FFD953;
color: #000;
font-style: normal;
text-align: center;
width: 13px;
height: 13px;
line-height: 13px;
border-radius: 50%;
font-weight: 600;
font-size: 8px;
position: absolute;
right: -3px;
top: 0;
}
}
.header-search-group{
width: 100%;
transition: .3s all;
form{
display: flex;
align-items: center;
background: #FFFFFF;
border-radius: 5px;
overflow: hidden;
*{
margin: 0;
padding: 0;
border: 0;
height: 40px;
}
input {
padding: 0 12px 0 8px;
color: #AAA;
width: calc(100% - 40px);
}
button{
width: 40px;
background-position: -137px 2px;
}
}
}
.header-menu-container {
width: 0;
height: 40px;
background-color: #fff;
margin-right: 6px;
border-radius: 5px;
transition: .3s all;
.icon-menu{
display: block;
height: 100%;
background-position: -99px 1px;
}
}
.global-menu-container{
border-radius: 10px;
background: #FFF;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
width: 200px;
height: 382px;
transition: .3s all;
z-index: -2;
opacity: 0;
visibility: hidden;
position: absolute;
top: calc(100% + 30px);
left: 10px;
a{
color: #3F3F3F;
font-size: 12px;
display: table;
&:hover{
@extend .color-main;
}
}
.has-child{
&::after{
content: '\276F';
font-size: 10px;
display: inline-block;
position: relative;
right: -6px;
}
}
.cat-item{
height: calc(100% / 12);
&:first-child{
border-radius: 10px 10px 0 0;
}
&:nth-child(12){
border-radius: 0 0 10px 10px;
}
&:hover{
.cat-1{
@extend .bg-main;
color: #fff;
}
.cat-thumb{
filter: invert(1);
}
.sub-menu{
display: flex;
}
}
}
.cat-1 {
font-weight: 700;
display: flex;
align-items: center;
height: 100%;
padding: 0 12px;
position: relative;
border-radius: inherit;
}
.cat-2 {
font-weight: 700;
margin-bottom: 5px;
}
.cat-thumb {
width: 20px;
height: 20px;
margin-right: 10px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.cat-title {
width: calc(100% - 40px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sub-menu{
@extend .clearfix;
display: none;
background: #fff;
position: absolute;
top: 0;
left: 200px;
width: calc(1200px - 200px);
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
z-index: 1;
border-radius: 0 10px 10px 0;
padding: 12px 15px;
flex-wrap: wrap;
align-content: flex-start;
overflow: auto;
a{
font-size: 13px;
line-height: 16px;
margin: 4px 0;
}
}
.sub-item{
float: left;
width: 20%;
padding-right: 15px;
margin-bottom: 20px;
&:nth-child(5n) {
.cat-4-holder {
left: unset;
right: 100%;
a:first-child{
border-top-left-radius: 6px;
border-top-right-radius: 4px;
&::before {
left: unset;
right: -4px;
}
}
}
}
}
.cat-3-holder{
position: relative;
display: table;
&:hover{
> a{
@extend .color-main;
}
.cat-4-holder {
display: block;
}
}
}
.cat-4-holder{
display: none;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
background: #fff;
z-index: 1;
position: absolute;
top: 0;
left: 100%;
width: 200px;
border-radius: 6px;
a{
margin: 0;
display: block;
padding: 5px 12px;
position: relative;
background: #fff;
&:hover{
@extend .bg-main;
color: #fff;
&:first-child{
border-top-left-radius: 3px;
border-top-right-radius: 6px;
&::before{
@extend .bg-main;
}
}
}
&:first-child{
border-top-left-radius: 4px;
border-top-right-radius: 6px;
&::before{
content: '';
position: absolute;
left: -6px;
top: 3px;
width: 12px;
height: 12px;
background: #fff;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
transform: rotate(45deg);
z-index: -1;
}
}
&:last-child{
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
}
}
}
.global-footer-container{
background: #F8F8F8;
line-height: 24px;
a{
color: #000;
display: table;
margin: 3px 0;
&:hover{
@extend .color-main;
}
}
.footer-end-group{
width: 100%;
color: #6C6C6C;
font-size: 13px;
font-weight: 500;
line-height: 16px;
text-transform: uppercase;
border-top: 1px solid #ECECEC;
margin: 0;
padding: 16px 0;
text-align: center;
}
}
.global-footer-store-container{
background: #fff;
box-shadow: 0px -2px 10px 0px rgba(90, 90, 90, 0.25);
padding: 23px 0 0 0;
.group-title{
color: #1781E0;
font-size: 28px;
font-weight: 700;
line-height: 34px;
text-transform: uppercase;
margin: 0 0 20px 0;
position: relative;
text-align: center;
&::after{
content: '';
background: #0059A9;
height: 1.5px;
width: 170px;
position: absolute;
left: 50%;
bottom: -5px;
transform: translateX(-50%);
}
}
.store-list{
display: flex;
flex-wrap: wrap;
}
.item{
margin: 0 40px 20px 0;
width: calc(100% / 3 - 27px);
&:nth-child(3n){
margin-right: 0;
}
img{
display: block;
width: auto;
border-radius: 10px;
margin: 0 0 14px 0;
}
}
.item-title {
display: inline-block;
background: #1781E0;
line-height: 30px;
border-radius: 5px;
border-left: 4px solid #6AB9FF;
text-align: center;
color: #FFF;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 14px 0;
padding: 0 16px;
}
.item-text {
a, p {
margin: 0;
display: inline-flex;
line-height: 24px;
}
.btn-link {
display: table;
margin-left: 27px;
color: #0059A9;
text-decoration: underline;
&::before {
content: '\276F';
font-size: 12px;
display: inline-block;
vertical-align: top;
}
}
.icons{
width: 27px;
height: 24px;
}
span{
width: calc(100% - 27px);
}
}
.icon-map {
background-position: -51px -115px;
}
.icon-clock {
background-position: -87px -114px;
}
.icon-phone {
background-position: -122px -114px;
}
}
.global-footer-info{
position: relative;
padding: 30px 0 0 0;
background: #F8F8F8;
img{
display: block;
width: auto;
}
.item{
width: 25%;
margin-bottom: 30px;
}
.title{
position: relative;
color: #1781E0;
font-size: 18px;
font-weight: 600;
line-height: 22px;
text-transform: uppercase;
margin: 0 0 15px 0;
display: inline-block;
&::before{
content: '';
width: 58%;
height: 1px;
background: #0059A9;
position: absolute;
left: 0;
bottom: -3px;
}
}
.btn-bct{
margin-top: 12px;
img{
max-height: 56px;
}
}
.payment-img{
margin: 3px 0 40px 0;
}
.footer-social-media{
display: flex;
flex-wrap: wrap;
a{
width: 24px;
height: 24px;
margin: 8px 15px 0 0;
transition: .4s all;
position: relative;
bottom: 0;
transform: scale(1.2);
&:hover{
margin-top: 3px;
}
}
}
.icon-youtube {
background-position: -9px -162px;
}
.icon-facebook {
background-position: -51px -162px;
}
.icon-tiktok {
background-position: -93px -162px;
}
.icon-instagram {
background-position: -135px -162px;
}
.icon-zalo {
background-position: -174px -162px;
}
}
.global-fixed-right{
position: fixed;
z-index: 3;
right: 10px;
top: 50%;
animation-duration: 1s;
animation-fill-mode: both;
transform: translateX(2000px) translateX(-50%) scale(0.7);
a{
display: block;
width: 45px;
height: 45px;
border-radius: 50%;
margin: 8px 0;
background-repeat: no-repeat;
background-position: center;
background-size: 40px 40px;
position: relative;
&:hover{
span{
visibility: visible;
opacity: 1;
}
}
span{
position: absolute;
top: 4px;
right: 55px;
z-index: 9;
height: 32px;
line-height: 26px;
padding: 3px 10px;
width: auto;
border-radius: 5px;
font-size: 11px;
color: #fff;
text-align: center;
white-space: nowrap;
cursor: pointer;
background-color: #000;
visibility: hidden;
opacity: 0;
transition: all 200ms linear;
&::after{
content: "";
width: 0;
height: 0;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent #000;
position: absolute;
left: 100%;
top: 0;
bottom: 0;
margin: auto;
transition: all 200ms linear;
}
}
}
.icon-goTop{
animation: unset !important;
background-color: #e6e6e6;
display: none;
&::before{
content: '';
background: url(../images/icon-left.png) no-repeat center;
transform: rotate(90deg);
background-size: 10px;
display: block;
height: 100%;
}
&:hover{
background-color: #ccc;
}
}
}
.global-popup-store{
padding: 10px;
border-radius: 10px;
a{
color: #000;
display: table;
margin: 3px 0;
&:hover{
@extend .color-main;
}
}
.global-footer-store-container{
box-shadow: unset;
}
}
#global-popup-customer-like {
border-radius: 10px;
padding: 34px 16px 24px 16px;
.icon-notification{
display: block;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
margin: 0 auto 15px auto;
background: #CE000C;
color: #fff;
font-size: 30px;
font-weight: bold;
}
p {
font-weight: 600;
font-size: 16px;
margin: 20px 0;
}
a{
width: 49%;
line-height: 38px;
background: #CE000C;
color: #fff;
border-radius: 5px;
font-weight: 500;
border: 1px solid transparent;
font-size: 16px;
&:last-child{
border-color: #CE000C;
color: #CE000C;
background: #fff;
}
}
}
.homepage {
padding-top: 12px;
padding-bottom: 12px;
img{
display: block;
width: auto;
height: auto;
}
.product-holder{
position: relative;
min-height: 400px;
}
.category-accessories-holder{
display: flex;
flex-wrap: wrap;
.item{
margin: 0 12px 12px 0;
width: calc(100% / 8 - 11px);
border-radius: 10px;
background: #68BAF2;
color: #Fff;
font-size: 15px;
font-weight: 700;
line-height: 17px;
padding: 10px 12px 6px 12px;
transition: .25s all;
&:hover{
box-shadow: 0px 1px 9px 1px rgba(161, 161, 161, 0.5);
transform: scale(1.06);
}
&:nth-child(8n){
margin-right: 0;
}
&:nth-child(2n){
background: #D8D1F3;
}
&:nth-child(3n){
background: #0059A9;
}
&:nth-child(4n){
background: #00AAED;
}
&:nth-child(5n){
background: #A2E3FC;
}
&:nth-child(6n){
background: #A5B4FC;
}
&:nth-child(7n){
background: #44A0B5;
}
&:nth-child(8n){
background: #86D9EC;
}
}
.cat-title{
@extend .inherit;
display: block;
margin: 0 0 10px 0;
min-height: 34px;
}
.cat-thumb{
display: block;
position: relative;
padding-bottom: 100%;
}
img{
@extend .fit-img;
max-width: 90%;
max-height: 90%;
}
}
.home-art-item{
transition: .2s all;
position: relative;
&:hover{
filter: drop-shadow(0px 1px 4px rgba(161, 161, 161, 0.25));
img{
transform: scale(1.3);
}
}
&:nth-child(n+3){
margin-top: 12px;
}
img{
@extend .fit-img;
width: 100%;
height: 100%;
transition: .4s all;
transform: scale(1);
}
.item-image{
@extend .skeleton;
display: block;
position: relative;
padding-bottom: 65.7%;
overflow: hidden;
}
.item-title{
display: block;
background: #fff;
padding: 5px 12px;
color: #000;
font-size: 15px;
font-weight: 500;
line-height: 20px;
*{
@extend .line-clamp-2;
}
&:hover{
@extend .color-main;
}
}
}
.has-video {
&:hover{
.item-image::before{
opacity: 1;
}
}
.item-image{
&::before{
content: '\25B6';
width: 57px;
height: 57px;
line-height: 57px;
border-radius: 50%;
background: #EE0000;
opacity: .6;
color: #fff;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
font-size: 41px;
padding-left: 7px;
transition: .2s all;
}
}
}
}
.home-banner-container{
display: flex;
flex-wrap: wrap;
min-height: 383px;
.custom-nav{
.owl-nav {
button{
transition: .3s all;
opacity: 0;
visibility: hidden;
}
.owl-prev {
left: -30px;
}
.owl-next {
right: -30px;
}
}
}
.global-menu-container {
margin: 0 12px 12px 0;
position: relative;
opacity: 1;
visibility: visible;
top: 0;
left: 0;
z-index: 4;
}
.home-slider-group{
width: 716px;
margin: 0 12px 12px 0;
border-radius: 10px;
overflow: hidden;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
&:hover{
.custom-nav{
.owl-nav {
button{
transition: .3s all;
opacity: 1;
visibility: visible;
}
.owl-prev {
left: 0px;
}
.owl-next {
right: 0px;
}
}
}
}
}
.home-banner-right{
width: 260px;
margin-bottom: 12px;
img{
border-radius: 10px;
}
a{
height: calc(100% / 3 - 7px);
border-radius: 10px;
margin: 0 0 10px 0;
&:last-child{
margin: 0;
}
}
}
.banner-under-slider{
width: 100%;
a{
border-radius: 10px;
min-height: 60px;
}
}
.home-banner-right, .banner-under-slider, .home-slider-image {
a{
@extend .skeleton;
display: block;
}
}
.home-slider-image{
height: 302px;
overflow: hidden;
a{
height: 302px;
}
}
.home-slider-title{
background: #fff;
color: #3F3F3F;
text-align: center;
font-size: 12px;
font-weight: 500;
line-height: 158%;
p{
margin: 0;
cursor: pointer;
position: relative;
height: 81px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 12px;
background: #fff;
border-bottom: 2px solid transparent;
}
span{
@extend .line-clamp-2;
}
.current{
p{
background: #F6F6F6;
border-color: #0059A9;
font-weight: 700;
}
}
}
}
.home-deal-container{
margin: 12px 0 20px;
padding: 20px 6px;
border-radius: 10px;
background-repeat: no-repeat;
background-size: 100% 100%;
.p-item{
box-shadow: unset !important;
margin: 0 6px;
}
.group-title{
padding: 0 0 0 5px;
margin: 0 0 15px 0;
display: flex;
align-items: center;
justify-content: space-between;
.title{
color: #FFE517;
font-size: 40px;
font-style: italic;
font-weight: 900;
line-height: 48px;
margin: 0;
}
a{
font-size: 14px;
color: #000;
font-weight: 600;
background: #fff;
border-radius: 3px;
padding: 1px 5px;
&:hover{
@extend .bg-main;
color: #fff;
}
}
}
.group-title-right{
color: #fff;
display: flex;
align-items: center;
font-size: 16px;
line-height: 24px;
> b{
margin-right: 4px;
font-weight: 700;
}
}
}
.home-category-group{
margin: 20px 0 30px 0;
.group-title-holder{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
margin: 0 0 15px 0;
.cat-title{
margin: 0;
color: #FFF;
font-size: 24px;
font-weight: 600;
line-height: 42px;
min-height: 46px;
text-transform: uppercase;
padding: 0 12px;
background: url(../images/home-category-bg.png) no-repeat;
background-size: 100% 100%;
}
}
.cat-child-list{
display: flex;
align-items: center;
justify-content: flex-end;
a{
color: #515151;
font-size: 13px;
line-height: 28px;
border-radius: 3px;
border: 1px solid #C2C2C2;
margin: 0 0 0 8px;
transition: .15s all;
padding: 0 13px;
&:last-child, &:hover{
background: #1781E0;
color: #fff;
border-color: transparent;
}
}
}
.product-holder{
margin: 0 -6px;
.item {
padding: 10px 6px;
}
.p-item{
margin-bottom: 12px;
&:last-child{
margin: 0;
}
}
}
}
.home-brand-group{
margin: 30px 0;
min-height: 83px;
a{
position: relative;
display: block;
padding-bottom: 72%;
animation-iteration-count: .5, 0, infinite;
transition: .2s all;
&:hover{
filter: opacity(.5);
}
}
img{
@extend .fit-img;
}
.owl-nav{
.owl-prev {
left: 0;
}
.owl-next {
right: 0;
}
.arrow{
width: 17px;
height: 34px;
background-position: 3px center;
background-size: 6px 10px;
box-shadow: 0px 0.7487px 4.4922px rgba(0, 0, 0, 0.15);
}
}
}
.home-video-holder{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.big-video-holder, .video-list {
width: calc(100% / 2 - 6px);
}
.video-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.big-video-holder{
.home-art-item{
width: 100%;
.item-image {
padding-bottom: 70%;
}
}
.has-video {
.item-image{
&::before{
width: 88px;
height: 88px;
line-height: 88px;
font-size: 65px;
padding-left: 13px;
}
}
}
.item-title{
font-size: 20px;
line-height: 30px;
padding: 8px 20px;
}
}
.home-art-item{
width: calc(100% / 2 - 6px);
}
}
.home-article-holder{
display: flex;
flex-wrap: wrap;
position: relative;
min-height: 220px;
.home-art-item{
margin: 0 12px 12px 0 !important;
width: calc(100% / 4 - 9px);
border-radius: 10px;
overflow: hidden;
padding: 12px;
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
filter: unset !important;
&:nth-child(4n){
margin-right: 0 !important;
}
.item-image{
padding-bottom: 61%;
margin-bottom: 10px;
}
.item-title{
padding: 0;
color: #3A3A3A;
font-size: 16px;
font-weight: 700;
}
}
}
.home-customer-review-holder{
.item{
border: 1px solid #DEDEDE;
background: #fff;
padding: 16px;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
.item-image{
position: relative;
margin-right: 26px;
width: 187px;
height: 187px;
border-radius: 50%;
overflow: hidden;
img{
@extend .fit-img;
}
}
.item-text{
width: calc(100% - 213px);
position: relative;
font-size: 15px;
font-style: italic;
font-weight: 300;
line-height: 129.867%;
&::before{
content: '';
width: 275px;
height: 1px;
background: #005EC4;
position: absolute;
top: 0;
left: 0;
}
}
.icon-star{
margin: 10px 0;
}
.item-summary{
margin: 0 0 10px 0;
}
b{
font-weight: 500;
}
}
.product-page{
padding-top: 15px;
padding-bottom: 40px;
.product-banner-group{
margin: 0 0 20px 0;
border-radius: 10px;
overflow: hidden;
img{
border-radius: 10px;
}
.owl-prev{
left: 0 !important;
}
.owl-next{
right: 0 !important;
}
}
.brand-filter-holder{
display: flex;
flex-wrap: wrap;
margin: 20px 0;
img{
display: block;
width: auto;
max-width: 100%;
max-height: 100%;
margin: auto;
}
a{
border-radius: 3px;
border: 1px solid #ECECEC;
background: #FFF;
margin: 0 9px 9px 0;
color: #000;
width: calc(100% / 10 - 8.1px);
display: flex;
align-items: center;
justify-content: center;
height: 42px;
font-weight: 600;
font-size: 13px;
transition: .2s all;
white-space: nowrap;
span{
display: block;
padding: 0 5px;
overflow: hidden;
text-overflow: ellipsis;
}
&:hover{
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
}
&:nth-child(10n){
margin-right: 0;
}
&.active{
@extend .bg-main;
color: #Fff;
border-color: transparent;
}
}
}
.product-child-list{
margin: 20px 0;
display: flex;
flex-wrap: wrap;
.group-title{
font-size: 18px;
font-weight: 700;
line-height: 30px;
margin: 0;
width: 100%;
}
a{
background: #fff;
transition: .15s all;
width: calc(100% / 6);
font-weight: 500;
line-height: 22px;
color: #000;
text-align: center;
position: relative;
margin-top: 10px;
padding: 8px;
&:hover{
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
z-index: 1;
}
.title {
@extend .inherit;
}
.image {
display: block;
height: 84px;
position: relative;
margin-bottom: 10px;
}
img{
@extend .fit-img;
}
}
}
.product-list-holder{
display: flex;
flex-wrap: wrap;
.p-item{
margin: 0 12px 12px 0;
width: calc(100% / 5 - 10px);
&:nth-child(5n){
margin-right: 0;
}
}
}
.group-left {
width: 830px;
}
.group-right {
width: 358px;
}
.static-html-content {
font-size: 13px;
line-height: 158.023%;
*{
font-family: inherit !important;
line-height: inherit !important;
}
}
.static-tag-list{
margin: 0 0 10px 0;
a{
display: inline-block;
border-radius: 5px;
border: 1px solid #ECECEC;
background: #FFF;
font-size: 13px;
color: #000;
line-height: 32px !important;
padding: 0 16px;
margin: 0 6px 10px 0;
transition: .1s all;
&:hover{
@extend .bg-main;
color: #fff;
}
}
}
}
.product-hot-container{
@extend .skeleton;
padding: 17px 6px 13px 6px;
border-radius: 10px;
margin: 20px 0;
background-repeat: no-repeat;
background-size: 100% 100%;
.group-title{
color: #FFF;
text-align: center;
font-size: 32px;
font-weight: 700;
line-height: 50px;
margin: 0 0 14px 0;
}
.product-holder{
position: relative;
min-height: 400px;
}
.p-item {
margin: 0 6px
}
}
.product-filter-group{
display: flex;
flex-wrap: wrap;
margin: 20px 0;
.group-title{
font-size: 18px;
font-weight: 700;
line-height: 28px;
margin: 0 0 4px 0;
width: 100%;
}
.filter-item {
position: relative;
margin: 8px 8px 0 0;
&:hover, &.current {
.box-title {
color: #fff;
background: #1781e0;
border-color: transparent;
}
.icons, .icon-arrow{
filter: invert(1) brightness(100);
color: #fff;
}
}
&.current{
.filter-list-group {
opacity: 1;
visibility: visible;
z-index: 5;
}
}
.active{
color: #fff;
background: #1781e0;
border-color: transparent;
}
}
.box-title {
color: #000;
border-radius: 3px;
border: 1px solid #ECECEC;
background: #F8F8F8;
line-height: 32px;
padding: 0 10px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
cursor: pointer;
font-size: 13px;
&.active{
i{
filter: brightness(100);
}
}
}
.filter-list-group {
display: flex;
flex-wrap: wrap;
position: absolute;
left: -55px;
background: #fff;
border: 1px solid #eee;
border-radius: 8px;
box-shadow: 0px -1px 13px 0 rgba(0, 0, 0, 0.1);
padding: 15px 10px;
width: 400px;
transition: .2s;
opacity: 0;
visibility: hidden;
z-index: -10;
margin-top: 15px;
&::before{
content: '';
width: 14px;
height: 14px;
background: #fff;
position: absolute;
transform: rotate(-46deg);
top: -6px;
left: 66px;
border: 1px solid transparent;
border-left: 0;
border-bottom: 0;
}
}
.filter-attr-group{
width: 800px;
}
.filter-list-holder{
display: flex;
flex-wrap: wrap;
max-height: 400px;
overflow: auto;
&::-webkit-scrollbar{
width: 8px;
}
a {
line-height: 32px;
color: #444;
border: 1px solid #eee;
border-radius: 3px;
background: #f3f4f6;
padding: 0 10px;
margin: 0 8px 10px 0;
font-size: 12px;
display: inline-block;
white-space: nowrap;
&:hover{
color: #fff;
background: #1781e0;
border-color: transparent;
}
}
}
.item{
width: 33.333%;
margin-bottom: 20px;
.title{
font-weight: 700;
margin-bottom: 8px;
}
}
.icons{
width: 20px;
height: 20px;
margin-right: 6px;
}
.icon-filter {
background-position: -9px -204px;
}
.icon-truck{
background-position: -45px -204px;
}
.icon-cash{
background-position: -84px -204px;
}
.icon-up {
background-position: -161px -203px;
}
.icon-down {
background-position: -9px -230px;
}
.icon-eye{
background-position: -126px -204px;
}
.icon-arrow{
width: 8px;
height: 8px;
background: url(../images/icon-left.png) no-repeat;
background-size: 4px 8px;
background-position: 1px center;
transform: rotate(-90deg);
margin-left: 5px;
}
}
.static-btn-group{
text-align: center;
margin-top: 20px;
a{
color: #1435C3;
text-align: center;
font-size: 13px;
border-radius: 5px;
border: 1px solid #1435C3;
background: #FFF;
line-height: 32px;
max-width: 190px;
width: 100%;
margin: auto;
display: none;
transition: .1s all;
&:hover{
color: #fff;
background: #1435C3;
}
}
}
.product-article-related{
.item{
@extend .hover-img;
display: flex;
flex-wrap: wrap;
margin: 14px 0 0 0;
&:first-child {
margin: 0;
}
}
.image {
width: 112px;
height: 75px;
margin-right: 8px;
img{
display: block;
height: 100%;
width: 100%;
object-fit: cover;
}
}
.title {
width: calc(100% - 120px);
color: #000;
font-size: 13px;
line-height: 20px;
&:hover {
@extend .color-main;
}
}
}
.global-box-container {
box-shadow: 0px 1px 10px 0px rgba(161, 161, 161, 0.25);
border-radius: 10px;
background: #FFF;
padding: 15px 12px;
.group-title {
color: #000;
font-size: 15px;
font-weight: 600;
line-height: 24px;
margin: 0 0 12px 0;
}
}
.product-detail-page{
padding-top: 20px;
padding-bottom: 20px;
.page-title{
font-size: 20px;
font-weight: 700;
line-height: 26px;
margin: 0 0 12px 0;
}
.pd-status-group{
margin: 12px 0 22px 0;
line-height: 24px;
p{
margin: 0 20px 0 0;
display: inline-block;
&:last-child{
margin: 0;
}
}
}
.pd-price-group{
margin: 22px 0;
line-height: 24px;
*{
display: inline-block;
}
.pd-price {
color: #D43131;
font-size: 32px;
font-weight: 700;
margin: 0 10px 0 0;
}
.pd-old-price {
color: #A0A0A0;
font-size: 16px;
margin: 0 14px 0 0;
vertical-align: text-bottom;
}
.pd-discount {
border-radius: 3px;
background: #E00;
padding: 0 6px;
font-weight: 600;
color: #fff;
vertical-align: text-bottom;
}
}
.pd-btn-group{
margin: 16px 0;
display: flex;
flex-wrap: wrap;
line-height: 19px;
text-align: center;
a{
margin: 0 12px 0 0;
width: calc(100% / 2 - 6px);
color: #fff;
border-radius: 5px;
padding: 8px 10px;
background: #1781E0;
transition: .2s all;
&:hover{
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}
b{
display: block;
line-height: 26px;
font-size: 20px;
font-weight: 700;
text-transform: uppercase;
}
&:nth-child(1){
background: linear-gradient(90deg, #EE344C 0%, #D4202A 100%);
}
&:nth-child(4){
color: #0059A9;
background: #FFE073;
}
&:nth-child(2n){
margin-right: 0;
}
&:nth-child(n+3){
margin-top: 12px;
}
}
}
.pd-policy-group{
margin: 16px 0 0 0;
padding: 10px 14px;
border-radius: 5px;
border: 1px solid #A0A0A0;
background: #FFF;
.item{
position: relative;
margin: 0 0 23px 0;
padding-left: 26px;
&::before{
content: '';
position: absolute;
top: 3px;
left: 0;
width: 15px;
height: 15px;
line-height: 15px;
border-radius: 50%;
background: #36AC4A;
}
&::after{
content: '';
width: 8px;
height: 5px;
border-left: 2px solid #fff;
border-bottom: 2px solid #fff;
position: absolute;
left: 4px;
top: 7px;
transform: rotate(-45deg);
}
&:last-child{
margin: 0;
}
}
}
.pd-info-left {
margin-right: 12px;
width: 796px;
}
.pd-info-right {
width: calc(100% - 808px);
}
.pd-info-left, .pd-info-right {
.global-box-container {
margin-bottom: 12px;
}
.btn-show{
display: block;
width: 100%;
color: #000;
border-radius: 8px;
background: #FFF;
box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.25);
text-align: center;
margin: 12px 0 0 0;
font-weight: 500;
position: relative;
line-height: 40px;
transition: .15s all;
&:hover {
background: #1781E0;
color: #fff;
}
&::after{
content: '\203A';
transform: rotate(90deg);
position: absolute;
margin-left: 6px;
font-size: 15px;
font-weight: bold;
}
}
}
.pd-desc-btn {
text-align: center;
padding-top: 10px;
a{
display: none;
font-weight: 500;
line-height: 40px;
max-width: 278px;
border-radius: 8px;
margin: auto;
text-align: center;
background: #FFF;
box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.25);
color: #000;
position: relative;
transition: .15s all;
&:hover {
background: #1781E0;
color: #fff;
}
&::after{
content: '\203A';
transform: rotate(90deg);
position: absolute;
margin-left: 6px;
font-size: 15px;
font-weight: bold;
}
&:nth-child(2)::after{
transform: rotate(-90deg);
}
}
}
.global-box-container {
.group-title{
font-size: 20px;
font-weight: 700;
line-height: 24px
}
}
}
.pd-info-container{
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
margin-bottom: 30px;
.col-left {
width: 493px;
margin-right: 12px;
}
.col-right {
width: 695px;
}
.custom-nav {
overflow: hidden;
}
.owl-nav {
.arrow{
width: 26px;
height: 40px;
border-radius: 0;
background-color: #D9D9D9;
box-shadow: unset;
background-size: 7px 14px;
background-position: center;
}
.owl-prev {
left: 0;
}
.owl-next {
right: 0;
}
}
}
.pd-image-large{
margin-bottom: 10px;
min-height: 420px;
.item{
display: block;
position: relative;
padding-bottom: 100%;
}
img{
@extend .fit-img;
}
}
.pd-image-gallery{
display: flex;
flex-wrap: wrap;
margin: 10px 0 13px 0;
.owl-nav {
.arrow{
width: 20px;
height: 34px;
background-position: 6px center;
background-size: 6px 12px;
}
}
.current {
a{
border-color: #1781E0;
}
}
a{
display: block;
position: relative;
border-radius: 3px;
border: 1px solid #C7C7C7;
padding-bottom: 100%;
overflow: hidden;
&.img-active, &:hover{
border-color: #1781E0;
}
img{
@extend .fit-img;
width: 100%;
height: 100%;
}
}
.pd-btn-video{
width: 73px;
height: 73px;
margin-right: 11px;
padding: 0;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: #6C6C6C;
line-height: 17px;
}
.icon-video{
width: 42px;
height: 34px;
margin: 0 auto 3px auto;
background-position: -89px -270px;
}
.pd-gallery-holder{
width: calc(100% - 84px);
}
}
.pd-summary-group{
padding: 10px 12px;
margin: 13px 0;
border: 1px solid #DEDEDE;
border-radius: 5px;
.group-title{
font-weight: 700;
line-height: 18px;
margin: 0 0 7px 0;
}
.pd-summary-list{
margin: 7px 0 10px 0;
}
.item{
position: relative;
padding-left: 15px;
color: #3F3F3F;
line-height: 23px;
margin-bottom: 4px;
&:nth-child(n+5){
display: none;
}
&::before{
content: '';
width: 4px;
height: 4px;
border-radius: 50%;
background: #3F3F3F;
position: absolute;
top: 10px;
left: 2px;
}
*{
margin: 0 !important;
font-size: inherit !important;
line-height: inherit !important;
}
}
.pd-summary-btn{
line-height: 16px;
font-size: 13px;
a{
position: relative;
color: #1781E0;
padding-right: 10px;
display: none;
&::after {
content: '\203A';
transform: rotate(90deg);
position: absolute;
right: 0;
font-size: 15px;
font-weight: bold;
}
&:nth-child(2){
&::after {
transform: rotate(-90deg);
}
}
}
}
}
.pd-offer-group{
margin: 22px 0 16px 0;
border-radius: 5px;
background: #FFF;
box-shadow: 0px 0px 0px 1px #FFCCCE;
.group-title{
background: #FFCCCE;
padding: 0 10px;
margin: 0;
line-height: 36px;
color: #EE1B25;
font-size: 16px;
font-weight: 700;
display: flex;
align-items: center;
&::before{
@extend .icons;
content: '';
width: 23px;
height: 36px;
margin-right: 10px;
background-position: -80px -229px;
}
}
.pd-offer-list{
padding: 10px;
}
.item{
line-height: 19px;
margin: 0 0 15px 0;
position: relative;
padding-left: 30px;
&::before{
counter-increment: section;
content: counter(section);
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
line-height: 20px;
border-radius: 50%;
color: #fff;
background: #EE1B25;
text-align: center;
font-size: 12px;
font-weight: 700;
}
&:last-child{
margin: 0;
}
*{
margin: 0 !important;
font-size: inherit !important;
font-weight: inherit !important;
}
}
}
.pd-variant-container{
margin: 16px 0;
.group-title{
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
line-height: 18px;
}
.item{
margin: 0 8px 0 0;
width: calc(100% / 4 - 6px);
border-radius: 3px;
border: 1px solid #ECECEC;
background: #FFF;
font-weight: 600;
line-height: 22px;
color: #000;
padding: 12px 7px;
position: relative;
&:nth-child(4n){
margin-right: 0;
}
&:nth-child(n+5){
margin-top: 8px;
}
&:hover, &.current{
border-color: #1781E0;
}
}
}
.pd-variant-list{
display: flex;
flex-wrap: wrap;
.item{
display: flex;
align-items: center;
}
.current{
&::before{
@extend .bg-main;
content: '\2714';
color: #fff;
width: 24px;
height: 24px;
line-height: 22px;
padding-left: 5px;
position: absolute;
top: 0;
left: 0;
z-index: 1;
border-radius: 0 0 16px 0;
}
}
.image{
width: 42px;
margin-right: 10px;
}
.text{
width: calc(100% - 52px);
}
.price{
display: block;
font-weight: 800;
color: #1781E0;
}
}
.pd-variant-group-list{
display: flex;
flex-wrap: wrap;
.item{
padding: 12px;
font-weight: 400;
line-height: 18px;
border-radius: 5px;
}
img{
@extend .fit-img;
}
.image{
display: block;
position: relative;
margin: 0 0 14px 0;
padding-bottom: 79%;
}
.title{
margin-bottom: 4px;
@extend .line-clamp-2;
min-height: 36px
}
.price {
@extend .color-main;
display: block;
font-weight: 700;
line-height: 19px;
}
}
.fancybox-video-container {
background: transparent;
width: 90vw;
height: 90vh;
padding: 0 30px ;
.pd-video-list {
height: 150px;
display: flex;
overflow: hidden;
white-space: nowrap;
img {
@extend .fit-img;
}
a{
background: #000;
display: block;
padding-bottom: 150px;
position: relative;
&::before{
content: '';
position: absolute;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 1;
transition: .2s all;
}
&::after{
content: '\25B6';
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
background: #EE0000;
color: #fff;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
font-size: 25px;
padding-left: 5px;
transition: .2s all;
}
&.active, &:hover{
&::before{
background: rgba(0,0,0,0.8);
}
&::after{
width: 50px;
height: 50px;
line-height: 50px;
font-size: 30px;
}
}
&.active{
pointer-events: none;
&::after{
content: '||';
font-weight: 900;
padding: 0;
font-size: 16px;
letter-spacing: 2px;
transition: unset;
}
}
}
}
.video-holder {
margin-bottom: 20px;
height: calc(100% - 170px);
iframe{
display: block;
width: 100%;
height: 100%;
}
}
.fancybox-button {
background: #fff;
border-radius: 50%;
width: 30px;
height: 30px;
padding: 0;
}
.custom-nav {
.owl-prev {
left: 0 !important;
}
.owl-next {
right: 0 !important;
}
}
}
.pd-product-tab-container{
margin: 30px 0;
padding: 12px;
min-height: 400px;
.tab-title-group{
display: flex;
align-items: center;
line-height: 35px;
position: relative;
padding-bottom: 9px;
margin-bottom: 8px;
font-weight: 600;
font-size: 20px;
a{
color: #000;
margin: 0 4px 0 0;
padding: 0 14px;
position: relative;
&:hover{
color: #E00202;
}
&.active{
background: #E00202;
color: #fff;
&::after{
content: '';
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #E00202;
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
}
}
}
}
.box-product-holder{
display: none;
position: relative;
&.active{
display: block;
}
}
.product-holder{
position: relative;
max-height: 440px;
overflow: hidden;
.p-item {
margin: 9px 6px;
}
}
}
.pd-spec-group {
line-height: 18px;
font-weight: 300;
font-size: 14px;
&.fancybox-content{
border-radius: 12px;
padding: 0;
}
.js-static-content {
border-radius: 12px;
box-shadow: 0px 0px 0px 1px #F3F3F3;
*{
line-height: inherit !important;
font-weight: inherit !important;
font-size: inherit !important;
margin: 0 !important;
}
}
p{
margin: 0;
}
tr{
&:nth-child(odd){
background: #F3F3F3;
}
td{
padding: 12px;
}
}
}
.pd-art-group{
.group-title{
display: flex;
align-items: center;
.icons{
width: 40px;
height: 24px;
}
}
.icon-news {
background-position: -124px -232px;
}
.icon-youtube {
background-position: -167px -233px;
}
.item{
margin: 0 0 10px 0;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
&:last-child{
margin: 0;
}
img{
width: auto;
border-radius: 10px;
}
}
.art-image {
width: 133px;
margin-right: 12px;
}
.art-title{
width: calc(100% - 145px);
color: #000;
font-size: 12px;
line-height: 16px;
}
}