/** Import font- "Poppins" **/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

#site-name{
   font-size: x-large;
}

.nav-buttons{
    margin-left: 30%;

}

.nav-buttons ul .fas{
   margin-right: 10px;
   margin-left: 10px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif; 
}

h1{font-size: 2.5rem;
   font-weight: 700;  
}

h2{font-size: 1.9rem;
    font-weight: 600;  
 }

h3{font-size: 1.5rem;
    font-weight: 800;  
 }

h4{font-size: 1.2rem;
    font-weight: 600;  
 }

 h5{font-size: 1rem;
    font-weight: 400;  
 }

 h6{color: #d8d8d8;  
 }

 .button{
    font-size: 0.8rem;
    font-weight: 900;
    outline: none;
    border:none;
    background-color: #1d1d1d;
    color: aliceblue;
    padding: 13px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s ease;
 }

 .button:hover{
    color: coral;
 }

 .navbar{
    font-size: 16px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    top: 0;
    left: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
 }

 .navbar-light .navbar-nav .nav-link{
    padding: 0 20px;
    color: #000;
    transition: 0.4s ease;
 }

 .navbar-light .navbar-nav .nav-link:hover,
 .navbar i:hover,
 .navbar-light .navbar-nav .nav-link.active
 .navbar i:hover{
  color: coral;
 }

 .navbar i{
    font-size: 1.2rem;
    padding: 0 0.7px;
    transition: 0.4s ease;
    cursor: pointer;
    margin-left: 5px;
 }

 @media only screen and (max-width:990px){
    .nav-buttons{
        margin: 10px;
    }
    .nav-buttons ul{
        margin: 0.5rem;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
    .nav-buttons ul li{
      margin-bottom: 3.5%;
  }
    .nav-buttons ul .fas{
        margin: 20px 5px 10px 20px;
    }
 }

 #home{
background-image: url('../imgs/slider.png');
width: 100%;
height: 80vh;
background-size: cover;
background-position-x: 90px;
background-position-y: 80px;
background-repeat: no-repeat;
background-position: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
 }

 #home span{
    color: coral;
 }

 #brand{
    padding-top: 45px;
    padding-bottom: 45px;
 }

 #new .one img{
   width: 100%;
   /**height: 100%;**/
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 #new .one{
    position: relative;

 }

 #new .one .details{ 
   position: absolute;
   top: 0;
   left: 0;
   color: burlywood;
   font-weight: bold;
   transition: 0.4s ease-in;
   opacity: 0.8;
   background-color: black;
   width: 100%;
   height: 100%;
 }

 #new .one .details:hover{
   background-color: #ed3c0d;
 }

 #new .one:nth-child(1) .details{
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center ;
   text-align: center;
 }

 #new .one:nth-child(2) .details{
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
   text-align: center;
 }

 #new .one:nth-child(3) .details{
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items:center;
   text-align: center;
 }

 .buy-btn{
   font-size: 0.8rem;
    font-weight: 900;
    outline: none;
    border:none;
    background-color: #1d1d1d;
    color: aliceblue;
    padding: 13px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s ease;
 }

 .buy-btn:hover{
   color: coral;
}

/* prodcut */

.product{
   cursor: pointer;
   margin-bottom: 2rem;
}

.product img{
   transition: 0.3s all;
}

.product:hover img{
   opacity: 0.7;
}

.product .buy-btn{
   color: white;
   background-color: #fb774b;
   transform: translateY(50px);
   opacity: 0;
   transition: 0.3s;
}

.product:hover .buy-btn{
   transform: translateY(0px);
   opacity: 1;
}

hr{
   width: 30px;
   height: 3px !important;
   opacity: 1 !important;
   background-color: #fb774b;
}

.star{
   padding: 10px 0;
}

.star i{
   font-size: 0.9rem;
   color: goldenrod;
}

#banner{
   background-image: url('../imgs/slider-1.jpg');
   width: 100%;
   height: 60vh;
   background-size: cover;
   background-position-x: center;
   background-position-y: 80px;
   background-repeat: no-repeat;
   background-position: center;
   background-attachment: fixed;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start; 
} 

#banner h1{
color: coral;
}

#banner button{
   background-color: #fb774b ;
}

#banner button:hover{
   background-color: #000;
   color: #d8d8d8;
}

footer{
   background-color: #222222;
}

