/* ===========================
   PRESERVAR FRESCURA — STYLESHEET
   Design system + all sections
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212121;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

.cookies-warning,
[class*="cookie"] {
  font-family: 'Inter', sans-serif !important;
}

.js-alert-added-to-cart {
    display: none !important;
}

/* Asegurar que las imágenes placeholder no rompan el layout */
img[src*="hero-placeholder"],
img[src*="product-installed"] {
  background: var(--gris-claro);
  min-height: 200px;
}

/* Scroll suave para los anchors internos */
html {
  scroll-behavior: smooth !important;
}

section {
  scroll-margin-top: 120px !important;
}


/* ===========================
   TYPOGRAPHY
   =========================== */
h1 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: #1B5E20;
}
h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: #212121;
}
h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #2E7D32;
}
h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #212121;
}
p {
  font-size: 16px;
  line-height: 1.6;
  color: #212121;
}
small, .text-small {
  font-size: 14px;
  color: #616161;
}

@media (min-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  body { font-size: 17px; }
}

/* ===========================
   CONTAINER
   =========================== */
.container, .container1 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ===========================
   ADBAR
   =========================== */
.top-bar {
  background: #1B5E20;
  color: #FFFFFF;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  position: relative;
  z-index: 10000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  height: 40px;
  display: flex;
  align-items: center;
}


/* TRACK */
.top-bar-track {
  display: flex;
  width: max-content;
  animation: scrollBar 20s linear infinite;
}

/* CONTENT BLOCK */
.top-bar-content {
  display: flex;
  gap: 80px;
  padding-right: 80px;
  white-space: nowrap;
  min-width: max-content;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

/* TEXT */
.top-bar-content span {
  display: inline-block;
}

/* ANIMATION */
@keyframes scrollBar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

.top-bar:hover .top-bar-track {
  animation-play-state: paused;
}
/* ===========================
   FOOTER
   =========================== */
.footer-menu-link {
	font-size: 16px !important;
}


/* ===========================
   STICKY
   =========================== */
.spb {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid #E0E0E0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.spb.visible {
  transform: translateY(0);
}

.spb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.spb-price {
  font-weight: 700;
  color: #1B5E20;
  font-size: 16px;
}

.spb-variant-select {
  padding: 8px;
  border: 1px solid #ccc;
  max-width: 280px;
}

.spb-btn {
  background: #1B5E20;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.spb-btn:hover {
  background: #2E7D32;
}


@media (min-width: 768px) {
  .spb {
      display: none;
  }
}


/* ===========================
   BUTTONS
   =========================== */
.btn1 {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
}
.btn1.primary {
  background-color: #1B5E20;
  color: #FFFFFF;
}
.btn1.primary:hover {
  background-color: #4CAF50;
  transform: translateY(-1px);
}
.btn1.secondary {
  background-color: #f0f8f2;
  color: #1B5E20;
  border: 2px solid #1B5E20;
}
.btn1.secondary:hover {
  background-color: #E8F5E9;
}

@media (min-width: 768px) {
  .btn1 { font-size: 18px; }
}

/* ===========================
   BUTTON LIFT
   =========================== */

.btnlift {
  background: #1B5E3B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}
.btnlift:hover {
  background: #154d30 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(27, 94, 59, 0.3) !important;
}
.btnlift:active {
  transform: scale(0.98) translateY(0) !important;
  box-shadow: none !important;
}


/* ===========================
   TRUST BADGES
   =========================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}
.trust-badges span,
.trust-badges p {
  font-size: 14px;
  color: #2E7D32;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: #E8F5E9;
}
.trust-badges.badge1 span {
  background-color: transparent;
  border: 1px solid #1B5E20;
  color: #F9A825;
  font-weight: 600;
}


/* ===========================
   PRODUCT PAGE — HERO
   =========================== */
.product_page_1_hero {
  text-align: center;
  padding: 48px 0 40px;
  background-color: #FFFFFF;
}

.product_page_1_hero_flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.product_page_1_hero_text {
  max-width: 500px;
}

.product_page_1_hero h1 {
  margin: 20px auto 16px;
  max-width: 700px;
}
.product_page_1_hero .subheadline {
  font-size: 17px;
  color: #616161;
  max-width: 560px;
  margin: 0 auto 28px;
}
.product_page_hero_image {
  margin: 28px auto;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
}
.product_page_1_hero_cta {
  margin: 20px 0 16px;
}

.product_page_1_hero_cta.displaylg {
    display: none;
}

@media (min-width: 768px) {
  .product_page_1_hero_cta.displaylg {
    display: block;
  }
  .product_page_1_hero_cta.displayxs {
    display: none;
  }
}

.product_page_trust_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}
.product_page_trust_badges span {
  font-size: 14px;
  color: #2E7D32;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: #E8F5E9;
}
.product_page_trust_badges.badge1 span {
  background-color: #E8F5E9;
  border: 1px solid #1B5E20;
  color: #1B5E20;
  font-weight: 600;
}

/* ===========================
   PRODUCT — BUY BLOCK
   =========================== */
.cp-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .cp-product {
    grid-template-columns: 1fr 1fr;
  }
}

