/* ============================================
   BABYPRODUCTS - MAIN STYLESHEET
   Modern, Responsive, and Accessible Design
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ============================================
   ROOT - COLOR PALETTE & VARIABLES
   ============================================ */

:root {
  /* Primary Colors - Soft Pastel Palette */
  --primary-blue: #a8d8ea;
  --primary-pink: #f0a8d8;
  --primary-cream: #ffefd5;
  --primary-white: #ffffff;
  
  /* Secondary Colors */
  --secondary-light-blue: #c5e8f7;
  --secondary-light-pink: #f7d4e8;
  --secondary-peach: #ffe5cc;
  
  /* Text Colors */
  --text-dark: #2d3436;
  --text-light: #636e72;
  --text-lighter: #95a5a6;
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  
  /* Accent Colors */
  --accent-success: #4ecdc4;
  --accent-warning: #f39c12;
  --accent-danger: #e74c3c;
  
  /* Borders & Shadows */
  --border-light: #ecf0f1;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

/* Dark Mode Colors */
[data-theme="dark"] {
  --text-dark: #f8f9fa;
  --text-light: #b0bec5;
  --text-lighter: #90a4ae;
  --bg-light: #1e1e1e;
  --bg-white: #2d2d2d;
  --border-light: #404040;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--text-dark);
}

.btn-outline {
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ============================================
   CONTAINERS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-gradient {
  background: linear-gradient(135deg, rgba(168, 216, 234, 0.1), rgba(240, 168, 216, 0.1));
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  width: 35px;
  height: 35px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  background-color: var(--bg-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--primary-blue);
}

.search-icon, .cart-icon {
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.search-icon:hover, .cart-icon:hover {
  color: var(--primary-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  color: var(--text-dark);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-image {
  text-align: center;
  animation: slideInRight 0.8s ease-out;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-success);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.85rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-benefits {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.product-benefits h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-benefits ul {
  list-style: none;
  padding-left: 0;
}

.product-benefits li {
  padding: 0.25rem 0;
  color: var(--text-light);
}

.product-benefits li::before {
  content: '✓ ';
  color: var(--accent-success);
  font-weight: bold;
  margin-right: 0.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.product-cta {
  width: 100%;
  text-align: center;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.category-count {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   INFO CARDS
   ============================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.info-card:hover {
  border-left-color: var(--primary-pink);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.info-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-blue);
  margin: 1rem 0;
  transition: var(--transition);
}

.testimonial:hover {
  border-top-color: var(--primary-pink);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.testimonial-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.stars {
  color: var(--accent-warning);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-white);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
}

.faq-toggle {
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-container {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.newsletter-container h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.newsletter-container p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

.newsletter-form button {
  padding: 0.75rem 2rem;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--bg-light);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.75rem 0;
}

.footer-section a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-blue);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  transition: var(--transition);
  cursor: pointer;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border-light);
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* ============================================
   SEARCH & FILTER
   ============================================ */

.search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background-color: var(--bg-white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(168, 216, 234, 0.1);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--border-light);
  background-color: transparent;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue);
  color: var(--text-dark);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  background-color: var(--bg-light);
  padding: 1rem 0;
  margin: 0 0 2rem 0;
  border-radius: 8px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-item {
  color: var(--text-light);
  font-size: 0.95rem;
}

.breadcrumb-item a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.breadcrumb-item a:hover {
  color: var(--primary-pink);
}

.breadcrumb-separator {
  color: var(--text-lighter);
}

/* ============================================
   BLOG
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-white);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(168, 216, 234, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  border-color: var(--accent-danger);
}

.error-message {
  color: var(--accent-danger);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.success-message {
  color: var(--accent-success);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 15px; }
.rounded-full { border-radius: 50%; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden { display: none !important; }
.visible { display: block !important; }

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--primary-blue);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 300px;
  }

  .nav-menu li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-buttons {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .nav-right {
    gap: 1rem;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #f0f0f0;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .footer,
  .newsletter-container,
  .hamburger {
    display: none !important;
  }

  body {
    background-color: white;
  }

  .product-card,
  .blog-card,
  .testimonial {
    page-break-inside: avoid;
  }
}
