@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.app-layout{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content{
    flex: 1;
    
}.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}


.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.navbar-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}


.navbar-logo a:hover {
  color: var(--primary-main);
}


.navbar-links {
  flex: 1;
  margin-left: 2rem;
}


.navbar-links ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}


.navbar-links li a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}


.navbar-links li a:hover {
  color: var(--primary-light);
}


.search-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  height: 38px;
  min-width: 220px;
  transition: all 0.25s ease;
}


.search-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(99,102,241,0.25);
}


.search-item:focus-within {
  border-color: var(--primary-main);
  box-shadow: 0 0 18px rgba(99,102,241,0.35);
}


.search-item input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.9rem;
}


.search-item input::placeholder {
  color: var(--text-secondary);
}


.search-item .icon {
  color: var(--primary-light);
  font-size: 1.2rem;
}



.navbar-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 270px;
  margin-right: 50px;
}


.icon {
  color: var(--text-primary);
  transition: color 0.2s ease;
  cursor: pointer;
}


.icon:hover {
  color: var(--primary-light);
}


.cart-container {
  position: relative;
  display: flex;
  align-items: center;
}


.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-main);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}


.register-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}


.register-btn {
  background-color: var(--primary-main);
  color: var(--text-light);
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  height: 36px;
  display: flex;
  align-items: center;
}


.register-btn:hover {
  background-color: var(--primary-dark);
}


.navbar-hamburger {
  display: none;
  cursor: pointer;
}



@media (max-width:768px) {


  .navbar-links {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }


  .navbar-links.active {
    display: block;
  }


  .navbar-links ul {
    flex-direction: column;
    gap: 1rem;
  }


  .navbar-icons {
    gap: 1.25rem;
    width:300px;
  }


  .navbar-hamburger {
    display: block;
    margin-left:1rem;
  }


  .navbar-links.active li {
    padding:0.5rem 0;
  }


  .search-item {
    width:100%;
    min-width:unset;
    height:42px;
    justify-content:flex-start;
  }

}



.navbar-links {
  transition:all 0.3s ease;
}



a:focus,
button:focus {

  outline:2px solid var(--primary-main);
  outline-offset:2px;

}.search-container {
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  transition: width 0.3s ease;
}

.search-input {
  width: 0;
  padding: 5px;
  border: none;
  border-radius: 5px;
  outline: none;
  transition: width 0.3s ease;
  opacity: 0;
}

.search-form.active .search-input {
  width: 100px;
  opacity: 1;
}

.search-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.search-icon:focus,
.search-icon:active {
  outline: none !important;
  border: none !important;
}
.search-icon .MuiSvgIcon-root {
  color: #fff;
  font-size: 1.5rem;

}

.profile-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 15px;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1000;
    transition: background-color 0.3s ease;
    margin-right: 40px;
    margin-bottom: 5px;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.profile-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-light);
}

.menu-options {
    padding: 15px;
    border-radius: 8px;
    position: fixed;
    top: 55px; 
    right: 20px;
    width: 150px;
    z-index: 1000;
}

.menu-option-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-main);
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.menu-option-btn:hover {
    background-color: var(--primary-light);
    color: var(--text-dark);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    z-index: 999;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s 0s;
}
.cart-not-empty {
    background-color: var(--primary-light);
    color: var(--text-dark);
  }
@media (max-width: 1400px) {
  
    .profile-header {
        right: -50px;
    }
    .profile-name {
        font-size: 16px;
        font-weight: bold;
        color: var(--text-light);
    }
    .menu-options {
        top: 50px; 
        right: -10px;
    }
  }
  @media (max-width: 780px) {
  

    .profile-header {
        top: 5px;
        right: -40px;
    }
    
    .profile-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        
    }
    
  
    
  }.footer {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 2rem 0;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
  margin: 2rem 0 0 0;
}

/* =========================
   MAIN CONTAINER
========================= */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

/* =========================
   HEADINGS
========================= */
.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* =========================
   TEXT
========================= */
.footer-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

/* =========================
   CONTACT
========================= */
.contact-link {
  text-decoration: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  width: fit-content;
}

.contact-link:hover {
  color: var(--primary-main);
}

/* =========================
   SOCIAL SECTION
========================= */
.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon {
  font-size: 1.7rem !important;
  color: var(--text-light);
  transition: all 0.3s ease;
}

/* =========================
   SOCIAL HOVERS
========================= */

/* GitHub */
.github:hover .social-icon {
  color: #171515;
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(23, 21, 21, 0.4));
}

/* LinkedIn */
.linkedin:hover .social-icon {
  color: #0A66C2;
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(10, 102, 194, 0.5));
}

/* YouTube */
.youtube:hover .social-icon {
  color: #FF0000;
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
}

/* Instagram */
.instagram:hover .social-icon {
  color: #E1306C;
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5));
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text-secondary);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  margin: 0;
  font-weight: 400;
}

