* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

  
}

body {
  background-color: rgb(249, 252, 252);
  /* min-height: 200vh; */
}

header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 11rem;
  border-bottom: 1px solid #eee;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  width: 300px;
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.5rem;
  width: 100%;
  outline: none;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.hedaer_icon_flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hedaer_icon_flex1{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}
.auth-links a {
  color: #2d3436;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color 0.3s;
  font-weight: 500;
}
.auth-links{
  display: flex;
  align-items: center;
}
.auth-links a:hover {
  color: #e74c3c;
}
.logo_img_link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem;
}

.logo_img_image {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Responsive size for small screens */
@media (max-width: 768px) {
  .logo_img_image {
      max-height: 36px;
  }
}

@media (max-width: 480px) {
  .logo_img_image {
      max-height: 28px;
  }
}
.profile_controll_wrapper {
  position: relative;
  display: inline-block;
}

.profile_controll_btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px;
}

.profile_controll_dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 1rem;
  min-width: 180px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.profile_controll_dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile_controll_dropdown li a {
  display: block;
  padding: 8px 12px;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile_controll_dropdown li a:hover {
  background: #f8f9fa;
  border-radius: 4px;
}

/* Mobile Specific Styles */
@media (max-width: 767px) {
  .profile_controll_dropdown {
      position: fixed;
      top: 60px;
      right: 15px;
      left: 15px;
      min-width: auto;
      max-width: calc(90vw - 30px);
  }
}

/* Checkbox Hack */
#profile_controll_toggle:checked ~ .profile_controll_dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Close dropdown when clicking outside */
body.profile-dropdown-open .profile_controll_dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.header-divider {
  height: 24px;
  width: 1px;
  background-color: #ddd;
  margin: 0 0.5rem;
}

.wallet-amount {
  font-weight: 600;
  color: #34495e;
}
.search-container {
  position: relative;
  display: inline-block;
}

.search-icon {
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  color: #666;
}

.search-input {
  position: absolute;
  right: 0;
  width: 0;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 25px;
  background: #f5f5f5;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-container.active .search-input {
  width: 250px;
  padding: 0 45px 0 20px;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.search-container.active .search-icon {
  color: #e74c3c;
  transform: translateX(-10px);
}

@media (max-width: 768px) {
  .search-container.active .search-input {
      width: 200px;
  }
}
.cart-icon {
  position: relative;
  color: #2d3436;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-icon .material-icons {
  font-size: 1.5rem;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -5px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.nav-item {
  margin: 0 1.5rem;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 200px;
  padding: 1rem;
}

.dropdown .dropdown {
  left: 100%;
  top: 0;
}

.nav-item:hover .dropdown {
  display: block;
}
.dropdown div{
  color: rgb(18, 17, 17);
  margin-bottom: 10px;
}
.dropdown a{
  color: black;
}
.dropdown a:hover{
  color: #27ae60;
  background-color: rgba(181, 174, 169, 0.251);
  padding: 10px;
  border-radius: 10px;
}

/* Mobile Styles */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.hamburger {
  cursor: pointer;
}

.mobile-menu {
position: fixed;
top: 0;
right: -60%;
width: 60%;
height: 100vh;
background: white;
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease;
padding: 1rem;
z-index: 1001;
overflow-y: auto;
}

.mobile-menu.active {
right: 0;
}

.mobile-menu-item {
padding: 1rem 0;
border-bottom: 1px solid #eee;
cursor: pointer;
position: relative;

}
.nav-flex{
display: flex;
align-items: center;
}
.mobile-dropdown {
overflow: hidden;
max-height: 0;
transition: max-height 0.4s ease;
padding-left: 1rem;
margin-top: 0.5rem;
}

/* Add this to ensure visible spacing and prevent collapse */
.mobile-menu-item.open > .mobile-dropdown {
max-height: 1000px; /* enough for deep nesting */
}

.dropdown-icon {
margin-left: 4px; /* optional spacing between text and icon */
font-size: 18px;   /* optional sizing */
vertical-align: middle;
}

@media (max-width: 768px) {

  .top-header,
  .nav-menu {
      display: none;
  }

  .mobile-header {
      display: flex;
  }

  .logo {
      font-size: 1.5rem;
  }
}

/* banner slider */
.banner_slider_wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 10px;

  /* Maintain a 16:9 aspect ratio */
  aspect-ratio: 16 / 9;
  max-height: 300px;
}

.banner_slider_container {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  touch-action: pan-y;
  height: 100%;
}

.banner_slider_slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.banner_slider_slide.active {
  opacity: 1;
  position: relative;
}

.banner_slider_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.banner_slider_dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.banner_slider_dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}


.cate_grid_section {
  padding: 3rem 1rem;
  background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.cate_grid_container {
  max-width: 1200px;
  margin: 0 auto;
}

.cate_grid_title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: #2d3436;
  position: relative;
  letter-spacing: -0.5px;
}

.cate_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1rem;
}

