/* ============================================================
   SATOR - CORRECCIÓN GENERAL ESTRUCTURA
   Fondo gris claro, contenido estable y footer correcto
   ============================================================ */

html,
body {
  width: 100%;
  min-height: 100%;
  background: #eeeeee !important;
}

body {
  color: #333333;
}

/* Evita que el contenedor absoluto rompa el footer */
#container {
  width: 100% !important;
  min-height: 100vh !important;
  position: relative !important;
  margin-bottom: 0 !important;
  background: #eeeeee !important;
}

/* Fondo general de la tienda */
main,
#content,
#column-left,
#column-right {
  background: transparent !important;
}

/* Quitar el exceso de padding que empuja la página */
#content,
#column-left,
#column-right {
  padding-bottom: 40px !important;
}

/* Contenedor principal limpio */
.container {
  background: transparent;
}

/* ============================================================
   SATOR - HOME ESTILO TIENDA ANTIGUA
   Últimos subidos / Más vendidos / Destacados
   ============================================================ */

/* Títulos de módulos */
#content h2,
#content h3,
#content .module-title,
#content .card-header,
#content .title-module {
  display: inline-block !important;
  background: #e99200 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  margin: 25px 0 25px 0 !important;
  border: none !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
}

/* Zona de productos */
#content .row {
  margin-bottom: 20px;
}

/* Tarjeta blanca de producto */
#content .product-thumb {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
  padding: 0 0 18px 0 !important;
  margin-bottom: 28px !important;
  height: 100%;
}

/* Imagen */
#content .product-thumb .image {
  background: #ffffff !important;
  min-height: 260px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  text-align: center !important;
}

#content .product-thumb .image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

#content .product-thumb .image img {
  max-height: 240px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Descripción */
#content .product-thumb .description {
  padding: 12px 18px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Título producto */
#content .product-thumb h4,
#content .product-thumb .description h4 {
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  color: #777777 !important;
  min-height: 44px !important;
  margin: 0 0 8px 0 !important;
}

#content .product-thumb h4 a,
#content .product-thumb .description h4 a {
  color: #777777 !important;
  text-decoration: none !important;
}

#content .product-thumb h4 a:hover,
#content .product-thumb .description h4 a:hover {
  color: #e99200 !important;
}

/* Texto corto */
#content .product-thumb p {
  color: #555555 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* Precio */
#content .product-thumb .price {
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 8px !important;
}

/* Valoraciones */
#content .product-thumb .rating {
  margin-top: 10px !important;
}

/* Ocultar botones para parecerse a la tienda antigua */
#content .product-thumb .button,
#content .product-thumb .button-group {
  display: none !important;
}

/* ============================================================
   SATOR - DOS MINI BANNERS HOME EN HORIZONTAL
   ============================================================ */

#czsubbannercmsblock {
  margin: 25px auto 25px auto !important;
  width: 100%;
  max-width: 930px;
}

#czsubbannercmsblock .czsubbanner_container {
  width: 100%;
}

#czsubbannercmsblock .subbanners {
  display: flex !important;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

#czsubbannercmsblock .subbanner {
  width: 50% !important;
  max-width: 455px;
  background: #ffffff;
  border: 2px solid #333333;
  box-sizing: border-box;
  overflow: hidden;
}

#czsubbannercmsblock .banner-anchor {
  display: block;
  width: 100%;
}

#czsubbannercmsblock .subbanner-image,
#czsubbannercmsblock img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border: none;
}

#czsubbannercmsblock .subbanner:hover {
  opacity: 0.92;
}

/* En móvil, una debajo de otra */
@media (max-width: 768px) {
  #czsubbannercmsblock .subbanners {
    display: block !important;
  }

  #czsubbannercmsblock .subbanner {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 12px;
  }
}

/* ============================================================
   SATOR - BLOQUE TEXTO HOME
   Expertos reparación electrónica Alicante
   ============================================================ */

#content h1 {
  color: #333333 !important;
  font-size: 34px;
  font-weight: 500;
  margin-top: 35px;
  margin-bottom: 20px;
}

#content p {
  color: #333333;
}

/* ============================================================
   SATOR - FOOTER OSCURO CORREGIDO
   ============================================================ */