.cp-gallery, .hp-gallery {
  overflow: hidden;
}
.cp-carousel {
  position: relative;
}
.cp-slide { display: none; }
.cp-slide.active { display: block; }
.cp-prev, .cp-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 28px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  color: #212121;
  width: 48px;
  height: 48px;
}
.cp-prev { left: 10px; }
.cp-next { right: 10px; }

.cp-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.cp-title {
  font-size: 24px;
  font-weight: 700;
  color: #1B5E20;
}
.cp-price {
  font-size: 28px;
  font-weight: 700;
  color: #212121;
}
.cp-variants label {
  display: block;
  font-size: 14px;
  color: #616161;
  margin-bottom: 6px;
}
.cp-variant-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  border: 1px solid #E8F5E9;
  border-radius: 6px;
  background: #FFFFFF;
  color: #212121;
  cursor: pointer;
}
.cp-add, .btn-add-to-cart {
  display: block;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  background-color: #1B5E20;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cp-add:hover {
  background-color: #4CAF50;
}
.cp-trust {
  font-size: 14px;
  color: #2E7D32;
  text-align: center;
  padding: 10px;
  background-color: #E8F5E9;
  border-radius: 6px;
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .cp-info {min-width: 360px}
  .cp-description p {
    font-size: 20px;
}
}

.cp-gallery {
  max-width: 500px;
  margin: 0 auto;
}

.cp-main {
  position: relative;
}

.cp-slide {
  display: none;
}

.cp-slide.active {
  display: block;
}

.cp-slide img {
  width: 100%;
  border-radius: 8px;
}

/* Thumbnails */
.cp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.cp-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 4px;
  border: 2px solid transparent;
}

.cp-thumb.active {
  opacity: 1;
  border-color: #1B5E20;
}

/* ===========================
   PRODUCT PAGE — BENEFITS
   =========================== */
.product_page_benefits {
  padding: 56px 0;
  background-color: #F1F8E9;
}
.product_page_benefits h2 {
  text-align: center;
  margin-bottom: 36px;
}
.product_page_benefits_steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.product_page_benefits_step {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
}
.step_icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.product_page_benefits_step h4 {
  margin-bottom: 8px;
  font-size: 16px;
}
.product_page_benefits_step p {
  font-size: 14px;
  color: #616161;
}

@media (min-width: 480px) {
  .product_page_benefits_steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .product_page_benefits_step h4 {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .product_page_benefits_steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================
   PRODUCT PAGE — WARRANTY
   =========================== */
.product_page_warranty {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  background-color: #E8F5E9;
  border-left: 5px solid #1B5E20;
  border-radius: 0 10px 10px 0;
  margin-top: 20px;
  margin-bottom: 20px;
}
.product_page_warranty h3 {
  color: #1B5E20;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product_page_warranty h3::before {
  content: '🛡️';
  font-size: 22px;
}
.product_page_warranty p {
  font-size: 16px;
  text-indent: 16px;
  color: #212121;
  margin-bottom: 10px;
}
.product_page_warranty a {
  font-size: 12px;
  color: #1B5E20;
  font-weight: 600;
  border-bottom: 1px solid #1B5E20;
}
.product_page_warranty a:hover {
  color: #4CAF50;
  border-color: #4CAF50;
}

/* ===========================
   PRODUCT PAGE — HOW IT WORKS
   =========================== */
.product_page_how {
  padding: 56px 20px;
  background-color: #F5F5F5;
  text-align: center;
}
.product_page_how h2 {
  margin-bottom: 8px;
}
.product_page_how h3 {
  color: #616161;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 36px;
}
.product_page_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.product_page_card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  margin: .5rem;
  width: 280px;
  height: 360px
}
.product_page_card_img {
  background-color: #E8F5E9;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product_page_card_img img {
    height: 100%;
    width: auto;
    max-width: none;
}

.product_page_card_text {
  padding: 20px;
  text-align: left;
}
.product_page_card_text h4 {
  color: #1B5E20;
  font-size: 20px;
  margin-bottom: 6px;
}
.product_page_card_text p {
  font-size: 15px;
  color: #616161;
}
@media (min-width: 768px) {
  .product_page_container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   PRODUCT PAGE — ETHYLENE
   =========================== */
.product_page_ethylene {
  padding: 56px 20px;
  background-color: #FFFFFF;
  text-align: center;
}
.product_page_ethylene h2 {
  margin-bottom: 8px;
}
.product_page_ethylene h3 {
  color: #616161;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 36px;
}
.product_page_ethylene_container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  counter-reset: ethylene;
  text-align: left;
}
.product_page_step {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 28px 24px 28px 24px;
  counter-increment: ethylene;
}
.product_page_step::before {
  content: '0' counter(ethylene);
  font-size: 56px;
  font-weight: 700;
  color: #E8F5E9;
  position: absolute;
  top: -8px;
  right: 16px;
  line-height: 1;
  z-index: 0;
}
.product_page_step h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  color: #1B5E20;
}
.product_page_step p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #616161;
}