.cate_grid_item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.cate_grid_item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%
  );
  z-index: -1;
}

.cate_grid_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cate_grid_image_container {
  position: relative;
  padding-top: 70%;
  overflow: hidden;
}

.cate_grid_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cate_grid_content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      transparent 100%
  );
}

.cate_grid_name {
  margin: 0;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .cate_grid_title {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
  }
  
  .cate_grid_name {
      font-size: 1.2rem;
      padding: 0 0.5rem;
  }
  
  .cate_grid_content {
      padding: 1rem;
  }
}

@media (max-width: 480px) {
  .cate_grid_title {
      font-size: 1.5rem;
  }
  
  .cate_grid {
      gap: 1rem;
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 0 auto;
  }
  
  .cate_grid_item {
      border-radius: 16px;
  }
  
  .cate_grid_name {
      font-size: 1.1rem;
  }
}

/* Enhanced Glass Effect */
.cate_grid_item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-15deg);
  transition: left 0.6s ease;
}

.cate_grid_item:hover::after {
  left: 150%;
}

/* product card scroll  */
.product_scro_section {
  padding: 20px;
  position: relative;
  /* background: #fdfdfd; */
  max-width: 1200px;
  margin: auto;
}

.product_scro_title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
}

.product_scro_container {
  position: relative;
  overflow: hidden;
}

.product_scro_slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 8px;
}

.product_scro_slider::-webkit-scrollbar {
  display: none;
}

/* Nav buttons */
.product_scro_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product_scro_container:hover .product_scro_nav {
  opacity: 1;
}

.product_scro_nav.prev {
  left: 10px;
}

.product_scro_nav.next {
  right: 10px;
}

/* Product Card */
.product_card {
  flex: 0 0 calc(25% - 12px);
  background: rgb(241, 238, 238);
  border-radius: 12px;
  box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.25);

  text-align: center;
  padding: 12px;
  transition: transform 0.3s ease;
  position: relative;
}

.product_card:hover {
  transform: translateY(-5px);
}

.product_card_img_wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
}

.product_card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s;
}

.product_card_img.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product_card:hover .hover-img {
  opacity: 1;
}

.product_card_badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: crimson;
  color: white;
  padding: 2px 8px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.product_card_quick {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.product_card:hover .product_card_quick {
  opacity: 1;
}

.product_card_title {
  margin: 10px 0 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.product_card_prices {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
}

.product_card_price_new {
  color: #e60023;
  font-weight: bold;
  font-size: 1.1rem;
}

.product_card_price_old {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
}

.product_card_addtocart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: black;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.product_card_addtocart:hover {
  background: transparent;
  color: black;
  border: 1px solid black;
  transform: scale(1.02);
}

/* Responsive: 2 per row */
@media (max-width: 768px) {
  .product_card {
    flex: 0 0 calc(50% - 10px);
  }

  .product_card_img_wrapper {
    height: 160px;
  }
}
.section_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
}

.section_title {
  font-size: 1.8rem;
  color: #2d3436;
  margin: 0;
  position: relative;
}

.section_title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

.view_all_link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #636e72;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(236, 240, 241, 0.5);
}

