@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
:root {
    --primary-color: #00897b;    /* Teal */
    --secondary-color: #f8f9fa;  /* Light background */
    --accent-color: #ffd700;     /* Gold */
    --text-color: #2c3e50;       /* Dark blue-gray */
    --hover-color: #00a699;      /* Lighter teal */
    --dark-accent: #1a1a1a;      /* Deep black */
    --light-gray: #f4f4f4;       /* Light background */
    --border-color: #e0e0e0;     /* Subtle borders */
}
* {
    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-color);
    background-color: #f8f9fa;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    padding-left: 30px; /* Additional right shift */
    display: flex;
    align-items: center;
    gap: 1rem;
}


.logo {
    width: 170px;  /* Increase from default 50px */
    height: auto;
    margin-left: 10px;
}
  .search-container {
      flex: 1;
      max-width: 500px;
      margin: 0 2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .search-container input {
      width: 100%;
      padding: 0.5rem;
      border: 2px solid var(--primary-color);
      border-radius: 4px;
  }

  .search-container button {
      padding: 0.5rem 1rem;
      background: var(--primary-color);
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
  }

  .search-container button:hover {
      background: var(--hover-color);
  }
.user-actions {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation Styles */
.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    background: var(--primary-color);
    padding: 1rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/* Slider Styles */
.hero-slider {
    position: relative;
    margin: 2rem 0;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
}

.prev { left: 0; }
.next { right: 0; }

/* Featured Products */
.featured-products {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.featured-slide {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.featured-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.product-card .price {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.product-card .buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.buy-now, .add-cart {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.buy-now {
    background: var(--primary-color);
    color: white;
}

.add-cart {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.buy-now:hover, .add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        margin: 1rem 0;
        max-width: 100%;
    }

    .user-actions {
        width: 100%;
        justify-content: space-around;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nav-link span {
        display: none;
    }
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p {
    margin: 0.5rem 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Categories Page Styles */
.categories-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.categories-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
}

.category-section {
    margin-bottom: 4rem;
}

.category-section h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.category-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.category-content {
    padding: 2rem;
    text-align: center;
}

.category-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-content p {
    color: #666;
    margin-bottom: 1rem;
}

.items-count {
    display: inline-block;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Active nav link style */
.main-nav a.active {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Explore Page Styles */
.explore-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.explore-filters select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.load-more {
    text-align: center;
    margin: 2rem 0;
}

#load-more-btn {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

/* New Arrivals Styles */
.arrival-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.arrival-header {
  .main-nav {
      background: var(--accent-color);
  }

  .buy-now {
      background: var(--primary-color);
  }

  .add-cart {
      border: 2px solid var(--primary-color);
      color: var(--accent-color);
  }

  .footer-content {
      background-color: var(--accent-color);
  }

  .new-badge {
      background: var(--primary-color);
  }

  .nav-link:hover {
      color: var(--primary-color);
      background-color: rgba(0, 0, 0, 0.1);
  }

  .footer-section a:hover {
      color: var(--primary-color);
  }

  .main-nav a:hover {
      background: rgba(0, 0, 0, 0.2);
      color: #fff;
  }

  .social-links a:hover {
      background: var(--primary-color);
      transform: translateY(-2px);
  }

  .category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
.category-section h2 {
    border-bottom: 2px solid var(--primary-color);
}    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.arrival-filters select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
}

.arrival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.new-arrival {
    position: relative;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.product-card.new-arrival {
    border: 2px solid var(--primary-color);
}

.product-card.new-arrival:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--hover-color);
}

.arrival-filters select:hover {
    border-color: var(--hover-color);
    background: var(--light-gray);
}

.arrival-date {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.product-card.new-arrival {
    border: 2px solid var(--accent-color);
}

/* New Arrivals Styles */
.arrival-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.arrival-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.arrival-filters select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
}

.arrival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.new-arrival {
    position: relative;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);  /* Teal color */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.arrival-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.product-card.new-arrival {
    border: 2px solid var(--primary-color);
}

.buy-now, .add-cart:hover {
    background: var(--primary-color);
    color: white;
}

.add-cart {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.product-card.new-arrival:hover {
    border-color: var(--hover-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.contact-container h1 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.social-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-links-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.social-links-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .social-links-contact {
        grid-template-columns: repeat(4, 1fr);
    }
}

.policy-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.policy-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-container h1 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 1rem;
}

.policy-section ul li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.contact-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.nav-link {
    position: relative;
}
.cart-main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    background: #ffffff;
}

.cart-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cart-container h1 {
    grid-column: 1 / -1;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eef2f7;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.cart-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 2rem;
}

.item-details {
    flex: 1;
    padding-right: 2rem;
}

.item-details h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.item-details .price {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #dc3545;
    color: #ffffff;
}

.cart-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
    border: 1px solid #e1e8ed;
}

.summary-details h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e1e8ed;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    color: #4a5568;
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e1e8ed;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    margin-top: 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
    font-size: 1.2rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px dashed #e2e8f0;
}

@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img {
        margin: 0 0 1rem 0;
    }
    
    .item-details {
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
}

.item-total {
    text-align: right;
    margin-left: auto;
    padding-left: 2rem;
}

.item-total p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Add these styles to your existing styles.css */

.profile-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-container {
    text-align: center;
    padding: 3rem;
}

.auth-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-icon {
    font-size: 5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.profile-info, .order-history {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
/* Add these styles to your existing styles.css */

.register-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.register-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.register-form .form-group {
    margin-bottom: 1.5rem;
}

.register-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.register-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.register-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.register-btn {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background: #0056b3;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
}

.login-link a {
    color: #007bff;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #ffe6e6;
    color: #dc3545;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}
.explore-filters select {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.explore-filters select:hover {
    border-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.explore-filters select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 0 2rem;
}

.explore-header h1 {
    color: var(--text-color);
    font-size: 2rem;
}
.login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background: var(--hover-color);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}
.forgot-password-container,
.verify-otp-container,
.reset-password-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.forgot-password-link {
    text-align: right;
    margin-bottom: 1rem;
}

.forgot-password-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.back-to-login {
    text-align: center;
    margin-top: 1rem;
}

.back-to-login a {
    color: var(--primary-color);
    text-decoration: none;
}
.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.profile-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.profile-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.profile-card {
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.profile-image-container {
    margin-bottom: 1.5rem;
}

.profile-picture {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-details {
    max-width: 600px;
    margin: 0 auto;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.detail-label {
    width: 120px;
    color: var(--text-color);
    font-weight: 600;
}

.detail-label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.detail-value {
    flex: 1;
    color: var(--text-color);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    background: var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.edit-profile-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.edit-profile-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.current-image {
    margin: 1rem 0;
}

.current-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.save-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    padding: 0.8rem 2rem;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.save-btn:hover, .cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.orders-main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.orders-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.orders-container h1 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.no-orders {
    text-align: center;
    padding: 3rem;
}

.no-orders i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.shop-now-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1rem;
}

.order-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.view-details-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: var(--primary-color);
    color: white;
}
.track-main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.track-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.track-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.track-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.stage {
    text-align: center;
    flex: 1;
}

.dot {
    width: 15px;
    height: 15px;
    background: var(--border-color);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
}

.stage.active .dot {
    background: var(--primary-color);
}

.order-items .item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}
.search-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
}

.no-results i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.search-container form {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.search-container input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

.search-container button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.search-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
}

.result-count {
    color: var(--primary-color);
    font-weight: 500;
}

.filter-bar {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
}

.product-info {
    padding: 1rem;
}

.category {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.browse-all {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.user-actions .profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
    vertical-align: middle;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}
.order-details-main {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.order-details-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.order-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.order-info {
    color: #666;
    margin-top: 0.5rem;
}

.order-status-bar {
    margin: 2rem 0;
    text-align: center;
}

.status {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.processing {
    background: #cce5ff;
    color: #004085;
}

.status.shipped {
    background: #d4edda;
    color: #155724;
}

.status.delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.shipping-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.order-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.order-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 0.5rem 0;
}

.order-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}
.search-error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 5px;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ffeeba;
    z-index: 1000;
}

.search-error i {
    font-size: 16px;
}
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}
.checkout-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.checkout-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.payment-method {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 4px;
}

.place-order-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}
.place-order-btn {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.place-order-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.place-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#district {
    background-color: white;
    cursor: pointer;
}

#district:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}
.place-order-btn {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.place-order-btn:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.place-order-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.place-order-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

.place-order-btn:hover::after {
    transform: translateX(100%);
    transition: transform 0.75s ease;
}
.confirmation-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.confirmation-container {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.confirmation-container h1 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.order-details, .shipping-details {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: left;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.view-orders-btn, .continue-shopping-btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-orders-btn {
    background: var(--primary-color);
    color: white;
}

.continue-shopping-btn {
    background: var(--light-gray);
    color: var(--text-color);
}

.view-orders-btn:hover, .continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.shipping-details {
    text-align: left;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin: 2rem 0;
}

.detail-row {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    width: 150px;
    color: var(--text-color);
}

.detail-value {
    flex: 1;
    color: var(--text-color);
}
.shipping-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.shipping-detail-row {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.shipping-detail-row:last-child {
    border-bottom: none;
}

.shipping-label {
    font-weight: 600;
    width: 150px;
    color: var(--text-color);
}

.shipping-value {
    flex: 1;
    color: var(--text-color);
}
.product-card .description {
    font-size: 0.9em;
    color: #666;
    margin: 8px 0;
    line-height: 1.4;
}
.order-status-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.stage:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.stage.active:after {
    background: #4CAF50;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 10px;
    z-index: 2;
}

.stage.active .dot {
    background: #4CAF50;
}

.stage span {
    position: absolute;
    top: -25px;
    font-size: 14px;
    font-weight: 500;}
.cancelled-status {
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    font-size: 18px;
}

.cancelled-status i {
    margin-right: 10px;
}
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    background: white;
}

.logo-container {
    width: 250px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    width: 40%;
    display: flex;
    align-items: center;
}

.search-container input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

.user-actions {
    width: 250px;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

.logo-container h1 {
    font-family: 'times new roman';
    font-weight: 600;
    font-size: 35px;
color:#4a5568;
}
.categories-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.category-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.category-box:hover {
    transform: translateY(-5px);
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-content p {
    font-size: 1rem;
    opacity: 0.9;
}
/* Slider Styles */
.hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    width: 100%;
}

.slide {
    position: relative;
    width: 100%;
    height: 600px;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    background: #fff;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
}

.prev { left: 0; }
.next { right: 0; }
.slide {
    position: relative;
    width: 100%;
    height: 400px;  /* Reduced from 600px */
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;  /* Reduced from 600px */
    object-fit: contain;
    background: #fff;
}

.hero-slider {
    position: relative;
    max-width: 1000px;  /* Reduced from 1200px */
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cart-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    position: relative;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: fit-content;
}

.cart-summary {
    position: sticky;
    top: 20px;
    height: fit-content;
}
.return-exchange-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.return-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.return-request-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.return-request-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.return-request-container h1 {
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    text-align: center;
}

.return-request-container .form-group {
    margin-bottom: 1.5rem;
}

.return-request-container select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.return-request-container textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
}

.return-request-container small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.return-success-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.success-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.view-orders-btn, .continue-shopping-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-orders-btn {
    background: var(--primary-color);
    color: white;
}

.continue-shopping-btn {
    background: var(--light-gray);
    color: var(--text-color);
}
.request-status-section {
    text-align: center;
    padding: 2rem;
}

.status-info {
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.status-info i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.status-info.pending {
    background: #fff3cd;
    color: #856404;
}

.status-info.approved {
    background: #d4edda;
    color: #155724;
}

.status-info.rejected {
    background: #f8d7da;
    color: #721c24;
}

.support-ticket-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-ticket-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}
/* Mobile Menu Core Styles */
.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Desktop Navigation */
.main-nav {
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 1001;
        cursor: pointer;
    }

    .menu-toggle i {
        font-size: 24px;
        color: var(--primary-color);
    }

    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .mobile-menu.active {
        transform: translateX(280px);
    }

    .mobile-menu nav ul {
        list-style: none;
        padding: 0;
    }

    .mobile-menu nav ul li {
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu nav ul li a {
        display: flex;
        align-items: center;
        padding: 15px 25px;
        color: var(--text-color);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .mobile-menu nav ul li a i {
        width: 24px;
        margin-right: 15px;
        color: var(--primary-color);
    }

    .mobile-menu nav ul li a:hover {
        background: var(--light-gray);
        color: var(--primary-color);
    }
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .product-card {
        padding: 8px;
    }

    .product-card img {
        height: 140px;
    }

    .product-card h3 {
        font-size: 0.9rem;
        margin: 8px 0;
    }

    .product-card .price {
        font-size: 1rem;
    }

    .product-card .description {
        font-size: 0.8rem;
    }

    .buttons {
        flex-direction: column;
        gap: 8px;
    }

    .add-cart {
        padding: 8px;
        font-size: 0.9rem;
    }
}
/* Enhanced Search Bar */
.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 1rem;
}

/* Mobile Menu Click Outside */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}
@media (max-width: 768px) {
    .search-container {
        width: 100%;
        max-width: none;
        margin: 0.5rem 0;
    }

    .search-container input {
        width: calc(100% - 40px);
        padding: 12px;
        font-size: 16px;
    }

    .search-container button {
        width: 40px;
        padding: 12px;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .search-container button i {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .category-box {
        height: 180px;
        border-radius: 8px;
    }

    .category-box img {
        height: 100%;
        object-fit: cover;
    }

    .category-content {
        padding: 0.8rem;
    }

    .category-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .category-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        overflow: hidden;
    }
}
@media (max-width: 768px) {
    .profile-main {
        padding: 1rem;
    }

    .profile-card {
        padding: 1rem;
    }

    .profile-picture {
        width: 150px;
        height: 150px;
    }

    .profile-details {
        padding: 0;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-label {
        width: 100%;
    }

    .profile-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .cart-item img {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }
    
    .item-details {
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .item-total {
        width: 100%;
        text-align: center;
        padding: 0;
        margin-top: 1rem;
    }

    .quantity-controls {
        justify-content: center;
        margin: 1rem 0;
    }

    .cart-summary {
        position: static;
        margin-top: 2rem;
    }

    .summary-row {
        padding: 0.8rem 0;
    }

    .checkout-btn {
        padding: 1rem;
    }
}
.support-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
}

.support-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
}

.dropdown-content i {
    margin-right: 8px;
}
.support-options {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.support-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.support-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.support-btn:hover {
    background: #0056b3;
}
.support-options {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 2rem;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.card-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.card-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 50%;
}

.card-content {
    text-align: center;
}

.card-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    padding-left: 1rem;
}

.feature-list li {
    margin: 0.8rem 0;
    color: var(--text-color);
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.support-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.support-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .support-card {
        padding: 2rem;
    }
}
.ticket-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ticket-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ticket-form input,
.ticket-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

.ticket-details {
    margin-top: 2rem;
}

.ticket-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.open {
    background: #cce5ff;
    color: #004085;
}

.status-badge.in_progress {
    background: #fff3cd;
    color: #856404;
}

.status-badge.closed {
    background: #d4edda;
    color: #155724;
}

.ticket-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.ticket-message h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}
.tickets-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.ticket-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-3px);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ticket-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ticket-preview {
    color: #444;
    margin-bottom: 1rem;
}

.view-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-ticket-btn:hover {
    background: var(--hover-color);
}

.create-ticket-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}
.conversation-thread {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.message {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: white;
}

.admin-message {
    margin-left: 2rem;
    border-left: 4px solid var(--primary-color);
}

.user-message {
    margin-right: 2rem;
    border-left: 4px solid var(--accent-color);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #666;
}

.message-content {
    line-height: 1.6;
}
.ticket-closed-message {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border-radius: 8px;
    margin-top: 2rem;
}

.ticket-closed-message i {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.ticket-closed-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.ticket-closed-message p {
    color: #155724;
    margin-bottom: 1rem;
}

.new-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.new-ticket-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: translateY(-3px);
}

.chat-button i {
    font-size: 24px;
    color: white;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
}

.chat-container.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    max-width: 80%;
}

.message.user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message .avatar {
    width: 32px;
    height: 32px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.message-content {
    background: var(--light-gray);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-color);
}

.message.user .message-content {
    background: var(--primary-color);
    color: white;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-input form {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
}

.chat-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
}
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.chat-button i {
    font-size: 24px;
    color: white;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid white;
}
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
}

.chat-container.active {
    display: flex;
}
.chat-header {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    max-width: 80%;
}

.message.user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message .avatar {
    width: 32px;
    height: 32px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.message-content {
    background: var(--light-gray);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-color);
    position: relative;
}

.message.user .message-content {
    background: var(--primary-color);
    color: white;
}

.message-time {
    font-size: 0.8rem;
    color: #666;
    position: absolute;
    bottom: -1.2rem;
    right: 0;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-input form {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
}

.chat-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
}
.product-detail-main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-gallery {
    position: relative;
    margin-bottom: 2rem;
}

.product-image {
    display: none;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.product-image.active {
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.product-info {
    margin-bottom: 3rem;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00897b;
    margin-bottom: 1.5rem;
}

.add-cart-btn {
    background: #00897b;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-cart-btn:hover {
    background: #00796b;
    transform: translateY(-2px);
}

.product-reviews {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.review-form {
    margin-bottom: 2rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    cursor: pointer;
    font-size: 1.5rem;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffd700;
}

.review-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
}

.stars .filled {
    color: #ffd700;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-text {
    line-height: 1.6;
    color: #444;
}
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
.featured-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    width:200%;
}

.product-card-inner {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-card-inner {
        padding: 0.8rem;
    }

    .product-card img {
        height: 140px;
    }

    .product-card h3 {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .product-card .description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        display: -webkit-box;
        display: box;
        -webkit-box-orient: vertical;
        box-orient: vertical;
    }

    .product-card .price {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .add-cart {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* For index.php */
.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10rem;
}

/* For explore.php */
.explore-main .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    /* Mobile styles for index.php */
    .featured-products .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    /* Mobile styles for explore.php */
    .explore-main .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .explore-main .product-card-inner {
        padding: 10px;
        height: 400px;
    }

    .explore-main .product-card img {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .product-detail-container {
        padding: 1rem;
        width: 100%;
    }

    .product-info {
        width: 100%;
    }

    .product-info .description {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .product-detail-main {
        padding: 0.5rem;
    }
}
/* Desktop view - 4 columns for new arrivals */
.arrival-main .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

/* Mobile responsive view - 1 column for new arrivals */
@media (max-width: 768px) {
    .arrival-main .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .arrival-main .product-card {
        width: 100%;
    }
}
.similar-products {
    position: relative;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.similar-products h2 {
    margin-bottom: 2rem;
}

.similar-products-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0;
}

.similar-product-card {
    min-width: 250px;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.similar-product-card:hover {
    transform: translateY(-5px);
}

.similar-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slider-nav:hover {
    opacity: 1;
}

.prev-similar { left: -20px; }
.next-similar { right: -20px; }
/* Professional Review Section Styling */
.product-reviews {
    margin-top: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.product-reviews h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.review-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.rating-input label {
    font-size: 1.8rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffd700;
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-height: 120px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.review-form button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-form button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: var(--text-color);
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars .filled {
    color: #ffd700;
}

.review-date {
    margin-left: auto;
    color: #666;
    font-size: 0.9rem;
}

.review-text {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .product-reviews {
        padding: 1rem;
    }
    
    .review-form {
        padding: 1rem;
    }
    
    .review-header {
        flex-wrap: wrap;
    }
    
    .review-date {
        width: 100%;
        margin: 0.5rem 0;
    }
}
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.notification-content i {
    font-size: 2rem;
    color: #28a745;
}

.notification-content p {
    color: var(--text-color);
    font-weight: 500;
}

.notification-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.goto-cart {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.close-notification {
    background: var(--light-gray);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.goto-cart:hover,
.close-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Review Form Image Upload Styling */
.review-image-upload {
    margin: 15px 0;
    padding: 15px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.review-image-upload label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.review-image-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.review-image-upload small {
    display: block;
    color: #666;
    margin-top: 5px;
}

/* Review Images Display Styling */
.review-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.review-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-images img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/* Review Card Enhancement */
.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.review-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.review-image-container {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.review-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image-container img:hover {
    transform: scale(1.05);
}
.review-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    .review-images-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 10px 0;
    }

    .review-image-container {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }
}
.review-images-grid {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.review-image-container {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.review-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image-container img:hover {
    transform: scale(1.05);
}
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}
@media screen and (max-width: 768px) {
    .review-card {
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .review-images-grid {
        margin: 10px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
}
.product-gallery {
    width: 100%;
    max-width: 600px;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    display: none;
}

.product-image.active {
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-gallery {
    max-width: 600px;
}
.product-detail-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-gallery-section {
    flex: 0 0 600px;
}

.product-info {
    flex: 1;
    padding-top: 20px;
}

.product-info h1 {
    margin: 0 0 20px;
    font-size: 28px;
}

.product-info .description {
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-info .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.add-cart {
    width: 100%;
    max-width: 300px;
}
.slide-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}
.product-info {
    flex: 1;
    padding-top: 20px;
    max-width: 450px;
    margin-left: 20px;
}

.product-info .description {
    margin: 24px 0;
    line-height: 1.8;
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    width: 100%;
    padding-right: 20px;
}
@media screen and (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .product-gallery-section {
        flex: none;
        width: 100%;
    }

    .product-gallery {
        height: 350px;
    }

    .product-info {
        margin-left: 0;
        padding: 0 15px;
        max-width: 100%;
    }

    .product-info h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .product-info .description {
        padding-right: 0;
        margin: 15px 0;
    }

    .add-cart {
        width: 100%;
    }

    .thumbnail-gallery {
        width: 100%;
        justify-content: center;
    }
}
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.featured-slider-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.featured-row {
    position: relative;
    margin: 30px 0;
}

.featured-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
}

.featured-slide {
    min-width: 200px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-slide:hover {
    transform: translateY(-5px);
}

.featured-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-slide h3 {
    margin: 10px 0;
    font-size: 1rem;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-featured, .prev-featured2 { left: -20px; }
.next-featured, .next-featured2 { right: -20px; }

@media (max-width: 768px) {
    .featured-slide {
        min-width: 160px;
    }
    
    .featured-slide img {
        height: 140px;
    }
    
    .slide-nav {
        width: 35px;
        height: 35px;
    }
}
.featured-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-product-link:hover {
    opacity: 0.9;
}
body {
    background: linear-gradient(135deg, #eef2f7, #E0FFFF);
}

main {
    background: linear-gradient(135deg, #eef2f7, #E0FFFF);
}

.product-card, .featured-slide {
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover, .featured-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.featured-slide .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00897b;    /* Teal */
;
    margin: 8px 0;
}
.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide-content .price {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
    font-weight: 600;
}
.category-main .product-grid,
.search-main .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .category-main .product-grid,
    .search-main .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        padding: 0rem;
    }
}
.color-selection {
    margin: 20px 0;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    cursor: pointer;
}

.color-option input[type="radio"] {
    display: none;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.color-option input[type="radio"]:checked + .color-circle {
    border-color: #000;
    transform: scale(1.1);
}
.slide {
    position: relative;
    width: 100%;
    height: 420px;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: auto;
    max-width:40%;
    height: 320px;
    object-fit: contain;
    background: #fff;
    margin: 0 auto;
    display: block;
}
.logo-container {
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: auto;
}

.logo {
    width: 150px;
    height: auto;
    margin-left: 0;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 100%;
}

footer {
    width: 100%;
    max-width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .logo {
        width: 120px;
    }
    
    .top-header {
        padding: 1rem;
    }
}
@media (max-width: 768px) {
    .slide {
        height:400px;
    }

    .slide img {
        width: 100%;
        max-width: 100%;
        height: 250px;
        object-fit: contain;
        margin: 0 auto;
    }

    .hero-slider {
        max-width: 100%;
        margin: 1rem auto;
        height: auto;
    }
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-similar { 
    left: 10px; 
}

.next-similar { 
    right: 10px; 
}

@media (max-width: 768px) {
    .slider-nav {
        width: 30px;
        height: 30px;
    }

    .similar-products {
        position: relative;
        overflow: hidden;
        padding: 0 15px;
    }

    .similar-products-slider {
        padding: 0 20px;
    }
}
.category-box {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-box:hover .category-content {
    transform: translateY(-5px);
}
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #666;
}

.toggle-password:hover {
    color: var(--primary-color);
}
.feature-list .fas.fa-check {
    font-size: 0.9em;
    margin-right: 5px;
    line-height: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 8px;
}
.support-grid {
    max-width: 1200px; /* Increased container width */
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

@media screen and (max-width: 768px) {
    .support-grid {
        width: 100%;
        gap: 20px;
    }
}
/* Order Summary Styles */
.order-summary {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.order-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.order-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.order-totals {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    color: var(--text-color);
}

.grand-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .confirmation-container {
        padding: 1rem;
        margin: 1rem;
    }

    .order-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .order-item img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .item-details {
        text-align: center;
    }

    .shipping-details {
        padding: 1rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .confirmation-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .view-orders-btn,
    .continue-shopping-btn {
        width: 100%;
        text-align: center;
    }

    .order-summary {
        padding: 1rem;
    }

    .total-row {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .grand-total {
        font-size: 1.1rem;
    }
}
/* Root level containment */
:root {
    overflow-x: hidden;
}

body {
    position: relative;
    width: 100vw;
    overflow-x: hidden;
}

main {
    width: 100%;
    overflow-x: hidden;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .confirmation-container,
    .order-summary,
    .shipping-details,
    .order-details,
    .confirmation-actions {
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .order-item {
        margin: 10px 0;
        width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
@media (max-width: 768px) {
    .confirmation-container {
        width: 100%;
        padding: 15px;
        margin: 0 auto;
    }

    .order-summary,
    .shipping-details,
    .order-details,
    .confirmation-actions {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
    }

    .order-item {
        width: 100%;
        margin: 10px auto;
    }

    .detail-row,
    .total-row {
        width: 100%;
        padding: 5px 0;
    }

    main {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
}
footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.checkout-button {
    width: 100%;
    padding: 15px 25px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.checkout-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}
.cart-count, .cart-count-mobile {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2ecc71;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-notification.show {
    display: flex;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 10px;
    color: #666;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-link .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .cart-link .cart-count {
        display: flex !important;
    }
}
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.search-icon {
    position: absolute;
    right: 15px;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #2ecc71;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.1);
}
.register-btn {
    background-color: #00897b;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #00796b;
}
.refer-earn-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.refer-earn-container h1 {
    color: #00897b;
    text-align: center;
    margin-bottom: 30px;
}

.earnings-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.earning-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.earning-box h3 {
    color: #666;
    margin-bottom: 10px;
}

.earning-box .amount {
    font-size: 24px;
    color: #00897b;
    font-weight: bold;
    margin: 10px 0;
}

.view-details {
    color: #00897b;
    text-decoration: none;
    font-size: 14px;
}

.referral-info {
    display: grid;
    gap: 20px;
    margin: 40px -33px;
}

.referral-code-box, .referral-link-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.code-display, .link-display {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.code-display input, .link-display input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    font-size: 14px;
}

.copy-btn {
    background: #00897b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #00796b;
}

.how-it-works {
    text-align: center;
    margin-top: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step i {
    font-size: 24px;
    color: #00897b;
    margin-bottom: 10px;
}

.step h3 {
    color: #333;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    font-size: 14px;
}
.referred-friends-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.referred-friends-container h1 {
    color: #00897b;
    text-align: center;
    margin-bottom: 30px;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.friend-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

.friend-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.friend-header i {
    font-size: 24px;
    color: #00897b;
}

.friend-header h3 {
    color: #333;
    margin: 0;
}

.friend-details {
    margin-bottom: 15px;
}

.friend-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin: 5px 0;
}

.friend-details i {
    color: #00897b;
}

.order-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: #00897b;
    font-size: 20px;
    font-weight: bold;
}

.no-referrals {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-referrals i {
    font-size: 48px;
    color: #00897b;
    margin-bottom: 20px;
}

.back-btn {
    display: inline-block;
    background: #00897b;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #00796b;
}

.clickable {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable:hover {
    transform: translateY(-2px);
}

.earnings-details-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.earnings-list {
    margin-top: 20px;
}

.earning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.earning-info h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.earning-info p {
    margin: 5px 0;
    color: #666;
}

.earning-amount {
    font-size: 24px;
    font-weight: bold;
    color: #00897b;
}
.earnings-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.total-earnings {
    text-align: center;
    margin-bottom: 20px;
}

.total-earnings .amount {
    font-size: 36px;
    color: #00897b;
    font-weight: bold;
    margin: 10px 0;
}

.withdraw-btn {
    background: #00897b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.withdraw-note {
    color: #666;
    font-size: 14px;
}

.referral-progress {
    margin-top: 20px;
}

.progress-bar {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.progress {
    background: #00897b;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s;
}

.how-it-works {
    margin: 40px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step i {
    font-size: 24px;
    color: #00897b;
    margin-bottom: 10px;
}
.withdrawal-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.withdrawal-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.withdrawal-form .form-group {
    margin-bottom: 20px;
}

.withdrawal-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.withdrawal-form select,
.withdrawal-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.withdrawal-form .submit-btn {
    background: #00897b;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
}

.withdrawal-form .submit-btn:hover {
    background: #00796b;
}
.withdrawal-tracking {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-withdrawals {
    margin-top: 15px;
}

.withdrawal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.withdrawal-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.withdrawal-info .amount {
    font-weight: bold;
    font-size: 18px;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.status.pending { background: #fff3cd; color: #856404; }
.status.processed { background: #cce5ff; color: #004085; }
.status.completed { background: #d4edda; color: #155724; }

.withdrawal-history-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.withdrawal-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.withdrawal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.amount-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-row {
    display: flex;
    margin: 10px 0;
}

.detail-row .label {
    width: 150px;
    color: #666;
}

.detail-row .value {
    font-weight: 500;
}

.view-all-btn {
    display: inline-block;
    margin-top: 15px;
    color: #00897b;
    text-decoration: none;
}
.email-verification {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#send-otp {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#send-otp:hover {
    background: #45a049;
}

.otp-section {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.otp-section input {
    width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.otp-section button {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.otp-section button:hover {
    background: #1976D2;
}

#verification-status {
    font-size: 14px;
}

#verification-status.success {
    color: #4CAF50;
}

#verification-status.error {
    color: #f44336;
}

.register-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
.profile-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-icon {
    font-size: 150px;
    color: #ccc;
}
@media (max-width: 768px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
        width:140%;
    }
    
    .product-card {
        width: 100%;
        margin: 0;
    }
    
    .product-card img {
        height: auto;
        object-fit: cover;
    }
    
    .product-card h3 {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .product-card .price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        padding:0 0;
    }
}
.loading-spinner {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: #333;
}
/* Desktop styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card-inner {
    padding: 15px;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Maintain mobile responsiveness */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/* Index page specific product grid */
.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width:145%;
}

.featured-products .product-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-products .product-card-inner {
    padding: 15px;
}

.featured-products .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Mobile responsiveness for index page */
@media (max-width: 768px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}
.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    text-align: center;
}

.slide-overlay h2 {
    margin-bottom: 10px;
}

.slide-overlay .price {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.slide-overlay .add-cart {
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slide-overlay .add-cart:hover {
    background: #ff0000;
}
.slide img {
    width: 100%;
    height: 500px;  /* Increased height for better visibility */
    object-fit: cover;  /* Ensures image covers full area */
}

.slide-overlay .add-cart {
    background: #2874f0;  /* Site's theme blue color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slide-overlay .add-cart:hover {
    background: #1c5ad4;  /* Darker shade for hover effect */
}
.slide-overlay .add-cart {
    background: var(--primary-color);    /* Teal: #00897b */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-overlay .add-cart:hover {
    background: var(--hover-color);    /* Lighter teal: #00a699 */
}
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slide-link:hover {
    cursor: pointer;
}
/* Featured Products Section */
.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.featured-products .product-card {
    width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-products .product-card-inner {
    padding: 15px;
}

.featured-products .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.featured-products .product-card h3 {
    margin: 10px 0;
    font-size: 1.1em;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }

    .featured-products .product-card {
        width: 160px;
    }

    .featured-products .product-card img {
        height: 150px;
    }
}
/* Featured Products Section */
.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.featured-products .product-card {
    width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 120%;
        padding: 5px;
        margin: 0 auto;
        justify-content: center;
    }

    .featured-products .product-card {
        width: 103%;
        max-width: 180px;
        margin: 0 auto;
    }

    .featured-products .product-card img {
        height: 140px;
    }

    .featured-products .product-card-inner {
        padding: 8px;
    }
}

/* Additional spacing control for smallest screens */
@media (max-width: 375px) {
    .featured-products .product-grid {
        width: 95%;
        gap: 10px;
    }
    
    .featured-products .product-card {
        max-width: 140px;
    }
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.video-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.video-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 15px;
}

.video-container iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

@media screen and (max-width: 768px) {
    .video-container {
        padding: 0 10px;
    }
    
    .video-container iframe {
        height: 215px;
    }
}

@media screen and (max-width: 480px) {
    .video-container iframe {
        height: 200px;
    }
}