.product_page_ethylene_comment {
  max-width: 700px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background-color: #FFF8E1;
  border-left: 4px solid #F9A825;
  border-radius: 0 10px 10px 0;
  text-align: left;
}
.product_page_ethylene_comment i {
  font-size: 15px;
  color: #616161;
  font-style: italic;
}
@media (min-width: 768px) {
  .product_page_ethylene_container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   PRODUCT PAGE — REVIEWS
   =========================== */
.product_page_reviews {
  padding: 56px 20px;
  background-color: #F1F8E9;
}
.product_page_reviews h2 {
  text-align: center;
  margin-bottom: 32px;
}
.product_page_reviews_container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1400px;
}

.product_page_reviews_container.mobile{
  display: none;
}

.product_page_reviews_container.desktop{
  display: flex;
}

.product_page_reviews_card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 24px 20px;
  position: relative;
  width: 260px;
  height: 248px;
  margin: .5rem;
}
.product_page_reviews_card::before {
  content: '\201C';
  font-size: 48px;
  color: #2E7D32;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.product_page_reviews_card p {
  font-style: italic;
  font-size: 15px;
  color: #212121;
}

.product_page_reviews_desktop {
  max-width: 320px;
  max-height: 320px;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .5rem;
}

.product_page_reviews_desktop img {
  height: 100%;
  width: auto;
}

@media (min-width: 768px) {
  .product_page_reviews_container.mobile {
    display: none;
  }

  .product_page_reviews_container.desktop{
    display:flex;
  }
}

/* ===========================
   PRODUCT PAGE — FINAL CTA
   =========================== */
.product_page_cta {
  background-color: #1B5E20;
  padding: 56px 20px;
  text-align: center;
}
.product_page_cta h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.product_page_cta h3 {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.product_page_cta a {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 40px;
  border-radius: 6px;
  background-color: #F9A825;
  color: #FFFFFF;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.product_page_cta a:hover {
  background-color: #FFB300;
  transform: translateY(-1px);
}

/* ===========================
   PRODUCT PAGE — FAQ (accordion)
   =========================== */
.product_page_faq {
  padding: 56px 20px;
  background-color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
}
.product_page_faq h2 {
  text-align: center;
  margin-bottom: 32px;
}
.faq-item {
  border-left: 4px solid #1B5E20;
  margin-bottom: 8px;
  border-radius: 0 8px 8px 0;
  background-color: #F5F5F5;
  overflow: hidden;
}
.faq-item summary,
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #212121;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::after,
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: #1B5E20;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: #616161;
  line-height: 1.6;
  text-indent: 15px;
}

/* ===========================
   RETURN POLICY PAGE
   =========================== */
.return_policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 20px;
}
.return_policy h2 {
  margin-bottom: 20px;
  color: #1B5E20;
}
.return_policy h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}
.return_policy p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
}
.return_policy ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.return_policy li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.return_policy li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #2E7D32;
  font-weight: 700;
}

/* ===========================
   UTILITY
   =========================== */
.section-alt {
  background-color: #F1F8E9;
}
.section-alt-gray {
  background-color: #F5F5F5;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
