/* ==========================================================================
   AJUSTES DE CONTENEDOR / BREAKPOINTS
   ========================================================================== */

/* Ajustamos las resoluciones más utilizadas superiores a 1200px
   que no están bien contempladas en el theme.css */
@media (min-width: 1280px) {
  .container {
    max-width: 1152px;
  }
}

@media (min-width: 1366px) {
  .container {
    max-width: 1230px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1296px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1382px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1728px;
  }
}


/* ==========================================================================
   BUSCADOR / NAVEGACIÓN
   ========================================================================== */

@media (min-width: 768px) {
  .navigation .search-widget {
    top: -147%;
    width: 50%;
    margin: 0 auto;
    border: 1px solid #282828;
  }
}


/* ==========================================================================
   CABECERA / HOME
   ========================================================================== */

#header #_desktop_logo img.logo {
  transition: all 0.5s ease;
}

#header .menu,
#header .menu > ul,
#header .menu > ul > li {
  margin: 0 !important;
  padding: 0 !important;
}

#header .menu {
  width: 100% !important;
}
.navigation.position-static .container {
    max-width: 100%;
}
#_desktop_logo,
#header,
#header .menu,
#header .header-nav {
  border: none !important;
  box-shadow: none !important;
}

#amegamenu.fixed-menu #_desktop_logo {
  height: 100px !important;
}

#amegamenu.fixed-menu .anav-top {
  background: #fff;
}

#custom-text {
  background: #ffd78a;
}

p#block-newsletter-label {
  font-size: 20px;
  font-weight: 700;
}

p.published {
  font-size: 0.8rem;
  font-style: italic;
  color: #989898;
}


/* ==========================================================================
   MENÚ MEGA / NAVEGACIÓN
   ========================================================================== */
/*
.amega-menu .anav-top {
  background: #ffad00;
  background: linear-gradient(
    180deg,
    rgba(255, 173, 0, 1) 0%,
    rgba(237, 89, 21, 1) 50%,
    rgba(237, 35, 29, 1) 100%
  );
}*/

.amenu-item .amenu-link {
  font-weight: 700;
  color: #fff;
}

.amenu-item .adropdown {
  padding: 0;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.an_copyright a,
.an_copyright p {
  color: #fff;
}

#footer #_desktop_logo {
  margin-bottom: 5px;
}


/* ==========================================================================
   SUBCATEGORÍAS / CATEGORÍAS
   ========================================================================== */

#subcategories,
.product-information,
.products.row {
  background-color: #fff;
}

/* Carrusel base */
#subcategories {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#subcategories li {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 150px;
  background: #f0f0f0;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#subcategories li:hover {
  transform: scale(1.1);
}

/* Subcategorías en listado */
#subcategories ul {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

#subcategories ul li {
  width: calc(100% / 6 - 20px);
  flex-grow: 1;
  text-align: center;
  list-style: none;
  background-color: #fff;
}

#subcategories ul li .subcategory-name {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--color_font);
}

#subcategories ul li .subcategory-name img {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #subcategories {
    padding-bottom: 10px;
  }

  #subcategories li {
    width: 150px;
    height: 120px;
  }
}


/* ==========================================================================
   CMS
   ========================================================================== */

.titulocms {
  margin: 2%;
  font-family: "Mulish", sans-serif;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  color: #000;
}

.titulocms2 {
  margin: 2%;
  font-family: "Mulish", sans-serif;
  font-size: 2.5rem;
  text-align: left;
  color: #000;
}

.subtitulocms {
  max-width: 53%;
  margin: 2% auto;
  font-family: "Mulish", sans-serif;
  font-size: 1.2rem;
  text-align: center;
  color: #000;
}

.subtitulocms2 {
  max-width: 66%;
  margin: 2% auto;
  font-family: "Mulish", sans-serif;
  font-size: 1.1rem;
  text-align: center;
  color: #000;
}

.subtitulocms3 {
  font-family: "Mulish", sans-serif;
  font-size: 1.1rem;
  color: #000;
}

.motivos {
  width: 100%;
  margin-left: 12%;
  font-family: "Mulish", sans-serif;
  text-align: center;
}

.row.motivos img {
  width: auto;
  margin: 14px auto;
}

p.motivo {
  font-weight: 700;
}

.hitohis {
  margin-bottom: 14px;
}

.hitohis p {
  display: block;
  padding-bottom: 20px;
}

p.año {
  display: inline;
  font-weight: 700;
}

p.his {
  margin-top: -3%;
  margin-right: 2%;
  margin-left: 9%;
  text-align: justify;
}

.iconserv {
  display: block;
  font-family: "Mulish", sans-serif;
}

.iconserv img {
  display: inline-block;
  max-width: 10%;
  margin: 17px 0;
}

p.como-trabajamos {
  display: inline-block;
  width: 74%;
  margin-left: 10%;
  font-size: 1.1rem;
}

.page-cms img {
  max-width: 100%;
}

@media only screen and (max-width: 575px) {
  .titulocms,
  .titulocms2 {
    margin: 0;
    font-size: 1.5rem;
  }

  .subtitulocms,
  .subtitulocms2,
  .subtitulocms3 {
    max-width: 90%;
    margin: 3% auto;
    font-size: 1rem;
  }

  .motivos {
    margin-left: 0;
  }

  p.his {
    margin-top: 0;
  }

  p.como-trabajamos {
    font-size: 0.9rem;
  }

  img.marcacms {
    display: block;
    margin: 3% auto;
  }
}


/* ==========================================================================
   PRODUCTO / FAMILIAS CHIMENEAS
   ========================================================================== */

