/**
 * Tema TopFoams (diseño topdormitorios) — cabecera, megamenú, pie, carrito y módulos comunes
 * Medidas sacadas del CSS servido de topdormitorios.com (header.css + iqitmegamenu).
 */

/* ==========================================================================
   1. Cabecera
   ========================================================================== */

/* Franja gris: 14px, negrita en <strong> (banner de weutilities) */
.header-top .weu-banner-item .banner-body p {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: normal;
}

.header-top .weu-banner-item .banner-body a {
  color: var(--tpd-color-black);
  text-decoration: underline;
}

.header-bottom {
  position: relative; /* ancla del panel del megamenú */
}

.header-bottom__h1 {
  font-size: inherit;
  line-height: 0;
}

/* Logo: mismo hueco que el de topdormitorios (165px de ancho) */
.header-bottom__logo .logo {
  width: 165px;
  height: auto;
  min-width: 0;
  max-height: 48px;
}

.header-actions {
  gap: .75rem;
}

.header-actions a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-actions .tpd-icons {
  --tpd-icon-color: var(--tpd-color-white);
}

.header-actions a:hover .tpd-icons,
.header-actions a:focus-visible .tpd-icons {
  --tpd-icon-color: var(--tpd-color-secondary);
}

.tf-header-wishlist .tpd-icons {
  width: 20px;
  height: 20px;
}

/* Carrito: bolsa con globo blanco y número navy (weshoppingcart) */
.tf-header-cart .header-block {
  padding: 0;
}

.tf-header-cart__link {
  position: relative;
  padding: 0;
}