.view_all_link .material-icons {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.view_all_link:hover {
  color: #3ca0e7;
  background: rgba(60, 205, 231, 0.1);
  transform: translateY(-1px);
}

.view_all_link:hover .material-icons {
  transform: translateX(3px);
}

.section_title:hover::after {
  width: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section_header {
      padding: 1rem;
      margin: 1.5rem auto;
  }
  
  .section_title {
      font-size: 1.5rem;
  }
  
  .view_all_link {
      padding: 6px 12px;
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section_title {
      font-size: 1.3rem;
  }
  
  .view_all_link {
      gap: 4px;
      padding: 4px 10px;
  }
  
  .view_all_link .material-icons {
      font-size: 1rem;
  }
}

.main-footer {
  background: #2d3436;
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
  flex: 1;
  text-align: left;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #e74c3c;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #e74c3c;
}

.footer-links li {
  margin-bottom: 0.8rem;
  list-style: none;
}

.footer-links a {
  color: #dfe6e9;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #e74c3c;
}

.footer-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  color: #dfe6e9;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #dfe6e9;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #e74c3c;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.payment-methods img {
  width: 50px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.payment-methods img:hover {
  filter: grayscale(0%);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  color: #b2bec3;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-columns {
      flex-direction: column;
      text-align: center;
      gap: 3rem;
  }

  .footer-col {
      text-align: center;
  }

  .footer-title::after {
      left: 50%;
      transform: translateX(-50%);
  }

  .footer-links a {
      justify-content: center;
  }

  .social-links {
      justify-content: center;
  }

  .payment-methods {
      flex-wrap: wrap;
      gap: 1rem;
  }
}

/* product details page  */
.pro_detail_section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.pro_detail_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}

.pro_detail_images {
  flex: 1;
  position: relative;
}