footer{
   color: #d8d8d8;
   font-weight: 400;
   font-size: 1rem;
}

footer li{
   padding-bottom: 4px;
   list-style: none; /*Removes bullet points*/
}

footer li a {
   font-size: 0.8rem;
   color: #999;
   text-decoration: none;
}

footer li a:hover{
   color: #d8d8d8;
}

footer .copyright a{
   color: #000;
   height: 35px;
   width: 35px;
   background-color: #fff;
   display: inline-block;
   text-align: center;
   line-height: 35px;
   border-radius: 50px;
   transition: o.3s ease;
   margin: 0 5px;
}

footer .copyright a:hover{
   background-color: #fb774b;
   color: #fff;
}

footer p{
   color: #fff;
}

footer .copyright img{
   width: 50%;
}

.payment{
   border-radius: 5px;
}

.logo{
   width: 2.5%;
}

.copyright{
   font-size: small;
}

#footer-logo{
   color: coral !important;
}

#footer-logo:hover{
   color: white !important;
}

#logo{
   color: coral !important;
}

#logo:hover{
   color: black !important;
}

.pagination-container {
   display: flex; /* Enables Flexbox */
   justify-content: center; /* Centers items horizontally */
   align-items: center; /* Centers items vertically */
   margin: 20px 0; /* Adds space above and below the pagination */
 }
 
 .pagination {
   list-style: none; /* Removes default bullets */
   display: flex; /* Makes the pagination items inline */
   padding: 0; /* Removes default padding */
   margin: 0; /* Removes default margin */
 }
 
 .pagination li {
   margin: 0 5px; /* Adds spacing between pagination items */
 }
 
 .pagination a {
   display: block; /* Ensures clickable area is consistent */
   padding: 10px 15px; /* Adds spacing inside links */
   text-decoration: none; /* Removes underline */
   border-radius: 5px; /* Rounds button corners */
   transition: 0.3s; /* Adds hover animation */
 }
 
 .pagination a:hover {
   background-color: coral; /* Changes background color on hover */
   color: #000;
 }

.small-img-group{
   display: flex;
   justify-content: space-between;
   padding-top: 15px;
}

.small-img-col{
   flex-basis: 25%;
   cursor: pointer;
}

.single-product input:focus{
outline: none;
}

.single-product input{
   width: 50px;
   height: 40px;
   padding-left: 10px;
   font-size: 16px;
   margin-right: 10px;
}

.single-product .buy-btn{
   background-color: coral;
   color: white;
   opacity: 1;
   transition: 0.4s all;
}

.single-product .buy-btn:hover{
   background-color: black;
   color: white;
}


/* Cart */
.cart table{
   width: 100%;
   border-collapse: collapse;
}

.cart .product-info{
   display: flex;
   flex-wrap: wrap;
}

.cart th{
   text-align: left;
   padding: 5px 10px;
   color: #fff;
   background-color: #fb774b;
}

.cart td{
   padding: 10px 20px;
}

.cart td img{
   width: 80px;
   height: 80px;
   margin-right: 10px;
}

.cart td input{
   width: 40px;
   height: 30px;
   padding: 5px;
}

.cart td a{
   color: #fb774b;
}

.cart .remove-btn{
   color: #fb774b;
   text-decoration: none;
   font-size: 14px;
}

.cart .edit-btn{
   color: #fb774b;
   text-decoration: none;
   font-size: 14px;
}

.cart .product-info p{
   margin: 3px;
}

.cart-total{
   display: flex;
   justify-content: flex-end;
}

.cart-total table{
   width: 100%;
   max-width: 500px;
   border-top: 3px solid #fb774b;
}

td:last-child{
   text-align: right;
}

th:last-child{
   text-align: right;
}

.checkout-container{
   display: flex;
   justify-content: flex-end;
}

.checkout-btn{
   display: flex;
   justify-content: flex-end;
   background-color: #fb774b;
   color: #fff;
}

.checkout-btn:hover{
   background-color: #000;
   color: #fff;
}

/*login*/
#Login-form{
   width: 50%;
   margin: 5px auto;
   text-align: center;
   padding: 20px;
   border-top: 1px solid #fb774b;
}

#Login-form input{
   width: 50%;
   margin: 5px auto;
}

#Login-form #login-btn{
   background-color: #fb774b;
   color: #fff;
}

