Files
giao_dien_web_mau/demo-thoitrang-1/scss/pc_style.scss
2023-04-06 14:19:39 +07:00

2091 lines
48 KiB
SCSS

body{
color:#000;
font-family: 'Inter', sans-serif;
background: #fff;
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: #FF0000;
}
.yellow{
color: #fdb813;
}
.black{
color: #222;
}
.grey{
color: #888;
}
.green{
color: #29A07E;
}
.orange{
color: #FE7801;
}
.color-main{
color: #FF0000;
}
.bg-blue{
background: #005BAD;
}
.bg-red{
background: #D91605;
}
.bg-white{
background: #fff;
}
.bg-orange{
background: #ff9219;
}
.bg-green{
background: #29A07E;
}
.bg-main{
background: #FF848D;
}
.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{background:#606060;border-radius:10px;}
// ::-webkit-scrollbar-thumb:hover{background:#aaa;}
// ::-webkit-scrollbar{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(91.56deg, #F52194 2.74%, #FA9F2C 96.84%);
}
.fancybox-thumbs__list a {height: 90px;background-size: 80%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #FF848D}
@keyframes calllink {
0%{color:#eba11e;}
50%{color:#fff;}
100%{color:#ebfa48;}
}
@keyframes pulse{from{width:23px;height:23px;} to{width:46px;height:46px;}}
@keyframes zoomIn{from{width:31px;height:31px;}to{width:62px;height:62px; }}
.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 {
padding: 0 8px;
max-width: 1216px;
min-width: 1216px;
}
.row {
margin: 0 -8px;
}
.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;
}
.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;font-size: 13px;line-height: 18px;cursor: pointer;}
.label-container .checkmark{position:absolute;top:3px;left:0;height: 13px;width: 13px;background-color: #fff;border-radius:50%;border: 1px solid #BFBFBF}
.label-container input{position:absolute;opacity:0;cursor:pointer}
.label-container input:checked ~ .checkmark{border-color: #FF0000;}
.label-container input:checked ~ .checkmark:after{display:block}
.label-container input:checked ~ .checkmark:after {content: '';width: 8px;height: 8px;background: #FF0000;border-radius: 50%;position: absolute;top: 2px;left: 2px;}
.global-breadcrumb{
font-size: 15px;
line-height: 18px;
padding-top: 6px;
padding-bottom: 20px;
a{
color: #000000;
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content:'/';
padding: 0 5px;
color: #A3A3A3;
}
&:last-child{
&::after{
content: none;
}
a{
@extend .color-main;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 12px;
font-weight: 500;
a{
width: 36px;
height: 36px;
line-height: 36px;
text-align: center;
border: 1px solid #000000;
color: #000;
background-color: #fff;
margin: 0 1px;
transition: .12s all;
&:hover, &.current{
background-color: #000;
color: #fff;
border-color: transparent;
}
}
.prev, .next {
border: 0;
font-size: 0;
&::before{
content: '';
@extend .icons;
background-position: -125px -202px !important;
display: block;
height: 100%;
}
&:hover{
&::before{
filter: invert(1);
}
}
}
.prev{
transform: rotate(-180deg);
background-position: -125px -204px !important;
}
}
.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: 250px 250px;
}
.custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
background: unset !important;
}
.owl-prev {
left: -36px;
}
.owl-next {
right: -36px;
}
.arrow{
width: 22px;
height: 40px;
display: block;
background: url(../images/arrow-left.png) no-repeat;
background-position: center;
background-size: 22px 40px;
background-color: #fff;
transition: .2s all;
}
.arrow-right{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 20px;
right: 5%;
margin: 0 !important;
.owl-dot {
span{
margin: 0 7px;
width: 8px;
height: 8px;
border-radius: 50px;
background: transparent;
transition: .2s all;
border: 1px solid #000;
}
&.active,&:hover{
span{
background: #000;
border-color: transparent;
}
}
}
}
}
.p-item{
background: #FFFFFF;
overflow: hidden;
font-size: 15px;
line-height: 20px;
position: relative;
transition: .15s all;
&:hover{
.p-img-list{
img{
opacity: 0;
visibility: hidden;
&:nth-child(2){
opacity: 1;
visibility: visible;
}
}
}
a{
@extend .color-main;
}
}
p{
margin: 0
}
img{
@extend .fit-img;
transition: .4s all !important;
width: 100%;
height: 100%;
object-fit: cover;
&:nth-child(2){
opacity: 0;
visibility: hidden;
}
}
.p-img{
display: block;
position: relative;
padding-bottom: 397px;
overflow: hidden;
}
.p-text{
padding: 10px 0;
}
.p-type-group{
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.p-type-new{
display: block;
background: #3EC7F2;
line-height: 28px;
padding: 0 6px;
font-weight: 600;
font-size: 12px;
}
.p-discount, .p-deal-discount{
background: #FF833E;
display: block;
font-weight: 600;
font-size: 12px;
line-height: 20px;
color: #000;
padding: 5px 6px 1px 6px;
text-align: center;
&::before{
content: '';
background: url(../images/icon-discount.png) no-repeat;
background-size: 18px 24px;
width: 18px;
height: 24px;
display: block;
margin: auto;
}
}
.p-deal-discount{
background: #FFD600;
&::before{
background: url(../images/deal-icon-discount.png) no-repeat;
background-size: 18px 24px;
}
}
.p-name{
display: block;
color: #000;
margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
*{
@extend .inherit;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.p-price-group{
font-size: 15px;
line-height: 20px;
*{
display: inline-block;
margin: 0;
}
}
.p-price{
font-weight: 600;
font-size: 18px;
margin-right: 5px;
color: #FF0000;
}
.p-old-price{
text-decoration-line: line-through;
color: #959595;
}
.p-deal-group{
font-size: 10px;
line-height: 20px;
margin: 16px 0 0 0;
}
.p-sale-quantity{
margin: 0;
}
.p-line-holder{
background: #F0F0F0;
height: 10px;
position: relative;
}
.p-line{
position: absolute;
left: 0;
top: 0;
bottom: 0;
max-width: 100%;
background: #FFD600;
}
}
.owl-carousel {
.p-item{
&:hover{
box-shadow: unset !important;
}
}
}
.global-header{
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 99;
background: #fff;
img{
width: auto;
height: auto;
margin: auto;
}
}
.global-header-main{
border-bottom: 1px solid #E8E8E8;
padding-top: 20px;
padding-bottom: 20px;
margin-bottom: 12px;
img{
max-height: 34px;
}
a{
color: inherit;
}
.col-left{
a{
margin-right: 40px;
text-transform: uppercase;
font-size: 18px;
line-height: 22px;
&:last-child{
margin: 0;
}
&:hover{
@extend .red;
}
}
}
.col-right{
display: flex;
align-items: center;
justify-content: flex-end;
position: relative;
}
.icons{
width: 27px;
height: 27px;
margin-left: 25px;
}
.icon-search {
background-position: -9px -9px;
display: block;
&.active{
background-position: -175px -48px;
}
}
.icon-user {
display: block;
background-position: -60px -9px;
}
.icon-phone {
background-position: -108px -9px;
animation: phonering 1.8s infinite ease-in-out;
}
.icon-cart {
background-position: -159px -9px;
position: relative;
}
.cart-count {
position: absolute;
top: -6px;
right: -6px;
width: 17px;
height: 17px;
line-height: 17px;
border-radius: 50%;
text-align: center;
color: #fff;
background: #FF0000;
font-weight: 600;
}
.sub-item{
display: none;
a{
display: block;
}
}
}
.header-search-group {
position: absolute;
top: 70px;
right: 0;
z-index: -3;
background: #fff;
min-width: 350px;
opacity: 0;
visibility: hidden;
transition: .3s all;
&.active{
top: 35px;
z-index: 3;
opacity: 1;
visibility: visible;
}
form {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0px 0px 4px 0px rgba(0,0,0,.3);
border-radius: 4px;
overflow: hidden;
}
.text-search {
border: 0;
padding: 0 10px;
margin: 0;
height: 36px;
width: calc(100% - 40px);
}
.btn-search {
border: 0;
padding: 0;
margin: 0;
width: 40px;
height: 36px;
background-position: 3px 1px;
background-size: 200px 200px;
}
}
.header-policy-group{
background: #EBEBEB;
font-size: 18px;
line-height: 22px;
text-transform: uppercase;
padding: 13px 0;
display: flex;
margin-bottom: 10px;
p{
margin: 0;
font-size: 16px;
&:first-child{
margin: 0 11px 0 0;
font-size: 16px;
}
}
.item{
width: calc(100% / 3);
display: flex;
align-items: center;
justify-content: center;
padding: 0 20px;
&:nth-child(2){
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}
}
.icons{
width: 40px;
height: 34px;
margin-right: 15px;
}
.icon-tag {
width: 32px;
margin-right: 11px;
background-position: -9px -49px;
}
.icon-box {
background-position: -58px -54px;
}
.icon-truck {
background-position: -117px -52px;
}
}
.global-footer{
img{
display: block;
width: auto !important;
height: auto;
margin: auto;
}
.global-header {
position: unset;
img{
display: inline;
}
}
.global-header-main {
border: 0;
padding: 30px 0;
margin: 0;
}
.icons{
width: 40px;
height: 40px;
border-radius: 50%;
margin-left: 16px;
box-shadow: 0px 0px 0px 1px #000000;
background-color: #fff;
transition: .1s;
&:hover{
filter: invert(1);
}
}
.icon-facebook {background-position: 5px -89px;}
.icon-google {background-position: -35px -89px;}
.icon-youtube {background-position: -80px -87px;}
.icon-instagram {background-position: -125px -89px;}
}
.footer-brand-group{
padding: 20px 0 27px 0;
a{
display: block;
position: relative;
padding-bottom: 50px;
}
img{
@extend .fit-img;
}
}
.footer-subscribe-group{
position: relative;
.btn-subscribe{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%) !important;
z-index: 1;
line-height: 52px;
background: rgba(255,255,255,.8);
color: #000000;
font-size: 16px;
text-transform: uppercase;
padding: 0 27px;
transition: .1s all;
&:hover{
background: #000;
color: #fff;
}
}
}
.footer-bottom-group{
background: #000000;
color: #fff;
line-height: 22px;
padding: 20px 0;
.icon-payment{
width: 230px;
height: 22px;
border-radius: 0;
filter: unset !important;
background-position: -10px -430px;
background-size: 500px;
background-color: transparent;
}
}
.homepage{
img{
display: block;
width: auto;
height: auto;
}
.home-banner-group{
min-height: 470px;
margin-bottom: 30px;
}
.box-btn{
text-decoration-line: underline;
font-weight: 300;
font-size: 16px;
line-height: 30px;
color: #000;
}
.product-holder{
position: relative;
min-height: 450px;
}
.banner-under-product{
display: flex;
flex-wrap: wrap;
margin: 40px 0 50px 0;
a{
margin: 0 16px 0 0;
width: calc(100% / 2 - 8px);
&:nth-child(2n){
margin-right: 0;
}
&:nth-child(n+3){
margin-top: 16px;
}
}
}
}
.home-deal-group, .product-deal-page{
margin: 30px 0;
.group-title{
font-weight: 300;
font-size: 16px;
line-height: 30px;
margin-bottom: 23px;
p{
margin: 0 22px 0 11px;
}
.title{
font-weight: 600;
font-size: 36px;
line-height: 30px;
margin: 0 11px 0 2px;
}
}
.icon-bolt{
width: 50px;
height: 50px;
margin-right: 2px;
background-position: -9px -142px;
position: relative;
top: 11px;
}
.deal-time-holder{
font-weight: 700;
font-size: 16px;
line-height: 30px;
display: flex;
align-items: center;
}
.deal-countdown{
display: flex;
align-items: center;
font-weight: 700;
font-size: 16px;
line-height: 36px;
margin-left: 5px;
b{
margin: 0 9px;
background: linear-gradient(180deg, #595959 0%, #000000 100%);
color: #fff;
position: relative;
width: 36px;
text-align: center;
&::before{
content: ':';
line-height: 36px;
position: absolute;
left: -11px;
color: #000;
}
&:first-child::before{
content: none;
}
}
}
}
.banner-under-deal {
margin: 30px 0 40px 0;
.col-left {
a{
margin: 0 16px 16px 0;
width: calc(100% / 2 - 8px);
&:nth-child(2n){
margin-right: 0;
}
&:nth-child(n+3){
margin-bottom: 0;
}
}
}
}
.home-product-group{
margin: 40px 0;
.box-title-group{
text-align: center;
margin-bottom: 25px;
.title{
text-transform: uppercase;
font-weight: 600;
font-size: 32px;
line-height: 30px;
margin: 0 0 16px 0;
}
}
}
.home-customer-comment-group{
margin: 50px 0 20px 0;
.title{
text-align: center;
text-transform: uppercase;
font-weight: 600;
font-size: 32px;
line-height: 30px;
margin: 0 0 30px 0;
}
.item{
text-align: center;
font-size: 14px;
line-height: 20px;
}
.image{
margin-bottom: 13px;
}
.avatar{
display: block;
margin: 13px auto 10px auto;
width: 50px;
height: 50px;
border-radius: 50%;
background-position: center;
background-repeat: no-repeat;
background-size: 50px;
}
.icon-star{
margin: 5px 0;
}
.item-name{
font-weight: 600;
line-height: 30px;
}
.summary{
margin: 5px 0 0 0;
font-weight: 300;
@extend .line-clamp-4;
}
}
.product-page{
padding-bottom: 30px;
.page-title-group{
margin-bottom: 27px;
select{
height: 26px;
font-size: 16px;
border: 0;
padding: 0 10px;
}
}
.page-title{
font-weight: 700;
font-size: 24px;
line-height: 26px;
margin: 0;
}
.product-list{
display: flex;
flex-wrap: wrap;
}
.p-item{
margin: 0 16px 37px 0;
width: calc(100% / 3 - 11px);
&:nth-child(3n){
margin-right: 0;
}
}
}
.product-filter-container {
a{
font-size: 16px;
line-height: 30px;
color: #000000;
display: table;
position: relative;
&:hover{
@extend .red;
}
}
.filter-item{
padding: 17px 0;
border-bottom: 1px solid #EBEBEB;
&:last-child{
border: 0;
}
&.filter-hide{
.filter-title::after{
background-position: -216px -189px;
transform: scale(0.9);
width: 24px;
}
}
}
.filter-title{
position: relative;
text-transform: uppercase;
font-weight: 700;
font-size: 18px;
line-height: 20px;
margin: 0;
cursor: pointer;
&::after{
@extend .icons;
content: '';
width: 23px;
height: 23px;
position: absolute;
right: 0;
background-position: -171px -189px;
}
}
.category-list{
padding-top: 12px;
a{
line-height: 26px;
}
.cat-1{
font-weight: 700;
}
.cate-child-list{
padding: 0 22px 25px 22px;
}
}
.filter-list {
padding-top: 12px;
a{
padding-left: 32px;
&::before{
content: '';
position: absolute;
top: 5px;
left: 0;
width: 18px;
height: 18px;
background: #FFFFFF;
box-shadow: 0px 0px 0px 1px #D9D9D9;
border-radius: 5px;
}
}
.current{
&::before{
background: #FF0000;
box-shadow: 0px 0px 0px 1px #FF0000;
}
&::after{
content: "";
position: absolute;
left: 7px;
top: 8px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
transform: rotate(45deg);
}
}
}
}
.product-deal-page{
margin: auto;
.p-item{
width: calc(100% / 4 - 12px);
&:nth-child(3n){
margin-right: 16px;
}
&:nth-child(4n){
margin-right: 0;
}
}
}
.product-detail-page{
padding-bottom: 30px;
.pd-image-group{
margin-bottom: 27px;
}
.page-title{
font-weight: 600;
font-size: 22px;
line-height: 27px;
margin-bottom: 22px;
}
.pd-summary-group {
font-weight: 300;
line-height: 18px;
margin: 12px 0 18px 0;
}
.pd-btn-size{
text-decoration-line: underline;
font-weight: 300;
line-height: 20px;
color: #000;
position: relative;
&::before{
@extend .icons;
content: '';
width: 20px;
height: 20px;
display: inline-block;
background-position: -72px -170px;
margin-right: 7px;
}
}
.pd-status-group {
display: inline-block;
line-height: 34px;
font-weight: 600;
padding: 0 14px;
margin: 0 0 18px 0;
}
.home-product-group{
.box-title-group {
text-align: left;
}
.title {
margin: 0;
}
}
}
.pd-box-group {
.box-title-group{
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
border-bottom: 1px solid #EBEBEB;
padding-right: 34px;
p{
margin: 0;
line-height: 40px;
}
.title{
font-weight: 600;
text-transform: uppercase;
}
}
.icon-down{
width: 20px;
height: 20px;
position: absolute;
right: 0;
background-position: -213px -93px;
transform: rotate(-180deg);
&.active{
transform: rotate(0deg);
}
}
.pd-sku{
color: #959595;
}
.pd-box-content{
padding: 14px 0 18px 0;
display: none;
border-bottom: 1px solid #EBEBEB;
*{
font-size: 14px;
line-height: 22px;
}
}
}
.pd-image-gallery{
width: 85px;
margin-right: 16px;
padding: 20px 0 5px 0;
position: relative;
.item {
display: block;
margin-bottom: 16px;
border: 1px solid transparent;
&.slick-current{
border-color: #000;
}
}
.icons {
cursor: pointer;
width: 20px;
height: 10px;
position: absolute;
left: 50%;
transform: translateX(-50%);
background-position: -213px -98px;
}
.icon-prev {
top: 0;
transform: rotate(180deg);
left: 39%;
}
.icon-next {
bottom: 0;
}
}
.pd-image-large{
width: 389px;
a{
position: relative;
display: block;
}
.icon-zoom{
width: 38px !important;
height: 38px;
border-radius: 50%;
background: #fff;
position: absolute;
left: 8px;
bottom: 13px;
&::before{
content: '';
@extend .icons;
display: block;
height: 100%;
background-position: -116px -170px;
transition: .12s all;
}
&:hover{
background: #000;
&::before{
filter: brightness(100);
}
}
}
}
.pd-price-group{
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
margin: 22px 0;
font-size: 16px;
line-height: 20px;
.icon-bolt{
width: 22px;
height: 22px;
margin-right: 9px;
background-position: -79px -143px;
position: relative;
top: 3px;
}
.pd-price{
color: #FF0000;
font-weight: 600;
font-size: 24px;
line-height: 20px;
margin-right: 8px;
}
.pd-old-price{
color: #959595;
}
a{
font-size: 13px;
color: #000000;
}
}
.pd-deal-holder{
margin: 20px 0 12px 0;
.group-title{
background: #FFD600;
padding: 10px 8px;
margin-bottom: 16px;
b{
font-weight: 700;
font-size: 14px;
line-height: 30px;
}
}
.title{
font-weight: 600;
font-size: 20px;
line-height: 30px;
margin: 0;
}
.icon-bolt{
width: 20px;
height: 30px;
background: url(../images/deal-icon-discount.png) no-repeat;
background-position: 0 3px;
background-size: 16px 20px;
}
.deal-countdown{
display: flex;
align-items: center;
font-weight: 700;
font-size: 16px;
line-height: 26px;
margin-left: 5px;
b{
margin: 0 6px;
background: linear-gradient(180deg, #595959 0%, #000000 100%);
color: #fff;
position: relative;
width: 26px;
text-align: center;
&::before{
content: ':';
line-height: 26px;
position: absolute;
right: -8px;
top: 2px;
color: #000;
}
&:last-child{
margin-right: 0;
&::before{
content: none;
}
}
}
}
.pd-deal-line{
position: relative;
background: #F0F0F0;
height: 10px;
.pd-line {
position: absolute;
top: 0;
left: 0;
bottom: 0;
max-width: 100%;
background: #FFD600;
}
}
.pd-deal-count{
font-size: 10px;
line-height: 20px;
margin: 0;
}
}
.pd-variant-option-group td{display:flex;flex-wrap:wrap;align-items:center;margin:10px 0;text-transform: uppercase;font-weight: 600;line-height: 18px;}
.pd-variant-option-group .variant-option-value-box a{text-align:center;color:#000;background: #fff;margin: 0 12px 10px 0;display:block;position:relative;overflow:hidden;text-transform: uppercase;font-size: 14px;line-height: 34px;box-shadow: 0px 0px 0px 1px #d9d9d9;padding: 0 25px;font-weight: 500;}
.pd-variant-option-group .variant-option-value-box .freesize {width: auto;border-radius: 42px;padding: 0 10px}
.pd-variant-option-group .variant-option-value-box .unavailable{background:#F4F4F4 !important;color:#CACACA;pointer-events:none}
.pd-variant-option-group .variant-option-value-box .unavailable::before,.pd-variant-option-group .variant-option-value-box .unavailable::after{content:'';width:1px;height:50px;border-left:1px dashed #B5B5B5;position:absolute;top:50%;bottom:0;left:50%;transform:translate(-50%,-50%) rotate(45deg)}
.pd-variant-option-group .variant-option-value-box .unavailable::after{transform:translate(-50%,-50%) rotate(-45deg)}
.pd-variant-option-group .variant-option-value-box .selected{color:#FFF;background: #FF0000;box-shadow: 0 0 0 1px #FF0000;}
.pd-variant-option-group .variant-color .variant-option-value-box a{font-size:0;box-shadow:unset;box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.1);width: 28px;height: 28px;border-radius: 50%;padding: unset;margin: 6px 16px 0 0;}
.pd-variant-option-group .variant-color .variant-option-value-box .selected{background:#fff;position:unset;box-shadow: unset;}
.pd-variant-option-group .variant-color .variant-option-value-box .selected::before{content:'';box-shadow: 0 0 0 2px #FF0000;width: 36px;height: 36px;position:absolute;left:-4px;top:2px;border-radius:50%}
.pd-variant-option-group .variant-color .variant-option-value-box{position:relative;min-width:40px}
.pd-quantity-group{
font-weight: 600;
line-height: 18px;
margin: 0 0 10px 0;
p{
margin: 0 0 9px 0;
}
.pd-quantity-holder{
width: 92px;
box-shadow: 0px 0px 0px 1px #d9d9d9;
display: flex;
*{
font-weight: 500;
line-height: 44px;
height: 44px;
text-align: center;
border: 0;
padding: 0;
margin: 0;
}
a{
color: #000;
width: 27px;
}
input{
width: 38px;
}
}
}
.pd-btn-group{
a{
display: block;
margin: 12px 0 0 0;
box-shadow: 0px 0px 0px 1px #000;
text-align: center;
text-transform: uppercase;
font-weight: 600;
font-size: 16px;
line-height: 44px;
color: #000;
&:first-child{
background: #000;
color: #fff;
}
}
}
.pd-col-right{
.box-title{
font-weight: 700;
font-size: 20px;
line-height: 24px;
}
.p-item {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
margin-top: 21px;
.p-img {
width: 60px;
padding-bottom: 83px;
margin-right: 12px;
}
.p-type-group {
display: none;
}
.p-text {
width: calc(100% - 72px);
padding: 0;
}
.p-name {
white-space: unset;
font-size: 13px;
line-height: 16px;
margin-bottom: 7px;
* {
@extend .line-clamp-2;
white-space: inherit;
}
}
.p-price-group {
font-size: 13px;
}
.p-price {
font-size: 15px;
}
}
}
.pd-comment-container {
.box-title-group {
padding: 0;
p {
display: flex;
align-items: center;
}
}
.pd-comment-detail{
padding: 15px 0 25px 0;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
border-bottom: 1px solid #EBEBEB;
}
.pd-form-group{
width: 100%;
}
.pd-form-btn{
line-height: 44px;
background: #FFFFFF;
box-shadow: 0px 0px 0px 1px #000;
text-align: center;
font-weight: 600;
font-size: 16px;
max-width: 288px;
width: 100%;
color: #000;
transition: .15s all;
&:hover{
background: #000;
color: #fff;
}
}
.box-left{
b{
display: block;
line-height: 18px;
max-width: 120px;
font-weight: 600;
}
p{
margin: 13px 0 0 0;
font-size: 13px;
line-height: 16px;
}
}
.pd-form-group{
margin-top: 15px;
display: none;
textarea, input{
display: block;
width: 100%;
outline: none;
color: #000;
resize: none;
margin: 13px 0 0 0;
padding: 0 10px;
border: 1px solid #ced4da;
border-radius: 4px;
height: 38px;
}
textarea{
height: 90px;
padding: 10px;
}
a{
margin-top: 13px ;
}
}
.pd-review-count {
border-bottom: 1px solid #EBEBEB;
line-height: 40px;
}
}
.pd-size-table{
padding: 20px 14px;
text-align: center;
max-width: 794px;
display: none;
font-size: 15px;
.title{
font-weight: 700;
font-size: 24px;
line-height: 29px;
margin: 0 0 10px 0;
}
.note{
line-height: 18px;
color: #2796B9;
margin: 0 0 20px 0;
}
tr{
&:nth-child(even){
background: #F5F5F6;
}
}
td{
border: 1px solid #E5E5E7;
padding: 10px 22px;
&:nth-child(1){
text-align: left;
}
}
}
.cart-page{
padding-bottom: 50px;
img{
display: block;
}
.cart-tbl-info{
background: #EBEBEB;
font-size: 16px;
padding: 16px 0 5px 0;
p{
margin: 0;
}
td{
padding: 12px 16px;
vertical-align: baseline;
line-height: 20px;
&:nth-child(1){
font-weight: 700;
width: 130px;
}
}
.total-price{
td{
padding: 24px 16px 14px 16px;
&:nth-child(2){
font-weight: 700;
font-size: 20px;
}
}
border-top: 1px solid #D9D9D9;;
}
.btn-cart-submit {
display: block;
text-align: center;
line-height: 44px;
background: #000;
color: #fff !important;
font-weight: 600;
font-size: 16px;
}
}
.item-row{
padding: 15px 0;
border-bottom: 1px solid #E8E8E8;
display: flex;
flex-wrap: wrap;
align-items: center;
line-height: 18px;
a{
display: block;
color: #000;
}
.p-img{
width: 120px;
margin-right: 40px;
}
.item-text{
width: calc(100% - 160px);
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
}
.p-name{
margin-bottom: 10px;
}
.p-price{
color: #FF0000;
font-weight: 600;
font-size: 16px;
line-height: 20px;
margin: 10px 0 12px 0;
}
.p-variant{
text-transform: uppercase;
margin: 10px 0;
}
.item-left{
max-width: 300px;
}
.item-quanity{
display: flex;
align-items: center;
span{
margin-right: 15px;
}
}
.item-quanity-holder{
display: flex;
box-shadow: 0px 0px 0px 1px #D9D9D9;
width: 92px;
*{
height: 44px;
line-height: 44px;
text-align: center;
padding: 0;
margin: 0;
border: 0;
}
a{
width: 30px;
}
input{
width: 32px;
}
}
.icon-edit{
display: block;
width: 15px;
height: 15px;
background-position: -179px -99px;
margin: 10px 0;
&:hover{
filter: invert(1)
}
}
.icon-delete{
width: 20px;
height: 20px;
background-position: -178px -53px;
position: relative;
top: 12px;
}
}
}
.cart-step-1{
padding-top: 25px;
.box-title{
font-size: 32px;
line-height: 30px;
margin-bottom: 15px;
p{
margin: 0;
}
}
.voucher-holder{
position: relative;
display: flex;
align-items: center;
margin-bottom: 15px;
&::before{
@extend .icons;
content: '';
width: 20px;
height: 20px;
position: absolute;
left: 0;
background-position: -171px -144px;
}
input{
width: 390px;
height: 50px;
border: 0;
padding: 0 10px 0 30px;
margin: 0 20px 0 0;
border-bottom: 1px solid #E8E8E8;
color: #959595;
font-weight: 300;
}
.voucher-note {
color: #FF0000;
line-height: 19px;
padding-right: 35px;
width: calc(100% - 410px);
}
}
.icon-right{
width: 22px;
height: 20px;
padding: 0;
margin: 0;
border: 0;
background-position: -214px -53px;
position: absolute;
right: 0;
}
}
.cart-edit-container {
display: none;
.edit-holder{
width: 500px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: #fff;
z-index: 100;
padding: 16px;
}
.cart-edit-content{
display: flex;
flex-wrap: wrap;
}
.item-image{
width: 120px;
margin-right: 20px;
}
.item-text{
width: calc(100% - 140px);
}
.item-name{
display: block;
color: #000;
line-height: 17px;
margin-bottom: 7px;
}
.item-price{
@extend .red;
font-weight: 600;
font-size: 16px;
line-height: 20px;
margin: 0;
}
.icon-delete {
display: block;
width: 20px;
height: 20px;
margin: auto 0 12px auto;
background-position: -178px -53px;
}
.btn-update {
display: block;
text-align: center;
color: #fff;
background: #000;
line-height: 44px;
font-weight: 600;
font-size: 16px;
}
.variant-option-value-box a {
padding: 0px 20px;
margin-right: 9px;
}
}
.cart-step-2{
display: block;
.box-title{
border: 1px solid #D9D9D9;
margin-bottom: 18px;
padding: 30px 16px;
font-size: 15px;
line-height: 18px;
display: flex;
align-items: center;
justify-content: space-between;
p{
margin: 0;
}
a{
text-decoration-line: underline;
color: #FF0000;
}
}
.cart-voucher-holder {
margin: 20px 0 27px 0;
font-size: 15px;
line-height: 18px;
display: none;
p{
margin: 0 0 20px 0;
}
input{
color: #8D8D8D;
font-size: 15px;
border: 0;
border-bottom: 1px solid #D9D9D9;
display: block;
width: 100%;
margin: 0 0 20px 0;
height: 34px;
}
button{
height: 44px;
padding: 0;
margin: 0;
color: #fff;
background: #000;
font-weight: 600;
font-size: 16px;
width: 100%;
max-width: 190px;
}
}
.payment-item{
margin-bottom: 28px;
&:last-child{
margin: 0;
}
.title{
margin-bottom: 17px;
}
}
.label-container{
font-size: 15px;
margin-bottom: 10px;
}
}
.cart-info-holder{
margin-bottom: 65px;
.title{
font-weight: 600;
font-size: 20px;
line-height: 24px;
margin: 0 0 10px 0;
}
}
.cart-input-holder{
display: flex;
flex-wrap: wrap;
input{
display: block;
width: 100%;
font-size: 15px;
line-height: 18px;
color: #000;
margin: 30px 0 0 0;
padding: 0 0 10px 0;
border: 0;
border-bottom: 1px solid #D9D9D9;
&:nth-child(1){
margin-top: 20px;
}
&:nth-child(2) {
margin-right: 16px;
}
&:nth-child(2), &:nth-child(3) {
width: calc(100% / 2 - 8px);
}
}
select {
border: 0;
border-bottom: 1px solid #D9D9D9;
margin: 30px 16px 0 0;
font-size: 16px;
line-height: 19px;
padding: 0 0 7px 0;
width: calc(100% / 3 - 16px);
&:last-child{
margin-right: 0;
}
}
}
.cart-summary-group{
font-size: 15px;
font-weight: 700;
line-height: 30px;
a{
display: inline-block;
color: #000;
}
.title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
margin: 0 0 12px 0;
}
td{
border-bottom: 1px solid #D9D9D9;
padding: 15px 0;
}
.cart-btn-group{
td{
border: 0;
}
a{
font-weight: 500;
font-size: 16px;
line-height: 19px;
text-transform: uppercase;
}
button{
height: 44px;
color: #fff;
background-color: #000;
font-weight: 600;
font-size: 16px;
padding: 0;
margin: 0;
width: 100%;
max-width: 560px;
}
}
.cart-item-group{
td{
padding: 0;
}
}
.cart-item{
font-weight: 400;
line-height: 26px;
padding: 9px 0;
.cart-name{
margin-right: 5px;
&:hover{
@extend .red;
}
}
b{
font-weight: 700;
}
.item-variant{
color: #959595;
font-size: 13px;
}
}
}