/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #FFE0B2;
  top: -100px;
  right: -50px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #C8E6C9;
  bottom: -50px;
  left: 10%;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #B3E5FC;
  top: 20%;
  left: 5%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFF3E0;
  color: #E65100;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero-title span {
  font-weight: 800;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Slider */
.hero-slider {
  position: relative;
}

.slider-track {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.slider-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.thumb {
  width: 60px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}

.thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.slide-btn:hover {
  background: var(--primary);
  color: #fff;
}

.slide-btn.prev {
  left: -18px;
}

.slide-btn.next {
  right: -18px;
}

/* ===== CATEGORY BANNERS ===== */
.category-banners {
  margin: 3rem auto;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
  cursor: pointer;
  transition: var(--transition);
}

.category-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-banner:hover img {
  transform: scale(1.08);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.banner-overlay h3 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.banner-overlay span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}

/* ===== SHOP SECTION ===== */
.shop-section {
  margin: 2rem auto 3rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

.shop-sidebar {
}

.sidebar-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

.category-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}

.category-nav li a:hover,
.category-nav li a.active {
  background: #FFF0F0;
  color: var(--primary);
  font-weight: 600;
}

.cat-count {
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 100px;
}

.category-nav li a.active .cat-count {
  background: var(--primary);
  color: #fff;
}

.price-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sort-select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  background: #fff;
  outline: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.sort-select:focus {
  border-color: var(--primary);
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.active-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tag {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-tag button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.7rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

/* ===== SUBSCRIBE CTA ===== */
.subscribe-cta {
  background: linear-gradient(135deg, var(--dark2) 0%, #16213E 100%);
  padding: 5rem 0;
  margin: 4rem 0;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 60, 60, 0.2);
  color: var(--primary);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.cta-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-text h2 span {
  color: var(--primary);
}

.cta-text p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
}

.cta-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}

.cta-form input:focus {
  border-color: var(--primary);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form button {
  padding: 0.85rem 1.75rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-form button:hover {
  background: var(--primary-dark);
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  margin: 3rem auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card .feat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.5;
}

.feature-card:nth-child(1) {
  background: #FF6B6B;
  color: #fff;
}

.feature-card:nth-child(2) {
  background: #4ECDC4;
  color: #fff;
}

.feature-card:nth-child(3) {
  background: #45B7D1;
  color: #fff;
}

.feature-card:nth-child(4) {
  background: #96CEB4;
  color: #fff;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-slider {
    display: none;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
  }

  .banner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* shopping process */

.shopping-process {
  text-align: center;
  background-color: var(--light-bg);
  padding: 2rem 1rem;
}

.shopping-process h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.process-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1250px;
  position: relative;
}

.step {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
  z-index: 2;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.step-icon {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.step-details h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.line {
  width: 1000px;
  height: 2px;
  background-color: var(--text-muted);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.process-steps .step:nth-child(odd) .line {
  left: 100%;
  margin-left: 15px;
}

.process-steps .step:nth-child(even) .line {
  right: 100%;
  margin-right: 15px;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .line {
    display: none;
  }
}

/* ===================================================================
  FAQ SECTION - PROPERLY STYLED
=================================================================== */

.faq-section {
  background-color: var(--light-bg);
  padding: 80px 0;
  border-radius: var(--radius);
}

.faq-section .container {
  max-width: 900px;
  /* Constrain width for better readability */
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* --- Individual FAQ Item --- */
.faq-item {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  /* Ensures the border-radius clips the content */
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  /* Subtle lift effect */
}

/* --- FAQ Header (The Clickable Part) --- */
.faq-header {
  display: flex;
  justify-content: space-between;
  /* Pushes title and icon apart */
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  width: 100%;
}

.faq-header h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}

/* --- Toggle Icon --- */
.toggle-icon {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  /* Prevents icon from shrinking */
}

/* --- Icon rotation when active --- */
.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

/* --- FAQ Answer (The Hidden Content) --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 30px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Answer styling when the item is active --- */
.faq-item.active .faq-answer {
  max-height: 500px;
  /* A large enough value to fit content */
  opacity: 1;
  padding: 0 30px 25px 30px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .faq-header {
    padding: 20px;
  }

  .faq-header h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
}