.tf-header-cart .cart-products-count {
  position: absolute;
  top: -10px;
  right: -17.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  width: auto;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: var(--tpd-color-white);
  color: var(--tpd-color-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

/* Selector de idioma: código en blanco + chevron, sin caja */
.tf-lang__toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--tpd-color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.tf-lang__toggle .tf-lang__chevron {
  --tpd-icon-color: var(--tpd-color-white);
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.tf-lang__toggle:hover,
.tf-lang__toggle:focus-visible {
  color: var(--tpd-color-secondary);
}

.tf-lang__toggle:hover .tf-lang__chevron,
.tf-lang__toggle:focus-visible .tf-lang__chevron {
  --tpd-icon-color: var(--tpd-color-secondary);
}

.tf-lang.show .tf-lang__chevron {
  transform: rotate(180deg);
}

.tf-lang__menu {
  min-width: 170px;
  margin-top: 18px !important;
  border-radius: 0;
  border: 1px solid #cecece;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  padding: 6px 0;
}

.tf-lang__menu .dropdown-item {
  font-size: 14px;
  color: var(--tpd-color-black);
  padding: 8px 16px;
}

.tf-lang__menu .dropdown-item:hover,
.tf-lang__menu .dropdown-item:focus {
  background-color: var(--tpd-color-grey);
  color: var(--tpd-color-black);
}

.tf-lang__menu .dropdown-item.active,
.tf-lang__menu .dropdown-item:active {
  background-color: var(--tpd-color-grey);
  color: var(--tpd-color-primary);
  font-weight: 600;
}

.tf-lang__iso {
  display: inline-block;
  min-width: 26px;
  font-weight: 600;
}

/* Por debajo de xl (sin menú de escritorio): hamburguesa a la izquierda en un
   hueco del 10% del ancho, como el #iqitmegamenu-shower de topdormitorios */
@media (max-width: 1199.98px) {
  .header-bottom .mainmenu__desktop {
    order: -1;
    flex: 0 0 10%;
    width: 10% !important;
    max-width: 10% !important;
    margin-left: 0;
    padding: 0 !important;
  }

  .header-bottom .header-actions {
    margin-left: auto;
  }

  .ps-mainmenu__mobile-toggle .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .ps-mainmenu__mobile-toggle .tpd-icons {
    --tpd-icon-color: var(--tpd-color-white);
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 991.98px) {
  .header-bottom__logo .logo {
    max-height: 40px;
  }
}

@media (max-width: 575.98px) {
  .header-bottom__logo .logo {
    width: 140px;
    max-height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .ps-mainmenu__mobile-toggle .tpd-icons {
    width: 19px;
    height: 19px;
  }

  .tf-header-wishlist .tpd-icons {
    width: 19px;
    height: 19px;
  }
}

/* Migas de pan (todas las páginas): como el kit de topdormitorios, el <li> a
   11px / 16.5px en #555 (la barra mide 41px); el enlace conserva sus 14px */
.breadcrumb-item {
  font-size: 11px;
  line-height: 16.5px;
  color: #555;
}

.breadcrumb-item a,
.breadcrumb-item a:not(:hover) {
  color: #555;
}

/* ==========================================================================
   2. Megamenú (ps_mainmenu con la estética de iqitmegamenu en topdormitorios)
   ========================================================================== */

.header-bottom .mainmenu__desktop {
  align-self: stretch;
}

.tf-megamenu,
.tf-megamenu__nav {
  height: 100%;
}

.tf-megamenu__nav {
  flex: 1 1 auto;
  width: 100%;
}

/* Franja de título de la portada: en móvil, centrada en dos líneas */
@media (max-width: 991.98px) {
  #td-home-title .container {
    flex-direction: column;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.tf-megamenu__tree {
  display: flex;
  align-items: stretch;
  justify-content: flex-end; /* menú a la derecha, junto al buscador */
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tf-megamenu__item {
  position: static;
  display: flex;
}

/* #cbp-hrmenu > ul > li > a: 14px, line-height 50px, 0 10px */
.tf-megamenu__link {
  display: inline-block;
  position: relative;
  padding: 0 10px;
  color: var(--tpd-color-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 50px;
  white-space: nowrap;
  text-decoration: none;
  transition: color .3s ease;
}

.tf-megamenu__label {
  position: relative;
  top: -1px;
}

/* Subrayado blanco que crece bajo toda la pestaña al abrir el panel */
.tf-megamenu__link::after {
  content: "";
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--tpd-color-white);
  transition: width .4s;
}

.tf-megamenu__link:hover,
.tf-megamenu__link:focus-visible {
  color: var(--tpd-color-white);
}

.tf-megamenu__item:hover > .tf-megamenu__link::after,
.tf-megamenu__item:focus-within > .tf-megamenu__link::after,
.tf-megamenu__item.is-open > .tf-megamenu__link::after {
  width: 100%;
}

/* Panel: pegado al pie de las pestañas (8px por encima del borde de la barra) */
.tf-megamenu__panel {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  right: 0;
  z-index: 1050;
  display: none;
  background: var(--tpd-color-white);
  border: 1px solid #cecece;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  color: var(--tpd-color-black);
  text-align: left;
}

.tf-megamenu__item--has-panel:hover > .tf-megamenu__panel,
.tf-megamenu__item--has-panel:focus-within > .tf-megamenu__panel,
.tf-megamenu__item--has-panel.is-open > .tf-megamenu__panel {
  display: block;
}

/* .menu_row: margen lateral 10px y 20px abajo; columnas col-xs-3 */
.tf-megamenu__panel-inner {
  display: flex;
  flex-wrap: nowrap;
  max-width: var(--tpd-width-container);
  margin: 0 auto 20px;
  padding: 0;
}

.tf-megamenu__column {
  flex: 0 0 calc(100% / var(--tf-mm-cols, 4));
  max-width: calc(100% / var(--tf-mm-cols, 4));
  margin-top: 20px;
  padding: 0 10px;
}

.tf-megamenu__column--first-card {
  margin-left: auto;
}

.tf-megamenu__heading {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 6px;
  color: var(--tpd-color-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  text-transform: uppercase;
  text-decoration: underline;
}

.tf-megamenu__heading:hover,
.tf-megamenu__heading:focus-visible {
  color: var(--tpd-color-black);
  text-decoration: none;
}

.tf-megamenu__links {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tf-megamenu__links li {
  padding: 8px 0 8px 2px;
  font-size: 14px;
  line-height: 16px;
}

.tf-megamenu__links a {
  display: inline-block;
  padding-left: 10px;
  color: var(--tpd-color-black);
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
}

.tf-megamenu__links a:hover,
.tf-megamenu__links a:focus-visible {
  color: #333;
  text-decoration: underline;
}

/* Tarjeta de producto (cbp-products-big) */
.tf-megamenu__card {
  display: block;
  margin-bottom: 10px;
  color: var(--tpd-color-black);
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
}

.tf-megamenu__card-media {
  display: block;
  margin-bottom: 16px;
}

.tf-megamenu__card-image {
  display: inline-block;
  width: 250px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.tf-megamenu__card-name {
  display: inline;
  color: var(--tpd-color-black);
}

.tf-megamenu__card:hover .tf-megamenu__card-name,
.tf-megamenu__card:focus-visible .tf-megamenu__card-name {
  color: #333;
  text-decoration: underline;
}

.tf-megamenu__card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
  min-height: 34px;
}

.tf-megamenu__card-stars {
  --tf-star: url('../fonts/heroicons/star.svg');
  display: inline-block;
  width: 108px;
  height: 16px;
  background: linear-gradient(90deg, #f4cd44 calc(var(--tf-rating, 0) * 20%), rgba(244, 205, 68, .3) 0);
  -webkit-mask-image: var(--tf-star);
  mask-image: var(--tf-star);
  -webkit-mask-size: 21.6px 16px;
  mask-size: 21.6px 16px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

.tf-megamenu__card-reviews {
  font-size: 10px;
}

.tf-megamenu__card-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.tf-megamenu__card-name + .tf-megamenu__card-prices {
  margin-top: 20px;
}

.tf-megamenu__card-regular {
  color: var(--tpd-color-grey-dark);
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.tf-megamenu__card-discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  background: var(--tpd-color-primary);
  color: var(--tpd-color-white);
  font-size: 12px;
  font-weight: 700;
}

.tf-megamenu__card-price {
  color: var(--tpd-color-black);
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
}

/* ==========================================================================
   3. Menú móvil (offcanvas de hummingbird con la estética de iqitmegamenu móvil)
   ========================================================================== */

.ps-mainmenu--mobile.offcanvas {
  width: 95%;
  max-width: 475px;
  display: flex;
  flex-direction: column;
  background: var(--tpd-color-white);
}

.ps-mainmenu--mobile .tf-mobile-menu__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 15px;
  min-height: 76px;
  background: var(--tpd-color-white);
}

.tf-mobile-menu__close {
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
}

.tf-mobile-menu__close .tpd-icons {
  --tpd-icon-color: var(--tpd-color-primary);
  width: 19px;
  height: 19px;
}

.tf-mobile-menu__logo {
  justify-self: center;
  display: block;
  color: var(--tpd-color-primary);
  line-height: 0;
}

.tf-mobile-menu__logo-svg {
  display: block;
  width: auto;
  height: 38px;
}

.tf-mobile-menu__icons {
  justify-self: end;
  display: flex;
  align-items: center;
}

.tf-mobile-menu__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 37px;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
}

.tf-mobile-menu__icon .tpd-icons {
  --tpd-icon-color: var(--tpd-color-grey-dark);
  width: 19px;
  height: 19px;
}

.tf-mobile-menu__count {
  position: absolute;
  top: 2px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tpd-color-primary);
  color: var(--tpd-color-white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* Botón "Atrás": ocupa la cabecera cuando se entra en una subcategoría */
.ps-mainmenu--mobile .tf-mobile-menu__header:has(.js-back-button.d-none) .ps-mainmenu__back-button {
  display: none;
}

.ps-mainmenu--mobile .tf-mobile-menu__header:has(.js-back-button:not(.d-none)) {
  grid-template-columns: 1fr;
}

.ps-mainmenu--mobile .tf-mobile-menu__header:has(.js-back-button:not(.d-none)) > :not(.ps-mainmenu__back-button),
.ps-mainmenu--mobile:has(.js-back-button:not(.d-none)) .tf-mobile-menu__extra {
  display: none;
}

.ps-mainmenu--mobile .js-back-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 1px;
  color: var(--tpd-color-black);
  font-size: 14px;
  line-height: 38px;
  text-decoration: none;
}

.ps-mainmenu--mobile .js-back-button.d-none {
  display: none !important;
}

.ps-mainmenu--mobile .js-back-button .tpd-icons {
  --tpd-icon-color: var(--tpd-color-black);
  width: 16px;
  height: 16px;
}

.tf-mobile-menu__scroll {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.ps-mainmenu--mobile .ps-mainmenu__mobile {
  height: auto;
}

.ps-mainmenu--mobile .menu {
  max-width: none;
  padding: 0;
}

.ps-mainmenu--mobile .menu__list {
  padding: 0;
  list-style: none;
}

.ps-mainmenu--mobile .menu__list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}

.ps-mainmenu--mobile .menu a.menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  padding: 8px 10px;
  color: var(--tpd-color-grey-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: none;
}

.ps-mainmenu--mobile .menu a.menu__link:hover {
  color: var(--tpd-color-black);
}

.ps-mainmenu--mobile .menu__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tpd-color-grey);
}

.ps-mainmenu--mobile .menu__thumb img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.ps-mainmenu--mobile .menu__toggle-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 38px;
  margin-right: 10px;
  padding: 6px 0;
}

.ps-mainmenu--mobile .menu__toggle-child .tpd-icons {
  --tpd-icon-color: var(--tpd-color-black);
  width: 16px;
  height: 16px;
}

/* Subniveles: título 16px/600 y enlaces sin miniatura */
.ps-mainmenu--mobile .menu--mobile:not(#menu-mobile) .menu__list > li {
  min-height: 0;
}

.ps-mainmenu--mobile .menu__title {
  margin: 0;
  padding: 12px 10px 12px 20px;
}

.ps-mainmenu--mobile .menu .menu__title a {
  padding: 0;
  color: var(--tpd-color-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  text-transform: none;
  text-decoration: none;
}

.ps-mainmenu--mobile .menu--mobile:not(#menu-mobile) a.menu__link {
  padding: 12px 10px 12px 36px;
  font-weight: 400;
  color: var(--tpd-color-black);
}

/* Bloque azul: Clientes / Nuestras ventajas / redes */
.tf-mobile-menu__extra {
  margin-top: 20px;
  padding: 0 0 30px;
  background: var(--tpd-color-primary);
  color: var(--tpd-color-white);
  border-top: 1px solid #efefef;
}

.tf-mobile-menu__section-title {
  margin: 0;
  padding: 23px 10px;
  color: var(--tpd-color-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.tf-mobile-menu__rows + .tf-mobile-menu__section-title {
  border-top: 1px solid var(--tpd-color-white);
}

.tf-mobile-menu__rows {
  margin: 0;
  padding: 0;
}

.tf-mobile-menu__row-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 10px;
  background: transparent;
  border: 0;
  color: var(--tpd-color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: left;
}

.tf-mobile-menu__row-toggle > .tpd-icons:first-child,
.tf-mobile-menu__row-toggle > .tpd-heroicon:first-child {
  --tpd-icon-color: var(--tpd-color-white);
  flex: 0 0 28px;
  width: 28px;
  height: 30px;
  color: var(--tpd-color-white);
}

.tf-mobile-menu__chevron {
  --tpd-icon-color: var(--tpd-color-white);
  width: 16px !important;
  height: 16px !important;
  margin: 0 10px 0 auto;
  transition: transform .2s ease;
}

.tf-mobile-menu__row-toggle[aria-expanded="true"] .tf-mobile-menu__chevron {
  transform: rotate(180deg);
}

.tf-mobile-menu__sub {
  margin: 0;
  padding: 0 10px 0 48px;
}

.tf-mobile-menu__sub a,
.tf-mobile-menu__note {
  display: block;
  padding: 12px 10px;
  color: var(--tpd-color-white);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.tf-mobile-menu__sub a:hover {
  color: var(--tpd-color-secondary);
}

.tf-mobile-menu__note {
  font-size: 13px;
  opacity: .85;
}

.tf-icon-100-noches {
  -webkit-mask-image: url('../img/mobile-menu/100-noches-menu-movil.svg');
  mask-image: url('../img/mobile-menu/100-noches-menu-movil.svg');
}

.tf-icon-envio {
  -webkit-mask-image: url('../img/mobile-menu/envio-menu-movil.svg');
  mask-image: url('../img/mobile-menu/envio-menu-movil.svg');
}

.tf-icon-globe {
  -webkit-mask-image: url('../fonts/heroicons/globe-europe-africa.svg');
  mask-image: url('../fonts/heroicons/globe-europe-africa.svg');
}

/* Idioma (por debajo de 768px el selector se mueve aquí) */
.tf-mobile-menu__lang {
  margin: 0 10px 0 auto;
}

.tf-mobile-menu__lang .tf-lang__menu {
  margin-top: 8px !important;
}

.tf-mobile-menu__row--lang:not(:has(.tf-lang)) {
  display: none;
}

.tf-mobile-menu__social {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 40px 10px 10px;
  border-top: 1px solid var(--tpd-color-white);
}

.tf-mobile-menu__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.tf-mobile-menu__social .tpd-icons {
  --tpd-icon-color: var(--tpd-color-white);
  width: 42px;
  height: 42px;
}

/* ==========================================================================
   6. Carrito: personalización en línea (medidas de dm_amedida)
   ========================================================================== */

.tf-cart-customization {
  margin: 4px 0;
  color: var(--tpd-color-text-grey);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.tf-cart-customization__line--image img {
  max-width: 60px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
}

/* Título del carrito y del pedido: en topdormitorios todos los h1 van a
   37px/600 (kit de Creative Elements, body.ce-kit-2 h1) */
body#cart h1.page-title-section,
body#checkout h1.page-title-section {
  font-size: 37px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--tpd-color-black);
}

/* Reaseguro en el resumen del carrito (blockreassurance): icono en columna
   fija de 40px; sin esto las imágenes PNG se salen y pisan el texto */
.blockreassurance--cart {
  margin: 24px 0;
}

.blockreassurance--cart .reassurance {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tpd-color-grey-hover);
}

.blockreassurance--cart .reassurance:last-child {
  border-bottom: 0;
}

.blockreassurance--cart .reassurance__image {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blockreassurance--cart .reassurance__image img,
.blockreassurance--cart .reassurance__image svg {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px;
  object-fit: contain;
}

.blockreassurance--cart .reassurance__content {
  flex: 1 1 auto;
  min-width: 0;
}

.blockreassurance--cart .reassurance__content br {
  display: none;
}

.blockreassurance--cart .reassurance__title {
  display: block;
  margin-bottom: 2px;
  color: var(--tpd-color-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.blockreassurance--cart .reassurance__desc {
  display: block;
  color: var(--tpd-color-text-grey);
  font-size: 12px;
  line-height: 1.5;
}

/* ==========================================================================
   7. Pie
   ========================================================================== */

.tf-footer-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  color: var(--tpd-color-primary);
}

.footer .ps-contactinfo__email,
.footer .ps-contactinfo__contact {
  margin-bottom: 8px;
}

.footer .ps-contactinfo__email a,
.footer .ps-contactinfo__contact a {
  color: var(--tpd-color-tertiary);
  font-weight: 600;
}

.footer .ps-socialfollow .tpd-icons {
  --tpd-icon-color: var(--tpd-color-primary);
}

/* Sellos: recortes del SVG blanco de TopFoams (sellos-de-confianza.svg,
   2577.72 x 146.38) pintados en navy con mask. Cada .tf-seal lleva en línea
   --x/--y/--w/--h (caja del sello en unidades del SVG) y --s (escala). */
.tf-seal {
  display: block;
  width: calc(var(--w) * var(--s) * 1px);
  height: calc(var(--h) * var(--s) * 1px);
  background-color: var(--tpd-color-primary);
  -webkit-mask-image: url('../img/sellos-de-confianza.svg');
  mask-image: url('../img/sellos-de-confianza.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: calc(2577.72px * var(--s)) calc(146.38px * var(--s));
  mask-size: calc(2577.72px * var(--s)) calc(146.38px * var(--s));
  -webkit-mask-position: calc(var(--x) * var(--s) * -1px) calc(var(--y) * var(--s) * -1px);
  mask-position: calc(var(--x) * var(--s) * -1px) calc(var(--y) * var(--s) * -1px);
}

/* Tarjetas blancas de confianza (153 x 80 como las de topdormitorios) */
.footer .footer__main-bottom-confianza-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 153px;
  height: 80px;
}

/* Fichas de medios de pago: 48 x 30, blancas */
.footer__main-bottom-right-content {
  justify-content: flex-end;
  gap: 24px;
}

.tf-pay-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 30px;
  border-radius: 3px;
  background: var(--tpd-color-white);
}

@media (max-width: 767.98px) {
  .footer__main-bottom-right-content {
    justify-content: space-between;
    gap: 0;
  }

  .footer .footer__main-bottom-confianza {
    width: 100%;
  }

  .footer .footer__main-bottom-confianza-content {
    width: auto;
    flex: 1 1 0;
    height: 80px;
  }
}
