/* Home Page Styles */
/* Main variables */
:root {
  --primary: #35a79c;
  --primary-dark: #1e4a69;
  --primary-light: #4ecdc4;
  --secondary: #f7b731;
  --dark: #232342;
  --darker: #121212;
  --light: #f9fafb;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --container-width: 1200px;
  --header-height: 80px;
  --transition: all 0.3s ease;
  --gradient-purple: linear-gradient(90deg, #7928ca, #ff0080, #7928ca);
  --gradient-purple-btn: linear-gradient(120deg, #7928ca, #ff0080);
  --gradient-teal: linear-gradient(120deg, #35a79c, #209cb3, #1e4a69);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: var(--light);
  line-height: 1.6;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-purple-btn);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:hover {
  box-shadow: 0 5px 15px rgba(121, 40, 202, 0.3);
  transform: translateY(-2px);
}

body.dark-mode .btn-primary {
  background: var(--gradient-teal);
  background-size: 200% 100%;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--darker);
  box-shadow: 0 4px 15px rgba(247, 183, 49, 0.3);
}

.btn-secondary:hover {
  background-color: #eaa615;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-weight: 600;
  font-size: 20px;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.search-container {
  flex: 1;
  max-width: 400px;
  margin: 0 20px;
  position: relative;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 45px;
  padding: 0 20px;
  padding-right: 50px;
  border-radius: 50px;
  border: 2px solid var(--light-gray);
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  color: var(--dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.search-input::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-purple);
  background-size: 200% 100%;
  animation: waveAnimation 3s infinite linear;
  transform: translateY(5px);
  transition: transform 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #7928ca;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(121, 40, 202, 0.15);
}

.search-input:focus::before {
  transform: translateY(0);
}

.search-input::placeholder {
  color: var(--gray);
  opacity: 0.7;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-purple-btn);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.search-btn i {
  font-size: 14px;
}

body.dark-mode .search-btn i {
  color: white;
}

/* Dark mode search bar styles */
body.dark-mode .search-input {
  background-color: rgba(35, 35, 66, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

body.dark-mode .search-input:focus {
  border-color: var(--primary-light);
  background-color: rgba(35, 35, 66, 1);
  box-shadow: 0 0 0 3px rgba(53, 167, 156, 0.25);
}

body.dark-mode .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .search-btn {
  background: var(--gradient-teal);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
}

body.dark-mode .search-btn:hover {
  background-color: var(--primary);
}

/* Animation for gradient shift */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animation for wave effect */
@keyframes waveAnimation {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Animation for gradient movement */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Search results styling moved to Home.css from JS */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 5px;
  border: 1px solid var(--light-gray);
}

body.dark-mode .search-results {
  background-color: var(--dark);
  box-shadow: var(--dark-shadow);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-result-item {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

body.dark-mode .search-result-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: rgba(53, 167, 156, 0.1);
}

body.dark-mode .search-result-item:hover {
  background-color: rgba(53, 167, 156, 0.2);
}

.search-result-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 500;
  margin-bottom: 3px;
  color: var(--dark);
}

body.dark-mode .search-result-name {
  color: var(--light);
}

.search-result-category {
  font-size: 0.8rem;
  color: var(--primary);
}

.search-result-price {
  font-weight: 600;
  color: var(--dark);
}

body.dark-mode .search-result-price {
  color: var(--light);
}

.no-results {
  padding: 15px;
  text-align: center;
  color: var(--gray);
}

/* Search bar responsive adjustments */
@media (max-width: 900px) {
  .search-container {
    max-width: 300px;
    margin: 0 15px;
  }
  
  .search-input {
    height: 40px;
    font-size: 13px;
    padding: 0 15px;
    padding-right: 45px;
  }
  
  .search-btn {
    width: 32px;
    height: 32px;
  }
}

.main-nav {
  display: flex;
  margin-right: 30px;
}

.nav-list {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-purple);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
  animation: waveAnimation 3s infinite linear;
}

body.dark-mode .nav-link::after {
  background: var(--gradient-teal);
  background-size: 200% 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Auth Links Styling - Uses nav-header.css for consistent styling across all pages */

/* Auth Links in Header - Fix alignment */
.header-actions .auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Direct Theme Toggle Animation */
.home-page .site-header .header-actions .theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 99;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}

.home-page .site-header .header-actions .theme-toggle:hover {
  background-color: rgba(121, 40, 202, 0.1);
}

body.dark-mode.home-page .site-header .header-actions .theme-toggle:hover {
  background-color: rgba(53, 167, 156, 0.2);
}

/* Theme Toggle Icons - Direct children */
.home-page .site-header .theme-toggle i.fas {
  position: absolute;
  font-size: 18px;
  transition: all 0.3s ease;
}

/* Light Icon (Sun) */
.home-page .site-header .theme-toggle i.fas.light-icon {
  opacity: 0;
  transform: translateY(20px) rotate(120deg);
  background: linear-gradient(120deg, #7928ca, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
}

/* Dark Icon (Moon) */
.home-page .site-header .theme-toggle i.fas.dark-icon {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(120deg, #7928ca, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
}

/* Dark Mode Active State */
body.dark-mode.home-page .site-header .theme-toggle i.fas.dark-icon {
  opacity: 0;
  transform: translateY(-20px) rotate(-120deg);
}

body.dark-mode.home-page .site-header .theme-toggle i.fas.light-icon {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(120deg, #35a79c, #209cb3, #1e4a69);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
}

.account-link,
.cart-link,
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: #333;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--primary);
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 20px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-link {
  color: #333;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link.active {
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.hero-section .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--gray);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Categories Section */
.categories-section {
  padding: 80px 0;
}

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

.category-card {
  padding: 30px;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-purple);
  background-size: 200% 100%;
  transform: scaleX(0);
  transition: transform 0.5s ease;
  z-index: 1;
}

.category-card:hover::before {
  transform: scaleX(0);
  animation: none;
}

body.dark-mode .category-card::before {
  background: var(--gradient-teal);
  background-size: 200% 100%;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  width: 80px;
  height: 80px;
  background-color: rgba(53, 167, 156, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.category-description {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===========================================
   Product card styles are now in product-cards.css
   All pages share the same unified styles
   =========================================== */

.section-cta {
  text-align: center;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
}

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

.benefit-card {
  text-align: center;
  padding: 30px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.benefit-description {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 20px;
  padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(50% - 15px);
  scroll-snap-align: start;
  background-color: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 1rem;
  margin-bottom: 5px;
}

.author-title {
  font-size: 0.8rem;
  color: var(--gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gradient-purple-btn);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
}

body.dark-mode .testimonial-dots .dot.active {
  background: var(--gradient-teal);
  background-size: 200% 100%;
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background-color: var(--primary);
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-form .btn-primary {
  background-color: var(--secondary);
  color: var(--dark);
}

.newsletter-form .btn-primary:hover {
  background-color: #eaa615;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #a0aec0;
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-icon {
  font-size: 1.5rem;
  color: #a0aec0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
  color: #a0aec0;
}

.back-to-top a {
  width: 40px;
  height: 40px;
  background: var(--gradient-purple-btn);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

body.dark-mode .back-to-top a {
  background: var(--gradient-teal);
  background-size: 200% 100%;
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: var(--darker);
  color: var(--light);
}

body.dark-mode .site-header {
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .logo,
body.dark-mode .nav-link,
body.dark-mode .theme-toggle,
body.dark-mode .account-link,
body.dark-mode .cart-link,
body.dark-mode .mobile-menu-toggle {
  color: var(--light);
}

body.dark-mode .nav-link::after {
  background-color: var(--primary-light);
}

body.dark-mode .search-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

body.dark-mode .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .mobile-menu {
  background-color: var(--dark);
}

body.dark-mode .mobile-nav-link {
  color: var(--light);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hero-section {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

body.dark-mode .hero-title,
body.dark-mode .section-title {
  color: var(--light);
}

body.dark-mode .hero-subtitle,
body.dark-mode .section-subtitle {
  color: #a0aec0;
}

body.dark-mode .category-card,
body.dark-mode .testimonial-card {
  background-color: var(--dark);
  box-shadow: var(--dark-shadow);
}

body.dark-mode .category-title,
body.dark-mode .testimonial-text,
body.dark-mode .author-name {
  color: var(--light);
}

body.dark-mode .category-description,
body.dark-mode .testimonial-author,
body.dark-mode .author-title {
  color: #a0aec0;
}

body.dark-mode .featured-section,
body.dark-mode .testimonials-section {
  background-color: var(--darker);
}

body.dark-mode .dot {
  background-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .wishlist-btn {
  border-color: #a0aec0;
  color: #a0aec0;
}

body.dark-mode .newsletter-input {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

body.dark-mode .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Light/Dark Mode Icons */
body .dark-icon {
  display: inline-block;
}

body .light-icon {
  display: none;
}

body.dark-mode .dark-icon {
  display: none;
}

body.dark-mode .light-icon {
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .search-container {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero-section .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image {
    justify-content: center;
    margin-top: 40px;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn-primary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }
  
  .search-container {
    display: none;
  }
  
  .logo-text {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .categories-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Shopping Cart Icon Styling - Copied from nav-header.css and animated-text.css */
.nav-cart {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 22px; /* Increased from 17px to make shopping icon larger */
}

.nav-cart:hover {
  color: #9c27b0;
}

body:not(.dark) .nav-cart {
  color: #333;
}

body:not(.dark) .nav-cart:hover {
  color: #9c27b0;
}

/* Cart Count Badge */
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff9800;
  color: #1a1a1a;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
}

/* Light mode navigation icons animation */
body:not(.dark) .nav-cart i.fas.fa-shopping-cart,
body:not(.dark-mode) .cart-link i.fas.fa-shopping-cart {
  background: linear-gradient(120deg, #3f51b5, #8e24aa, #5c6bc0, #9c27b0);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* Dark mode navigation icons animation - targeting both class variations */
body.dark-mode .nav-cart i.fas.fa-shopping-cart,
body.dark .nav-cart i.fas.fa-shopping-cart,
body.dark-mode .cart-link i.fas.fa-shopping-cart,
body.dark .cart-link i.fas.fa-shopping-cart {
  background: linear-gradient(120deg, #35a79c, #209cb3, #1e4a69, #35a79c);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  text-shadow: none;
}
