* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body{
    background-color: #fff;
}

/* register.html, login.html, forgot-pass.html */
.eye{
    cursor: pointer;
}

.form-alert {
    display: none;
    background-color: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c2c7;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.register-container {
    display: flex;
    align-items: stretch;
}

.register-image .register-form {
    display: flex;
}

.register-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-form {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    width: 70%;
}

.logo {
    width: 120px;
    margin-bottom: 20px;
}

.form-wrapper h2 {
    color: #6b4f3f;
    margin-bottom: 5px;
}

.content {
    color: #999;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.input-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
}

.input-box img {
    width: 18px;
    margin-right: 10px;
}

.input-box .eye {
    margin-left: auto;
    cursor: pointer;
}

.input-box input {
    border: none;
    outline: none;
    width: 100%;
}

.btn-register {
    width: 100%;
    padding: 14px;
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}

.btn-register:hover {
    background: #e68900;
}

.login-text {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
}

.login-text a {
    color: #ff9800;
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider span {
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider p {
    margin: 0 10px;
    font-size: 14px;
    color: #999;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social img {
    width: 18px;
    margin-right: 8px;
}

.social:hover {
    background: #f5f5f5;
}

.forgot-pass{
    color: #ff9800;
    text-decoration: none;
    float: right;
    font-size: 14px;
}

@media(max-width: 786px){
    .register-container{
        flex-direction: column;
    }
    
    .register-image{
        width: 100%;
        height: 220px;
    }

    .register-image img{
        width: 100%;
        height: 100%;
    }

    .register-form{
        width: 100%;
        padding: 30px 0;
    }

    .form-wrapper{
        width: 90%;
    }
}

/* index.html */

.header{
    width: 100%;
    height: 80px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
}

.header-product{
    width: 100%;
    height: 80px;
    margin: 0 auto;
    background-color: black;
    position: absolute;
    top: 0;
}

.navbar-container{
    width: 1200px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.navbar-logo{
    float: left;
    height: 80px;
}

.navbar-logo img{
    height: 32px;
    margin-top: 24px;
}

.navbar-menu{
    float: left;
    margin-left: 120px;
    margin-top: 30px
}

.navbar-menu a{
    color: #bbb;
    text-decoration: none;
    margin-right: 40px;
    font-size: 14px;
}

.navebar-menu a.active{
    color: #fff;
}

.navbar-right{
    float: right;
    margin-top: 22px;
}

.nav-icon{
    width: 18px;
    margin-right: 18px;
    vertical-align: middle;
}

.signin{
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
}

.signup{
    background: #FF8906;
    text-decoration: none;
    color: #000;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.section-1{
    width: 100%;
    height: 600px;
    background-color: #777C82;
    background-image: linear-gradient(to top, #0B0909, #777C82);
}

.section-left{
    width: 40%;
    float: left;
    padding: 100px 80px;
    color: white;
}

.section-left h1{
    font-size: 42px;
    margin-bottom: 20px;
}

.section-left p{
    font-size: 14px;
    line-height: 22px;
}

.btn-section1{
    background: orange;
    border: none;
    padding: 12px 26px;
    margin-top: 20px;
    width: 45%;
    cursor: pointer;
}

.section-right{
    width: 60%;
    float: right;
}

.section-right img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.statistic{
    margin-top: 40px;
}

.statistic-box{
    display: inline-block;
    margin-right: 40px;
}

.container{
    width: 1200px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 55% 45%;
}

.content-left{
    padding-left: 20px;
}

.content-left h1{
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.subtitle{
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
    max-width: 400px;
}

.feature-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list img{
    width: 16px;
    vertical-align: middle;
    margin-right: 10px;
}

.feature-list li{
    margin-bottom: 12px;
    font-size: 14px;
}

.content-right{
    position: relative;
    right: 138px;
    bottom: 80px;
    width: 50px;
    height: 40px;
    padding-bottom: 450px;
}

.fav-wrap {
    width: 1100px;
    margin: 120px auto;
}

.fav-title h2 {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
}

.fav-title span {
    color: #c78a2b;
}

.fav-title p {
    font-size: 13px;
    color: #8b8b8b;
    margin-top: 6px;
    text-align: center;
}

.fav-card-area {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.fav-item {
    background: #fff;
    padding: 18px 16px 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.fav-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: 14px;
}

.fav-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.fav-item p {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 14px;
}

.fav-price {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #c78a2b;
    margin-bottom: 10px;
}


.fav-btn {
    display: inline-block;
    padding: 6px 22px;
    font-size: 12px;
    background: #c78a2b;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.map-section{
    width: 1100px;
    margin: 120px auto;
    text-align: center;
}

.map-head h2{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-head span{
    color: #c78a2b;
}

.map-head p{
    font-size: 13px;
    color: #8b8b8b;
    max-width: 520px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

.map-image img{
    width: 100%;
    max-width: 900px;
    opacity: 0.9;
}

.testi-section{
    width: 100%;
    background: linear-gradient(to right, #1c1c1c, #000);
    padding: 120px 0;
}

.testi-box{
    width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
}

.testi-image img{
    width: 100%;
}

.testi-content{
    color: #ffff;
    padding-left: 60px;
}

.testi-label{
    font-size: 12px;
    letter-spacing: 2px;
    color: #777C82;
    margin-bottom: 100px;
}

.testi-name{
    font-size: 50px;
    margin: 10px 0 4px;
}

.testi-role{
    font-size: 13px;
    color:#FF8906;
    margin-bottom: 20px;
}

.testi-text{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #dddd;
    max-width: 460px;
    margin-bottom: 20px;
}

.testi-rating{
    font-size: 14px;
    font-weight: 600;
    color: #ffff;
    margin-bottom: 30px;
}

.testi-rating img{
    width: 200px;
    vertical-align: middle;
    margin-right: 6px;
    padding-right: 10px;
}

.testi-nav {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-nav.prev {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
}

.btn-nav.next {
    background: #ff8a00;
    color: #fff;
}

.testi-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.testi-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.testi-dots .dot.active {
    background: #ff8a00;
    width: 20px;
    border-radius: 10px;
}

.footer-section{
    background: #f8f8f8;
    padding: 90px 0;
    font-size: 13px;
    color: #555;
    padding-left: 100px;

}

.footer-content{
    width: 1100px;
    margin: 0 auto;
}

.footer-brand{
    float: left;
    width: 35%;
}

.footer-brand img{
    width: 140px;
    margin-bottom: 16px;
}

.footer-brand p{
    line-height: 1.6;
    margin-bottom: 16px;
}

.foot-copy{
    font-size: 12px;
    color: #999;
}

.footer-col{
    float: left;
    width: 18%;
}

.footer-col h4, .footer-social h4{
    font-size: 14px;
    margin-bottom: 14px;
    color: #333;
}

.footer-col ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li{
    margin-bottom: 10px;
}

.footer-col ul li a{
    text-decoration: none;
    color: #555;
}

.footer-col{
    position: relative;

}

.footer-social a{
    display: inline-block;
    margin-right: 10px;
}

.footer-social img{
    width: 28px;
}

/* product.html */

.banner-section{
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.banner-section img{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 80%;
    padding-top: 80px;
    object-fit: cover;
}

.banner-overlay{
    position: absolute;
    top: 45%;
    left: 8%;
    transform: translateY(-50%);
    color: #ffff;
    z-index: 2;
}

.banner-overlay h1{
    font-weight: 500;
    font-size: 40px;
}

.promo-section {
    padding: 40px 0;
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-nav {
    display: flex;
    gap: 12px;
}

.btn-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.promo-slider {
    overflow: hidden;
    margin-top: 24px;
}

.promo-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.promo-card {
    min-width: 320px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    gap: 12px;
}

.promo-card.green {
    background: #8dbb8d;
}

.promo-card.yellow {
    background: #ffcc66;
}

.promo-dots {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.promo-dots .dot {
    width: 10px;
    height: 10px;
    background: #aaa;
    border-radius: 50%;
    opacity: 0.5;
}

.promo-dots .dot.active {
    width: 20px;
    background: #ff8a00;
    border-radius: 10px;
}

.product {
    padding: 60px 8%;
}

.product-title {
    font-size: 26px;
    margin-bottom: 30px;
}

.product-title span {
    color: #8b5e3c;
}


.product-wrapper {
    width: 100%;
}


.filter-box {
    float: left;
    width: 260px;
    background: #111;
    color: #fff;
    padding: 20px;
    padding-top: 30px;
    box-sizing: border-box;
    border-radius: 10px;
}

.filter-box h4 {
    margin: 0 0 10px;
}

.filter-box .reset {
    float: right;
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}

.filter-box label {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    padding-top: 15px;
    font-weight: bold;
}

.filter-box input[type="text"] {
    width: 100%;
    padding: 6px;
    margin-top: 5px;
}

.filter-box ul {
    list-style: none;
    padding: 0;
    margin: 5px 0;
    margin-top: 15px;
}

.filter-box li {
    font-size: 13px;
    margin-bottom: 5px;
    margin-top: 20px;
}

.apply-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: orange;
    border: none;
    color: #fff;
    border-radius: 5px;
}

.product-list {
    float: right;
    width: calc(100% - 300px);
    padding-left: 100px;
    padding-bottom: 50px;
}

.product-card {
    float: left;
    width: 240px;
    margin: 0 20px 30px 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    position: relative;
}

.product-card img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

.product-card h4 {
    margin: 10px;
}

.product-card p {
    font-size: 12px;
    margin: 0 10px;
}

.price {
    margin: 10px;
}

.price del {
    font-size: 12px;
    color: #999;
}

.price strong {
  display: block;
  color: orange;
}

.buy-btn {
  display: block;
  margin: 10px;
  padding: 8px;
  background: orange;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
}

/* dashboard.html */

.sidebar {
    width: 220px;
    height: 100vh;
    float: left;
    background: #ffffff;
    border-right: 1px solid #eee;
}

.logo {
    padding: 20px;
}

.menu {
    list-style: none;
}

.menu li {
    padding: 15px 20px;
    color: #777;
    cursor: pointer;
}

.menu li img {
    width: 18px;
    vertical-align: middle;
    margin-right: 10px;
}

.menu li.active {
    background: #ff9800;
    color: #fff;
    border-radius: 6px;
    margin: 10px;
}

.menu li.logout {
    position: absolute;
    bottom: 20px;
    width: 180px;
}

.main {
    margin-left: 220px;
    padding: 20px;
    background: #fafafa;
    min-height: 900px;
}

.topbar {
    height: 50px;
    text-align: right;
    color: #bbb;
}

.top-right img {
    width: 20px;
    margin-left: 15px;
    vertical-align: middle;
}

.avatar {
    width: 32px;
    border-radius: 50%;
}

.cards {
    margin-top: 20px;
}

.card {
    width: 30%;
    display: inline-block;
    padding: 20px;
    color: #fff;
    border-radius: 10px;
    margin-right: 2%;
}

.card:last-child {
    margin-right: 0;
}

.card h2 {
    margin: 10px 0;
}

.green { 
    background: #6cc070; 
}

.blue { 
    background: #6b6bd6; 
}

.purple { 
    background: #c472b8; 
}


.box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.chart {
    width: 100%;
}


table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f9f9f9;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.green-text {
    color: #4caf50;
}

/* checkout-product */

.payment-details{
    margin-top: 80px;
    padding: 40px;
}

.payment-details h1{
    margin-bottom: 30px;
    font-size: 30px;
}

.payment-grid{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-add {
    background: orange;
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.order-card {
    display: flex;
    align-items: center;
    background: #fafafa;
    padding: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.order-card img {
    width: 90px;
}

.order-info {
    flex: 1;
    margin-left: 15px;
    margin-top: 10px;
}

.badge-sale {
    background: red;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
}

.price .old {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 10px;
}

.price .new {
    color: orange;
    font-weight: bold;
}

.remove {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #c00;
}

.payment-info {
    margin-top: 30px;
}

.payment-info h3{
    padding-bottom: 30px;
}

.payment-info label {
    display: block;
    margin: 15px 0 6px;
}

.payment-info input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.delivery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.delivery button {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.delivery .active {
    border-color: orange;
    color: orange;
}

.right {
    background: #fafafa;
    padding: 25px;
    border-radius: 10px;
}

.row {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.row.total {
  font-weight: bold;
}

.checkout {
    width: 100%;
    background: orange;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
}

.note {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.img-note{
    margin-top: 15px;
    margin-bottom: 5px;
}

/* detail-product */

.product-detail {
    padding: 50px;
    margin-top: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-images .main-img {
    width: 100%;
    border-radius: 10px;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbs img {
    width: 30%;
    border-radius: 8px;
    cursor: pointer;
}

.price .old {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 10px;
}

.price .new {
    color: orange;
    font-size: 20px;
    font-weight: bold;
}

.rating {
    margin: 8px 0;
}

.desc {
    margin: 15px 0;
    color: #555;
}

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.qty button {
    padding: 5px 12px;
}

.option {
    display: flex;
    gap: 10px;
    margin: 10px 0 20px;
    margin-top: 20px;
}

.option button {
    padding: 10px 18px;
    width: 50%;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.option .active {
    border-color: orange;
    color: orange;
}

.action {
    display: flex;
    gap: 15px;
}

.buy {
    background: orange;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    margin-top: 140px;
    width: 75%;
}

.cart {
    background: #fff;
    border: 1px solid orange;
    color: orange;
    padding: 12px 20px;
    border-radius: 6px;
    margin-top: 140px;
    width: 75%;
}

.recommend-title {
    margin-bottom: 30px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-showcase {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 50%;
}

.product-showcase img {
    border-radius: 10px;
}

.product-showcase .badge {
    background: red;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.buy-product{
    background: orange;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    width: 60%;
}

.cart-product {
    background: #fff;
    border: 1px solid orange;
    color: orange;
    padding: 12px 20px;
    border-radius: 6px;
    width: 30%;
}

.next-page{
    padding-top: 80px;
    padding-left: 440px;
}

/* history-order.html */

.history-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 80px;
  padding: 30px;
}

.history h1 {
  font-size: 28px;
}

.badge-item {
  background: #eee;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 8px;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab {
  padding: 10px 16px;
  border: none;
  background: #eee;
  border-radius: 6px;
  cursor: pointer;
}

.tab.active {
  background: #fff;
  border: 1px solid #ddd;
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-bill {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 1fr;
  gap: 20px;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  align-items: center;
}

.order-bill img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.order-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  color: #999;
  font-size: 13px;
}

.value {
  font-weight: bold;
}

.detail-link {
  color: #f7931e;
  font-size: 13px;
  text-decoration: none;
}

.status {
  background: #ffe6c7;
  color: #f7931e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.sidebar-history {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 20%;
}

.sidebar-history .icon {
  width: 40px;
}

.sidebar-history h3 {
  font-size: 18px;
}

.sidebar-history p {
  font-size: 14px;
  color: #777;
}

.send-btn {
  margin-top: auto;
  padding: 12px;
  background: #f7931e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* detail-order */

.detail-order{
    padding: 50px;
    margin-top: 100px;
}

.detail-order h1{
    padding-bottom: 10px;
}

.detail-order p{
    padding-bottom: 50px;
}

.invoice{
    display: flex;
    flex-grow: 1;
    gap:30%;
}

.your-order{
    display: flex;
    flex-direction: column;
    width: 60%;
}