footer {
  position: relative !important;
  bottom: auto !important;
  width: 100% !important;
  background: #1f2d3d !important;
  color: #bfc7d1 !important;
  border: none !important;
  border-top: none !important;
  padding-top: 50px !important;
  padding-bottom: 35px !important;
  margin-top: 0 !important;
}

footer h5 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 24px !important;
}

footer a {
  color: #bfc7d1 !important;
  text-decoration: none !important;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

footer ul li {
  margin-bottom: 10px !important;
}

footer p {
  color: #bfc7d1 !important;
  line-height: 1.6 !important;
}

footer hr {
  border-top: 1px solid rgba(255,255,255,0.12) !important;
  border-bottom: none !important;
}

/* ============================================================
   SATOR - NEWSLETTER FOOTER
   ============================================================ */

.sator-newsletter-footer {
  background: #e99200 !important;
  color: #ffffff !important;
  padding: 24px 0 !important;
  margin-top: 40px !important;
}

.sator-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.sator-newsletter-title {
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sator-newsletter-icon {
  font-size: 36px;
  line-height: 1;
}

.sator-newsletter-form {
  display: flex;
  flex: 1;
  max-width: 520px;
}

.sator-newsletter-form input[type="email"] {
  height: 44px;
  flex: 1;
  border: none;
  padding: 0 16px;
  color: #333333;
  background: #ffffff;
}

.sator-newsletter-form button {
  height: 44px;
  border: none;
  background: #1f2d3d;
  color: #ffffff;
  padding: 0 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.sator-newsletter-form button:hover {
  background: #111927;
}

.sator-social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.sator-social-icons a {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.sator-social-icons a:hover {
  color: #1f2d3d;
}

/* ============================================================
   SATOR - RESPONSIVE GENERAL
   ============================================================ */

@media (max-width: 768px) {
  #content h1 {
    font-size: 26px;
  }

  #content h2,
  #content h3 {
    font-size: 14px !important;
    padding: 12px 20px !important;
  }

  .sator-newsletter-row {
    display: block;
    text-align: center;
  }

  .sator-newsletter-title {
    justify-content: center;
    white-space: normal;
    margin-bottom: 18px;
  }

  .sator-newsletter-form {
    margin: 0 auto 18px auto;
    max-width: 100%;
  }

  .sator-social-icons {
    justify-content: center;
  }

  footer .col-sm-3 {
    margin-bottom: 25px;
  }
}
/* ============================================================
   SATOR - SECCIÓN MAPA / DÓNDE ESTÁ EL SERVICIO TÉCNICO
   ============================================================ */

.sator-map-section {
  margin: 40px 0 45px 0;
}

.sator-map-section .sator-map-title {
  display: block !important;
  background: transparent !important;
  color: #222222 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  margin: 0 0 22px 0 !important;
  border: none !important;
  line-height: 1.3 !important;
}

.sator-map-card {
  display: flex;
  background: #ffffff;
  border: 1px solid #dddddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sator-map-left {
  width: 34%;
  min-width: 280px;
  padding: 15px;
  border-right: 1px solid #dddddd;
  background: #ffffff;
}

.sator-map-left iframe {
  display: block;
  width: 100%;
  height: 220px;
}

.sator-map-right {
  width: 66%;
  padding: 22px 28px;
  background: #ffffff;
}

.sator-map-right h3 {
  display: block !important;
  background: transparent !important;
  color: #1f2d3d !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  border: none !important;
}

.sator-map-right p {
  color: #444444 !important;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.sator-map-right ul {
  margin: 0 0 18px 0;
  padding-left: 20px;
}

.sator-map-right ul li {
  color: #333333;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 5px;
}

.sator-map-contact {
  background: #f5f5f5;
  border-left: 4px solid #e99200;
  padding: 14px 16px;
  color: #222222;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .sator-map-card {
    display: block;
  }

  .sator-map-left,
  .sator-map-right {
    width: 100%;
    min-width: 0;
    border-right: none;
  }

  .sator-map-left {
    border-bottom: 1px solid #dddddd;
  }

  .sator-map-section .sator-map-title {
    font-size: 20px !important;
  }

  .sator-map-right h3 {
    font-size: 20px !important;
  }
}