#Login-form #register-url{
   color: #fb774b;
   text-decoration: none;
} 



/*signUp*/
#signUp-form{
   width: 50%;
   margin: 5px auto;
   text-align: center;
   padding: 20px;
   border-top: 1px solid #fb774b;
}


#signUp-form input{
   width: 50%;
   margin: 5px auto;
}

#signUp-form #signUP-btn{
   background-color: #fb774b;
   color: #fff;
}

#signUp-form #login-url{
   color: #fb774b;
   text-decoration: none;
} 

/*Account*/
#account-form{
   width: 50%;
   margin: 35px auto;
   text-align: center;
   padding: 20px;
}

#account-form input{
   margin: 5px auto;
}

#account-form #change-pass-btn{
   color: #fff;
   background-color: #fb774b;
}

#logout-btn{
   color: #fb774b;
   text-decoration: none;
}

#orders-btn{
   color: #fb774b;
   text-decoration: none;
}

/*0rders*/
.orders table{
width: 100%;
border-collapse: collapse;
}

.orders .product-info{
   display: flex;
   flex-wrap: wrap;
}

.orders th{
   text-align: left;
   padding: 5px 10px;
   color: #fff;
   background-color: #fb774b;
   text-align: left;
}

.orders th:nth-child(2){
   text-align: right;
}

.orders td{
   padding: 10px 20px;
}

.orders td img{
   width: 80px;
   height: 80px;
   margin-right: 10px;
}

/*checkout*/
#checkout-form .checkout-small-element{
 display: inline-block;
 width: 48%;
 margin: 10px auto;
}

#checkout-form .checkout-large-element{
   width: 96.3%;
  }

#checkout-form .checkout-btn-container{
   margin: 10px;
   text-align: right;
   margin-right: 40px;
}

#checkout-form #checkout-btn{
   background-color: #fb774b;
   color: #fff;
  }

  /*contact*/
  #contact span{
   color: #fb774b;
  }

#social-icon{
   font-size: large;
}

#bg-social{
   background-color: rgb(201, 198, 198);
}


#m-top{
   padding-top: 35px;
}

#product-category{
   margin-top: 35px;
}

.contact-email{
   text-decoration: none;
}

.contact-number{
   text-decoration: none;
}


#email{
text-align: left !important;
}





/* Cart Styling */
#cart-items {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

.cart-item {
   background: #fff;
   border-radius: 10px;
   padding: 15px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   transition: transform 0.2s ease-in-out;
   display: flex;
   align-items: center;
   gap: 15px;
   flex-wrap: wrap;
}

.cart-item:hover {
   transform: scale(1.02);
}

.cart-item img {
   width: 100%;
   max-width: 80px;
   height: auto;
   border-radius: 8px;
   object-fit: cover;
}

.cart-item .item-details {
   flex: 1;
   text-align: left;
   font-size: 16px;
   min-width: 180px;
}

.cart-item h5 {
   font-size: 18px;
   font-weight: bold;
   color: #2a3251;
   margin-bottom: 5px;
   white-space: nowrap; /* Prevents text from shrinking too much */
   overflow: hidden;
   text-overflow: ellipsis; /* Truncates long text */
}

.cart-item p {
   margin: 5px 0;
   color: #555;
}

/* Quantity Input Field */
.cart-item input[type="number"] {
   width: 30px; /* Adjust size */
   text-align: center;
   padding: 5px;
   font-size: 14px;
   border: 1px solid #ccc;
   border-radius: 5px;
}

/* Total & Buttons */
#cart-total {
   font-weight: bold;
   font-size: 22px;
}

.btn-primary {
   background-color: #2a3251;
   border: none;
   transition: all 0.3s ease;
}

.btn-primary:hover {
   background-color: #1e253d;
}

/* Responsive Fixes */
@media (max-width: 768px) {
   .cart-item {
       flex-direction: column;
       align-items: center;
       text-align: center;
       gap: 10px;
   }

   .cart-item img {
       margin-bottom: 10px;
   }

   .cart-item .item-details {
       text-align: center;
   }

   .cart-item h5 {
       font-size: 16px;
       text-align: center;
   }

   .cart-item input[type="number"] {
       width: 50px; /* Further reduce size on smaller screens */
       font-size: 12px;
   }

   .d-flex {
       flex-direction: column;
       align-items: center;
   }
}