/* =========================
   TABLET RESPONSIVE
========================= */
@media (max-width: 992px) {

  .footer-container {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .footer-section h3 {
    font-size: 1.25rem;
  }

  .footer-section p {
    font-size: 0.95rem;
  }

  .social-icon {
    font-size: 1.6rem !important;
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .footer {
    padding: 2rem 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 0;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Contact Section */
  .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact h3 {
    text-align: center;
  }

  .contact p {
    display: flex;
    justify-content: center;
    margin-bottom: 0.7rem;
  }

  .contact-link {
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
  }

  /* Social */
  .social {
    gap: 1rem;
  }

  .social-links {
    justify-content: center;
    gap: 1rem;
  }

  .social-icon {
    font-size: 1.5rem !important;
  }

  /* About */
  .about p {
    padding: 0 0.5rem;
  }

  .footer-bottom {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .footer-section h3 {
    font-size: 1.15rem;
  }

  .footer-section p {
    font-size: 0.9rem;
  }

  .contact-link {
    font-size: 0.88rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-icon {
    font-size: 1.35rem !important;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}.home-container {
  padding: 2rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-top:3rem;
}

  
  .home-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    text-shadow: var(--shadow-sm);
    text-align: center;
}

  
  .home-product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
        width: 100%;
    max-width: 1200px;
    padding: 1rem;
}
  
@media (max-width: 900px) {
  .home-product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7rem;
}
  
}
.image-slider-container {
    position: relative;
    width: 100%;
    height: 450px; 
    overflow: hidden;
    margin-top: 6rem;
  }
  
  .slider-images {
    display: flex;
    transition: transform 1s ease; 
  }
  
  .slider-item {
    min-width: 100%;
    height: 100%;
  }
  
  .slider-item img {
    width: 100%; 
    height: 450px; 
    object-fit: cover; 
  }
  
  .slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .dot.active {
    background-color: rgba(255, 255, 255, 1);
  }
  
  .dot:hover {
    background-color: rgba(255, 255, 255, 1);
  }

  @media (max-width: 768px) {
    .image-slider-container {
      height: 300px; 
    }
  
    .slider-item img {
      width:100%;
      height: 300px; 
    }
  }
  @media (max-width: 568px) {
  
    .slider-item img {
      height: 250px; 
    }
  }
  .product_id {
  text-decoration: none;
  color: inherit;
}

.product-grid {
  display: grid;
  margin: 2rem 0;
  padding: 0 1rem;
}

.add-to-cart {
  display: block;
  margin: 0 auto;
}

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

@media (min-width: 1200px) {
  .product-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .product-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .product-grid {
      grid-template-columns: 1fr;
  }
}

.product-card {
  color: var(--text-primary);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;

}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.product-image-card {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  max-height: 200px;
}

.product-details {
  padding: 1rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--bg-primary);
}

.product-description {
  font-size: 0.9rem;
  color: var(--bg-secondary);
  margin-bottom: 0.5rem;
}

.home-price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-main);
  margin-bottom: 1rem;
}

.add-to-cart {
  background-color: var(--primary-main);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.add-to-cart:hover {
  background-color: var(--primary-dark);
}

  .star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    color: var(--text-secondary);
  }
  
  .star.filled {
    color: var(--primary-main); 
  }
  
  .star.empty {
    color: var(--text-secondary); 
  }
  
  .star:hover {
    transform: scale(1.2); 
    color: var(--primary-main); 
  }
  
  .productCardSpan {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
  }
  .loader-container {
  width: 100%;
  height: 100vh; /* Full screen */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #e5e7eb;   /* Light gray border */
  border-top: 6px solid #6c5b7b; /* Purple top */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}.product-details-container{
    padding:100px;
}
  .product-detail-container{
    max-width: 1200px;
    margin: 0 auto;;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .product-image-container {
    position: sticky;
    top: 40px;
    z-index: 10;
    margin-bottom: 20px;
    width: 500px;
  }


  .MuiRating-iconFilled {
  color: var(--primary-main) !important;
}

.MuiRating-iconEmpty {
  color: var(--text-secondary) !important;
}
  

  .product-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
  }
  .product-thumbnails{
    margin-top: 20px;
  }
  .thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    margin-left:10px;
    transition: transform 0.3s, border 0.3s;
  }
  
  .thumbnail-image:hover {
    transform: scale(1.1);
  }
  
  .thumbnail-image.selected {
    box-shadow: 0 0 2px black;
  }
  
  
  .product-info {
    padding: 20px;
    width: 500px;
  }
  .product-description,.product-price{
    text-align: left;
  }
  .product-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0F1111;
  }
  
  .rating {
    display: flex;
    justify-content: start;
  }
  
  .productCardSpan {
    margin-left: 0;
  }
  

  .quantity-controls {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
  }
  
  .quantity-label {
    font-weight: 500;
    margin-right: 10px;
  }
  
  .quantity-button {
    width: 35px;
    height: 35px;
    border: 1px solid #D5D9D9;
    background: linear-gradient(to bottom, #F7F8FA, #E7E9EC);
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
  }
  
  
  .quantity-value {
    width: 50px;
    height: 35px;
    text-align: center;
    border: 1px solid #D5D9D9;
    margin: 0 5px;
    font-size: 16px;
  }
  

  .add-to-cart-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--border-color);
    border: 1px solid var(--bg-primary);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  

