 /* loader */
 body.loading {
        overflow: hidden;
    }

    

/* Top Social Bar */
.top-bar {
  background-color: #f8f9fa;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
}

.social-links .facebook {
  background-color: #3b5998;
}
.social-links .youtube {
  background-color: #ff0000;
}
.social-links .twitter {
  background-color: #1da1f2;
}
.social-links .instagram {
  background-color: #e4405f;
}

.top-nav-links {
  display: flex;
  gap: 15px;
  font-size: 14px;
}

.top-nav-links a {
  color: #666;
  text-decoration: none;
}

.top-nav-links a:hover {
  color: #333;
}

.top-auth-links {
  display: flex;
  gap: 15px;
  font-size: 14px;
}

.top-auth-links a {
  color: #666;
  text-decoration: none;
}

/* Main Header */
.main-header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

.search-container {
  flex: 1;
  max-width: 500px;
  margin: 0 30px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: #dc2626;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #dc2626;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #333;
}

.cart-icon {
  position: relative;
  color: #333;
  font-size: 24px;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}
/* Navigation */
.main-nav {
  background-color: #dc2626;
  color: white;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 13px;
  display: block;
  flex-wrap: nowrap;
  padding: 15px 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Submenu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: none;
  z-index: 1000;
  padding: 10px 0;
  border: 1px solid #e9ecef;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

/* Keep dropdown visible when hovering over the dropdown itself */
.dropdown-menu:hover {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  border-left-color: #dc2626;
  color: #dc2626;
  padding-left: 25px;
}



.dropdown-item:hover::before {
  color: #dc2626;
}

/* Dropdown menu tweaks */
.nav-item {
  position: relative;
}

/* Dropdown hidden by default */
.dropdown-menu.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px; /* you can adjust */
  background: #fff;
  padding: 1rem;
  z-index: 1000;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  white-space: normal;
  margin-top: -1px; /* FIX: Remove gap */
}

/* Show dropdown when hovering over nav-item */
.nav-item:hover .dropdown-menu.megamenu {
  display: block;
}

/* Optional: Prevent sudden hide */
.dropdown-menu.megamenu:hover {
  display: block;
}

/* Optional: Make sure dropdown items don't wrap weirdly */
 .dropdown-item {
  padding: 0.25rem 0;
  font-size: 14px;
}



.megamenu .menu-column h6 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.megamenu .menu-column a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.megamenu .menu-column a:hover {
  color: #f47920;
}/* Mobile Styles */
.mobile-header {
  display: none;
  background-color: #dc2626;
  color: white;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo {
  display: flex;
  align-items: center;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
}

.mobile-phone {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.mobile-cart {
  position: relative;
  color: white;
  font-size: 20px;
  text-decoration: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: white;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu-header {
  display: flex;
  background-color: #f8f9fa;
}

.menu-tab,
.login-tab {
  flex: 1;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  border: none;
  background: none;
}

.menu-tab.active {
  background-color: #dc2626;
  color: white;
}

.login-tab.active {
  background-color: #dc2626;
  color: white;
}

.mobile-menu-content {
  padding: 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #e9ecef;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav-link:hover {
  background-color: #f8f9fa;
}

.expand-icon {
  font-size: 18px;
  color: #666;
}

.auth-options {
  display: none;
  padding: 20px;
}

.auth-options.active {
  display: block;
}

.auth-link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .main-header {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-menu.active {
    display: block;
  }
}

@media (max-width: 480px) {
  .search-container {
    margin: 0 15px;
  }

  .header-content {
    padding: 0 15px;
  }
}

/* slider */
.carousel {
  padding: 1rem;
}

.slider-img {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Mobile view: show full image without cut */
@media (max-width: 768px) {
  .slider-img {
    height: auto; /* auto height for natural ratio */
    max-height: 300px; /* optional: limit height */
    object-fit: contain; /* show full image */
    background-color: #fff; /* white bg if extra space appears */
  }
}

/* banner grid section */
.object-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Ensure image height on small screens */
@media (max-width: 768px) {
  .object-cover {
    object-fit: contain;
    height: auto;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* optional: space between grid items */
  }
}

/* footer */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-color: #ecf0f1;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f8f9fa;
}

/* Our Brand Section */
.brand-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>')
    repeat;
  opacity: 0.3;
}

.brand-section .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.brand-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
}

.brand-item {
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  border: 2px solid transparent;
}

.brand-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
  background: white;
}

