:root {
  --primary-orange: #FF6B35;
  --primary-yellow: #F7931E;
  --success-green: #28a745;
  --urgent-red: #dc3545;
  --trust-blue: #007bff;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #e55a2e;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: var(--white);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.loading {
  text-align: center;
  padding: 2rem;
}

.spinner {
  border: 4px solid var(--bg-light);
  border-top: 4px solid var(--primary-orange);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

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

.header {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.menu-icon {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-icon {
  position: relative;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--urgent-red);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero {
  background: linear-gradient(rgba(255,107,53,0.9), rgba(247,147,30,0.9));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
}

.proof-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.proof-text {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.9;
}

.urgency-banner {
  background: var(--urgent-red);
  color: var(--white);
  text-align: center;
  padding: 0.8rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.countdown {
  font-weight: 700;
  font-size: 1.1rem;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

.categories {
  padding: 4rem 0;
  background: var(--bg-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.featured-products {
  padding: 4rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--urgent-red);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--primary-orange), var(--primary-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: var(--primary-yellow);
}

.rating-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.original-price {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.payment-options {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.payment-badge {
  background: var(--success-green);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.search-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.search-filter input, .search-filter select {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  flex: 1;
  min-width: 150px;
}

.testimonials {
  padding: 4rem 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-orange);
  position: absolute;
  top: -10px;
  left: 20px;
}

.testimonial-text {
  margin: 1rem 0;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.author-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

.trust-section {
  padding: 4rem 0;
  background: var(--trust-blue);
  color: var(--white);
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  font-size: 3rem;
  color: var(--primary-yellow);
}

.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-orange);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--bg-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--primary-orange);
}

.slogan {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--text-light);
}

.social-icons a {
  color: var(--white);
  font-size: 1.2rem;
  margin-right: 1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--text-light);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s;
  z-index: 2000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.cart-content {
  flex-grow: 1;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  background: var(--primary-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: var(--primary-orange);
  font-weight: 600;
}

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

.qty-btn {
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-total {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

.total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2500;
  justify-content: center;
  align-items: center;
}

.product-modal-content {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-modal-image {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal-info {
  display: flex;
  flex-direction: column;
}

.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.admin-modal-content {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.admin-modal-content h2 {
  margin-bottom: 1.5rem;
}

.admin-modal-content input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--primary-orange);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem;
  }

  .menu-icon {
    display: block;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .cart-icon {
    position: relative;
  }

  .cart-count {
    top: -4px;
    right: -4px;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .social-proof {
    gap: 1rem;
  }

  .proof-number, .proof-text {
    color: var(--white);
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid, .categories-grid, .testimonials-grid, .trust-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    max-height: 95vh;
  }

  .product-modal-image {
    height: 250px;
  }
}

/* --- New Styles for Additional Pages --- */

.category-nav {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.category-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.category-nav a:hover {
  background-color: var(--primary-orange);
  color: var(--white);
}

.category-nav a.active {
  background-color: var(--primary-orange);
  color: var(--white);
  font-weight: 600;
}

.about-section {
  padding: 4rem 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-mission, .about-values {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }

/* --- New Styles for the Contact Page --- */
.contact-section {
    padding: 4rem 0;
}

.contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.contact-form-container,
.contact-info-container {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form-container h3,
.contact-info-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    resize: vertical; /* Allows the user to resize the textarea vertically */
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.info-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.info-socials {
    margin-top: 2rem;
}

.info-socials h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-socials a {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s;
}

.info-socials a:hover {
    color: var(--primary-orange);
}