.loader {
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}


@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.add-to-cart-btn:hover:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
  
  button:hover:not(:disabled) {
    background:var(--bg-secondary);
    color:var(--text-primary);
}
  

  .reviews-container {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E7E7E7;
  }
  
  .review-form {
    background: #F8F8F8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  
  .review-input {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #D5D9D9;
    border-radius: 4px;
    margin: 10px 0;
    resize: vertical;
  }
  
  .submit-review-btn {
    background: var(--bg-primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .submit-review-btn:hover {
    background: #374759;
  }
  

  .reviews-section {
    margin-top: 2px;
  }
  
  .review-item {
    padding: 20px 0;
    margin-left: 20px;
    border-bottom: 1px solid #E7E7E7;
  }

  .header{
    margin-left: 10px;
  }
  
  .review-comment,.reviewer-name {
    margin: 10px 0;
    color: #333;
    text-align: left;
  }
  

  .stock-status {
    color: #007600;
    font-size: 16px;
    margin: 10px 0;
  }
  
  .out-of-stock {
    color: #B12704;
  }

  .no-reviews{
    margin-top: 5px;
    margin-left: 7px;
  }
  


  @media (max-width: 768px) {
  
    .product-detail-container{
        display: flex;
      flex-direction: column;
      }
  
    .product-image-container {
      position: static;
    }
  }
  @media (max-width: 568px) {
    .product-details-container{
       width:80%;
       scroll-behavior:unset;
       margin:0 auto
      }  
 
  }


  .add-to-cart-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--border-color);
    border: 1px solid var(--bg-primary);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px 0;
    color: var(--text-primary);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.cart-loader {
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: cartSpin 0.8s linear infinite;
}


@keyframes cartSpin {
    100% {
        transform: rotate(360deg);
    }
}


.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.add-to-cart-btn:hover:not(:disabled) {
    background: var(--bg-secondary);
}
  
  
  .products-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-top: 100px;
}

.filter-section {
  flex: 0 0 250px;
  background-color: var(--text-light);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-heading {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.filter-section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.filter-section li {
  margin: 10px 0;
  padding: 8px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  transition: background-color 0.3s;
  border-radius: 4px;
  color: var(--border-color);
}

.filter-section li:hover {
  background-color: #efefef;
}

.filter-section li.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.products-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products-product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}


.no-products-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-primary);
}


@media (max-width: 768px) {
  .products-layout {
    flex-direction: column;
  }

  .filter-section {
    width: 100%;
  }
}
.no-products-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .no-products-content {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
  }
  
  .no-products-icon {
    font-size: 3rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  .no-products-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .no-products-message {
    color: #666;
    max-width: 400px;
  }.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  margin-top:100px;
}

