/* =========================================================
   SEQOND - Custom CSS DEFINITIVO
   Tema: Classic (PrestaShop 8)
   ========================================================= */


/* =========================================================
   1. VARIABLES DE COLOR (IDENTIDAD)
   ========================================================= */

:root{
  --primary:#40AAA7;
  --secondary:#359692;
  --danger:#EC5651;
  --warning:#FFE543;
  --dark:#222E41;
  --accent:#F26A2E; /* naranja del logo */
}


/* =========================================================
   2. BASE GENERAL
   ========================================================= */

a{ color:var(--primary); }
a:hover{ color:var(--secondary); }

.btn-primary{
  background-color:var(--primary);
  border-color:var(--primary);
}
.btn-primary:hover{
  background-color:var(--secondary);
  border-color:var(--secondary);
}

.price,
.product-price{ color:var(--dark); }

.badge-danger,
.discount-percentage{ background-color:var(--danger); }

.badge-warning{
  background-color:var(--warning);
  color:#000;
}


/* =========================================================
   3. HEADER (REFINADO, SIN ROMPER)
   ========================================================= */

#header{
  border-bottom:none;
  box-shadow:none;
}

#header .header-nav{
  background:#f8f8f8;
  padding:4px 0;
  font-size:.8rem;
}

#header .header-nav a{ color:#666; }
#header .header-nav a:hover{ color:var(--primary); }

#header .header-top{
  background:#fff;
  padding:20px 0;
}

#header .top-menu a{
  color:var(--dark);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
}

#header .top-menu a:hover,
#header .top-menu a.active{
  color:var(--primary);
}

#header .logo{ max-height:60px; }


/* =========================================================
   4. BLOQUE CUSTOM (RESET LIMPIO)
   ========================================================= */

#custom-text{
  padding:0!important;
  margin:0!important;
}


/* =========================================================
   5. HERO DE MARCA
   ========================================================= */

.seqond-hero{
  min-height:520px;
  background:url("/img/hero-seqond.jpg") no-repeat right center;
  background-size:cover;

  display:flex;
  align-items:center;
}

.seqond-hero-inner{
  max-width:1200px;
  padding:0 40px;
}

.seqond-hero h1{
  font-size:3rem;
  font-weight:700;
  color:var(--dark);
  max-width:520px;
  margin-bottom:12px;
}

.seqond-hero h1::after{
  content:"";
  display:block;
  width:60px;
  height:4px;
  background-color:var(--accent);
  margin-top:12px;
}

.seqond-hero p{
  font-size:1.05rem;
  color:var(--dark);
  max-width:480px;
}


/* =========================================================
   6. TRANSICIÓN / AIRE
   ========================================================= */

.seqond-divider{
  height:30px;
}


/* =========================================================
   7. BANNERS DE CATEGORÍAS
   ========================================================= */

.seqond-category-banners{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;

  max-width:1200px;
  margin:0 auto 80px;
  padding:0 30px;
}

.seqond-banner{
  position:relative;
  height:300px;
  border-radius:16px;
  overflow:hidden;

  background-size:cover;
  background-position:center center;

  padding:20px;
  transition:transform .3s ease;
  cursor:pointer;
}

/* Botón hover */
.seqond-banner::before{
  content:"Ver productos";
  position:absolute;
  bottom:20px;
  right:20px;

  background:rgba(255,255,255,0.95);
  color:var(--dark);
  font-weight:600;
  font-size:0.9rem;

  padding:8px 16px;
  border-radius:999px;

  opacity:0;
  transform:translateY(6px);
  transition:all .25s ease;
  z-index:3;
}

/* Mostrar en hover */
.seqond-banner:hover::before{
  opacity:1;
  transform:translateY(0);
}

.seqond-banner:hover{
  transform:scale(1.03);
}

/* Overlay suave */
.seqond-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
}

/* Oscurecer un poco más la imagen en hover */
.seqond-banner:hover::after{
  background:rgba(0,0,0,0.35);
}

/* IMÁGENES */
.banner-hogar{
  background-image:url("/img/banner-hogar.png");
}

.banner-reacondicionado{
  background-image:url("/img/banner-reacondicionado.png");
}

.banner-ofertas{
  background-image:url("/img/banner-ofertas.png");
}


/* =========================================================
   8. RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  .seqond-hero {
    min-height: 380px;
    background-position: center;
  }

  .seqond-hero h1 {
    font-size: 2.2rem;
  }

  .seqond-category-banners {
    grid-template-columns: 1fr;
  }

  .seqond-banner {
    height: 220px;
  }
}


/* =========================================================
   9. ANCLA SCROLL MENÚ → BLOQUE "¿POR QUÉ SEQOND?"
   ========================================================= */

a.banner {
  position: relative;
  scroll-margin-top: 140px;
}

a.banner::before {
  content: "";
  display: block;
  height: 1px;
  margin-top: -140px;
  visibility: hidden;
}


/* =========================================================
   10. CMS ¿POR QUÉ SEQOND? - LAYOUT + IMAGEN PRINCIPAL
   ========================================================= */

.seqond-why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.seqond-why-hero img {
  width: 100% !important;
  max-width: 100% !important;
  height: 520px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px !important;
  margin: 0 auto 40px !important;
}

@media (min-width: 1400px) {
  .seqond-why-hero img {
    height: 580px !important;
  }
}

.seqond-why-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.seqond-why-intro h1 {
  margin-bottom: 15px;
}

.seqond-why-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.seqond-why-item {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.seqond-why-item h3 {
  margin-bottom: 10px;
}

.seqond-why-cta {
  text-align: center;
}


/* =========================================================
   11. PÁGINA INFORMATIVA SEQOND
   ========================================================= */

.seqond-info-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.seqond-info-hero {
  text-align: center;
  margin-bottom: 50px;
}

.seqond-info-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.seqond-info-hero p {
  font-size: 1.1rem;
  color: #666;
}

.seqond-info-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.seqond-info-content p,
.seqond-info-content li {
  line-height: 1.7;
  margin-bottom: 12px;
}

.seqond-info-content ul {
  padding-left: 20px;
}