1592 lines
37 KiB
SCSS
1592 lines
37 KiB
SCSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
body {
|
|
color: #222;
|
|
font-family: "Inter", sans-serif;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
font-weight: normal;
|
|
}
|
|
|
|
html {
|
|
font-size: 100%;
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.clearfix {
|
|
content: "";
|
|
clear: both;
|
|
}
|
|
|
|
ul,
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
.ul,
|
|
.ol {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background-color: #f5f5f5;
|
|
border-radius: 10px;
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 7px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #f90012;
|
|
border-radius: 20px;
|
|
background-image: -webkit-gradient(
|
|
linear,
|
|
0 0,
|
|
0 100%,
|
|
color-stop(0.7, rgba(255, 255, 255, 0.2)),
|
|
color-stop(0.5, transparent),
|
|
to(transparent)
|
|
);
|
|
}
|
|
.d-flex {
|
|
display: flex !important;
|
|
}
|
|
|
|
.d-block {
|
|
display: block;
|
|
}
|
|
|
|
.flex-wrap {
|
|
flex-wrap: wrap !important;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center !important;
|
|
}
|
|
|
|
.align-items {
|
|
align-items: center !important;
|
|
}
|
|
|
|
.space-between {
|
|
justify-content: space-between !important;
|
|
}
|
|
|
|
.space-center {
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.d-block {
|
|
display: block !important;
|
|
}
|
|
|
|
.flex-direction {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
padding: 0 10px;
|
|
max-width: 1210px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.line-clamp-1 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.line-clamp-2 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.line-clamp-3 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.line-clamp-4 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.line-clamp-5 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 5;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.icon_2023 {
|
|
background: url(../images/icon_2023.png) no-repeat;
|
|
background-size: 150px 150px;
|
|
display: block;
|
|
}
|
|
.header {
|
|
.icon_2023 {
|
|
&.map {
|
|
width: 16px;
|
|
height: 20px;
|
|
background-position: -13px 0px;
|
|
}
|
|
&.store {
|
|
width: 19px;
|
|
height: 20px;
|
|
background-position: -43px 0px;
|
|
}
|
|
&.phone {
|
|
width: 19px;
|
|
height: 20px;
|
|
background-position: -70px 0px;
|
|
}
|
|
&.account {
|
|
width: 30px;
|
|
height: 34px;
|
|
background-position: -84px -23px;
|
|
}
|
|
&.cart {
|
|
width: 30px;
|
|
height: 34px;
|
|
background-position: -120px -23px;
|
|
}
|
|
}
|
|
.header-top-left {
|
|
a {
|
|
padding: 0 10px;
|
|
font-size: 13px;
|
|
&:hover {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
i {
|
|
color: #4a4a4a;
|
|
}
|
|
}
|
|
.header-top-right {
|
|
.txt {
|
|
font-size: 13px;
|
|
padding-left: 7px;
|
|
color: #222;
|
|
font-weight: 400;
|
|
&:hover {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
.item {
|
|
margin-left: 60px;
|
|
}
|
|
a {
|
|
color: #f90012;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
.header-top {
|
|
padding: 10px;
|
|
background: #f2f2f2;
|
|
}
|
|
.header-menu {
|
|
background-color: #fe0003;
|
|
width: 290px;
|
|
height: 48px;
|
|
line-height: 48px;
|
|
position: relative;
|
|
padding: 0 10px;
|
|
border-radius: 8px;
|
|
.title {
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
p {
|
|
text-transform: uppercase;
|
|
font-size: 18px;
|
|
margin-left: 10px;
|
|
}
|
|
.icon_2023 {
|
|
&.bars {
|
|
display: block;
|
|
width: 30px;
|
|
height: 24px;
|
|
background-position: -14px -31px;
|
|
}
|
|
}
|
|
}
|
|
.menu_holder {
|
|
position: absolute;
|
|
top: 52px;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 4;
|
|
background: #fff;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15);
|
|
.item {
|
|
height: 35px;
|
|
display: flex;
|
|
&:first-child {
|
|
margin-top: 5px;
|
|
}
|
|
.menu-hover {
|
|
background: #fff;
|
|
border: solid 1px #dedede;
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 290px;
|
|
width: calc(1200px - 290px);
|
|
height: 427px;
|
|
overflow: auto;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transform: translate(20px, 0);
|
|
transition: opacity 0.7s, transform 0.7s;
|
|
|
|
.item-holder {
|
|
width: 30%;
|
|
padding-right: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.title-holder {
|
|
color: #f90012;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 14px;
|
|
display: block;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.holder-last {
|
|
font-size: 13px;
|
|
line-height: 30px;
|
|
&:hover a {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
z-index: 1;
|
|
.cat-title {
|
|
color: #f90012;
|
|
font-weight: 700;
|
|
}
|
|
.menu-hover {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transform: translate(0, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-cate {
|
|
padding: 0 10px;
|
|
width: 100%;
|
|
.cat-title {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
&:hover {
|
|
.menu_holder {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
.height-hover {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.header-main {
|
|
padding: 12px 0;
|
|
.logo {
|
|
width: 290px;
|
|
margin-left: 15px;
|
|
}
|
|
}
|
|
.header-main-right {
|
|
width: calc(100% - 290px - 290px - 490px - 35px);
|
|
.icon_2023 {
|
|
filter: grayscale(100%);
|
|
margin: 0 auto;
|
|
}
|
|
.item {
|
|
width: calc(100% / 2);
|
|
&:hover {
|
|
.icon_2023 {
|
|
filter: grayscale(0%);
|
|
}
|
|
}
|
|
&.icon_cart {
|
|
position: relative;
|
|
.cart-count {
|
|
position: absolute;
|
|
right: 1px;
|
|
top: 0;
|
|
background: #f90012;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 18px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.form__input {
|
|
width: 490px;
|
|
margin-right: 20px;
|
|
border-radius: 20px;
|
|
&:focus-within {
|
|
border: 1px solid #fe0003;
|
|
.search-form {
|
|
border: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form__input .search-form {
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
padding: 3px;
|
|
background: #fff;
|
|
position: relative;
|
|
width: 100%;
|
|
border: 1px solid #b09382;
|
|
}
|
|
|
|
.form__input .submit-search {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
border: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-weight: 300;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form__input .icon_2023.search {
|
|
width: 25px;
|
|
height: 25px;
|
|
background-position: -52px -28px;
|
|
}
|
|
|
|
.form__input .text_search {
|
|
border: 0;
|
|
padding: 0 5px 0 10px;
|
|
width: calc(100% - 40px);
|
|
height: 100%;
|
|
outline: none;
|
|
color: #a0a0a0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form__input .searh-form-container {
|
|
float: left;
|
|
width: calc(100% - 60px);
|
|
height: 35px;
|
|
}
|
|
|
|
.custom-nav .owl-nav {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.custom-nav .owl-nav button {
|
|
margin: 0 !important;
|
|
background: rgba(0, 0, 0, 0.2) !important;
|
|
color: #222 !important;
|
|
width: 25px;
|
|
height: 50px;
|
|
font-size: 25px !important;
|
|
text-align: left;
|
|
position: absolute;
|
|
top: 50%;
|
|
-webkit-transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
background: #ffffff !important;
|
|
border: 1px dashed #f2f2f2;
|
|
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
|
|
.custom-nav .owl-nav button:hover {
|
|
color: #222 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.custom-nav .owl-nav .owl-prev {
|
|
left: 0;
|
|
border-radius: 50% !important;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
.custom-nav .owl-nav .owl-next {
|
|
right: 0;
|
|
border-radius: 50% !important;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.custom-nav .owl-nav i {
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.custom-nav .owl-nav .owl-prev i {
|
|
padding-right: 3px;
|
|
}
|
|
.custom-nav .owl-nav .owl-next i {
|
|
padding-left: 3px;
|
|
}
|
|
.homepage {
|
|
.banner {
|
|
img {
|
|
border-radius: 30px;
|
|
}
|
|
}
|
|
.category-home {
|
|
margin-top: 25px;
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
margin-bottom: 40px;
|
|
}
|
|
.list-categroy {
|
|
.item {
|
|
width: calc(100% / 6);
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
}
|
|
.icon {
|
|
width: 84px;
|
|
height: 84px;
|
|
margin: 0 auto 30px auto;
|
|
}
|
|
.txt {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-sale-home {
|
|
margin-top: 15px;
|
|
.item {
|
|
margin-right: 15px;
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
.content-list-category {
|
|
padding: 30px 30px 0 30px;
|
|
&:nth-child(2n) {
|
|
background: #f5f5f5;
|
|
}
|
|
.title-category {
|
|
.name {
|
|
padding-bottom: 20px;
|
|
font-size: 32px;
|
|
text-align: center;
|
|
&:hover a {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
.list-cat {
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
.item {
|
|
border: 1px solid #bababa;
|
|
background: #ffffff;
|
|
color: #bababa;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
padding: 8px 15px;
|
|
border-radius: 20px;
|
|
margin-right: 12px;
|
|
&:first-child {
|
|
border: 1px solid #f90012;
|
|
color: #f90012;
|
|
}
|
|
&:hover {
|
|
border: 1px solid #f90012;
|
|
color: #f90012;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.customer-feeback {
|
|
background: #fff1f2;
|
|
padding: 28px 0 55px 0;
|
|
.title {
|
|
text-align: center;
|
|
display: block;
|
|
font-size: 32px;
|
|
}
|
|
.list-feeback {
|
|
margin-top: 20px;
|
|
}
|
|
.custom-nav .owl-nav button {
|
|
position: unset;
|
|
bottom: 0;
|
|
transform: translateY(24px);
|
|
margin: 0 5px !important;
|
|
}
|
|
}
|
|
.item-feeback {
|
|
position: relative;
|
|
border-radius: 15px;
|
|
height: 275px;
|
|
margin-top: 40px;
|
|
background: #ffffff;
|
|
border-radius: 15px;
|
|
margin-right: 20px;
|
|
.avatar {
|
|
width: 78px;
|
|
height: 78px;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: -35px;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
.info {
|
|
padding-top: 55px;
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
}
|
|
.content {
|
|
text-align: center;
|
|
margin: 0 25px;
|
|
line-height: 20px;
|
|
font-size: 15px;
|
|
}
|
|
.star {
|
|
margin: 30px auto 0 auto;
|
|
text-align: center;
|
|
img {
|
|
width: 100px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
&::before {
|
|
border: 1px dashed #f90012;
|
|
border-radius: 15px;
|
|
position: absolute;
|
|
content: "";
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 15px;
|
|
bottom: 15px;
|
|
}
|
|
}
|
|
.brand-list {
|
|
padding: 20px 0;
|
|
}
|
|
}
|
|
.icon_star {
|
|
display: block;
|
|
background: url(../images/star_2023.png) no-repeat;
|
|
height: 12px;
|
|
width: 75px;
|
|
&.star5 {
|
|
background-position: 0 0;
|
|
}
|
|
&.star4 {
|
|
background-position: 0 -15px;
|
|
}
|
|
&.star3 {
|
|
background-position: 0 -30px;
|
|
}
|
|
&.star2 {
|
|
background-position: 0 -45px;
|
|
}
|
|
&.star1 {
|
|
background-position: 0 -60px;
|
|
}
|
|
&.star0 {
|
|
background-position: 0 -75px;
|
|
}
|
|
}
|
|
.product-item {
|
|
background: #ffffff;
|
|
border-radius: 15px;
|
|
padding: 15px;
|
|
width: calc(100% / 4 - 15px);
|
|
margin-right: 15px;
|
|
margin-bottom: 15px;
|
|
.image-product {
|
|
display: block;
|
|
position: relative;
|
|
height: 250px;
|
|
overflow: hidden;
|
|
img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
transition: 0.5s all;
|
|
transform: scale(1);
|
|
object-fit: cover;
|
|
}
|
|
&:hover {
|
|
img {
|
|
transform: scale(1.05);
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.saleoff {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 48px;
|
|
height: 35px;
|
|
background: #fff1f2;
|
|
border-radius: 6px;
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
line-height: 35px;
|
|
text-align: center;
|
|
&:hover {
|
|
background: #f90012;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
.info-product {
|
|
.product-title {
|
|
font-size: 14px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
height: 35px;
|
|
margin-bottom: 5px;
|
|
text-align: center;
|
|
&:hover {
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
.total-review {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 13px auto 10px auto;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
.price {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
color: #f90012;
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
}
|
|
.old-price {
|
|
font-size: 14px;
|
|
color: #b4b4b4;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
.product-price-main {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
.footer-top {
|
|
background: url(../images/form_sale.png) no-repeat;
|
|
height: 307px;
|
|
width: 100%;
|
|
background-size: 100% 100%;
|
|
}
|
|
.form-khuyenmai {
|
|
width: 590px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
padding: 100px 0;
|
|
.title {
|
|
font-size: 32px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.content-form {
|
|
width: 100%;
|
|
background: #fafcfe;
|
|
border: 1px solid #f90012;
|
|
border-radius: 10px;
|
|
height: 45px;
|
|
display: flex;
|
|
position: relative;
|
|
&:focus-within {
|
|
outline: 2px solid #f90012;
|
|
}
|
|
}
|
|
#email-newsletter {
|
|
border-radius: 10px 0 0 10px;
|
|
border: 0;
|
|
padding: 0 5px 0 10px;
|
|
width: calc(100% - 40px);
|
|
height: 100%;
|
|
outline: none;
|
|
color: #a0a0a0;
|
|
font-size: 14px;
|
|
}
|
|
.send-newsletter {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
border: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-weight: 300;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.icon_2023.send-form {
|
|
width: 31px;
|
|
height: 40px;
|
|
background-position: -90px -70px;
|
|
}
|
|
}
|
|
.info-contact {
|
|
border-bottom: 1px dashed #b4b4b4;
|
|
padding: 28px 0;
|
|
.item {
|
|
width: calc(100% / 4);
|
|
&.pay {
|
|
p {
|
|
text-align: right;
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
margin-bottom: 10px;
|
|
color: #8e8e8e;
|
|
}
|
|
}
|
|
}
|
|
.icon {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
p {
|
|
text-transform: uppercase;
|
|
color: #8e8e8e;
|
|
margin-left: 8px;
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
.txt {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
.icon_2023 {
|
|
&.map {
|
|
width: 16px;
|
|
height: 20px;
|
|
background-position: -13px 0px;
|
|
}
|
|
&.phone {
|
|
width: 19px;
|
|
height: 20px;
|
|
background-position: -70px 0px;
|
|
}
|
|
}
|
|
.content-footer-main {
|
|
padding: 22px 0;
|
|
border-bottom: 1px dashed #b4b4b4;
|
|
.item-footer {
|
|
width: calc(100% / 4);
|
|
a {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
&:hover {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
}
|
|
.title {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
.footer-contact {
|
|
padding: 15px 0;
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
.breadcrumb ol {
|
|
width: 100%;
|
|
float: left;
|
|
padding: 0;
|
|
margin: 0;
|
|
background: none;
|
|
}
|
|
.breadcrumb ol li {
|
|
float: left;
|
|
list-style: none;
|
|
}
|
|
.breadcrumb ol li a span {
|
|
font-size: 14px;
|
|
color: #333;
|
|
line-height: 45px;
|
|
float: left;
|
|
display: flex;
|
|
align-items: center;
|
|
&:hover {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
.breadcrumb ol li a:last-child {
|
|
color: #222;
|
|
}
|
|
.breadcrumb ol li h1 {
|
|
font-size: 15px;
|
|
color: #222;
|
|
line-height: 45px;
|
|
float: left;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
}
|
|
.breadcrumb ol li i {
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
float: left;
|
|
line-height: 45px;
|
|
color: #000;
|
|
}
|
|
.breadcrumb ol li:last-child i {
|
|
display: none;
|
|
}
|
|
|
|
.breadcrumb .icon_2023.home {
|
|
width: 16px;
|
|
height: 17px;
|
|
display: block;
|
|
background-position: -9px -128px;
|
|
margin-right: 10px;
|
|
margin-left: 0;
|
|
}
|
|
.breadcrumb .home span,
|
|
.breadcrumb .home i {
|
|
color: #b4b4b4;
|
|
}
|
|
// product category
|
|
.product-category {
|
|
.content-product-category {
|
|
margin-top: 15px;
|
|
}
|
|
.left-category {
|
|
width: 290px;
|
|
.title {
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
.right-category {
|
|
width: calc(100% - 305px);
|
|
margin-left: 15px;
|
|
}
|
|
.filter-category {
|
|
.title-filter {
|
|
padding: 10px 0;
|
|
position: relative;
|
|
&::after {
|
|
position: absolute;
|
|
content: "\f106";
|
|
right: 0;
|
|
font-weight: 700;
|
|
font: normal normal normal 20px/1 FontAwesome;
|
|
color: #8e8e8e;
|
|
}
|
|
}
|
|
.item-filter {
|
|
&.active {
|
|
.content-filter {
|
|
display: block;
|
|
}
|
|
.title-filter {
|
|
&::after {
|
|
content: "\f107";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.content-filter {
|
|
padding: 10px 0;
|
|
display: none;
|
|
}
|
|
#slider-range {
|
|
border-radius: 4px;
|
|
height: 4px;
|
|
margin-bottom: 10px;
|
|
background: #d9d9d9;
|
|
border: 0;
|
|
margin-left: 9px;
|
|
}
|
|
.ui-slider-handle {
|
|
width: 16px;
|
|
height: 16px;
|
|
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
top: -0.5rem;
|
|
}
|
|
.ui-slider-horizontal .ui-slider-range {
|
|
background: #f90012;
|
|
}
|
|
.vertical-price-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 12px;
|
|
}
|
|
.vertical-price-filter-child {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.button-filter {
|
|
width: 70px;
|
|
height: 30px;
|
|
border: 1px solid #222;
|
|
display: block;
|
|
text-align: center;
|
|
line-height: 30px;
|
|
margin: 0 auto;
|
|
cursor: pointer;
|
|
border-radius: 20px;
|
|
&:hover {
|
|
background: #f90012;
|
|
color: #fff;
|
|
border: 1px solid #f90012;
|
|
}
|
|
}
|
|
.left {
|
|
display: flex;
|
|
align-items: center;
|
|
i {
|
|
font-size: 18px;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
.right {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
.banner-categor {
|
|
margin-bottom: 10px;
|
|
}
|
|
.product-category-sort {
|
|
margin-top: 10px;
|
|
}
|
|
.name-category {
|
|
h1 {
|
|
font-size: 24px;
|
|
}
|
|
span {
|
|
font-size: 14px;
|
|
color: #8e8e8e;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
.sort-pro {
|
|
width: 209px;
|
|
height: 40px;
|
|
border: 1px solid #d3d3d3;
|
|
border-radius: 8px;
|
|
padding: 0 5px;
|
|
}
|
|
.product-list {
|
|
margin-top: 10px;
|
|
margin-right: -15px;
|
|
.product-item {
|
|
width: calc(100% / 3 - 15px);
|
|
}
|
|
}
|
|
}
|
|
// product detail
|
|
.product-detail {
|
|
.product-image-detail {
|
|
width: 490px;
|
|
margin-right: 15px;
|
|
#sync1 {
|
|
img {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
}
|
|
#sync2 {
|
|
padding: 10px 34px;
|
|
img {
|
|
width: 96px;
|
|
height: 96px;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
}
|
|
.custom-nav .owl-nav button {
|
|
box-shadow: none !important;
|
|
}
|
|
}
|
|
.product-detail-mid {
|
|
width: calc(100% - 490px - 185px - 30px);
|
|
.name {
|
|
font-size: 22px;
|
|
padding-bottom: 10px;
|
|
}
|
|
.brand {
|
|
font-size: 15px;
|
|
width: 50%;
|
|
}
|
|
.sku {
|
|
font-size: 15px;
|
|
width: 50%;
|
|
}
|
|
.detal-review {
|
|
padding: 3px 0;
|
|
border-bottom: 1px solid #e9e9e9;
|
|
font-size: 15px;
|
|
}
|
|
.product-summary {
|
|
padding: 13px 0;
|
|
li {
|
|
list-style: inside;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
}
|
|
.group-price-detail {
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #e9e9e9;
|
|
.price {
|
|
font-weight: 600;
|
|
font-size: 24px;
|
|
color: #f90012;
|
|
margin-right: 10px;
|
|
}
|
|
.old-price {
|
|
font-size: 16px;
|
|
color: #b4b4b4;
|
|
}
|
|
.saleoff-price {
|
|
font-size: 15px;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
.unit-detail-amount-control {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 10px;
|
|
span {
|
|
margin-right: 20px;
|
|
}
|
|
a {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
width: 29px;
|
|
border: 1px solid #cecece;
|
|
text-align: center;
|
|
}
|
|
i {
|
|
font-size: 10px;
|
|
}
|
|
input {
|
|
width: 46px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
border: 1px solid #cecece;
|
|
border-left: 0;
|
|
border-right: 0;
|
|
}
|
|
.minus {
|
|
border-radius: 5px 0 0 5px;
|
|
}
|
|
.plus {
|
|
border-radius: 0 5px 5px 0;
|
|
}
|
|
}
|
|
.product-detail-store {
|
|
padding: 15px 0;
|
|
.link-store {
|
|
color: #ff981f;
|
|
}
|
|
span {
|
|
font-size: 14px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
.product-btn-cart {
|
|
margin-bottom: 15px;
|
|
.btn-buy {
|
|
height: 44px;
|
|
background: #f90012;
|
|
border-radius: 8px;
|
|
width: calc(100% / 2 - 12px);
|
|
margin-right: 12px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
a {
|
|
color: #fff;
|
|
}
|
|
&.add-to-cart {
|
|
background: #ffffff;
|
|
border: 1px solid #f90012;
|
|
a {
|
|
color: #f90012;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.product-detail-voucher {
|
|
border: 2px dashed #f90012;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
font-size: 16px;
|
|
a {
|
|
color: #f90012;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
.product-detail-right {
|
|
width: 190px;
|
|
margin-left: 15px;
|
|
.title {
|
|
background: #f90012;
|
|
border-radius: 5px;
|
|
height: 40px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #ffffff;
|
|
line-height: 40px;
|
|
font-weight: 700;
|
|
}
|
|
.content {
|
|
border: 2px dashed #f90012;
|
|
border-top: 0;
|
|
border-radius: 0 0 5px 5px;
|
|
padding-bottom: 15px;
|
|
}
|
|
.item {
|
|
padding: 15px 5px 0 15px;
|
|
.icon {
|
|
width: 32px;
|
|
margin-right: 10px;
|
|
}
|
|
.txt {
|
|
width: calc(100% - 32px);
|
|
b {
|
|
font-size: 14px;
|
|
padding-bottom: 3px;
|
|
display: block;
|
|
}
|
|
span {
|
|
display: block;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|
|
.icon_2023 {
|
|
background-size: 200px;
|
|
&.phone {
|
|
width: 23px;
|
|
height: 22px;
|
|
background-position: -13px -210px;
|
|
}
|
|
&.save {
|
|
width: 23px;
|
|
height: 22px;
|
|
background-position: -46px -210px;
|
|
}
|
|
&.gift {
|
|
width: 23px;
|
|
height: 22px;
|
|
background-position: -79px -210px;
|
|
}
|
|
&.shipping {
|
|
width: 32px;
|
|
height: 22px;
|
|
background-position: -117px -210px;
|
|
}
|
|
}
|
|
}
|
|
.content-product-detail {
|
|
margin-top: 30px;
|
|
.detail-left {
|
|
width: 62%;
|
|
}
|
|
.detail-right {
|
|
width: calc(100% - 62% - 16px);
|
|
margin-left: 16px;
|
|
}
|
|
}
|
|
.list-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
.item-tab {
|
|
width: 150px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
border: 1px dashed #f90012;
|
|
border-radius: 5px;
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
position: relative;
|
|
&.active {
|
|
background: #f90012;
|
|
color: #fff;
|
|
&::before {
|
|
position: absolute;
|
|
content: "";
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
bottom: -12px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 12px solid transparent;
|
|
border-right: 12px solid transparent;
|
|
border-top: 12px solid red;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.content-tab {
|
|
display: none;
|
|
border: 1px solid #f90012;
|
|
border-radius: 12px;
|
|
padding: 20px 15px 15px 15px;
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
.category-featured {
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
color: #f90012;
|
|
margin-bottom: 28px;
|
|
}
|
|
.item {
|
|
width: calc(100% / 3 - 38px);
|
|
margin-right: 38px;
|
|
margin-bottom: 38px;
|
|
}
|
|
.icon {
|
|
margin: 0 auto;
|
|
display: block;
|
|
text-align: center;
|
|
img {
|
|
width: 72px;
|
|
height: 72px;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.txt {
|
|
font-size: 14px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
margin-top: 23px;
|
|
display: block;
|
|
}
|
|
}
|
|
.product-same {
|
|
.title {
|
|
border: 1px solid #d3d3d3;
|
|
padding: 21px 0;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
}
|
|
.product-list {
|
|
border-left: 1px solid #d3d3d3;
|
|
}
|
|
.product-item {
|
|
width: calc(100% / 2);
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
border-right: 1px solid #d3d3d3;
|
|
border-radius: 0;
|
|
border-bottom: 1px solid #d3d3d3;
|
|
padding: 12px;
|
|
.image-product {
|
|
height: 219px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.nd * {
|
|
line-height: 25px;
|
|
}
|
|
.product-flash-sale {
|
|
margin-top: 40px;
|
|
.title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
h2 {
|
|
font-size: 36px;
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
.icon_2023 {
|
|
&.flash {
|
|
width: 50px;
|
|
height: 58px;
|
|
background-position: 1px -51px;
|
|
}
|
|
}
|
|
.product-time-holder {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 10px;
|
|
.item-time {
|
|
margin-right: 14px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
b {
|
|
background: linear-gradient(180deg, #ff848d 0%, #f90012 100%);
|
|
border-radius: 5px;
|
|
width: 35px;
|
|
height: 35px;
|
|
text-align: center;
|
|
line-height: 35px;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
position: relative;
|
|
font-size: 16px;
|
|
&:last-child {
|
|
margin: 0;
|
|
}
|
|
&::after {
|
|
content: ":";
|
|
position: absolute;
|
|
right: -10px;
|
|
color: #000;
|
|
}
|
|
}
|
|
&:last-child {
|
|
b {
|
|
margin: 0;
|
|
&::after {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.background-deal {
|
|
background: #fff1f2;
|
|
border-radius: 30px;
|
|
padding: 15px;
|
|
}
|
|
.custom-nav .owl-prev {
|
|
left: -12px;
|
|
}
|
|
.custom-nav .owl-next {
|
|
right: -12px;
|
|
}
|
|
.more-all {
|
|
display: block;
|
|
margin: 15px auto 0 auto;
|
|
text-align: center;
|
|
color: #f90012;
|
|
font-weight: 700;
|
|
i {
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
}
|
|
.product-item-deal {
|
|
background: #ffffff;
|
|
border: 1px dashed #f90012;
|
|
border-radius: 15px;
|
|
padding: 15px;
|
|
.image-product {
|
|
display: block;
|
|
position: relative;
|
|
height: 250px;
|
|
overflow: hidden;
|
|
img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
transition: 0.5s all;
|
|
transform: scale(1);
|
|
object-fit: cover;
|
|
}
|
|
&:hover {
|
|
img {
|
|
transform: scale(1.05);
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.saleoff {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 48px;
|
|
height: 35px;
|
|
background: #fff1f2;
|
|
border-radius: 6px;
|
|
color: #f90012;
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
line-height: 35px;
|
|
text-align: center;
|
|
&:hover {
|
|
background: #f90012;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
.info-product {
|
|
.product-title {
|
|
font-size: 14px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
height: 35px;
|
|
margin-bottom: 5px;
|
|
text-align: center;
|
|
}
|
|
.total-review {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 13px auto 10px auto;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
.price {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
color: #f90012;
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
}
|
|
.old-price {
|
|
font-size: 14px;
|
|
color: #b4b4b4;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
.product-price-main {
|
|
margin-bottom: 10px;
|
|
}
|
|
.deal-count {
|
|
position: relative;
|
|
width: 250px;
|
|
height: 18px;
|
|
background: #ffd0d4;
|
|
border-radius: 9px;
|
|
.icon_2023 {
|
|
&.hot {
|
|
width: 20px;
|
|
height: 28px;
|
|
background-position: -56px -75px;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 9;
|
|
}
|
|
}
|
|
b {
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
display: block;
|
|
z-index: 9;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
.count-bg {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
background: #f90012;
|
|
border-radius: 9px;
|
|
height: 18px;
|
|
display: block;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
}
|