.pagination-btn {
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-primary);
  color:var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.pagination-btn:hover {
  background-color: var(--primary-main);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.pagination-btn.active {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  border-color: var(--primary-main);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.pagination-btn:disabled {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .pagination {
    gap: 4px;
    padding: 8px;
  }

  .pagination-btn {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}
   */
  .container {
    width: 100%;
    max-width: 600px; 
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
  }
  

  
  .active-tab {
    color:  var(--primary-main);
    font-weight: bold;
    border-bottom: 3px solid  var(--primary-main);
  }
  

  .form-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 400px;
    background-color:rgb(246, 243, 243);
    padding: 20px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  }
  
  
  .form {
    width: 100%;
  }
  
  .form h2 {
    text-align: center;
    color: var(--primary-main);
    margin-bottom: 20px;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
  }

  .input-group input {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px; 
  }
  
  .avatar-group {
    display: flex;                 
    align-items: center;           
    gap: 10px;                     
  }
  
  .file-input {
    padding: 8px;                   
    border-radius: 5px;            
    border: 1px solid #ccc;        
    font-size: 14px;                
    width: 80%;                   
  }
  
  .avatar {
    width: 50px;                    
    height: 50px;                 
    object-fit: cover;              
    border-radius: 50%;             
  }
  .authBtn {
    width: 100%;
    background: var(--primary-main);
    color: var(--text-primary);
    border: none;
    padding: 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;

    /* loader ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.loader {
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}


@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.authBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
  
  button:hover:not(:disabled) {
    background:var(--primary-dark);
    color:var(--text-primary);
}
 .form-links{
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top:10px;
  }
  
  .form-links a {
    color:var(--border-color);
    margin-left: 10px;
    
  }
  
  .form-links a:hover {
    text-decoration: underline;
  }
  
  .pointer {
    cursor: pointer;
    color: var(--primary-main)
  }
  
  .form-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
    min-height: 100vh;
    width: 100%;
  }
  .update-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; 
    width: 100%;
    margin-top:90px;
  }
  .forgot-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; 
    width: 100%;
    margin-top:30px;
  }
  .email-group{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
  }

  @media (max-width: 768px) {
    .container {
      padding: 15px;
    }
  
    button {
      font-size: 14px;
      padding: 10px;
    }
  
    .input-group input {
      padding: 12px;
      font-size: 14px;
    }
  
    .tab {
      font-size: 14px;
    }
    .update-container{
      margin-top:60px;
    }
  }.profile-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .profile-image {
    text-align: center;
    background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 100%);
    border-radius: 15px;
    margin-bottom: 2.5rem;
  }
  
  .profile-heading {
    font-size: 2.5rem;
    color: var( --bg-secondary);
    margin:2rem 0;
    font-weight: 600;
    letter-spacing: -0.5px;
  }
  
  .profile-image img[alt="User Profile"] {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 1rem auto 2rem;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .profile-image img[alt="User Profile"]:hover {
    transform: scale(1.05);
  }
  
  .profile-image a {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--border-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--bg-secondary)
  }
  
  .profile-image a:hover {
    background-color: var( --primary-dark);
    transform: translateY(-2px);
  }
  
  .profile-details {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    margin: 2rem 0;
  }
  
  .profile-detail {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }
  
  .profile-detail:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .profile-detail h2 {
    font-size: 1.1rem;
    color: #64748b;
    min-width: 130px;
    margin: 0;
    font-weight: 500;
  }
  
  .profile-detail p {
    font-size: 1.1rem;
    color: var(--bg-primary);
    margin: 0;
    padding-left: 1rem;
    font-weight: 500;
  }
  
  .profile-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
  }
  
  .profile-buttons a {
    padding: 0.875rem 2rem;
    background-color: var(--border-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px var(--bg-secondary)
  }
  
  .profile-buttons a:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
  }
  
  @media (max-width: 768px) {
    .profile-container {
      margin: 1.5rem;
      padding: 1.5rem;
    }
  
    .profile-heading {
      font-size: 2rem;
    }
  
    .profile-detail {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }
  
    .profile-detail h2 {
      margin-bottom: 0.5rem;
    }
  
    .profile-detail p {
      padding-left: 0;
    }
  
    .profile-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
         flex-direction: column;
    }
  
    .profile-buttons a {
      width: 80%;
      text-align: center;
    }
  }.cart-page {
  max-width: 1440px;
  margin: 2rem auto;
  padding: 3rem 1rem;
  display: grid;
  
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}
.empty-cart-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
  height: 70vh; 
}

.empty-cart-message {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 20px;  
}

.viewProducts {
  text-decoration: none; 
  padding: 10px 20px; 
  font-size: 1rem; 
  font-weight: bold; 
  color: var(--text-primary);
  background-color: var(--bg-secondary); 
  border: none;
  border-radius: 5px; 
  transition: background-color 0.3s ease; 
}

.viewProducts:hover {
  background-color: var(--primary-dark); 
}
.cart-items {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  min-height: 60vh;
}

.cart-items-heading {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.cart-table {
  width: 100%;
}
.cart-img{
  padding-top: 10px;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #4a4a4a;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  gap: 1rem;
}

.item-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.item-price {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}
.item-quantity {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.quantity-button:hover {
  color:var(--text-primary)
}

.quantity-input {
  width: 50px;
  height: 32px;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.item-total {
  font-weight: 600;
  color: #1a1a1a;
}

.item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.update-item-btn,
.remove-item-btn {
  padding: 0.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.update-item-btn {
  background: var( --primary-dark);
  color: white;
}

.remove-item-btn {
  background:var( --primary-light);
  color: var(--bg-primary)
}

.update-item-btn:hover{
  opacity: 0.9;
}
.remove-item-btn:hover {
  opacity: 0.9;
  background-color: rgb(192, 86, 86) !important;
}
.remove-item-btn:hover{
  background:var( --primary-light);
  color: var(--bg-primary)
}

.price-summary {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.price-summary-heading {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #666;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.1rem;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
  background:var( --primary-dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.checkout-btn:hover {
  background: var(--bg-primary)
}

@media (max-width: 1024px) {
  .cart-page {
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cart-page {
    grid-template-columns: 1fr;
    margin: 1rem auto;
    gap: 1rem;
  }
  
  .cart-items {
    padding: 1rem;
  }

  .cart-table-header {
    display: none;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    position: relative;
  }

  .item-info {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    align-items: start;
    text-align: left;
  }

  .item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
  }

  .item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .item-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .item-price {
    font-size: 1rem;
    color: #4a4a4a;
  }

  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    justify-content: flex-start;
    margin: 0.5rem 0;
  }

  .quantity-button {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .quantity-input {
    width: 60px;
    height: 36px;
    font-size: 1rem;
  }

  .item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.5rem;
  }

  .item-total::before {
    content: 'Item Total:';
    font-weight: normal;
    color: #666;
  }

  .item-total-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
  }

  .item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .update-item-btn,
  .remove-item-btn {
    padding: 0.75rem;
    font-size: 0.95rem;
    width: 100%;
  }


  .price-summary {
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
  }

  .summary-item {
    padding: 0.75rem 0;
  }

  .summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .checkout-btn {
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .cart-page {
    padding: 0.75rem;
  }

  .cart-items {
    padding: 0.75rem;
  }

  .cart-item {
    padding: 1rem;
  }

  .item-info {
    grid-template-columns: 70px 1fr;
    gap: 0.75rem;
  }

  .item-image {
    width: 70px;
    height: 70px;
  }

  .item-name {
    font-size: 1rem;
  }

  .quantity-controls {
    padding: 0.4rem;
    gap: 0.5rem;
  }

  .quantity-button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .quantity-input {
    width: 50px;
    height: 32px;
  }

  .item-actions {
    gap: 0.5rem;
  }

  .update-item-btn,
  .remove-item-btn {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

html {
  scroll-behavior: smooth;
}

.update-item-btn:disabled,
.remove-item-btn:disabled,
.checkout-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cart-item,
.quantity-button,
.update-item-btn,
.remove-item-btn,
.checkout-btn {
  transition: all 0.2s ease-in-out;
}




.confirm-overlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:9999;
}


.confirm-box{

    width:350px;
    background:white;

    padding:25px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,0.3);

    animation: popup .2s ease-in-out;
}


.confirm-box h3{
    margin-bottom:15px;
}


.confirm-box p{
    margin-bottom:25px;
    color:#555;
}


.confirm-buttons{

    display:flex;
    justify-content:center;
    gap:15px;

}


.cancel-btn,
.confirm-remove-btn{

    padding:10px 20px;

    border:none;
    border-radius:6px;

    cursor:pointer;

    font-size:14px;

}


.cancel-btn{
    background:#ddd;
}


.confirm-remove-btn{

    background:#e74c3c;
    color:white;

}


@keyframes popup{

    from{
        transform:scale(0.7);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}.shipping-form-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
   }
   
   .shipping-form-header {
    color: var(--bg-secondary);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
   }
   
   .shipping-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
   }
   
   @media (max-width: 768px) {
    form {
      grid-template-columns: 1fr;
    }
   }
   
   .shipping-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
   }
   
   .shipping-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
   }
   
   .shipping-form-group label {
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 500;
   }
   
   .shipping-form-group input,
   .shipping-form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--bg-secondary);
    font-size: 15px;
    transition: all 0.2s ease;
   }
   
   .shipping-form-group input:focus,
   .shipping-form-group select:focus {
    outline: none;
    border-color: var(--primary-main);
    box-shadow: 0 0 0 3px rgba(108, 91, 123, 0.2);
   }
   
   .shipping-form-group input::placeholder {
    color: var( --bg-secondary);
    opacity: 0.7;
   }
   
   .shipping-submit-btn {
    grid-column: 1 / -1;
    padding: 14px;
    background: var(--primary-main);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 20px;
   }
   
   .shipping-submit-btn:hover {
    background: var(--primary-dark);
   }
   

   select::-webkit-scrollbar {
    width: 8px;
   }
   
   select::-webkit-scrollbar-track {
    background: var(--bg-secondary);
   }
   
   select::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
   }

   /* Remove number input arrows */

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}.checkoutPath {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 6rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .checkoutPath-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    position: relative;
    flex: 1;
  }

  .checkoutPath-step[completed="true"] {
    color: #10b981;
  }
  
  .checkoutPath-icon {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 50%;
  }
  
  .checkoutPath-step[active="true"] .checkoutPath-icon {
    background: #dbeafe;
  }
  
  .checkoutPath-step[completed="true"] .checkoutPath-icon {
    background: #d1fae5;
  }
  
  .checkoutPath-label {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .checkoutPath-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 60%;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
  }
  
  .checkoutPath-step[completed="true"]::after {
    background: #10b981;
  }.confirm-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.confirm-header {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.confirm-table-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.confirm-table caption {
    text-align: left;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px;
    color: #555;
}

.confirm-table th,
.confirm-table td {
    text-align: left;
    padding: 12px;
    border: 1px solid #ddd;
}

.confirm-table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.confirm-table td {
    font-size: 0.9rem;
    color: #333;
}

.order-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.proceed-button {
    display: block;
    margin: 20px auto 0;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.proceed-button:hover {
    background-color: var(--bg-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .confirm-table-container {
        gap: 15px;
    }

    .confirm-table caption {
        font-size: 1rem;
    }

    .confirm-table th,
    .confirm-table td {
        font-size: 0.8rem;
    }

    .proceed-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}.payment-container {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .payment-container > * {
    display: flex;
    justify-content: center;
    gap: 1rem; 
  }
  
  .payment-go-back,
  .payment-btn {
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .payment-go-back {
    color: #6c757d;
    background-color: #f8f9fa;
    border: 1px solid #6c757d;
  }
  
  .payment-go-back:hover {
    background-color: #6c757d;
    color: white;
  }
  
  .payment-btn {
    color: white;
    background-color: var(--bg-secondary);
    border: none;
  }
  
  .payment-btn:hover {
    background-color: var(--bg-primary);
  }
  

  @media (min-width: 768px) {
    .payment-container {
      flex-direction: row; 
      gap: 2rem; 
    }
  }
  .payment-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 1.5rem;
    font-family: 'Arial', sans-serif;
  }
  .success-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .checkmark {
    width: 20px;
    height: 40px;
    border: solid white;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg); 
    position: absolute;
    bottom: 18px; 
    left: 28px;
  }
  
  .success-content h1 {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 0.5rem;
  }
  
  .success-para {
    font-size: 1rem;
    color: #6c757d;
    margin:2rem 0;
  }
  
  .explore-btn {
    padding: 0.7rem 1.5rem;
    background-color:var(--bg-secondary);
    color:var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    margin-top:20px;
    transition: all 0.3s ease;
  }
  
  .explore-btn:hover {
    background-color: var(--bg-primary);
  }
  .my-orders-container {
    padding: 20px;
    max-width: 1200px;
    min-height: 80vh;
    margin: 100px auto 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  

  .table-responsive {
    overflow-x: auto;
  }
  
  .orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
  }
  
  .orders-table th,
  .orders-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
  }
  
  .orders-table th {
    background-color: var(--bg-secondary);
    font-weight: bold;
    color: var(--text-primary);
  }
  
  .orders-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .orders-table tbody tr:hover {
    background-color: #f1f1f1;
  }
  
  .no-orders {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #777;
    min-height: 70vh;
  }
  .no-order-message{
    font-size: 40px;;
  }
  .order-link{
    color: var(--bg-secondary);
  }

  @media (max-width: 768px) {
    .orders-table th,
    .orders-table td {
      font-size: 14px;
      padding: 8px 10px;
    }
  }
.order-box {
  max-width: 900px;
  margin: 4rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
}


.table-block {
  margin-bottom: 2rem;
}

.table-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.table-main {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 1rem;
}

.table-head {
  background: #f5f5f5;
}

.head-cell {
  padding: 0.8rem;
}

.table-row {
  background: #fafafa;
}

.table-cell {
  padding: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

.item-img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.status-tag {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.status-tag.processing {
  color: orange;
  background: rgba(255, 165, 0, 0.2);
}

.status-tag.delivered {
  color: green;
  background: rgba(0, 128, 0, 0.2);
}

.status-tag.cancelled {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.2);
}

.pay-tag {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.pay-tag.paid {
  color: #28a745;
  background: rgba(40, 167, 69, 0.2);
}

.pay-tag.not-paid {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.2);
}


@media (max-width: 768px) {
  .table-title {
    font-size: 1.2rem;
  }

  .table-main {
    font-size: 0.9rem;
  }

  .item-img {
    width: 50px;
    height: 50px;
  }
}
.dashboard-container {
    display:flex;
    
    background:#f5f5f5;
}
  .sidebar {
      width:270px;
      background-color:var(--bg-secondary);
      color:white;
      padding:20px;

      position:fixed;

      top:0;
      left:0;

      height:100vh;

      overflow-y:auto;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .logo-icon {
    font-size: 24px;
  }
  
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .admin-link{
    margin-bottom:0;
  }
  .nav-section h3 {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .nav-section a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
  }
  
  .nav-icon {
    font-size: 20px;
  }
  
  .nav-section a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
      }
  
.admin-main-content {
    flex:1;
    padding:30px;
    margin-top:60px;
    margin-left:310px;
    width:calc(100% - 310px);
}
  
  .page-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .stat-box {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .stat-box:hover {
    transform: translateY(-5px);
  }
  
  .stat-box .icon {
    color: var(--primary-main);
    margin-bottom: 15px;
    font-size: 32px;
  }
  
  .stat-box h3 {
    margin: 10px 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .stat-box p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
  }
  
  .social-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .social-box {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .social-box:hover {
    transform: translateY(-5px);
  }
  
  .social-box .MuiSvgIcon-root {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .social-box.instagram .MuiSvgIcon-root {
    color: #E1306C;
  }
  
  .social-box.linkedin .MuiSvgIcon-root {
    color: #0077B5;
  }
  
  .social-box.youtube .MuiSvgIcon-root {
    color: #FF0000;
  }
  
  .social-box h3 {
    margin: 15px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .social-box p {
    color: #666;
    margin: 8px 0;
    font-size: 1rem;
  }
  
  @media (max-width: 768px) {
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
    }
  
    .main-content {
      margin-left: 0;
    }
  
    .stats-grid {
      grid-template-columns: 1fr;
    }
  
    .social-stats {
      grid-template-columns: 1fr;
    }
  }

  /* ===== Navbar fix: push sidebar below the fixed navbar ===== */

.sidebar {
  top: 60px !important; /* navbar height - sidebar starts right below it */
  height: calc(100vh - 60px) !important;
  z-index: 999; /* stays below navbar's z-index */
}.product-list-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    margin-top:90px;
  }
  
  .product-list-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .product-table th,
  .product-table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
  }
  
  .product-table th {
    background-color: var(--bg-secondary);
    color: #fff;
  }
  .admin-product-image{
    width:70px;
    height: 70px;;
  }
  .product-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  .action-link {
    margin-right: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }
  
  .action-icon {
    margin-right: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .edit-icon {
    color: var(--primary-main);
  }
  
  .edit-icon:hover {
    background-color: rgba(0, 123, 255, 0.1);
  }
  
  .delete-icon {
    color: #f7364a;
    border:none;
    background-color: transparent;
  }
  
  .delete-icon:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #f66675;
  }
  .no-admin-products{
    text-align: center;
    padding:30px;
    background-color:#555; 
  }

  .loading-message {
    font-size: 18px;
    color: #555;
  }

  .end{
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #888;
  }

  .action-icon{
    border:none;
    background:none;
    cursor:pointer;
}


.delete-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:1000;
}


.delete-popup{
    background:white;
    width:350px;
    padding:30px;
    border-radius:12px;
    text-align:center;
}


.delete-popup-buttons{
    margin-top:25px;
    display:flex;
    justify-content:center;
    gap:20px;
}


.cancel-delete,
.confirm-delete{
    padding:10px 25px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}


.cancel-delete{
    background:#ccc;
}


.confirm-delete{
    background:#e53935;
    color:white;
}
  .create-product-container {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
}


.product-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}


/* Price + Stock row */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}


/* Inputs */
.form-input,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
    transition: 0.3s;
}


.form-input:focus,
.form-select:focus {
    border-color: var(--bg-secondary);
    outline: none;
}


/* Textarea */
textarea.form-input {
    height: 120px;
    resize: vertical;
}


/* Select */
.form-select {
    cursor: pointer;
}


/* File Upload */
.file-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.form-input-file {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}


/* Image Preview */
.image-preview-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    overflow-x: auto;
}


.image-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}


