@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap'); @import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"); * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; } body { color: #222; font-family: 'Roboto', sans-serif; background: #edeef2; position: relative; min-width: 1280px; font-size: 14px; } a { color: #222; text-decoration: none; } img { max-width: 100%; height: auto; } .ul, .ol { margin: 0; padding: 0; list-style: none; } .container-mb { max-width: 640px; margin: 0 auto; padding: 0 auto; overflow: hidden; } .container { width: 100%; padding-left: 8px; padding-right: 8px; margin-left: auto; margin-right: auto; } .header { height: 48px; width: 100%; max-width: 640px; margin: auto; background-color: #546ce8; position: relative; } .header .logo-mb { float: left; width: 39px; height: 39px; overflow: hidden; margin: 4px 0; } .header .main-search { border-radius: 4px; background: #fff; position: relative; margin: 0 175px 0 40px; display: block; top: 7px; } .header .main-search input { display: block; padding: 0 10px; background: #fff; border: 0; font-size: 14px; width: calc(100% - 35px); height: 34px; border-radius: 3px; line-height: 32px; } .header .main-search .btn-submit { display: block; position: absolute; top: 0; right: 0; padding: 7px 9px; font-size: 14px; color: #333; text-transform: uppercase; background: #fff; border: 0; border-radius: 0 3px 3px 0; height: 34px; } .header .history-product { width: 60px; height: 47px; position: absolute; top: 0; right: 99px; color: #fff; padding: 10px 3px; font-size: 11px; line-height: 1.3; } .header .history-product::before { content: ''; width: 0; height: 0; border-top: 5px solid #fff; border-left: 5px solid transparent; border-right: 5px solid transparent; position: absolute; right: 8px; bottom: 13px; } .header .cart-item { display: inline-block; width: 35px; height: 48px; position: absolute; top: 0; right: 60px; padding-left: 5px; } .header .cart-item::before { position: absolute; border-left: 1px solid #4b61d0; border-right: 1px solid #657bea; top: 0; margin-left: 0; width: 0; height: 48px; content: ""; left: 0; } .header .cart-item .fa-shopping-cart { color: #fff; width: 26px; height: 20px; display: block; margin: 14px auto; font-size: 20px; } .header .cart-item span { width: 18px; height: 18px; background: #ffe401; text-align: center; font-size: 12px; color: #333; border-radius: 20px; position: absolute; top: 6px; right: -3px; } .header .menu-mb { position: absolute; top: 0; right: 0; z-index: 12; background: #546ce8; padding: 9px 0 4px; width: 50px; cursor: pointer; height: 35px; text-align: center; color: #fff; } .header .menu-mb::before { position: absolute; border-left: 1px solid #4b61d0; border-right: 1px solid #657bea; top: 0; margin-left: 0; width: 0; height: 48px; content: ""; left: 0; } .header .menu-mb span { display: block; width: 27px; height: 2px; background: #fff; margin: 3px auto; } .marquee { width: 100%; background-color: #334ac2; height: 32px; line-height: 32px; color: #fff; } .list-category { display: flex; align-items: center; justify-content: space-between; } .list-category .item-category { height: 35px; border: 1px solid #546ce8; display: flex; align-items: center; justify-content: center; margin: 0 5px 5px 5px; width: 25%; border-radius: 5px; color: #546ce8; font-size: 12px; } .list-home-show { display: flex; } .list-home-show .item-home { width: 33.3%; height: 35px; border: 1px solid #546ce8; margin: 0 5px 5px 5px; display: flex; align-items: center; justify-content: center; border-radius: 5px; color: #546ce8; background: #e7e7e7; font-size: 12px; } .product-hot { padding-top: 5px; } .product-hot .title { color: red; padding: 15px 0; } .product-hot .list-tab { display: flex; flex-wrap: wrap; } .list-tab .item-tab { width: 18%; height: 40px; margin: 0 5px 5px 5px; display: flex; align-items: center; justify-content: center; font-size: 12px; padding: 10px; text-align: center; border-radius: 3px; background: #e7e7e7; } .list-tab .item-tab.active { background-color: red; color: white; border: 1px solid red; font-weight: 600; } .product-content { display: flex; flex-wrap: wrap; border-top: 1px solid rgb(216, 216, 216); border-left: 1px solid rgb(216, 216, 216); } .item_product { width: calc(100% / 3); padding: 10px; border-right: 1px solid rgb(216, 216, 216); border-bottom: 1px solid rgb(216, 216, 216); } .item_product .item_img { display: block; position: relative; padding-bottom: 200px; margin-bottom: 5px; } .fix_img { width: auto; position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; max-height: 100%; margin: auto; } .item_product .icon_sale-hot { background: url(../img/sale.png) no-repeat; width: 55px; height: 45px; position: absolute; top: 0; left: -5%; background-position: center; background-size: cover; } .item_product .item-name { display: block; font-size: 13px; height: 30px; overflow: hidden; text-decoration: none; color: black; margin: 6px 0; } .item_product .item-name:hover { color: #3d52bf; } .item_product .content-price { position: relative; margin: 6px 0; height: 45px; } .item_product .item-old-price { display: block; font-weight: bold; color: #999999; } .item_product .item-discount { position: absolute; top: 0; right: 0; width: 45px; height: 45px; background: url(../img/sale-product.png) no-repeat; line-height: 45px; text-align: center; color: #fff; font-weight: bold; } .item_product .item-price { display: block; font-size: 18px; color: #fd3620; font-weight: 700; } .show-all { margin: 20px 0; border: 1px solid #334ac2; display: block; text-align: center; padding: 10px 0; border-radius: 5px; color: #334ac2; } .product-history { margin: 10px 0; } .product-history .title { color: black; font-size: 18px; padding: 10px 0; } .product-history .list-history { display: flex; overflow-y: hidden; overflow-x: scroll; } .item-history { width: 25%; display: flex; flex-direction: column; padding-right: 10px; align-items: center; flex-shrink: 0; } .item-history img{ max-width: 75px; object-fit: contain; object-position: center; } .item-history .product-name{ margin: 8px 0; font-size: 13px; color: #222222; } .service .item{ background-color: #546ce8; display: inline-block; width: 100%; height: 80px; } .service .item .border-item{ border: 1px solid #fff; margin: 6px; padding: 20px 0; display: flex; align-items: center; justify-content: center; height: 70px; } .service .item .border-item .icon-policy1{ width: 65px; height: 45px; display: inline-block; background: url(../img/icon-policy.png); } .service .item .border-item .icon-policy2 { width: 65px; height: 45px; display: inline-block; background: url(../img/icon-policy.png); background-position: 0 109px; } .service .item .border-item .icon-policy3 { width: 65px; height: 45px; display: inline-block; background: url(../img/icon-policy.png); background-position: 0 48px; } .service .item .border-item span { font-size: 20px; text-transform: uppercase; color: #fff; font-weight: 600; margin-left: 10px; } .custom-nav .owl-nav button i { font-size: 24px; padding: 5px; color: #333; } .custom-nav .owl-nav .owl-prev { left: 0; border-radius: 0 4px 4px 0; background: #e6e6e6 !important; } .custom-nav .owl-nav .owl-next { right: 0; border-radius: 0 4px 4px 0; background: #e6e6e6 !important; } .custom-nav .owl-nav button { position: absolute; color: #999 !important; top: 50%; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; outline: none; z-index: 99999; opacity: .5; -webkit-transform: translate(0, -50%); transform: translate(0, -50%); } .blog-home .title{ padding: 13px 0; display: block; overflow: hidden; font-weight: bold; font-size: 16px; color: #333; border-bottom: 1px solid #e2e2e2; } .blog-home .read-all{ margin: 20px 0; border: 1px solid #334ac2; display: block; text-align: center; padding: 10px 0; border-radius: 5px; color: #334ac2; } .footer-main{ background-color: white; overflow: hidden; margin-top: 5px; } .footer-main .item{ width: 100%; } .footer-main .item h3{ position: relative; background-color: #334ac2; padding: 10px; margin: 4px 0; color: white; } .footer-main .item h3 i{ position: absolute; font-size: 18px; right: 5px; } .footer-about .item a { display: block; margin: 10px 0; } .footer-main .item i.fa-facebook-square { color: #3b5999; width: 30px; margin-right: 5px; } .footer-main .item i.fa-youtube { color: #ce0707; width: 30px; margin-right: 5px; } .footer-showroom{ margin-top: 2rem; } .item-showroom .red{ color: #334ac2; } .footer-bottom{ background: #f0eded; overflow: hidden; padding: 10px 0; } .footer-bottom a{ display: inline-block; } .footer-bottom .show-pc{ height: 36px; border: solid 1px #546ce8; display: inline-block; line-height: 36px; padding: 0 15px; border-radius: 3px; color: #546ce8; background: #fff; font-weight: 500; margin-left: 1rem; } /* product-detail */ .current { padding-top: 10px; color: #526ae7; } .product-detail{ padding: 10px 0; } .product-detail .name-product{ font-size: 18px; margin-bottom: 10px; } .product-detail .star{ display: flex; align-items: center; } .product-detail .star .img-star { margin-left: 10px; background: url(../img/star_sprite.png) no-repeat; width: 100px; height: 20px; display: inline-block; vertical-align: text-top; background-position: 0 0; } .product-info{ padding: 10px 0; } .product-info .img-thumb { overflow: hidden; position: relative; display: flex; justify-content: center; padding: 10px 0; } .img-thumb .item-thumb { width: 70px; height: 80px; margin-right: 20px; text-align: center; } .img-thumb .item-thumb .title{ padding-top: 5px; font-size: 13px; } .img-thumb .item-thumb.active { border: 1px solid red; } .product-summary{ display: block; padding: 10px 0; } .product-summary .item{ display: block; margin-bottom: 10px; color: #222; } .product-summary .item i { color: #ff9900; } .product-warranty{padding: 10px 0;} .product-showroom{padding-bottom: 10px;} .product-showroom .title{color: #222; font-weight: 700;margin-bottom: 10px;} .product-showroom .item-khohang{color: #3d52bf;margin-bottom: 5px;} .content-option { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 20px; } .info-option .item-option { position: relative; text-decoration: none; background-color: #f9faff; width: calc(100% / 2 - 10px); margin: 0 10px 10px 0; padding: 15px 5px; text-align: center; color: #222; font-weight: 350; border-radius: 5px; border: 1px solid #e1e1e1; } .info-option .item-option.active { border: 1px solid #526ae7; background: #f9faff; font-weight: bold; } .info-option .item-option .item-name { display: block; font-size: 16px; text-transform: uppercase; padding-bottom: 5px; } .info-option .item-option .item-name input { position: absolute; left: 5%; top: 10%; } .info-option .item-option .variant-price { color: red; font-weight: 700; } .product-price{background-color: rgb(209, 209, 209);padding: 15px 20px;} .product-price .price-title { display: flex; align-items: center; } .product-spec { padding: 10px 0; border-bottom: 2px solid #334ac2; } .product-spec .title{color: #334ac2; font-size: 18px; font-weight: 700;} .product-desc { padding: 10px 0; border-bottom: 2px solid #334ac2; } .product-desc .title { color: #334ac2; font-size: 18px; font-weight: 700; } .list-tintuc-new .blog-left { display: flex; } .list-tintuc-new .link-title { font-weight: 700; color: black; height: 45px; } .list-tintuc-new .link-title:hover { color: red; } .list-tintuc-new .blog-new { margin-bottom: 10px; } .list-tintuc-new .blog-left { display: flex; } .content-left { width: 225px; margin-right: 5px; } .list-tintuc-new .content-left .info-tintuc { margin-top: 1rem; } .list-tintuc-new .content-left .info-tintuc span { margin: 0 0 0 12px; font-size: 12px; } @media (max-width:375px){ .container-mb { width: 375px; } }