body{ color:#000; font-family: 'Roboto', sans-serif; background: #F8F8FC; position: relative; font-size:14px; font-weight:400; line-height:1.5; text-align:left; max-width: 650px; margin: auto; word-break: break-word; counter-reset: section; overflow: auto; } a{ text-decoration: none; outline: none; } b{ font-weight: bold; } .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; } p { margin-top: 0; margin-bottom: 1rem; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; } .h1, h1 {font-size: 2em} .h2, h2 {font-size: 1.5em} .h3, h3 {font-size: 1.17em} .h4, h4, .h5, h5, .h6, h6 {font-size: initial} .h1, h1,.h2, h2,.h3, h3,.h4, h4,.h5, h5,.h6, h6 {font-weight: bold} .ul { margin: 0; padding: 0; list-style: none; } img { max-width: 100%; height: auto; } .clearfix{ &::after { content: ''; clear: both; display: block; } } .clear { clear: both; } button, input, select { outline: none !important; color: #000; } textarea {font-family: inherit;} table{ width: 100% !important; -webkit-overflow-scrolling: touch; border-collapse: collapse; } @media screen and (-webkit-min-device-pixel-ratio: 0){ select, textarea, input { font-size: 16px; } } iframe { max-width: 100%; display: block; border: 0; width: 100%; margin: auto; } .text-white { color: #fff; } .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-21{ font-size: 21px; } .text-22{ font-size: 22px; } .text-24{ font-size: 24px; } .text-28{ font-size: 28px; } .text-30{ font-size: 30px; } .text-36{ font-size: 36px; } .line-height-2{ line-height: 2; } .line-22{ line-height: 22px; } .blue{ color: #005BAD; } .blue-2{ color: #1988EC; } .blue-light{ color: #00FFF0; } .orange{ color: #FE7801; } .red{ color: #CE000C; } .grey{ color: #999; } .yellow{ color: #fdb813; } .color-main{ color: #007FD5; } .black{ color: #222; } .green{ color: #29A07E; } .bg-blue{ background: #005BAD; } .bg-red{ background: #D91605; } .bg-green{ background: #29A07E; } .bg-main{ background: #007FD5; } .blue-light{ color: #31c6fe; } @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) } } .animate__backInRight{ animation-name:backInRight; } .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; } .text-white{ color: #fff; } .bg-white{ background: #fff !important; } .font-weight-lighter{ font-weight: 300; } .flex-wrap{ flex-wrap: wrap; } .d-flex{ display: flex !important; } .d-block{ display: block !important; } .d-none{ display: none !important; } .d-inline-block{ display: inline-block !important; } .align-items-center{ align-items: center; } .align-items-baseline{ align-items: baseline; } .justify-content-between{ justify-content: space-between; } .justify-content-center{ justify-content: center; } .overflow-hidden{ overflow: hidden !important; } .overflow-auto{ overflow: auto; } .float-left{ float: left; } .float-right{ float: right; } .float-none{ float: none; } .position-relative{ position: relative; } .text-white { color: #fff; } .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .text-uppercase{ text-transform: uppercase; } .text-capitalize{ text-transform: capitalize; } .w-100{ width: 100% !important; } .w-50{ width: 50% !important; } .w-auto{ width: auto !important; } .h-100{ height: 100% !important; } .h-auto{ height: auto !important; } .m-0{ margin: 0 !important; } .mb-0{ margin-bottom: 0 !important; } .mt-0{ margin-top: 0 !important; } .ml-0{ margin-left: 0 !important; } .mr-0{ margin-right: 0 !important; } .mt-2{ margin-top: .5rem!important } .mt-3 { margin-top: 1rem!important; } .mb-2{ margin-bottom: .5rem!important } .mb-3 { margin-bottom: 1rem!important; } .p-0{ padding: 0 !important; } .pt-0{ padding-top: 0 !important; } .pb-0{ padding-bottom: 0 !important;; } .pl-0{ padding-left: 0 !important; } .pr-0{ padding-right: 0 !important;; } .pt-2, .py-2 { padding-top: .5rem!important; } .pt-3, .py-3 { padding-top: 1rem!important; } .border-0{ border: 0 !important; } .p-15{ padding: 0 15px; } .font-weight-bold{ font-weight: bold; } .form-control { display: block; width: calc(100% - 1.5rem - 2px); height: calc(1.5em + 0.75rem + 2px); padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .bg-orange{ background: #ff9219; } .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; } .text-underline{ text-decoration: underline; } .font-italic{ font-style: italic; } .border-bottom{ border-bottom: 1px solid #ccc; } .pb-1, .py-1 { padding-bottom: 0.25rem!important; } .fit-img{ width: auto; position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; max-height: 100%; margin: auto; display: block; } .autocomplete-suggestions{position:absolute;width: 100%;;border:solid 1px #ddd;right:0;max-height:300px;overflow:auto;display:none;background:#fff;z-index:9;top: 100%;} .autocomplete-suggestions a{display: flex;align-items: flex-start;padding:10px;overflow:hidden;} .autocomplete-suggestions a img{width:60px;float:left;margin-right: 12px;} .autocomplete-suggestions a .info{width: calc(100% - 72px);} .autocomplete-suggestions a .info .name{display:block;color:#333;} .autocomplete-suggestions a .info .price{color:#ec1c24;} .autocomplete-suggestions 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;} .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: calc(100% - 60px);} .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: 300px; } } .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; } .fancybox-slide--video { padding: 10px; } .fancybox-thumbs__list a {height: 90px;background-size: 80%;background-color: #fff;transition: unset} .fancybox-thumbs__list a:before {border: 3px solid #FF848D} .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; } } } .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%);} .bg-popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 99; cursor: pointer; } .p-10{ padding-left: 10px; padding-right: 10px; } .container{ padding: 0 10px; } .global-breadcrumb{ font-size: 14px; line-height: 20px; padding-top: 14px; padding-bottom: 14px; a{ color: #000000; &:hover{ @extend .color-main; } } ol, ul{ display: flex; align-items: center; flex-wrap: wrap; } li{ display: flex; align-items: center; &::after{ content:'/'; padding: 0 4px; } &:last-child{ &::after{ content: none; } } } h1{ @extend .inherit; } } .paging{ margin: 20px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; a{ width: 30px; height: 30px; line-height: 30px; border-radius: 50%; background: #F3F3F3; text-align: center; color: #000; margin: 0 4px; transition: .12s all; &:hover, &.current{ background-color: #FFC21F; color: #fff; } } .icon-prev, .icon-next { background: url(../images/icon-left.png) no-repeat center; background-size: 7px 12px; background-color: #F3F3F3; font-size: 0 !important; } .icon-next { transform: rotate(-180deg); } } .icons{ background: url(../images/sprite.png) no-repeat; background-size: 315px 400px; } .mb-icons{ background: url(../images/mb-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; &.disabled{ display: none; } } .owl-prev { left: 0px; } .owl-next { right: 0px; } .arrow{ width: 26px; height: 53px; display: block; background: url(../images/icon-left.png) no-repeat; background-position: 6px center; background-size: 8px 16px; 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: 0 !important; .owl-dot { margin: 0 3px; width: 6px; height: 6px; border-radius: 50px; background: transparent; transition: .2s all; background: #ccc; background: rgba(0, 0, 0, 0.5); span{ display: none; } &.active{ width: 20px; } &.active { background: #007FD5; } } } } .p-item{ background: #FFFFFF; overflow: hidden; position: relative; padding: 8px 6px; border: 0.885787px solid #EAEAEA; border-radius: 13px; font-size: 13px; line-height: 16px; z-index: 1; img{ display: block; width: auto; } p{ margin: 0; } .p-img{ display: block; position: relative; padding-bottom: 100%; overflow: hidden; margin-bottom: 8px; border-radius: inherit; img{ @extend .fit-img; } } .p-icons-group{ position: absolute; top: -1px; right: 10px; z-index: 1; } .p-icon-sale-off { display: block; width: 30px; height: 38px; background: url(../images/p-bg-saleoff.png) no-repeat center; background-size: contain; } .p-discount{ width: 30px; height: 30px; line-height: 30px; text-align: center; color: #fff; font-weight: 700; font-size: 10px; background: url(../images/p-bg-discount.png) no-repeat center; background-size: contain; display: block; margin: auto; } .p-brand-group{ display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 20px; min-height: 20px; margin: 5px 0; } .p-brand{ font-weight: 500; text-transform: uppercase; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; img{ max-height: 20px; } } .p-sku span, .p-outstock{ @extend .red; } .p-name{ display: block; color: #000; font-weight: 500; margin: 5px 0 7px 0; min-height: 32px; *{ @extend .inherit; @extend .line-clamp-2; } } .p-price-group{ @extend .red; margin: 7px 0 10px 0; min-height: 38px; font-size: 11px; display: flex; flex-wrap: wrap; align-items: center; } .p-price{ color: #000000; margin: 0 0 6px 0; font-weight: 700; font-size: 16px; width: 100%; } del{ font-weight: 500; margin-right: 4px; color: #999999; } .p-btn-group{ display: flex; align-items: center; justify-content: space-between; line-height: 23px; font-size: 11px; } .p-btn-compare{ color: #FF7A00; position: relative; padding-left: 20px; &.selected{ @extend .red; font-weight: bold; &::before{ content: '\2713'; font-size: 11px; box-shadow: 0px 0px 0px 1px #DA251C; } } &::before{ content: '+'; width: 13px; height: 13px; line-height: 13px; border-radius: 50%; text-align: center; background: #fff; box-shadow: 0px 0px 0px 1px #FF7A00; position: absolute; top: 4px; left: 0; } } .p-btn-buy{ width: 32px; height: 23px; border-radius: 3.57441px; background: url(../images/p-icon-btn.png) no-repeat center; background-color: #F5F5F5; background-size: 17px 13px; margin-left: 6px; transition: .15s all; } .p-quantity-group{ display: flex; align-items: center; } .p-instock { color: #33C600; } .p-deal-group{ margin: 12px 0 6px 0; position: relative; background: linear-gradient(270deg, rgba(255,184,0, .3) 0%, rgba(255,122,48, .3) 100%); border-radius: 26px; height: 13px; line-height: 13px; text-align: center; &::before{ content: ''; width: 15px; height: 21px; background: url(../images/p-bg-deal.png) no-repeat; background-size: contain; position: absolute; bottom: 0; left: 0; z-index: 1; } } .p-deal-line { @extend .bg-linear-animate; position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; border-radius: inherit; } .p-sale-quantity { margin: 0; position: absolute; inset: 0; color: #fff; font-weight: 500; font-size: 10.7232px; } .p-countdown{ text-align: center; font-weight: 300; font-size: 10px; line-height: 12px; *{ display: inline-block; margin: 0; } } } .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-compare-group{background:#fff;position:fixed;bottom:0;left:0;width:100%;-webkit-box-shadow:3px -2px 11px 1px rgba(0,0,0,0.25);box-shadow:3px -2px 11px 1px rgba(0,0,0,0.25);z-index:9999;display:none} .global-compare-group .title{background:#0080D7;padding:8px 12px;font-size:18px} .global-compare-group p{margin:0} .global-compare-group .pro-compare-holder{padding:12px} .global-compare-group .compare-pro-holder .compare-item{display:block;width:calc(100% / 3 - 25px);margin:0 10px 10px 0;float:left;border:1px dashed #000;color:#000;border-radius:5px;overflow:hidden;position:relative;text-align:center;padding:8px} .global-compare-group .compare-pro-holder .compare-item:nth-child(3n){margin:0} .global-compare-group .btn-compare{width:100%;line-height:40px;background:#0080D7;color:#fff;font-weight:600;font-size:18px;border-radius:4px;text-align:center;display:block} .global-compare-group .btn-compare:hover{background:#1d6393} .global-compare-group { .remove-compare::after, .close-compare::after { content: '\00D7'; } .remove-compare { position: absolute; font-size: 26px; line-height: 18px; padding: 7px; right: 0; top: 0; cursor: pointer; &:hover::after { @extend .red; } } .compare-item { img { display: block; margin: auto; max-width: 56%; } .name { @extend .line-clamp-2; color: #000; font-size: 13px; line-height: 20px; &:hover { @extend .red; } } } } .global-header-container{ @extend .bg-main; padding: 3px 10px 10px 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; z-index: 9; &::after{ content: ''; height: 61px; position: absolute; left: 0; right: 0; top: calc(100% - 1px); background: #007FD5; border-radius: 0px 0px 30px 30px; transition: .3s all; z-index: -1; } img { max-height: 42px; display: block; width: auto; } .mb-icons { width: 24px; height: 24px; } .icon-menu { background-position: -9px -6px; } .icon-cart { background-position: -54px -8px; position: relative; margin-right: 5px; } .cart-count{ color: #fff; background: linear-gradient(270deg, #FFB800 0%, #FF7A30 100%); text-align: center; width: 15px; height: 15px; line-height: 16px; border-radius: 50%; font-weight: 700; font-size: 12px; position: absolute; top: -2px; right: -5px; } } .header-search-group{ width: 100%; margin-top: 7px; position: relative; form{ background: #fff; border-radius: 30px; padding: 0 12px; position: relative; } input { border: 0; margin: 0; padding: 0; height: 36px; border-radius: 30px 0 0 30px; color: #B6B6B6; width: calc(100% - 36px); } .icon-search { position: absolute; top: 0; right: 0; bottom: 0; width: 36px; height: 36px; border: 0; padding: 0; margin: auto; background-position: -9px -47px } } .header-fixed { padding: 10px; z-index: 99; box-shadow: 0px 2px 4px 0px rgba(0,0,0,.3); &::after{ height: 0; } .header-logo{ display: none; } .icon-cart{ order: 1; } .header-search-group { width: calc(100% - 98px); margin: 0; } } .global-page-content{ position: relative; z-index: 9; } .global-fixed-right{ position: fixed; z-index: 9; right: 10px; bottom: 80px; animation-duration:1s; animation-duration:1s; animation-fill-mode:both; transform:translateX(2000px) scale(.7); .mb-icons, .icons{ display: block; width: 40px; height: 40px; margin: 0 0 4px 0; &:last-child{ margin-bottom: 0; } } .icon-phone { background-position: -9px -162px; } .icon-zalo { background-position: -72px -162px; } .icon-messenger { background-position: -134px -162px; } .icon-goTop{ border-radius: 50%; background-position: -281.6px -200px; background-color: rgba(0,0,0,0.4); display: none; } } .global-fixed-bottom{ display: flex; align-items: center; justify-content: space-around; background: #fff; padding: 10px ; position: fixed; left: 0; bottom: 0; right: 0; z-index: 99; box-shadow: 26px 3px 14px rgba(0, 0, 0, 0.25); font-size: 12px; line-height: 22px; a{ color: #000; font-weight: 500; } .mb-icons{ display: block; width: 20px; height: 20px; margin: auto; } .icon-home { background-position: -51px -53px; } .icon-menu { background-position: -88px -53px; } .icon-support { background-position: -124px -53px; } .icon-buildpc { background-position: -160px -53px; } .icon-cart { background-position: -198px -53px; } .current{ color: #007FD5; .icon-home { background-position: -51px -89px; } .icon-menu { background-position: -88px -89px; } .icon-support { background-position: -124px -89px; } .icon-buildpc { background-position: -160px -89px; } .icon-cart { background-position: -198px -89px; } } } .global-menu-container { position: fixed; top: 0; left: -100%; bottom: 0; background: #fff; z-index: 100; width: 81%; box-shadow: 0px 0 9px 2px rgba(0,0,0,.3); transition: .4s all; padding: 16px 0; overflow: hidden; &.show-menu { left: 0; } a { color: #000; line-height: 20px; padding: 10px 0; } .global-menu-content { display: block; overflow: auto; height: 100%; } .global-menu-header { display: flex; align-items: center; justify-content: space-between; position: relative; } .header-user { position: relative; padding-left: 65px; font-size: 15px; line-height: 40px; margin-bottom: 15px; &::before { content: ''; background: url(../images/sprite.png) no-repeat; background-position: -234px -18px; width: 40px; height: 40px; position: absolute; top: 0; left: 12px; filter: invert(1); } } .global-menu-list { .title { font-weight: 600; font-size: 15px; margin-bottom: 15px; position: relative; display: flex; align-items: center; padding: 0 12px; &::before { content: ''; background: url(../images/mb-sprite.png) no-repeat; background-size: 250px; width: 20px; height: 18px; background-position: -99px -7px; filter: invert(1); margin-right: 8px; } } } .cat-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid #f3f3f3; padding: 0 0 0 12px; &:first-child { border-top: 1px solid #f3f3f3; } } .sub-menu { width: calc(100% - 25px); border-top: 1px solid #f3f3f3; background: #f3f3f3; padding: 0 18px; display: none; margin-left: -12px; a { display: block; } } .cat-1 { width: calc(100% - 46px); display: flex; align-items: center; color: #000; font-weight: 500; } .cat-thum { width: 30px; height: 25px; margin-right: 10px; background-position: center; background-repeat: no-repeat; background-size: contain; } .cat-title{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: calc(100% - 40px); } .menu-static-list{ padding: 0 12px; } .icons { background-size: 315px 400px; } .icon-arrow { border-left: 1px solid #f3f3f3; display: block; width: 45px; text-align: center; font-size: 20px; line-height: 45px; height: 45px; background-position: -56px -181px; background-size: 400px; &.active { transform: rotate(-180deg); background-position: -56px -184px; border-left: 0; border-right: 1px solid #f3f3f3; } } .icon-close { position: relative; width: 40px; height: 40px; line-height: 40px; position: absolute; top: 0; right: 0; text-align: center; &::before { content: '\00D7'; font-size: 36px; } } .icon-phone { background-position: -131px -123px; background-size: 250px 250px; } .icon-buildpc { background-position: -43px -41px; background-size: 215px 300px; } .icon-deal { background-position: 2px -35px; background-size: 175px 260px; } .icon-news{ background-size: 250px; background-position: -174px -121px; } } .global-deal-countdown{ display: flex; align-items: center; justify-content: center; text-align: center; p{ position: relative; margin: 0; font-weight: 600; font-size: 10px; line-height: 12px; color: #fff; margin: 0 8px; &::after{ content: ':'; font-weight: 800; font-size: 16px; line-height: 32px; position: absolute; top: 0; right: -11px; } &:last-child::after{ content: none; } *{ display: block; } } b{ width: 26px; height: 32px; line-height: 32px; margin: 0 0 4px 0; background: #FFFFFF; border-radius: 5px; text-align: center; color: #001253; font-weight: 800; font-size: 16px; } } .homepage{ .home-banner-container{ padding: 0 10px 10px 10px; position: relative; } .home-banner-slider{ min-height: 120px; margin-bottom: 15px; img{ border-radius: 10px; } } .product-holder { position: relative; min-height: 300px; display: flex; overflow: auto; } .p-item{ margin: 0 10px 0 0; padding: 6px; min-width: 160px; overflow: unset; .p-brand { max-width: 40px; } .p-name{ font-size: 11px; line-height: 13px; min-height: 26px; } .p-price-group { font-size: 9px; line-height: 10px; min-height: 28px; letter-spacing: -0.5px; } .p-price{ font-size: 12px; line-height: 10px; margin-bottom: 8px; } .p-btn-group{ font-size: 10px; } .p-btn-compare { padding-left: 18px; } } .banner-under-deal { margin: 14px 0; img{ border-radius: 10px; } } } .home-btn-group{ display: flex; justify-content: space-around; font-weight: 500; font-size: 12px; line-height: 14px; text-align: center; a{ color: #000; } span{ display: block; max-width: 74px; margin: auto; } .mb-icons{ background-color: #007FD5; display: block; margin: auto auto 4px auto; width: 46px; height: 46px; border-radius: 50%; } .icon-menu { background-position: -84px 7px; } .icon-deal { background-position: -119px 1.5px; } .icon-buildpc { background-position: -158px 5.5px; } .icon-news { background-position: -193px 7px; } } .home-deal-group{ border-radius: 12px; overflow: hidden; background-position: center; margin: 0 0 13px 0; padding: 13px 10px; .group-title{ text-align: center; margin-bottom: 13px; color: #fff; } .title{ font-weight: 800; font-size: 28px; line-height: 33px; margin: 0 0 9px 0; span{ position: relative; background: transparent; &::before, &::after{ content: ''; background-color: #fff; max-width: 60px; width: 100%; height: 1px; position: absolute; bottom: 7px; left: -62px; } &::after{ left: unset; right: -62px; } } } .btn-view{ display: block; text-align: center; line-height: 30px; margin: 13px auto 0 auto; font-size: 14px; color: #FF1313; border-radius: 40px; background: #fff; max-width: 106px; } .product-holder{ background: #FFFFFF; border-radius: 10px; padding: 10px; } .p-item{ margin: 0 10px 0 0; border: 0; box-shadow: 0px 0.551587px 4.4127px rgba(0, 0, 0, 0.25); min-width: 146px; } } .home-collection-container{ margin: 14px 0; padding: 20px 010px; border-radius: 12px; overflow: hidden; background-position: center; .container { padding: 0; } .collection-tab-group{ display: flex; overflow: auto; margin-bottom: 17px; a{ margin: 0 8px 0 0; box-shadow: 0px 0.914894px 1.82979px 0.914894px rgba(0, 0, 0, 0.25); border-radius: 7px; background: #fff; display: flex; align-items: center; text-align: center; color: #000000; padding: 5px 10px; min-width: 145px; &:nth-child(1){ .image{ background: #FF7E00; } } &:nth-child(2){ .image{ background: linear-gradient(180deg, #037FAA 0%, #00B2F0 100%); } } &:nth-child(3){ .image{ background: linear-gradient(180deg, #FFF500 0%, #FFBF42 100%); } } &:nth-child(4){ .image{ background: linear-gradient(359.34deg, #42FF92 -6.9%, #1F834A 107.13%); } } &.current{ color: #fff; .image{ filter: saturate(1.8); } &:nth-child(1){ background: #FF7E00; .image{ background: #fff; } } &:nth-child(2){ background: linear-gradient(180deg, #037FAA 0%, #00B2F0 100%); } &:nth-child(3){ background: linear-gradient(180deg, #FFF500 0%, #FFBF42 100%); } &:nth-child(4){ background: linear-gradient(359.34deg, #42FF92 -6.9%, #1F834A 107.13%); } } } .image{ width: 35px; height: 35px; border-radius: 50%; margin-right: 5px; position: relative; overflow: hidden; background: #FF7E00; } i{ display: block; height: 100%; background-position: center; background-size: calc(100% - 14px); background-repeat: no-repeat; } b{ font-weight: 500; font-size: 17px; line-height: 22px; text-transform: uppercase; } .text{ width: calc(100% - 40px); margin: 0; span { display: none; } } } .btn-view{ display: flex; align-items: center; justify-content: center; margin: 14px auto 0 auto; max-width: 90px; line-height: 22px; text-align: center; color: #fff; box-shadow: 0px 0px 0px 1px #fff; font-weight: 500; font-size: 10px; border-radius: 50px; &::after{ content: '\00BB'; font-size: 16px; margin: -1px 0 0 2px; } } } .home-box-group{ margin: 15px 0; }