/* ====================================
   ESTUFAS A LEÑA — DESIGN SYSTEM
   Paleta: Negro carbón, Naranja fuego, Beige/crema, Blanco humo
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --carbon: #1A1A1A;
  --carbon-light: #2A2A2A;
  --carbon-mid: #333333;
  --fire: #E8460A;
  --fire-glow: #FF6B2C;
  --fire-deep: #C73A08;
  --ember: #FF8C42;
  --cream: #F2EAD3;
  --smoke: #F8F6F2;
  --warm-gray: #9A9185;
  --warm-gray-light: #C4BBB0;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-w: 900px;
  --max-w-wide: 1100px;
  --section-py: 100px;
  --section-py-mobile: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--smoke);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--fire-glow);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--fire), var(--fire-deep));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 70, 10, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--fire-glow), var(--fire));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 70, 10, 0.5);
}

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

.btn--secondary:hover {
  background: var(--fire);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--carbon);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.6);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(26, 26, 26, 0.4) 0%,
      rgba(26, 26, 26, 0.7) 60%,
      rgba(26, 26, 26, 0.95) 100%);
  z-index: 1;
}

/* Animated glow effect */
.hero__glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 70, 10, 0.25) 0%, transparent 70%);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  background: rgba(232, 70, 10, 0.15);
  color: var(--fire-glow);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 70, 10, 0.3);
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: #fff;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--fire-glow);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--warm-gray-light);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- STICKY NAV ---------- */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--carbon);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition);
}

.sticky-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px;
}

.sticky-nav__inner::-webkit-scrollbar {
  display: none;
}

.sticky-nav__link {
  display: block;
  padding: 16px 20px;
  color: var(--warm-gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.sticky-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--fire);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.sticky-nav__link:hover,
.sticky-nav__link.active {
  color: #fff;
}

.sticky-nav__link.active::after {
  width: 70%;
}

/* ---------- SECTION BASE ---------- */
.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--carbon);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section--alt {
  background: linear-gradient(180deg, var(--smoke) 0%, #EDE8DC 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header p {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--warm-gray);
  font-size: 1.1rem;
}

.section--dark .section__header p {
  color: var(--warm-gray-light);
}

.section__label {
  display: inline-block;
  color: var(--fire);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__footer-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--warm-gray);
  font-style: italic;
}

.section--dark .section__footer-note {
  color: var(--warm-gray-light);
}

/* ---------- INTRO / WHAT IS ---------- */
.intro-content {
  max-width: 780px;
  margin: 0 auto;
}

.intro-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #444;
}

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

.intro-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

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

.intro-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.intro-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.intro-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-bottom: 0;
}

.intro-highlight {
  background: linear-gradient(135deg, var(--carbon), var(--carbon-mid));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 40px;
  border-left: 4px solid var(--fire);
  font-size: 1rem;
}

.intro-highlight strong {
  color: var(--fire-glow);
}

/* ---------- COMPARISON TABLE ---------- */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: #fff;
  font-size: 0.95rem;
}

.comparison-table thead th {
  background: var(--carbon);
  color: #fff;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
}

.comparison-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comparison-table thead th.th-tromen {
  color: var(--fire-glow);
}

.comparison-table thead th.th-nuke {
  color: var(--ember);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(242, 234, 211, 0.3);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--carbon);
  background: rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.comparison-prose {
  max-width: 780px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
}

/* ---------- PRODUCT CARDS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.section--dark .product-card {
  background: var(--carbon-light);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--carbon);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--fire);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section--dark .product-card__name {
  color: #fff;
}

.product-card__specs {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.product-card__specs li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section--dark .product-card__specs li {
  color: var(--warm-gray-light);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.product-card__specs li:last-child {
  border-bottom: none;
}

.product-card__specs li::before {
  content: '✦';
  color: var(--fire);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.product-card__cta {
  margin-top: auto;
}

.product-card__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- GUIDE SECTION ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--fire);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.guide-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.guide-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.guide-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.guide-card .recommendation {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(232, 70, 10, 0.06);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--fire-deep);
  font-size: 0.9rem;
}

/* ---------- FAQ SECTION ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--fire-glow);
}

.faq-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 70, 10, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--fire);
  font-size: 1.1rem;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  background: var(--fire);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--warm-gray-light);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--fire-glow);
  text-decoration: underline;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--carbon) 0%, #2d1a0e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 70, 10, 0.15) 0%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
}

.cta-final__content {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--warm-gray-light);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 36px;
}

.cta-final .btn {
  font-size: 1.15rem;
  padding: 18px 48px;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-benefits span {
  color: var(--warm-gray-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-benefits span::before {
  content: '✓';
  color: var(--fire-glow);
  font-weight: 700;
}

/* ---------- BREADCRUMB NAV ---------- */
.breadcrumb-nav {
  background: var(--carbon);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.85rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb a {
  color: var(--warm-gray-light);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--fire-glow);
}

.breadcrumb__separator {
  color: var(--warm-gray);
  margin: 0 8px;
  font-size: 0.9rem;
}

.breadcrumb__current {
  color: var(--fire);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111;
  color: var(--warm-gray);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: var(--fire-glow);
}

.footer__separator {
  color: rgba(255, 255, 255, 0.15);
  margin: 0 8px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero {
    min-height: 80vh;
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: var(--section-py-mobile);
  }

  .hero {
    min-height: 85vh;
  }

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

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .sticky-nav__link {
    padding: 14px 14px;
    font-size: 0.82rem;
  }

  .btn {
    padding: 12px 24px;
    min-height: 44px;
  }

  .btn--lg {
    padding: 16px 32px;
  }

  .cta-benefits {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table thead th {
    padding: 14px 12px;
  }

  .comparison-table td {
    padding: 10px 12px;
  }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delay utilities */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--carbon);
}

::-webkit-scrollbar-thumb {
  background: var(--carbon-mid);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fire);
}

/* ---------- CATALOG TABS ---------- */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.catalog-tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--warm-gray-light);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.catalog-tab:hover {
  border-color: var(--fire);
  color: #fff;
  transform: translateY(-2px);
}

.catalog-tab.active {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 70, 10, 0.3);
}

/* ---------- CATALOG GRID UTILS ---------- */
.product-card.hidden {
  display: none !important;
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--warm-gray);
  font-style: italic;
  display: none;
}

.catalog-empty.visible {
  display: block;
}
/* ---------- RANGE SLIDER FILTER ---------- */
.filter-container {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .filter-container {
  background: var(--carbon-light);
  color: #fff;
}

.filter-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.filter-value {
  color: var(--fire);
  font-weight: 700;
  font-size: 1.5rem;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  opacity: 0.9;
  transition: opacity .2s;
  margin: 16px 0;
}

.section--dark .range-slider {
  background: var(--carbon-mid);
}

.range-slider:hover {
  opacity: 1;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fire);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(232, 70, 10, 0.4);
  transition: transform 0.2s;
  border: 2px solid #fff;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fire);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(232, 70, 10, 0.4);
  border: 2px solid #fff;
}

/* Toggle Switch */
.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  gap: 10px;
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--fire);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--fire);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Product Price */
.product-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fire);
    margin-top: auto;
    margin-bottom: 0.5rem;
}

/* ---------- REVIEWS SECTION ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--carbon-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.review-card__info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--carbon);
    font-weight: 700;
}

.review-card__stars {
    color: #ffcc00;
    font-size: 0.9rem;
    margin-top: 2px;
}

.review-card__text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-card__footer {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-card__footer svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