.pro_detail_mainimg {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.pro_detail_zoomimg {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.pro_detail_zoomimg:hover {
  transform: scale(1.05);
}

.pro_detail_info {
  flex: 1;
  padding: 0 1rem;
}

.pro_detail_title {
  font-size: 2.2rem;
  color: #2d3436;
  margin-bottom: 1rem;
}

.pro_detail_pricing {
  margin-bottom: 1.5rem;
}

.pro_detail_offer {
  font-size: 1.8rem;
  color: #e74c3c;
  font-weight: 700;
  margin-right: 1rem;
}

.pro_detail_original {
  font-size: 1.2rem;
  color: #95a5a6;
  text-decoration: line-through;
}

.pro_detail_sizes h3 {
  margin-bottom: 1rem;
}

.pro_detail_sizelist {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pro_detail_sizebtn {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pro_detail_sizebtn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.pro_detail_quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pro_detail_qtybtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pro_detail_qtybtn:hover {
  background: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.pro_detail_qtyinput {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.1rem;
}

.pro_detail_actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.pro_detail_cartbtn, .pro_detail_buybtn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.pro_detail_cartbtn {
  background: #2d3436;
  color: white;
}

.pro_detail_buybtn {
  background: #e74c3c;
  color: white;
}

.pro_detail_cartbtn:hover, .pro_detail_buybtn:hover {
  transform: translateY(-2px);
}

.pro_detail_desc {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pro_detail_features ul {
  list-style: none;
  padding: 0;
}

.pro_detail_features li {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro_detail_sizetable {
  margin-top: 2rem;
  overflow-x: auto;
}

.pro_detail_sizetable table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pro_detail_sizetable th,
.pro_detail_sizetable td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.pro_detail_sizetable th {
  background: #f8f9fa;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pro_detail_container {
      flex-direction: column;
  }
  
  .pro_detail_title {
      font-size: 1.8rem;
  }
  
  .pro_detail_actions {
      flex-direction: column;
  }
}
.product_info_section {
  padding: 4rem 1rem;
  background: #fff;
}

.product_info_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}

.product_info_nav {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product_info_tab {
  padding: 1.2rem 2rem;
  border: none;
  background: #f8f9fa;
  color: #2d3436;
  text-align: left;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product_info_tab.active {
  background: #2d3436;
  color: white;
  padding-left: 2.5rem;
}

.product_info_tab::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 0;
  background: #e74c3c;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.product_info_tab.active::before {
  left: 0;
  height: 60%;
}

.product_info_tab:hover:not(.active) {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.product_info_content {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.product_info_panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product_info_panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product_info_list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.product_info_list li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product_info_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product_info_item {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
}

.size_chart_wrapper {
  margin-top: 2rem;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .product_info_container {
      flex-direction: column;
      gap: 1.5rem;
  }
  
  .product_info_nav {
      flex-direction: row;
      overflow-x: auto;
      padding: 0.5rem 0 1rem;
      margin: 0 -1rem;
      scrollbar-width: thin;
      scrollbar-color: #e74c3c #f8f9fa;
      gap: 0.5rem;
  }
  
  .product_info_nav::-webkit-scrollbar {
      height: 4px;
  }
  
  .product_info_nav::-webkit-scrollbar-track {
      background: #f8f9fa;
  }
  
  .product_info_nav::-webkit-scrollbar-thumb {
      background: #e74c3c;
      border-radius: 4px;
  }
  
  .product_info_tab {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
      border-radius: 6px;
      min-width: 120px;
      text-align: center;
      white-space: nowrap;
      flex-shrink: 0;
      transition: all 0.2s ease;
      border: 1px solid #eee;
  }
  
  .product_info_tab.active {
      padding: 0.8rem 1.5rem;
      background: white;
      color: #e74c3c;
      border-color: #e74c3c;
      font-weight: 600;
      transform: scale(1.05);
      box-shadow: 0 2px 8px rgba(231, 76, 60, 0.1);
  }
  
  .product_info_tab:hover:not(.active) {
      transform: translateY(-1px);
  }
  
  .product_info_content {
      min-height: auto;
  }
  
  .product_info_panel {
      position: relative;
      opacity: 1;
      visibility: visible;
      transform: none;
      display: none;
  }
  
  .product_info_panel.active {
      display: block;
      animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
}

:root {
  --side-bar-width: 280px;
  --primary-color: #2d3436;
  --accent-color: #e74c3c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
}

.layout {
  display: flex;
}

/* Sidebar Styles */
.side_bar {
  width: var(--side-bar-width);
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 153px;
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.side_bar_content {
  padding: 1.5rem;
}

.side_bar_title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.side_bar_divider {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 1rem 0;
}

.side_bar_category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.side_bar_category:hover {
  background: #f8f9fa;
}

.side_bar_count {
  color: #95a5a6;
  font-size: 0.9rem;
}

.side_bar_dropdown {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.side_bar_submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem;
}

.side_bar_submenu.active {
  max-height: 500px;
}

.side_bar_item {
  padding: 0.6rem 1rem;
  color: #636e72;
  cursor: pointer;
  transition: color 0.2s ease;
}

.side_bar_item:hover {
  color: var(--accent-color);
}

.side_bar_range {
  position: relative;
  height: 4px;
  background: #eee;
  margin: 2rem 0;
}

.side_bar_slider {
  -webkit-appearance: none;
  position: absolute;
  width: 100%;
  height: 4px;
  background: none;
  pointer-events: none;
}

.side_bar_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
}

.side_bar_price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side_bar_button {
  padding: 0.6rem 1.2rem;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.side_bar_pricetext {
  color: var(--primary-color);
  font-weight: 500;
}

/* Toggle Button */
.side_bar_toggle {
  display: flex;                     /* Center children */
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 1rem;
  bottom: 2rem;
  z-index: 1001;
  background: var(--accent-color);
  color: white;
  border: none;
  width: 46px;                       /* Use fixed width and height */
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.side_bar_toggle span {
  font-size: 24px;
  pointer-events: none; 
  margin-left: 11px;
}

/* Product Grid */
.product_grid {
  flex: 1;
  margin-left: var(--side-bar-width);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product_card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .side_bar {
    transform: translateX(-100%);
  }

  .side_bar.active {
    transform: translateX(0);
    top: 0;
  }

  .side_bar_toggle {
    display: block;
  }

  .product_grid {
    margin-left: 0;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* cart drawer  */
:root {
  --cart-drawer-width: 380px;
  --transition-speed: 0.3s;
}

.cart_drawer_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed) ease;
}

.cart_drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cart-drawer-width);
  height: 100vh;
  background: white;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0,0,0,0.1);
}

.cart_drawer.active {
  transform: translateX(0);
}

.cart_drawer_overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart_drawer_header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart_drawer_header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.cart_drawer_close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.cart_drawer_close:hover {
  color: #e74c3c;
}

.cart_drawer_items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart_drawer_item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.cart_drawer_item:hover {
  background: #f8f9fa;
}

.cart_drawer_item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.cart_drawer_info {
  flex: 1;
}

.cart_drawer_info h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.cart_drawer_info p {
  margin: 0;
  color: #666;
}

.cart_drawer_remove {
  align-self: flex-start;
  background: none;
  border: none;
  color: #999;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cart_drawer_remove:hover {
  color: #e74c3c;
}

.cart_drawer_footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

.cart_drawer_total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.cart_drawer_actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cart_drawer_view,
.cart_drawer_checkout {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cart_drawer_view {
  background: #c8c9c9;
  color: #333;
}

.cart_drawer_checkout {
  background: #2d3436;
  color: white;
}

.cart_drawer_view:hover,
.cart_drawer_checkout:hover {
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  :root {
      --cart-drawer-width: 90%;
  }
}


/* check out page start -----------
------------------------------------------ */
.checkout_container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.checkout_breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-weight: 600;
}

.breadcrumb_step {
  padding: 8px 16px;
  color: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.breadcrumb_step.active {
  color: #000000;
  font-weight: 700;
}

.breadcrumb_step:hover {
  color: #000000;
}

.breadcrumb_arrow {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.2);
  user-select: none;
  pointer-events: none;
}


.checkout_steps {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.checkout_steps.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.checkout_left,
.checkout_right {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.checkout_left {
  flex: 2;
}

.checkout_right {
  flex: 1;
  min-width: 300px;
}

.checkout_cart_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
}
.checkout_cart_item:hover {
  background: #f9f9f9;
}

.checkout_cart_item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.checkout_cart_item_name {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.checkout_qty {
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkout_qty button {
  background: #e0e0e0;
  border: none;
  padding: 6px 10px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.checkout_qty button:hover {
  background: #ccc;
}
.checkout_qty span {
  font-weight: 600;
  min-width: 25px;
  text-align: center;
}

.checkout_price {
  width: 80px;
  text-align: right;
  font-weight: 700;
  color: #2c3e50;
}

.checkout_totals div {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 15px;
}
.checkout_totals div:last-child {
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.checkout_dropdown_form select,
.checkout_dropdown_form input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.checkout_input{
  width: 100%;
  padding: 10px 12px;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.checkout_dropdown_form select:focus,
.checkout_dropdown_form input:focus {
  border-color: #2196F3;
  box-shadow: 0 0 5px rgba(33,150,243,0.3);
  outline: none;
}

.checkout_coupon {
  display: flex;
  margin-top: 20px;
}
.checkout_coupon input {
  flex: 1;
  padding: 10px;
  border-radius: 6px 0 0 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}
.checkout_coupon button {
  padding: 10px 15px;
  background: #487ea8;
  border: none;
  color: white;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}
.checkout_coupon button:hover {
  background: #0d8ddb;
}

.checkout_proceed {
    width: 100%;
    padding: 1rem;
    background: #010101;
    color: white;
    border: none;
    border-radius: 8px;
    margin: 1rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.checkout_proceed:hover {
    transform: translateY(-2px);
}

.checkout_confirmation {
  text-align: center;
  background: #e0f7fa;
  padding: 50px 30px;
  border-radius: 12px;
  font-size: 20px;
  color: #00796b;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

@media(max-width: 768px) {
  .checkout_flex {
    flex-direction: column;
  }
  .checkout_cart_item {
    flex-direction: column;
    align-items: flex-start;
  }
  .checkout_price {
    text-align: left;
    width: auto;
  }
  .checkout_coupon {
    flex-direction: column;
  }
  .checkout_coupon input,
  .checkout_coupon button {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
  }
}
:root {
  --primary-color: #2d3436;
  --accent-color: #e74c3c;
  --input-border: #ddd;
  --input-focus: #e74c3c;
}

.checkout_form_container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.checkout_form_title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input_group {
  position: relative;
  margin-bottom: 2rem;
}

.input_group .material-icons {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
  transition: color 0.3s ease;
}

.input_group input {
  width: 100%;
  padding: 1rem 1rem 1rem 40px;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input_group input:focus {
  outline: none;
  border: transparent;
  border-bottom: 1px solid var(--input-border);
}

.input_group label {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input_group input:focus ~ label,
.input_group input:valid ~ label {
  transform: translateY(-180%);
  left: 0;
  font-size: 0.9rem;
  color: var(--accent-color);
}


.checkout_submit {
  width: 100%;
  padding: 1rem;
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.checkout_submit:hover {
  background: black;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

.success_message {
  display: none;
  text-align: center;
  padding: 2rem;
}
.continue_shopping_link {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding: 10px 15px;
  border: 1px solid black;
  background: transparent;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 0;
}

.continue_shopping_link:hover {
  background: black;
  color: white;
}
.continue_shopping_link span{
  font-size: 18px;
}

.success_message .material-icons {
  font-size: 4rem;
  color: #27ae60;
  margin-bottom: 1rem;
  animation: bounce 1s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-30px); }
  60% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .form_row {
      grid-template-columns: 1fr;
  }
  
  .checkout_form_container {
      margin: 1rem;
      padding: 1.5rem;
  }
}

/* checkout end -----------
------------------------------------------- */

        /* Overlay */
.regi_login_overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-in-out;
}

/* Modal Box */
.regi_login_modal {
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  position: relative;
  animation: scaleIn 0.4s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.regi_close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.regi_login_title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Input Group */
.regi_input_group {
  position: relative;
  margin-bottom: 1.5rem;
}

.regi_input_group input {
  width: 100%;
  padding: 10px 10px 10px 0;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.regi_input_group input:focus {
  border-color: #4facfe;
}

.regi_input_group label {
  position: absolute;
  left: 0;
  top: 10px;
  color: #aaa;
  transition: 0.3s;
  pointer-events: none;
}

.regi_input_group input:focus + label,
.regi_input_group input:not(:placeholder-shown) + label {
  top: -14px;
  font-size: 0.85rem;
  color: #4facfe;
}

/* Login Button */
.regi_login_button {
  width: 100%;
  padding: 10px;
  background: #4facfe;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.regi_login_button:hover {
  background: #3b8dff;
}

/* Bottom Links */
.regi_login_bottom {
  text-align: center;
  margin-top: 1.2rem;
}

.regi_login_bottom a {
  display: block;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.regi_continue_with {
  font-size: 0.85rem;
  color: #888;
}

.regi_socials {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.regi_socials button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.regi_step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.regi_step.active {
  display: block;
}

.regi_back_button {
  background: transparent;
  color: #007bff;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.regi_login_modal p {
  font-size: 16px;
  margin-top: 10px;
  color: #333;
  text-align: center;
}    


/* user profile  */
.user_profile_wrapper {
  max-width: 1200px;
  margin: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: grid;
  gap: 40px;
}

.user_profile_header {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
}

.user_profile_header img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user_profile_name {
  font-size: 24px;
  font-weight: 600;
  margin-top: 15px;
}

.user_profile_email {
  color: #666;
  margin-top: 5px;
  font-size: 14px;
}

.user_edit_button {
    background: #4a90e2;
color: white;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
max-width: 200px;
display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}
.user_edit_button .material-icons {
font-size: 20px;
color: #e9ecef;
}
.user_edit_button:hover {
  background: #084298;
}

.user_profile_details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.user_profile_card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.user_profile_card h4 {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}

.user_profile_card p {
  font-size: 15px;
  color: #222;
  font-weight: 500;
}

.user_order_history {
  margin-top: 20px;
}
.user_dash{
  margin-top: 20px;
}
.user_dash h3{
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}
.user_order_history h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.user_order_item {
  display: flex;
  align-items: center;
  background: #ffffff;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.user_order_item:hover {
  transform: translateY(-3px);
}

.material-icons {
  margin-right: 12px;
  cursor: pointer;
  user-select: none;            /* Prevent text selection */
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; /* Remove blue highlight on mobile */
  touch-action: manipulation;  /* Optimize for tap interactions */
  transition: background 0.2s ease;
}

.user_order_details p {
  margin: 0;
  font-weight: 500;
}

@media (max-width: 600px) {
  .user_order_item {
    flex-direction: column;
    align-items: flex-start;
  }
}
.edit_sec{
  margin-top: 10px;
}
.edit_user_container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Side - Edit Form */
.edit_user_form_section {
  flex: 1;
  padding: 2rem;
  background: white;
}

.edit_user_avatar {
position: relative;
width: 160px;
height: 160px;
margin: 0 auto 2rem;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease;
}

.edit_user_avatar:hover {
transform: scale(1.03);
}

.edit_user_avatar_img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--primary-color, #667eea);
background-color: #f0f0f0;
}

/* Placeholder style if no image is present */
.edit_user_avatar_img::before {
content: '\f007'; /* FontAwesome user icon */
font-family: 'Font Awesome 6 Free';
font-weight: 900;
font-size: 60px;
color: #aaa;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}

/* Edit icon button */
.edit_user_avatar_edit {
position: absolute;
bottom: 10px;
right: 10px;
background: #ffffff;
width: 42px;
height: 42px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: background 0.3s;
}

.edit_user_avatar_edit:hover {
background: var(--primary-color, #667eea);
}


.edit_user_form_group {
  margin-bottom: 1.5rem;
}

.edit_user_label {
  display: block;
  margin-bottom: 0.5rem;
  color: #666;
  font-weight: 500;
}

.edit_user_input {
  width: 90%;
  padding: 0.8rem 1rem;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.edit_user_input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.1);
}

.edit_user_add_address {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Address Modal */
.edit_user_address_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.edit_user_address_form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
}

/* Right Side - Messages */
.edit_user_messages_section {
  flex: 0 0 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
  color: white;
}

.edit_user_message_card {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.edit_user_message_title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.edit_user_save_btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit_user_save_btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .edit_user_container {
      flex-direction: column;
  }
  
  .edit_user_messages_section {
      flex: none;
      
  }
  .edit_user_message_card {
      width: 70%;
      align-items: center;
      margin: auto;
      margin-bottom: 20px;
  }
  .edit_user_input{
      width: 90%;
  }
}

 /* Dashboard Container */
 .vendor_dash_container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.vendor_dash_sidebar {
  background: #2c3e50;
  color: white;
  width: 250px;
  min-height: 100vh;
  transition: all 0.3s;
  position: fixed;
  z-index: 100;
}

.vendor_dash_sidebar_header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #34495e;
}

.vendor_dash_nav {
  padding: 20px 0;
}

.vendor_dash_nav_item {
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vendor_dash_nav_item:hover,
.vendor_dash_nav_item.active {
  background: #34495e;
}

/* Main Content Area */
.vendor_dash_main {
  flex: 1;
  margin-left: 250px;
  transition: all 0.3s;
  padding: 20px;
}

/* Dashboard Sections */
.vendor_dash_section {
  display: none;
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

.vendor_dash_section.active {
  display: block;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Add Product Form Styles */
.vendor_dash_form_group {
  margin-bottom: 20px;
}

.vendor_dash_form_label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.vendor_dash_form_input,
.vendor_dash_form_select,
.vendor_dash_form_textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.vendor_dash_form_input:focus,
.vendor_dash_form_select:focus,
.vendor_dash_form_textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Order Tables */
.vendor_dash_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.vendor_dash_table th,
.vendor_dash_table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.vendor_dash_table th {
  background: #f8f9fa;
  color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
  .vendor_dash_sidebar {
      left: -250px;
  }

  .vendor_dash_sidebar.active {
      left: 0;
  }

  .vendor_dash_main {
      margin-left: 0;
  }
}

.vendor_dash_add_product_container {


  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: vendorDashFadeIn 0.5s ease-out forwards;
}

@keyframes vendorDashFadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.vendor_dash_add_product_heading {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 2.2em;
}

.vendor_dash_image_upload {
  border: 2px dashed #bdc3c7;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vendor_dash_image_upload:hover {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

#vendor_dash_image_preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.vendor_dash_image_preview_item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.vendor_dash_image_preview_item:hover {
  transform: translateY(-5px);
}

.vendor_dash_size_options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.vendor_dash_size_option {
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vendor_dash_size_option:hover {
  border-color: #3498db;
}

.vendor_dash_hidden {
  display: none;
}

@media (max-width: 768px) {
  .vendor_dash_add_product_container {
      margin: 1rem;
      padding: 1.5rem;
  }

  #vendor_dash_image_preview {
      grid-template-columns: 1fr;
  }
}

/* Mobile Top Nav (Sticky) */
.vendor_dash_mobile_topnav {
position: sticky;
top: 75px;
background: #2c3e50;
color: white;
justify-content: space-around;
align-items: center;
padding: 10px 0;
z-index: 999;
border-bottom: 1px solid #34495e;
display: none;
}

.vendor_dash_mobile_topnav .vendor_dash_nav_item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vendor_dash_mobile_topnav .vendor_dash_nav_item.active {
  background: #34495e;
  border-radius: 6px;
}

/* Hide sidebar and show top nav on mobile */
@media (max-width: 768px) {
  .vendor_dash_sidebar {
      display: none;
  }

  .vendor_dash_main {
      margin-left: 0;
  }

  .vendor_dash_mobile_topnav {
      display: flex;
      z-index: 998;
  }
}
.add_product_button {
  background: #3498db;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.add_product_button:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

.genarel_text_container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
}

.genarel_text_wrapper {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Table of Contents */
.genarel_text_toc {
  background: #f8f9fa;
  padding: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.genarel_text_toc_heading {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.genarel_text_toc_list {
  columns: 2;
  list-style: none;
  padding: 0;
}

.genarel_text_toc_link {
  color: #3498db;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  transition: all 0.3s ease;
}

.genarel_text_toc_link:hover {
  color: #2980b9;
  transform: translateX(10px);
}

/* Section Styles */
.genarel_text_section {
  padding: 3rem 2rem;
  border-bottom: 1px solid #eee;
}

.genarel_text_section:last-child {
  border-bottom: none;
}

.genarel_text_heading {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.genarel_text_heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #3498db;
  transition: width 0.3s ease;
}

.genarel_text_heading:hover::after {
  width: 100px;
}

.genarel_text_icon {
  font-size: 1.5em;
}

/* Content Styles */
.genarel_text_content {
  line-height: 1.7;
  color: #4a5568;
}

.genarel_text_card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: transform 0.3s ease;
}

.genarel_text_card:hover {
  transform: translateY(-5px);
}

.genarel_text_subheading {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.genarel_text_list {
  padding-left: 1.5rem;
}

.genarel_text_list_item {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 30px;
}

.genarel_text_list_item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* Animations */
@keyframes genarel_text_fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate__fadeIn {
  animation: genarel_text_fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .genarel_text_toc_list {
      columns: 1;
  }
  
  .genarel_text_heading {
      font-size: 1.8rem;
  }
  
  .genarel_text_section {
      padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .genarel_text_heading {
      font-size: 1.5rem;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .genarel_text_icon {
      font-size: 1.2em;
  }
}