/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--bg-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.submit-btn:hover {
    background: var(--bg-secondary);
}


.submit-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}


/* Loader */
.loader {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}


@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


/* Responsive */
@media(max-width:768px) {

    .create-product-container {
        margin: 20px;
        padding: 20px;
    }


    .form-title {
        font-size: 24px;
    }


    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}.usersList-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    margin-top:80px;
  }
  
  .usersList-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .usersList-table-container {
    margin-top: 10px;
    overflow-x: auto;
  }
  
  .usersList-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .usersList-table th,
  .usersList-table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
  }
  
  .usersList-table th {
    background-color: var(--bg-secondary);
    color: #fff;
  }
  
  .usersList-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  .action-icon {
    margin-right: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .edit-icon {
    color: var(--primary-main);
  }
  
  .edit-icon:hover {
    background-color: rgba(0, 123, 255, 0.1);
  }
  
  .delete-icon {
    color: #f7364a;
    border:none;
  }
  
  .delete-icon:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color:#f3253a;
  }
  
  .loading-message {
    font-size: 18px;
    color: #555;
  }
  
  @media (max-width: 768px) {
    .usersList-table {
      font-size: 14px;
    }
  
    .usersList-table th,
    .usersList-table td {
      padding: 8px;
    }
  
    .usersList-table th {
      font-size: 16px;
    }
  
    .action-icon {
      font-size: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .usersList-title {
      font-size: 20px;
    }
  
    .usersList-table th,
    .usersList-table td {
      padding: 6px;
    }
  
    .usersList-table th {
      font-size: 14px;
    }
  
    .action-icon {
      font-size: 16px;
    }
  }


  .delete-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999;
}


