/*=============== GOOGLE FONTS ===============*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(230, 75%, 56%);
  --title-color: hsl(230, 75%, 15%);
  --text-color: hsl(230, 12%, 40%);
  --body-color: hsl(230, 100%, 98%);
  --container-color: hsl(230, 100%, 97%);
  --border-color: hsl(230, 25%, 80%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1023px) {
  :root {
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button {
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.main {
  position: relative;
  height: 100vh;
}

.main__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.search,
.login {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  background-color: hsla(230, 75%, 15%, .1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For safari */
  padding: 8rem 1.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.search__close,
.login__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  box-shadow: 0 2px 16px hsla(230, 75%, 32%, .15);
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  margin-left: 2rem;
  display: flex;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__actions {
  margin-right: 2rem;
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__search, 
.nav__login, 
.nav__toggle, 
.nav__close,
.nav__fav {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .4s;
}

:is(.nav__logo, .nav__search, .nav__login, .nav__toggle, .nav__link,.nav__fav):hover {
  color: var(--first-color);
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
    width: 100%;
    padding-block: 4.5rem 4rem;
    transition: top .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}

/*=============== SEARCH ===============*/ 
.input-container {
  width: 220px;
  position: relative;
}

.icon {
  position: absolute;
  right: 10px;
  top: calc(50% + 5px);
  transform: translateY(calc(-50% - 5px));
}

.input {
  width: 100%;
  height: 40px;
  padding: 10px;
  transition: .2s linear;
  border: 2px solid black;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.input:focus {
  outline: none;
  border: 0.5px solid black;
  box-shadow: -5px -5px 0px black;
}

.input-container:hover > .icon {
  animation: anim 1s linear infinite;
}

@keyframes anim {
  0%,
  100% {
    transform: translateY(calc(-50% - 5px)) scale(1);
  }

  50% {
    transform: translateY(calc(-50% - 5px)) scale(1.1);
  }
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 576px) {
  .search,
  .login {
    padding-top: 10rem;
  }

  .search__form {
    max-width: 450px;
    margin-inline: auto;
  }

  .search__close,
  .login__close {
    width: max-content;
    top: 5rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    font-size: 2rem;
  }

  .login__form {
    max-width: 400px;
    margin-inline: auto;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 3rem;
  }
  .nav__close, 
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    margin-left: auto;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .login__form {
    padding: 3rem 2rem 3.5rem;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
}
/* CATEGORIES ROW 1 */
.categories_row {

  height:auto;
  width: 100%;
  display: flex; /* Create a row */
  gap: 10px; /* Space between columns */
}

.category_col1 {
  margin-left: 2rem;
  padding: 0.5rem;
  flex: 1; /* First column takes 1 part of the row */
}
.category_col1 .category{
  
  width: 100%;
  height: 100%;
}
.category_col1 .category img{
 width: 700px;
 height: 520px;
}
.category_col2 {
  margin-left: 1.5rem;
  height: 100%;
  width: 50%;
  flex: 1; /* Second column takes 1 part of the row */
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr); /* Two columns in the second column */
  grid-template-rows: repeat(2, 1fr); /* Two rows in the second column */
}
.category_col2 .category{
  margin-top:0.5rem;
  width: 250px;
  height: auto;
}

.category_col2 .category img {
  width: 100%; /* Make images fill their container */
  height: 100%; /* Make images fill their container */
  object-fit: cover; /* Ensure images cover the area without distortion */
}


/* Responsive Layout */
@media (max-width: 768px) {
  .categories_row {
      flex-direction: column; /* Stack columns vertically on smaller screens */
  }

  .category_col2 {
      justify-content: center;
      align-self: center;
      grid-template-columns: repeat(2, 1fr); /* Keep two columns in the second column */
  }
}

@media (max-width: 480px) {
  .category_col2 {
      grid-template-columns:repeat(1,1fr); /* Switch to one column in the second column on very small screens */
  }
}
.title{
  color:#2A2A4A;
  padding-top: 1.5rem;
  padding-left: 4rem;
}
/* ========BANNER IMAGE SLIDER========= */
.slider{ 
  margin-top: 2.5rem;       
  height: 90%;
  position: relative;
  overflow: hidden;
}
.slider .list{
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}
.slider .list img{
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}
.slider .buttons{
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
.slider .buttons button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
.slider .dots{
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.slider .dots li{
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}
.slider .dots li.active{
  width: 30px;
}
@media screen and (max-width: 768px){
  .slider{
      height: 400px;
  }
}
.item .btn {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  border: solid 1px #020e29;
  font-size: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  padding: 12px 20px;
  min-width: 150px;
  cursor: pointer;
  transition: color 0.4s linear, border-color 0.4s, background 0.4s;
  z-index: 2;
  display: relative; /* Ensure buttons are always block-level */
  opacity: 1 !important; /* Force visibility */
}

.item .btn:hover {
  color:white;
  border-color: #060e20;/* Optional: keeps border consistent on hover */
}

.item .btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: solid 1px black;
  background-color: #3b4358 ;
  z-index: -1;
  transition: transform 0.5s;
  transform-origin: 0 0;
  transition-timing-function: 0.5, 0.1, 0.6, 0.4, 0.7;
}

.item .btn1::before {
  transform: scaleX(0);
}
.item .btn1:hover::before {
  transform: scaleX(1);
}
/* ================== CARD  ===================== */
.all-products {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.product {
  overflow: hidden;
  background: #ffffff;
  color: #1f1e1b;
  text-align: center;;
  width: 330px;
  height: 480px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Adjusted to space out content */
  border-radius: 10px;
  margin: 1rem;
  position: relative; /* Added to position the wishlist button */
}

.product .product-title,
.product .product-price {
  font-size: 18px;
}

.product:hover img {
  scale: 1.1;
}

.product:hover {
  box-shadow: 5px 15px 25px #eeeeee;
}

.product img {
  height: 200px;
  margin: 1rem;
  transition: all 0.3s;
}

.p_title_price {
  width: 100%;
  height: 80px;
}

.buttons {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center; /* Center the single button */

}

/* Wishlist button styles */
.wishlist-btn {
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #333;
  padding: 15px; /* Reduced padding for a smaller button */
  position: absolute; /* Positioned absolutely in the top-right corner */
  top: 10px;
  right: 10px;
  transition: color 0.3s;
}

.wishlist-btn:hover {
  color: #3b4358; /* Changed to a darker color on hover, no background */
}

.wishlist-btn.active {
  background: none;
  color: #ff0000; /* Red heart when active */
}

.product-btn {
  width: 220px;
  border: solid 2px black;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  background-color: #050b39;
  padding: 1rem 2rem;
  font-size: 13px;
  transition: all 0.2s;
  cursor: pointer;
}

.product-btn:hover {
  background: #fff;
  color: #050b39;
}
/* ====================SERVICE SECTION ==================*/
.service-section {
  width: 92%;
  margin: 0 auto;
  padding: 20px 0;

  background: #fff;
  box-sizing: border-box;
}

.service-section h1 {
  padding: 10px;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-bottom:15px;
  box-sizing: border-box;
}

.service-icon{
  padding: 11px;
  border-radius: 13px;
}
.service-item {
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  flex: 1 1 300px;
  max-width: 400px;
  margin-top: 1rem;
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-item h2 {
  padding: 10px 0;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}

.service-item h3 {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  margin: 0;
}

@media (max-width: 768px) {
  .service-section {
    width: 95%;
    border-radius: 20px;
  }
  
  .service-icon img {
    width: 60px;
    height: 60px;
  }
  
  .service-item {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .services {
    gap: 15px;
  }
  
  .service-icon img {
    width: 50px;
    height: 50px;
  }
}
/* =========PRODUCT CATEGORIES ============*/
.categories{
  width: 100%;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
  
}
.product_categories {
  margin-top: 1rem;
  margin-left: 1rem;
  max-width: 100%;
  justify-content: space-around;
  display: flex;
  flex-wrap: wrap;

}
.category {
  position: relative;
  display: inline-block;
  
  height:100%;
/* Add relative positioning */
}
.category img {
  display: block;
  object-fit: cover;
  width: 280px;
  height: auto; /* Adjust based on your needs */
  transition: opacity 0.3s ease-in-out; /* Add transition for smooth effect */
}

 .category img:hover {
  opacity: 0.6  ; /* Change opacity on hover */
}

.category p {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transform: translate(-50%, -50%);
  color: white; /* Adjust text color */
  font-size: 26px;
  padding: 5px 10px; /* Adjust padding */
  border-radius: 5px; /* Optional rounded corners */
  font-weight: 900;
  letter-spacing: 2px;
  z-index: 1; 
}



.category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  background-color: rgba(0,0,0, 0); 
  transition: background-color 0.3s ease-in-out; 
}

.category:hover::after {
  height:100%;
  background-color: rgba(0,0,0, 0.5); 
}
/* =========  NEWSLETTER ========= */
.letter{
 width: 100%;
 height: auto;
 justify-content: center;
 text-align: center;
}
.newsletter_form{
  margin:2rem;
  padding: 1rem;

}
.newsletter_form h2{
  font-size: 2rem;
  letter-spacing: 0.2rem;
  margin-bottom:1rem;
}

.txtemail{
  width: 250px;
  flex: 1;
  padding: 8px 11px;
  font-size: 15px;
  color: #3b4358;
  background: white;
  border:solid 1px #3b4358; 
  outline: none;
 
}
.btnsubmit{

  font-size: 15px;
  color: white;
  background: #3b4358;
  outline: none;
  margin-right: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.btnsubmit:hover{
  background: white;
  color: #3b4358;
}
/* ============ Footer============ */
.footer {
  background-color: #24262b;
  padding: 70px 0;
  width: 100%;
}

.footer-container {
  max-width: 1170px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #bbbbbb;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}
/* Payment Methods Styles */
.payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-methods a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.payment-methods a img {
  width: 40px; /* Suitable size for payment icons */
  height: auto;
  border-radius: 20%;
  filter: grayscale(100%); /* Optional: makes icons grayscale by default */
  transition: filter 0.3s ease;
}

.payment-methods a:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

.payment-methods a:hover img {
  filter: grayscale(0%); /* Restores color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-col {
      min-width: 100%;
      margin-bottom: 20px;
  }

  .footer-col h4 {
      font-size: 1rem;
  }

  .footer-col ul li a {
      font-size: 0.9rem;
  }

  .social-links a {
      font-size: 1.3rem;
  }

  .payment-methods a img {
     
      width: 35px; /* Slightly smaller for tablets */
  }
}

/* Responsive */
@media(max-width: 767px) {
  .footer-col {
      width: 50%;
      margin-bottom: 30px;
  }
}

@media(max-width: 574px) {
  .footer-col {
      width: 100%;
  }
}



/* =================== PRODUCT DETAIL ====================== */
.prodrow {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 5rem;
  height: auto; /* Changed from 100vh to auto for better responsiveness */
}

.prod_column1, .prod_column2 {
  width: 50%; /* Default: Two columns side by side */
}

.prod_column1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.productimg {
  padding-left: 8rem;
  width: 90%;
  height: 90%;
  margin: 2rem;
}
.productimg img{
  cursor: pointer;
}


.smallimgrow {
  float: left;
  justify-content: space-between;
}

.smallimgrow img {
  cursor: pointer;
}

.productd {
  width: 90%;
  height: 90%;
  margin: 2rem;
}

.productd h2 {
  padding-left: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
}

.productd h3 {
  font-family: Arial, Helvetica, sans-serif;
}

.star {
  margin-left: 20px;
  margin-bottom: 15px;
}

.productd i {
  font-size: 18px;
  float: left;
  color: #ffe75c;
  margin-left: 5px;
}
.product_size{
  width:100%;
  display: flex;
  flex-direction: row;
  
  margin-left: 1.6rem;
}
.size_link {
  color: #24262b;
  text-decoration: underline;
  font-size:0.6rem;
  margin-left: 1rem;
  margin-top: 0.5rem;


}
.productd h4{
  margin-top: 0.3rem;
}
.product_size select {
  margin-left: 0.7rem;
  border: solid   1px;
  width: 180px;
  padding: 5px 10px;
  outline: none ;
}
.product_size  select option{
  border-radius: 0;
}

.product_size  input {
  padding: 4px 9px;
  width: 100px;
  margin-left: 20px;
}

.productd button {
  margin-top: 15px;
  height: 40px;
  padding: 8px 14px;
  margin-left: 25px;
  font-size: 14px;
  width: 280px;
  border: solid 2px;
  border-radius: 2px;
  color: black;
}

.productd button:hover {
  background-color: #3b4358;
  color: white;
  transform: scale(1.04);
}

.productd h3 {
  font-family: Microsoft JhengHei Light;
  margin-left: 20px;
  margin-top: 5px;
  padding: 10px;
  letter-spacing: 3px;
}

.productd p {
  margin-left: 20px;

  padding: 7px;
}

.shippinglogo i {
  padding: 15px;
  font-size: 30px;
  color: black;
  width: 50px;
  height: 57px;
  margin-left: 20px;
  margin-bottom: 30px;
}

.freeship {
  margin-left: 60px;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .prod_column1, .prod_column2 {
    width: 100%; /* Stack columns vertically on smaller screens */
  }

  .prod_column1 {
    order: 1; /* Move the first column to the top */
  }

  .prod_column2 {
    order: 2; /* Move the second column to the bottom */
  }

  .productimg {
    padding-left: 1rem; /* Adjust padding for smaller screens */
    margin: 1rem; /* Adjust margin for smaller screens */
  }

  .productd {
    margin: 1rem; /* Adjust margin for smaller screens */
  }
}


































/*=============== BREAKPOINTS ===============*/

/* Navigation for mobile devices */

@media screen and (max-width: 1023px) {
  
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
    width: 100%;
    padding-block: 4.5rem 4rem;
    transition: top .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}
/* For medium devices */
@media screen and (min-width: 576px) {
  
 
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  .search,
  .login {
    padding-top: 10rem;
  }
  
  .search__form {
    max-width: 450px;
    margin-inline: auto;
  }

  .search__close,
  .login__close {
    width: max-content;
    top: 5rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    font-size: 2rem;
  }

  .login__form {
    max-width: 400px;
    margin-inline: auto;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  
  .bannerimg{
    width: 100%;
  }
  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 3rem;
  }
  .nav__close, 
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    margin-left: auto;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .login__form {
    padding: 3rem 2rem 3.5rem;
  }
}

@media screen and (min-width: 1150px) {
  .container { 
    margin-inline: auto;
  }
}
@media screen and (min-width: 1023px) {
  .banner {
    height: 90vh; /* Adjust height slightly for medium screens */
  }

  .banner_img img {
    width: 100%;
    height: auto;
  }

  .banner .btn {
    padding: 12px 18px;
    font-size: 16px;
    min-width: 140px;
    bottom: 10%;
  }
}

/* For screens 1150px and up */
@media screen and (min-width: 1150px) {
  .banner {
    height: 100vh; /* Full height on larger screens */
  }

  .banner_img img {
    width: 1500px;
    height: 100vh;
    object-fit: cover;
  }

  .banner .btn {
    padding: 14px 20px;
    font-size: 18px;
    min-width: 160px;
    bottom: 10%;
  }
}
/* ========= FILTER SIDEBAR ========== */
.sidebar_container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}
.filter_sidebar {
  flex: 1;
  max-width: 200px;
  padding: 20px;
}
.main-content {
  flex: 3;
  padding: 20px;
}
.filter_header {
  margin-top: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  
}
.filter_header h1 {
  font-size: 24px;

}
.filter_header.filters {
  display: flex;
  align-items: center;
}
.filter_header .filters a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.product-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f5f5f5;
}
.product-card .new {
  color: #b12704;
  font-weight: bold;
}
.product-card .title {

  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
}
.product-card .description {
  color: #666;
  margin: 10px 0;
}
.product-card .price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}
.filter-section {
  margin-bottom: 20px;
}
.filter-section h3 {
  font-size: 16px;
  margin: 0 0 10px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}
.filter-section ul li {
  margin: 5px 0;
}
.filter-section ul li a {
  text-decoration: none;
  color: #000;
}
.toggle-switch {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.toggle-switch input {
  margin-right: 10px;
}
@media (max-width: 768px) {
  .container {
      flex-direction: column;
  }
  .sidebar {
      max-width: 100%;
      display: none;
  }
  .main-content {
      max-width: 100%;
  }
  .header .filters a:first-child {
      display: block;
  }
}
@media (max-width: 480px) {
  .header h1 {
      font-size: 18px;
  }
  .header .filters a {
      font-size: 14px;
  }
  .product-card {
      padding: 10px;
  }
  .product-card .title h1{
     
      font-size: 14px;
  }
  .product-card .description {
      font-size: 12px;
  }
  .product-card .price {
      font-size: 16px;
  }
}




/* login profile */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.profile-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.profile-dropdown-content a:hover {
  background-color: #f1f1f1;
}

.profile-dropdown:hover .profile-dropdown-content {
  display: block;
}

/* ========= User Profile ============ */
.p-header{
  margin-top: 6rem;
  margin-left: 10rem;
  padding: 20px;
}
.u-profile_container{
  margin-bottom: 4rem;
  border-radius: 30px;
  border: solid 1px #ddd;
  width: 80%;
  align-items: center;
  justify-self: center;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.u-profile_container h1{
  margin-left:30px ;
}
.profile-form {
  margin-top: 4rem;
  margin-top: 1.9rem;
  width: 100%;
  height: 90%;
  padding:1rem;
  height: auto;
}
.profile-container {
  display: flex;
  margin-left: 13rem;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-right: 20px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.profile-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  flex-wrap: wrap;
}
.profile-info h1 {
  margin: 0;
  font-size: 28px;
  color: var(--color-dark);
}
.profile-info .badge {
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 14px;
  color: white;
  margin-left: 10px;
  font-weight: bold;
}
.badge.admin {
  background-color: #080f49;
}
.badge.user {
  background-color: #080f49;
}


.details-container {
  width: 70%;
  padding-left: 3rem;
  padding-top: 1rem;
  justify-self: center; 
  border-radius: 10px;
  margin: 10px 0;
  background: #f6f8fa;
 
}
.imgform::-webkit-file-upload-button{
  background:#d8dfe9 ;
  height: 40px;
  width: 130px;
  border: none;
  
}
.detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.detail:last-child {
  border-bottom: none;
}
.detail .label {
  font-weight: bold;
  color: #363949;
  font-size: 16px;
}

.detail .value {
  color: #363949;
  font-size: 16px;
}
.detail input{
  width:400px;
  border-radius: 10px;
  padding-left: 0px;
  height: 40px;
  border: solid 0.5px ;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 200ms ease; 
}
.detail input[type='text']{
  padding-left: 20px;
}
.detail input[type='email']{
  padding-left: 20px;
}
.detail .edit-btn {
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.edit-profile-btn {
  width: 20%;
  background-color: #080f49;
  color:white;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 10px;
  cursor: pointer;
  display: block;
  justify-self: center;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}
.detail .edit-btn:hover {
  box-shadow:  0 2px 5px rgba(0,0,0,0.1);
}

.detail .reveal-btn {
  color: #7380ec;
  cursor: pointer;
  margin-left: 8px;
  font-size: 14px;
  text-decoration: underline;
}

.edit-action-btns{
  display: flex;
  width: 100%;
  gap: 10px;
}
.save-profile-btn{
  background-color:#080f49;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 20%;
  
}
.cancel-profile-btn{
  background-color:#080f49;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 20%;
}
.edit-action-btns{
  padding: 15px;
  justify-content: center;
}
@media (max-width: 768px) {
  .profile-container {
    justify-self: center;
  }
  .p-header{
    text-align: center;
  }
  .profile-info {
      margin-top: 15px;
  }

  .profile-image {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .details-container {
      margin: 15px 0;
      padding: 15px;
  }

  .detail {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }

  .detail > div {
      width: 100%;
  }

  .edit-profile-btn {
      width: 100%;
      margin: 20px 0 0;
  }
}

/*  DROPDOWN STYLE */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  text-align: left;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  align-items: center;
  display:flex;
  padding: 10px 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}
.dropdown-item:hover {
  background-color: #f5f5f5;
  color: #007bff;
  padding-left: 25px; /* Slight indent animation on hover */
}

/* Optional: Add a subtle triangle arrow */
.dropdown-menu:before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  transform: rotate(45deg);
  z-index: -1;
}
/* Profile Dropdown style  */
.profile-dropdown {
  position: relative;
  display: inline-block;
}
.nav__profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

.profile-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px 0;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.profile-dropdown:hover .profile-dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.profile-dropdown-content a{
  display: flex;
}
.profile-dropdown-content h3 {
  padding: 10px 20px;
  margin: 0;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
}

.profile-dropdown-item {
  align-items: center;
  display: flex;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.profile-dropdown-item:hover {
  background-color: #f5f5f5;
  color: #007bff;
  padding-left: 25px;
}

/* Optional: Add a subtle triangle arrow */
.profile-dropdown-content:before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  transform: rotate(45deg);
  z-index: -1;
}
/* ==================== CHECKOUT Page design ==============================*/