.page-product h1 {
  font-weight: 700;
  color: darkslategrey;
}

.medidas {
  margin-top: 0;
  font-size: 0.8rem;
  color: #1f1f1f;
  background-color: #faf9f9;
}

.familias {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 0;
  font-size: 16px;
  color: #1f1f1f;
  list-style: none;
  background-color: #faf9f9;
}

.familias li {
  display: inline-block;
  line-height: 35px;
}

.familias a {
  margin: 0 3px;
  padding: 5px;
  font-weight: 700;
  color: #f28a0e;
  text-decoration: none;
  background-color: #eee;
  border: 1px solid #000;
  touch-action: manipulation;
}

.product-availability-wrap.mini {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1rem;
  background: #4cbb6c5c;
}

.product-availability-date {
  font-style: italic;
  color: #ff7330;
}

.product-actions .product-variants > .product-variants-item .color {
  border: 1px solid #000;
}

.product-variants #group_3 {
  display: flex;
}

span.labeltaxes {
  font-size: 0.8rem;
  font-weight: 400;
}

#products .thumbnail-container:hover,
.featured-products .thumbnail-container:hover,
.product-accessories .thumbnail-container:hover,
.product-miniature .thumbnail-container:hover {
  box-shadow: 0 8px 15px rgb(0 0 0 / 15%);
}

#products .product-title a:hover {
  color: #fb7100;
}

p.h3.hidden-sm-down {
  font-weight: 700 !important;
}


/* ==========================================================================
   BLOQUES DE ENTREGA
   ========================================================================== */

.delivery-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 20px;
}

.delivery-info--available-now {
  color: #28a745;
  background-color: #f0fdf4;
  border: 1px solid #d4edda;
}

.delivery-info--available-later {
  color: #0056b3;
  background-color: #e7f3ff;
  border: 1px solid #b3d9ff;
}


/* ==========================================================================
   FAQ / CMS FAQ
   ========================================================================== */

body#cms #wrapper {
  padding-top: 1rem;
  padding-bottom: 3rem;
  background: #faf9f9;
}

.panel-heading {
  font-size: 1em;
  color: #333;
  border-bottom: 1px solid #aaa;
}

.panel-body {
  padding: 10px;
  background: #fff;
  border: 1px solid #aaa;
}

h4.panel-title {
  margin-top: 20px;
  margin-bottom: 0 !important;
  font-size: 19px;
  font-weight: 700;
  color: #f28a0e;
}

h3.faqHeader {
  margin: 30px 0;
}


/* ==========================================================================
   OFERTAS / CUENTA ATRÁS
   ========================================================================== */

span.fecha_oferta {
  display: block;
  padding: 4px 8px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  background-color: #f99207;
}

span.fecha_oferta svg {
  width: 32px;
  height: auto;
  vertical-align: middle;
  fill: #fff;
}

#countdown {
  display: inline-flex;
  justify-content: left;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-width: 610px;
  margin: 0 10px 10px 0;
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: #fff;
}

#countdown:empty {
  display: none;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  padding: 15px;
  text-align: center;
  background: linear-gradient(145deg, #2b2d2f, #121315);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.countdown-item:not(:last-child) {
  margin-right: 1px;
}

.countdown-number {
  font-size: 32px;
  font-weight: 700;
  color: #f28a0e;
  text-shadow: 0 0 10px rgb(255 114 69);
}

.countdown-label {
  margin-top: 5px;
  font-size: 12px;
  color: #bbb;
  text-transform: uppercase;
}


/* ==========================================================================
   COMPARATIVAS / ACORDEÓN
   ========================================================================== */

.accordion {
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  outline: none;
  transition: 0.4s;
}

.accordion::after {
  content: "+";
  float: right;
  margin-left: 5px;
  font-size: 13px;
  color: #777;
}

.comparativas {
  display: none;
  overflow: hidden;
  padding: 0;
  background-color: #fff;
}

.comparativas .col-lg-6 {
  padding: 0;
}

.comparativas img {
  max-width: 100%;
  width: 150px;
  height: auto;
}

.comparativas table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.comparativas td,
.comparativas th {
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  border: 1px solid #ddd;
}

.comparativas th {
  font-weight: 700;
  color: #333;
  background-color: #f4f4f4;
}

.comparativas tr:nth-child(odd) {
  background-color: #fafafa;
}

.comparativas tr:nth-child(even) {
  background-color: #fff9f0;
}

.comparativas tr:hover {
  background-color: #ffecb3;
}


.an_homeproducts.js-an_homeproducts.an_homeproducts-slider h1 {
  margin: 25px 0;
  padding: 25px;
  text-align: center;
  color: #ed381a;
}
/*Hogar Comfy*/
.header-top {
    background: #ACACAC;
}
ul.anav-top {
    background: black;
}

/*HOME*/
.dbhomecategories {
    padding: 30px;
    background-color: var(--topbar_bk);
    margin-top: 3rem;
    margin-bottom: 0;
    border-radius: 20px 20px 0px 0px;
}
#custom-text {
    background: var(--topbar_bk);
    border-radius: 0 0px 20px 20px;
}
div#custom-text h4 {
    font-size: 2rem;
}
.dbhomecategories img {
    margin-bottom: 20px;
	max-width: 100%;
}

.dbhomecategories ul li {
    list-style: none;
}
/*Aviso de envío gratis*/
.header-banner {
    text-align: center;
    background-color: #00b9c1;
    color: black;
    text-transform: uppercase;
}
img.logo.img-responsive {
    background: #acacac;
}
.rkfvs-product__stock--out {
    visibility: hidden;
}