.delete-popup{
    background:white;
    padding:30px;
    border-radius:10px;
    width:350px;
    text-align:center;
}


.popup-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:20px;
}


.confirm-btn,
.cancel-btn{
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
}


.confirm-btn{
    background:#e53935;
    color:white;
}


.cancel-btn{
    background:#777;
    color:white;
}


.spinner{
    width:35px;
    height:35px;
    border:4px solid #ddd;
    border-top:4px solid #333;
    border-radius:50%;
    margin:auto;
    animation:spin .8s linear infinite;
}


@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
  .page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height:90vh;
    width: 100%; 
  }
  .update-user-role-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; 
    margin: 0 auto; 
    height: 385px;;
  }
  .update-user-role-form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .btn {
    padding: 10px;
    background-color: var(--bg-secondary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: var(--bg-primary);
  }


  .spinner {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top: 3px solid white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: spin 0.8s linear infinite;
}


@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
  .ordersList-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 90vh;
    margin-top: 70px;
  }
  
  .ordersList-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .ordersList-table-container {
    margin-top: 10px;
    overflow-x: auto;
  }
  
  .ordersList-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .ordersList-table th,
  .ordersList-table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
  }
  
  .ordersList-table th {
    background-color: var(--bg-secondary);
    color: #fff;
  }
  
  .ordersList-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  .order-status.processing {
    background-color: rgba(255, 0, 0, 0.1); 
    color: red;
  }
  
  .order-status.delivered {
    background-color: rgba(0, 255, 0, 0.1); 
    color: green;
  }
  

  .action-icon {
    margin-right: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .edit-icon {
    color: var(--primary-main);
  }
  
  .edit-icon:hover {
    background-color: rgba(0, 123, 255, 0.1);
  }
  
  .delete-icon {
    color: #f7364a;
    border: none;
  }
  
  .delete-icon:hover {
    background-color: rgba(212, 114, 124, 0.1);
    color: #f3253a;
  }
  

  @media (max-width: 768px) {
    .ordersList-table {
      font-size: 14px;
    }
  
    .ordersList-table th,
    .ordersList-table td {
      padding: 8px;
    }
  
    .ordersList-table th {
      font-size: 16px;
    }
  
    .action-icon {
      font-size: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .ordersList-title {
      font-size: 20px;
    }
  
    .ordersList-table th,
    .ordersList-table td {
      padding: 6px;
    }
  
    .ordersList-table th {
      font-size: 14px;
    }
  
    .action-icon {
      font-size: 16px;
    }
  }
  .order-container {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto', sans-serif;
}

.order-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.order-details,
.order-items,
.order-status {
  margin-bottom: 30px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-details h2,
.order-items h2,
.order-status h2 {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 10px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.order-details p,
.order-items p,
.order-status p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.order-table th,
.order-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.order-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.order-item-image {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.status-select {
  padding: 10px;
  font-size: 1rem;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-width: 300px;
}

.update-button {
  padding: 10px 20px;
  background-color: var(--bg-secondary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.update-button:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@media (max-width: 768px) {
  .order-container {
    padding: 15px;
  }

  .order-title {
    font-size: 1.8rem;
  }

  .order-table th,
  .order-table td {
    padding: 6px;
  }

  .status-select {
    width: 100%;
  }
}


.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.reviews-list-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  

  .reviews-list-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  

  .reviews-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .reviews-table th, .reviews-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .reviews-table th {
    background-color: var(--bg-secondary);
    color: white;
    font-weight: 600;
  }
  
  .reviews-table td {
    background-color: #f9f9f9;
  }
  
  .reviews-table tr:hover {
    background-color: #f1f1f1;
  }
  

  .action-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .view-btn {
    background-color: var(--bg-secondary);
    color: white;
  }
  


  .product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
  }
  

  .reviews-details {
    margin-top: 80px;
  }
  
  .reviews-details h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
  }
  

  @media (max-width: 768px) {
    .reviews-list-container {
      margin: 20px;
      padding: 15px;
    }
  
    .reviews-list-title {
      font-size: 2rem;
    }
  
    .reviews-table th, .reviews-table td {
      font-size: 14px;
      padding: 10px;
    }
  }

  .view-btn:disabled{
    opacity:0.45;
    cursor:not-allowed;
    background:#bdbdbd;
    color:#fff;
}

.no-review-selected{
    text-align:center;
    font-size:1.1rem;
    font-weight:500;
    margin:40px 0;
    color:#555;
}

.reviews-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.reviews-modal {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.25s ease;
}

.reviews-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.reviews-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: #f0f0f0;
}

.reviews-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

.review-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-user {
    font-weight: 600;
    color: #333;
}

.review-rating {
    font-size: 0.9rem;
    color: #555;
}

.review-comment {
    color: #444;
    margin-bottom: 10px;
    line-height: 1.4;
}

.delete-review-btn {
    background-color: #e53935;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.delete-review-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .reviews-modal {
        width: 95%;
        max-height: 85vh;
    }
}.about-container {
  background-color: #ffffff;
  color: #333333;
  min-height: 100vh;
  padding: 100px 20px 40px; /* Increased top padding so navbar doesn't hide headings */
  display: flex;
  justify-content: center;
}

.about-content {
  max-width: 800px;
  width: 100%;
}

.about-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 24px;
}

.about-section {
  margin-bottom: 32px;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 16px;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 16px;
}

.about-section ul {
  list-style-type: disc;
  margin-left: 24px;
  color: #444444;
  margin-bottom: 16px;
}

.about-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.contact-container {
  background-color: #ffffff;
  color: #333333;
  min-height: 100vh;
  padding: 100px 20px 40px; /* Increased top padding so navbar doesn't hide headings */
  display: flex;
  justify-content: center;
}

.contact-content {
  max-width: 800px;
  width: 100%;
}

.contact-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 24px;
}

.contact-section {
  margin-bottom: 32px;
}

.contact-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 16px;
}

.contact-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 16px;
}

/* Optional Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #444444;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background-color: #f9f9f9;
  border: 1px solid #cccccc;
  color: #333333;
  padding: 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #999999;
}

.submit-btn {
  background-color: #111111;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #333333;
}


:root {
    --primary-main: #6C5B7B;
    --primary-dark: #4E4A59;
    --primary-light: #F8B5B1;

    --bg-primary: #2E2E3C;
    --bg-secondary: #3B3B4F;

    --text-primary: #EAE7E0;
    --text-secondary: #B9A7A0;
    --text-light: #FFFFFF;

    --border-color: #5C4A6F;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

button,
input,
select,
textarea {
    font-family: inherit;
}