.brand-item img {
  max-height: 60px;
  width: auto;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.connect-section {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.connect-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #fff;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.social-btn:hover::before {
  transform: translateX(100%);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
  background: #3b5998;
}
.social-btn.google {
  background: #dd4b39;
}
.social-btn.twitter {
  background: #1da1f2;
}
.social-btn.pinterest {
  background: #bd081c;
}
.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.company-info {
  margin: 2rem 0;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.company-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.footer-content {
  padding: 3rem 0;
}

.footer-column h6 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h6::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
}

.footer-column ul li:hover {
  color: white;
  border-left-color: var(--secondary-color);
  transform: translateX(5px);
}

.contact-info strong {
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.whatsapp-icon {
  color: #25d366;
  font-size: 1.1rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Notification Styles */
.notification {
  display: none;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  text-align: center;
  max-width: 350px;
  z-index: 9999;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .brand-container {
    padding: 2rem 1rem;
  }

  .brand-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .brand-item img {
    max-height: 45px;
  }

  .social-buttons {
    gap: 0.5rem;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .footer-content {
    padding: 2rem 0;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .brand-container {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
  }

  .connect-section {
    padding: 2rem 0 1rem;
  }

  .connect-title {
    font-size: 1.5rem;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .footer-column h6 {
    font-size: 1.1rem;
  }

  .notification {
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
.promo-banner-only-img {
  background: white;
  padding-inline: 3rem; /* Default for small screens */
}

.promo-only-img {
  max-height: 300px;
  object-fit: contain;
  width: 100%;
}

/* Medium screen and up (tablet and larger) */
@media (min-width: 768px) {
  .promo-banner-only-img {
    padding-inline: 6rem;
  }
}

/* Large screen and up (desktop) */
@media (min-width: 992px) {
  .promo-banner-only-img {
    padding-inline: 10rem;
  }
}

/* Extra large screen */
@media (min-width: 1200px) {
  .promo-banner-only-img {
    padding-inline: 15rem;
  }
}

/* *******product section ******** */

.product-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.product-section h2 {
  font-size: 2.8rem;
  color: #1a2940;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.product-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff9f43, #ff6b6b);
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid rgba(171, 189, 243);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(45deg, #ff9f43, #ff6b6b, #4ecdc4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image-container {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 15px;
  background: #f8f9fa;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.4s ease;
  border-radius: 15px;
}

.product-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 159, 67, 0.8),
    rgba(255, 107, 107, 0.8)
  );
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.product-card:hover .image-overlay {
  opacity: 1;
}

.view-btn {
  background: white;
  color: #ff9f43;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover .view-btn {
  transform: translateY(0);
}

.stars {
  color: #f1c40f;
  font-size: 1.3rem;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-card h4 {
  font-size: 1.1rem;
  margin: 12px 0;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
}

.price {
  font-weight: 700;
  color: #e74c3c;
  font-size: 1.3rem;
  margin: 15px 0;
}

.cart-btn {
  background: linear-gradient(45deg, #ff9f43, #ff6b6b);
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 159, 67, 0.3);
}

.cart-btn:hover {
  background: linear-gradient(45deg, #ff8c1a, #ff5252);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 67, 0.4);
}

.cart-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive - 2 products per row */
@media (max-width: 768px) {
  .product-section {
    padding: 40px 15px;
  }

  .product-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card {
    padding: 15px;
    border-radius: 15px;
  }

  .product-card img {
    height: 160px;
  }

  .product-card h4 {
    font-size: 0.9rem;
    min-height: auto;
  }

  .price {
    font-size: 1.1rem;
    margin: 10px 0;
  }

  .cart-btn {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .stars {
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .product-section {
    padding: 30px 10px;
  }

  .product-section h2 {
    font-size: 1.8rem;
  }

  .product-grid {
    gap: 15px;
  }

  .product-card {
    padding: 12px;
  }

  .product-card img {
    height: 140px;
  }

  .product-card h4 {
    font-size: 0.85rem;
  }

  .cart-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

/* Animation for loading */
.product-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* grid section */
.banner-section {
  padding: 60px 0;
  margin-bottom: 30px;
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  padding: 8px;
}

.banner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 159, 67, 0.1),
    rgba(255, 107, 107, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 20px;
}

.banner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.banner-card:hover::before {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.banner-card:hover .banner-image {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

/* Large banner specific styling */
.large-banner {
  height: 500px;
}

.large-banner .banner-image {
  height: 100%;
}

/* Small banners specific styling */
.small-banner {
  height: 240px;
  margin-bottom: 15px;
}

.small-banner .banner-image {
  height: 100%;
}

/* Bottom section banners */
.bottom-banner {
  height: 300px;
}

.bottom-banner .banner-image {
  height: 100%;
}

/* Overlay content for banners */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3),
    rgba(255, 159, 67, 0.2)
  );
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border-radius: 15px;
}

.banner-card:hover .banner-overlay {
  opacity: 1;
}

.banner-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.banner-card:hover .banner-content {
  transform: translateY(0);
}

.banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.banner-btn {
  background: linear-gradient(45deg, #ff9f43, #ff6b6b);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.banner-btn:hover {
  background: linear-gradient(45deg, #ff8c1a, #ff5252);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 159, 67, 0.4);
  color: white;
}

/* Section titles */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #1a2940;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff9f43, #ff6b6b);
  border-radius: 2px;
}

/* Loading animations */
.banner-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.banner-card:nth-child(1) {
  animation-delay: 0.1s;
}
.banner-card:nth-child(2) {
  animation-delay: 0.2s;
}
.banner-card:nth-child(3) {
  animation-delay: 0.3s;
}
.banner-card:nth-child(4) {
  animation-delay: 0.4s;
}
.banner-card:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .large-banner {
    height: 350px;
    margin-bottom: 20px;
  }

  .small-banner {
    height: 200px;
  }

  .bottom-banner {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .banner-section {
    padding: 40px 0;
  }

  .large-banner {
    height: 300px;
  }

  .small-banner {
    height: 180px;
    margin-bottom: 15px;
  }

  .bottom-banner {
    height: 200px;
    margin-bottom: 15px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .banner-title {
    font-size: 1.2rem;
  }

  .banner-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .large-banner {
    height: 250px;
  }

  .small-banner {
    height: 150px;
  }

  .bottom-banner {
    height: 180px;
  }

  .banner-container {
    padding: 0 15px;
  }
}

/* Custom spacing */
.custom-gap {
  gap: 20px;
}

/* Pulse effect for featured banners */
@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 159, 67, 0.2);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

.featured-banner {
  animation: pulse 3s infinite;
}

/* cart css */

:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --success-color: #16a34a;
  --danger-color: #dc2626;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

.breadcrumb-nav {
  background: white;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.breadcrumb {
  color: var(--text-secondary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-header {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.cart-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-icon {
  width: 2rem;
  height: 2rem;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.cart-content {
  padding: 15px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead {
  background: var(--light-bg);
  border-bottom: 2px solid var(--border-color);
  display: none; /* Hide headers on mobile */
}

.cart-table tr {
  display: block;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.cart-table td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border: none;
  text-align: right;
}

.cart-table td::before {
  content: attr(data-label);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-right: auto;
  padding-right: 1rem;
  text-align: left;
}

/* Product cell specific styles */
.product-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left !important;
}

.product-cell::before {
  display: none;
}

.product-info {
  width: 100%;
}

.product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Quantity controls */
.quantity-cell {
  justify-content: flex-end;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: var(--light-bg);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.quantity-btn {
  background: none;
  border: none;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 600;
}

.quantity-input {
  border: none;
  background: none;
  text-align: center;
  width: 2rem;
  padding: 0.4rem 0;
  font-weight: 600;
  color: var(--text-primary);
}

/* Remove button */
.remove-btn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger-color);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: auto;
}

/* Summary and actions */
.cart-summary {
  background: var(--light-bg);
  padding: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  border: 2px solid;
  cursor: pointer;
  width: 100%;
}

/* Desktop styles */
@media (min-width: 768px) {
  .cart-table thead {
    display: table-header-group;
  }
  
  .cart-table tr {
    display: table-row;
    padding: 0;
  }
  
  .cart-table td {
    display: table-cell;
    padding: 1rem;
    text-align: left;
  }
  
  .cart-table td::before {
    display: none;
  }
  
  .product-cell {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .product-image {
    margin-bottom: 0;
    width: 80px;
    height: 80px;
  }
  
  .quantity-controls {
    justify-content: center;
  }
  
  .remove-btn {
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .cart-actions {
    flex-direction: row;
  }
  
  .btn {
    width: auto;
    padding: 0.75rem 1.5rem;
  }
}
/* checkout page css */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Main Layout */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start;
}

/* Contact Section */
.contact-section {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.section-header {
  margin-bottom: 30px;
  text-align: center;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.section-header h2 i {
  color: #667eea;
  margin-right: 10px;
}

.login-link {
  color: #666;
  font-size: 14px;
}

.link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.link:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Form Styles */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

label i {
  color: #667eea;
  width: 16px;
}

.required {
  color: #dc3545;
}

input,
select {
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  font-family: inherit;
}

input:focus,
select:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

input:valid {
  border-color: #28a745;
}

input:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #667eea;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.error-message.show {
  display: block;
}

.address-section {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.address-section h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-section h3 i {
  color: #667eea;
}

.complete-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.complete-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.complete-btn:active {
  transform: translateY(0);
}

/* Order Section */
.order-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  backdrop-filter: blur(10px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.order-header h3 {
  font-size: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-header h3 i {
  color: #667eea;
}

.item-count {
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.product-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}

.product-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-details {
  flex: 1;
}

.product-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #333;
}

.product-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quantity-controls button:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.quantity-controls span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.product-price {
  display: flex;
  align-items: center;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #28a745;
}

.discount-section {
  margin-bottom: 25px;
}

.discount-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.discount-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  background: #f8f9fa;
}

.discount-input:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.apply-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.discount-message {
  font-size: 12px;
  padding: 4px 0;
  min-height: 16px;
}

.discount-message.success {
  color: #28a745;
}

.discount-message.error {
  color: #dc3545;
}

.order-totals {
  margin-bottom: 25px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: center;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
}

.discount-row {
  color: #28a745;
  font-weight: 500;
}

.final-total {
  font-weight: 700;
  font-size: 18px;
  padding-top: 12px;
  border-top: 2px solid #e9ecef;
  color: #333;
}

.payment-methods {
  margin-bottom: 20px;
}

.payment-methods h4 {
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
}

.payment-btn {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cod-btn {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.cod-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.razorpay-btn {
  background: linear-gradient(135deg, #000, #333);
  color: white;
}

.razorpay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.paypal-btn {
  background: linear-gradient(135deg, #0070ba, #005ea6);
  color: white;
}

.paypal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}

.payment-btn.selected {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.security-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  border: 1px solid #e9ecef;
}

.security-info i {
  color: #28a745;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section,
.order-section {
  animation: slideIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .checkout-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-section,
  .order-section {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .order-section {
    position: static;
    order: -1;
  }

  .container {
    padding: 15px;
  }

  .progress-bar {
    margin-bottom: 20px;
    padding: 15px;
  }

  .progress-step span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .contact-section,
  .order-section {
    padding: 20px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .discount-input-group {
    flex-direction: column;
  }

  .product-item {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    align-self: center;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .progress-step:not(:last-child)::after {
    top: 12px;
  }
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* product page css */

.main-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.sidebar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  height: fit-content;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.sidebar h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.2rem;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

.category-list {
  list-style: none;
  margin-bottom: 30px;
}

.category-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #555;
}

.category-list li:hover {
  color: #667eea;
  padding-left: 10px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 10px;
}

.category-list li.active {
  color: #667eea;
  font-weight: bold;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 10px;
  padding-left: 10px;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1rem;
}

.price-range {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.price-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
}

.products-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.products-title {
  font-size: 2rem;
  color: #2c3e50;
}

.sort-dropdown {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-dropdown:focus {
  border-color: #667eea;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin-top: 30px;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.star {
  color: #ffd700;
  font-size: 16px;
}

.star.empty {
  color: #ddd;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #e74c3c;
}

.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, #ff0018, #764ba2);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: linear-gradient(45deg, #764ba2, #ff0018);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination button {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.mobile-menu-toggle {
  display: none;
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
}



.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sidebar {
    position: static;
    display: none;
  }

  .sidebar.active {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .search-input {
    width: 100%;
    max-width: 300px;
  }

  .products-header {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 20px;
  }

  .products-section {
    padding: 20px;
  }
}

/* product details page css */

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Image Gallery */
.image-gallery {
  position: relative;
}

.main-image {
  width: 600px;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  position: relative;
}

.badge {
 
  top: 15px;
  left: 15px;
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b35;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #ff6b35;
  transform: scale(1.05);
}

/* Product Info */
.product-info h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.stars {
  color: #ffc107;
  font-size: 15px;
}

.stock-info {
  color: #28a745;
  font-weight: 600;
}

.price-section {
  margin: 2px 0;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 15px;
  margin-right: 10px;
}

.current-price {
  color: #ff6b35;
  font-size: 20px;
  font-weight: bold;
}

.description {
  margin: 5px 0;
  line-height: 1.8;
  color: #666;
}

/* Options */
.option-group {
  margin: 5px 0;
}

.option-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.color-options,
.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.color-option.red {
  background: #dc3545;
}
.color-option.blue {
  background: #007bff;
}
.color-option.purple {
  background: #6f42c1;
}

.color-option:hover,
.color-option.selected {
  border-color: #333;
  transform: scale(1.1);
}

.size-option {
  padding: 8px 14px;
  border: 2px solid #ddd;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.size-option:hover,
.size-option.selected {
  border-color: #ff6b35;
  background: #ff6b35;
  color: white;
}

/* Quantity & Actions */
.quantity-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 25px;
  overflow: hidden;
}

.qty-btn {
  background: #f8f9fa;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background: #e9ecef;
}

.qty-input {
  border: none;
  width: 60px;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin: 25px 0;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

/* .btn-primary {
  background: #ff6b35;
  color: white;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
} */

/* .btn-secondary {
  background: #28a745;
  color: white;
}

.btn-secondary:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
} */

/* Meta Info */
.meta-info {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.meta-item {
  margin: 10px 0;
  
  justify-content: space-between;
}

.meta-label {
  font-weight: 600;
}


.wishlist-compare {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.icon-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border: 2px solid #ddd;
  border-radius: 20px;
  background: white;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.share-section {
  margin-top: 20px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-fb {
  background: #3b5998;
}
.share-twitter {
  background: #1da1f2;
}
.share-linkedin {
  background: #0077b5;
}
.share-pinterest {
  background: #bd081c;
}
a {
    text-decoration: none !important;
}

.main-image {
    width: 600px;
    height: auto;
    border-radius: 10px;
}
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 100px; /* allow slide width to be set by Swiper */
    flex-shrink: 0;
    margin-right: 10px; /* optional spacing between slides */
}

.thumbnail-gallery {
    max-width: 600px; /* optional limit */
    margin: auto;
}


.thumbnail {
    cursor: pointer;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 2px solid transparent;
}

.thumbnail:hover, .swiper-slide-thumb-active .thumbnail {
    border: 2px solid #000;
}


/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .main-image {
    width: 400px;
  }

  .product-info h1 {
    font-size: 24px;
  }

  .current-price {
    font-size: 28px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .quantity-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-image {
    width: 300px;
  }

  .product-info h1 {
    font-size: 20px;
  }

  .current-price {
    font-size: 24px;
  }

  .color-options,
  .size-options {
    justify-content: center;
  }
}

.error {
color:#bd081c;
}


 .contact-section {
    background-color: #f9f9f9;
  }

  .contact-info i {
    width: 20px;
  }

  .form-control {
    border-radius: 0.375rem;
    box-shadow: none;
  }

  .btn-dark {
    border-radius: 0.375rem;
    font-weight: 600;
  }

  .form-control::placeholder {
    font-size: 0.95rem;
    color: #999;
  }

   .about-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
  }

  .about-section h2 span {
    color: orange;
  }

  .about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
  }

  .about-section .img-fluid {
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .about-section .row {
    margin-bottom: 60px;
  }

  .about-section h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
  }

  @media (max-width: 767.98px) {
    .about-section .img-fluid {
      margin-top: 20px;
      max-height: 250px;
    }

    .about-section .row {
      margin-bottom: 40px;
    }
  }
.footer-column ul li a {
  color: white;
  text-decoration: none;
}

@media (max-width: 400px) {
   .main-image{
    width: 250px;
   }
}