:root {
  --font-primary: "Poppins";
  --font-size-text: 16px;
  --font-size-text-sm: 14px;
  --font-size-titles-lg: 32px;
  --font-size-titles-md: 25px;
  --font-size-titles-sm: 22px;

  --color-primary: #5a7997;
  --color-secondary: #ceddea;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-red: #ff0000;

  --border-radius-primary: 15px;

  --width-container: 1600px;
  --separator-sections: 60px;

  --spaces-xs: 5px;
  --spaces-sm: 10px;
  --spaces-md: 20px;
}

/* ---------------------- GENERAL ----------------------- */
*:not(i) {
  font-family: var(--font-primary) !important;
  line-height: normal;
}

p,
span,
a {
  font-size: var(--font-size-text) !important;
}

a:not(.btn):hover,
a:hover > span {
  opacity: 0.7;
  cursor: pointer;
  color: unset !important; /* Color inicial */
}

h1 {
  font-size: 32px !important;
  line-height: 45px;
  font-weight: 400;
}

h2,
h3 {
  font-size: var(--font-size-titles-md) !important;
  line-height: 30px;
  font-weight: 400;
}

#wrapper {
  padding: 0;
}

.btn {
  border-radius: var(--border-radius-primary);
  outline: none !important;
}

.breadcrumb {
  padding-top: 50px !important;
}

.breadcrumb ol {
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert {
  border-radius: var(--border-radius-primary);
  margin-bottom: 20px;
}

.alert::before {
  border-top-left-radius: var(--border-radius-primary);
  border-bottom-left-radius: var(--border-radius-primary);
}

/* Scroll */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
}

/* Arrows carrusel */
.slick-arrow {
  position: absolute;
  top: -38px;
  right: 1px;
  cursor: pointer;
}

.slick-arrow:hover,
.slick-arrow.slick-disabled {
  opacity: 0.6;
}

.slick-arrow.slick-prev {
  right: 20px;
}

/* ----------------------- HEADER ----------------------- */
#header {
  height: 120px;
}

#header > .headerCont {
  width: 100%;
}

#header.fixed > .headerCont {
  top: 0;
  max-width: initial;
  position: fixed;
  z-index: 999;
  animation: 1s ease 0s normal both 1 running fixedheader;
}

@-webkit-keyframes fixedheader {
  0% {
    top: -100%;
  }

  100% {
    top: 0;
  }
}

@-moz-keyframes fixedheader {
  0% {
    top: -100%;
  }

  100% {
    top: 0;
  }
}

@keyframes fixedheader {
  0% {
    top: -100%;
  }

  100% {
    top: 0;
  }
}

/* Topbar */
#header .header-nav > .container .topbar {
  display: flex !important;
  padding: 5px 0;
  justify-content: flex-end;
  gap: var(--spaces-md);
}

#header .header-nav > .container .topbar * {
  line-height: unset;
}

#header .header-nav > .container .topbar > div,
#menu-modal .contact > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

#header .header-nav > .container .topbar > div > img,
#menu-modal .contact > div > img {
  height: 20px;
  width: 20px;
}

#header .header-nav > .container .topbar > div a,
#menu-modal .contact > div a {
  font-size: var(--font-size-text-sm) !important;
  color: var(--color-white) !important;
  line-height: 26px;
}

/* Header */
#header .header-top {
  padding: 0;
  border-bottom: solid 2px var(--color-primary);
  background-color: var(--color-white);
}

#header .header-top .container > .header__flex {
  padding: var(--spaces-md) 0;
  align-items: center;
}

/* Hamburguesa móvil */
#header .container #menu-icon {
  padding: 0;
  cursor: pointer;
}

/* Logo */
#header .container .logoContainer {
  padding-left: 0;
}

/* Menú */
#header .container .megamenu {
  display: flex;
  justify-content: center;
}

#_desktop_megamenu .menu-content {
  margin-bottom: 0;
}

#_desktop_megamenu .menu-item {
  padding: 0 !important;
}

#_desktop_megamenu .menu-item:not(:first-child) {
  margin-left: calc(var(--spaces-md) * 2);
}

#_desktop_megamenu .menu-item a span {
  text-transform: uppercase;
  font-weight: 500;
}

#_desktop_megamenu .menu-item .menu_slidedown {
  width: 130% !important;
  left: -15% !important;
  z-index: 999;
}

#_desktop_megamenu .menu-item .menu_slidedown .pos-menu-row {
  display: flex;
  align-items: center;
}

#_desktop_megamenu .menu-item .menu_slidedown .submenu-item a {
  text-transform: uppercase !important;
  font-weight: 400 !important;
}

#_desktop_megamenu .menu-item .menu_slidedown .submenu-item a:hover {
  opacity: 0.5 !important;
}

#_desktop_megamenu .menu-item .menu_slidedown img {
  border-radius: var(--border-radius-primary);
}

/* Menu modal */
#menu-modal {
  padding: 0 !important;
}

#menu-modal .modal-dialog {
  height: 100dvh;
  width: 100%;
  max-width: 400px;
  margin: 0;
}

#menu-modal .modal-content {
  border: none;
  height: 100%;
}

#menu-modal .modal-body {
  padding: 0 20px;
  height: calc(100% - 120px);
  overflow-y: scroll;
  overflow-x: hidden;
}

#menu-modal .modal-body .modal-header {
  padding: 10px 0;
  border-bottom: 2px solid var(--color-primary);
}

#menu-modal .modal-body .modal-header .close {
  width: 100%;
  height: 42px;
  text-align: right;
  font-weight: 400;
  outline: none;
  opacity: 1;
}

#menu-modal .modal-body .modal-header .close > span {
  font-size: 30px !important;
}

#menu-modal .modal-body .menu-content {
  margin: 0;
}

#menu-modal .modal-body .menu-content li a {
  padding: 10px 20px;
}

#menu-modal .modal-body .menu-content li a > span {
  text-transform: uppercase;
  font-weight: 400;
}

#menu-modal .modal-body .menu-content li > span > i {
  margin-top: 5px;
}

#menu-modal .modal-body .menu-content li .menu-dropdown {
  margin-left: 20px;
}

#menu-modal .modal-body .menu-content li .menu-dropdown .pos-menu-col.image {
  display: none !important;
}

#menu-modal .modal-body .menu-content li .menu-dropdown ul li > a {
  border: none;
}

#menu-modal .contact {
  margin: 20px 40px;
  padding-top: 20px;
  position: absolute;
  bottom: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  border-top: 2px solid var(--color-primary);
}

#menu-modal .contact > div a {
  color: var(--color-black) !important;
}

/* Iconos */
#header .container #iconosHeader {
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  gap: 30px;
}

#header .container #iconosHeader > a:hover {
  opacity: 1;
}

#header .container #iconosHeader > a:hover img,
#header .container #iconosHeader > div:hover img {
  opacity: 0.5;
  cursor: pointer;
}

#header .container #iconosHeader #_desktop_cart .hayProducts {
  display: flex;
  width: 10px;
  height: 10px;
  position: absolute;
  top: -1px;
  right: -4px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* Buscador */
/*#header #search {
  padding: 0 var(--spaces-md);
}

.searchbar-large {
  background-color: var(--color-grey) !important;
  border-radius: var(--border-radius);
  width: 100%;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: end;
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: 1;
  height: 45px;
  padding: 10px 15px;
}

.searchbar-large span {
  font-size: var(--text-sm);
}

.searchbar-large svg {
  margin-right: 10px;
  width: 25px;
  height: 25px;
}*/

#content_search {
  position: fixed;
  width: 100vw;
  height: 100dvh;
  top: 0;
  margin-top: 0;
  z-index: 9999;
  padding: var(--spaces-md) !important;
  overflow: hidden !important;
}

#content_search .close_content_search {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spaces-md);
}

#content_search .close_content_search .logo {
  width: fit-content;
}

#content_search .close_content_search button.close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-shadow: none;
  color: var(--color-white);
  background-color: var(--color-black);
  font-weight: 400;
  opacity: 1;
  outline: none;
}

#content_search .close_content_search button.close > span {
  font-size: 22px !important;
}

#content_search > form {
  position: relative;
  margin-bottom: var(--spaces-md);
}

#content_search > form > input[type="text"] {
  width: 100%;
  padding: var(--spaces-sm) 16px;
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
  background-color: var(--color-secondary);
  outline: none;
}

#content_search > form > button[type="submit"] {
  padding: 0;
  position: absolute;
  right: 15px;
  top: 50% !important;
  transform: translateY(-50%);
  outline: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#content_search .allresult_searchbar .btn {
  margin-bottom: var(--spaces-md);
}

#content_search .result_searchbar {
  height: calc(100% - 180px);
  overflow-y: auto;
}

#content_search .result_searchbar #js-product-list .products {
  margin: 0;
  gap: var(--spaces-sm);
}

#content_search .result_searchbar #js-product-list .products > div {
  margin: 0;
  width: calc(20% - var(--spaces-sm));
  padding: var(--spaces-sm) 0;
}

/* ----------------------- FOOTER ----------------------- */
#footer {
  position: relative;
  overflow: hidden;
}

#footer .pre-footer {
  padding: var(--separator-sections) 0 40px 0;
}

#footer .footer-container {
  padding: 0;
  position: relative;
  z-index: 9;
}

#footer .footer-container .row {
  padding-bottom: 40px;
}

#footer .pre-footer .row > .links,
#footer .footer-container .row > .links {
  padding: 0 20px;
}

#footer .footer-container .row > .links.col-md-2 {
  width: calc(((100% / 3) * 2) / 3);
}

/* Newsletter */
#footer .footer-container .block_newsletter {
  display: contents;
}

#footer .footer-container .block_newsletter .title {
  text-transform: uppercase;
  font-size: var(--font-size-titles-sm);
  margin-bottom: 0.5rem;
}

#footer .footer-container .block_newsletter .subtitle {
  font-size: var(--font-size-text-sm);
  font-weight: unset;
  color: var(--color-white);
}

#footer .footer-container .block_newsletter .alert {
  margin: var(--spaces-sm) 0 0 0;
  color: var(--color-black) !important;
}

#footer .footer-container .block_newsletter .input-wrapper > input {
  margin: var(--spaces-xs) var(--spaces-sm) var(--spaces-xs) 0;
  padding: 0;
  background-color: transparent;
  border-bottom: solid 1px var(--color-white);
  color: var(--color-white);
  width: 100%;
}

#footer .footer-container .block_newsletter .input-wrapper > input::placeholder {
  color: var(--color-white);
  opacity: 0.7;
}

#footer .footer-container .block_newsletter #gdpr_consent label {
  display: flex;
  align-items: center;
}

#footer .footer-container .block_newsletter #gdpr_consent label > input {
  width: 12px;
  height: 12px;
}

#footer .footer-container .block_newsletter #gdpr_consent label > input + span {
  border-color: var(--color-white);
  border-radius: 5px;
  height: 12px;
  width: 12px;
  margin-right: 3px;
}

#footer .footer-container .block_newsletter #gdpr_consent label > span > i {
  font-size: 8px !important;
  margin-top: 1px;
}

#footer .footer-container .block_newsletter #gdpr_consent label > span,
#footer .footer-container .block_newsletter #gdpr_consent label > span > a {
  font-size: 12px !important;
  text-align: left;
}

#footer .footer-container .block_newsletter .subscribe {
  margin-top: var(--spaces-sm);
  text-transform: uppercase;
}

#footer .footer-container .block_newsletter .subscribe:not(:disabled):hover {
  opacity: 0.7;
}

/* Links */
#footer .footer-container .row > .links h3 {
  text-transform: uppercase;
  font-size: var(--font-size-titles-sm) !important;
  line-height: normal;
}

#footer .footer-container .row > .links ul li {
  margin-bottom: 5px;
}

#footer .footer-container .row > .links ul li a {
  font-size: var(--font-size-text-sm) !important;
}

/* Métodos de pago */
#footer .footer-container .metodosPago {
  display: flex;
  flex-direction: column;
}

#footer .footer-container .metodosPago > .title {
  text-transform: uppercase;
  font-size: var(--font-size-titles-sm) !important;
  margin-bottom: 0.5rem;
}

/* Copyright */
#footer .copyright .copyright_content {
  padding: var(--spaces-sm) 0;
}

#footer .copyright .text_copyright,
#footer .copyright .text_design {
  display: flex;
  margin: 0;
  width: auto;
  line-height: normal;
}

#footer .copyright .text_copyright,
#footer .copyright .text_design > a {
  font-size: var(--font-size-text-sm) !important;
}

#footer .copyright .text_design {
  margin-left: var(--spaces-md);
  text-align: center;
}

/* Logo footer grande */
#footer .logoFooter img {
  position: absolute;
  bottom: -30px;
  margin-left: -110px;
}

/* ------------------------ HOME ------------------------ */
/* Carrusel imágenes */
#index #carousel {
  margin: 40px 0 0 0;
}

#index #carousel .carousel-inner {
  height: auto;
  margin-bottom: 20px;
}

#index #carousel .carousel-inner li > a {
  display: flex;
}

#index #carousel .carousel-inner a:hover,
#index .direction a:hover,
#index .direction a:hover > span {
  opacity: 1;
}

#index .direction a > span:hover > i {
  color: var(--color-black);
}

#index #carousel .carousel-inner img {
  border-radius: var(--border-radius-primary);
  max-height: 600px;
  object-fit: cover;
}

/* Reassurance */
#index .reassurance {
  display: flex;
  gap: 20px;
}

#index .reassurance > div {
  width: calc(25% - 15px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #5a799717;
  border-radius: var(--border-radius-primary);
}

#index .reassurance > div img {
  width: auto;
}

#index .reassurance > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#index .reassurance > div > div .title {
  font-weight: 500;
}

/* Bloque SEO */
#index #custom-text {
  margin: var(--separator-sections) 0;
  margin-top: 40px;
}

#index #custom-text .blockSEO {
  text-align: center;
}

/* Carrusel productos por categoría */
#index #featured-productsbycategory .categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  row-gap: 10px;
  margin: 10px 0;
}

#index #featured-productsbycategory .categories .item-category {
  cursor: pointer;
}

#index #featured-productsbycategory .categories .item-category.active,
#index #featured-productsbycategory .categories .item-category:hover {
  border-bottom: solid 1px var(--color-primary);
}

#index #featured-productsbycategory .categories .item-category span {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 400;
}

#index #featured-productsbycategory #slider .slick-slide > div {
  padding: 10px 0;
}

.featured-products#featured-productsbycategory .block-content {
  /* margin-left: -10px;*/
}

/* Banners categories */
#index .dbhomecategories {
  margin-top: var(--separator-sections);
  padding: 0;
}

#index .dbhomecategories ul {
  margin: 0;
}

#index .dbhomecategories ul li:first-child {
  padding-left: 0;
}

#index .dbhomecategories ul li:last-child {
  padding-right: 0;
}

#index .dbhomecategories ul a img {
  width: 100%;
  max-width: 765px;
  max-height: 335px;
  border-radius: var(--border-radius-primary);
}

#index .dbhomecategories ul a > div {
  position: absolute;
  bottom: 0;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#index .dbhomecategories ul li:first-child a > div {
  right: 35px;
}

#index .dbhomecategories ul a > div > span {
  color: var(--color-black);
  text-transform: uppercase;
  font-size: 72px !important;
  font-weight: 600;
  line-height: normal;
}

#index .dbhomecategories ul li:first-child a > div > span {
  color: var(--color-white);
}

#index .dbhomecategories ul a > div > span:first-child {
  font-size: 25px !important;
  margin-bottom: -20px;
}

/* Carrusel marcas */
#index .dbbrandslide {
  margin-top: var(--separator-sections);
  padding: 0;
}

#index .dbbrandslide .section-title {
  font-size: 25px !important;
  font-weight: 500;
}

/* Featured products - Novedades */
.featured-products {
  margin-top: var(--separator-sections);
}

.featured-products .section-title {
  font-size: 25px !important;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

#featured-productsbycategory .section-title {
  text-transform: uppercase;
}

.featured-products .slick-slide,
.featured-products.new .slick-slide > div > div {
  padding: 8px 0;
}

/* Miniatura producto */
.product-miniature {
  margin: 0 8px !important;
  transition: 0.3s;
  border-radius: var(--border-radius-primary);
  padding: 20px;
}

.product-miniature:hover {
  box-shadow: 0px 3px 8px 4px rgba(0, 0, 0, 0.08);
}

.product-miniature > div {
  margin: 0 !important;
}

.product-miniature .product-thumbnail img.second-image {
  display: none;
}

.product-miniature .product-thumbnail.two-images:hover {
  opacity: 1;
}

.product-miniature .product-thumbnail.two-images:hover img.second-image {
  display: block;
}

.product-miniature .product-thumbnail.two-images:hover img.first-image {
  display: none;
}

.product-miniature .product-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-miniature .product-info-names {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-miniature .product-info-names .manufacturer {
  text-transform: uppercase;
  font-weight: 400;
  font-size: var(--font-size-text-sm) !important;
  min-height: 21px;
}

.product-miniature .product-info-names .product-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--font-size-text) !important;
  font-weight: 500 !important;
  text-align: center !important;
  height: 52px !important;
}

.product-miniature .product-info-names .product-title:hover {
  color: var(--color-black) !important;
}

.product-miniature .product-description {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-miniature .product-description .product-price-and-shipping {
  margin-top: 10px;
  min-height: auto !important;
  justify-content: center !important;
  gap: 10px;
}

.product-miniature .product-description .product-price-and-shipping .price {
  font-weight: 400;
}

.product-miniature .product-description .product-price-and-shipping .price.discount {
  color: var(--color-red);
}

.product-miniature .product-description .product-price-and-shipping .regular-price {
  text-decoration: line-through;
  font-size: var(--font-size-text-sm) !important;
}

/*
.product-miniature .product-description .attributes_sizes .carrusel_tallas {
  width: 100%;
  padding: 0 20px;
}

.product-miniature
  .product-description
  .attributes_sizes
  .carrusel_tallas
  .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
}

.product-miniature
  .product-description
  .attributes_sizes
  .carrusel_tallas
  .slick-arrow.slick-disabled {
  opacity: 0.4;
}

.product-miniature
  .product-description
  .attributes_sizes
  .carrusel_tallas
  .slick-arrow.slick-prev {
  left: 5px;
  z-index: 9;
}

.product-miniature
  .product-description
  .attributes_sizes
  .carrusel_tallas
  .slick-arrow.slick-next {
  right: 5px;
  z-index: 9;
}*/

.product-miniature .product-description .talla_color {
  width: 100%;
  min-height: 68px;
}

.product-miniature .product-description .attributes_sizes {
  margin-top: 10px;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #5a799717;
  border-radius: var(--border-radius-primary);
}

.product-miniature .product-description .attributes_sizes .attr_size {
  padding: 5px 0;
  font-size: 13px !important;
  text-align: center;
}

.product-miniature .product-description .attributes_sizes span.no-available {
  text-decoration: line-through;
  opacity: 0.6;
}

.product-miniature .product-description .attributes_colors {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-miniature .product-description .attributes_colors .attr_color {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: var(--border-radius-primary);
}

.product-miniature .product-description .attributes_colors .attr_color.white {
  border: solid 1px #896b6030;
}

.product-miniature .product-description .add {
  width: 100%;
}

.product-miniature .product-flags li.product-flag,
#product .product-flags li.product-flag {
  margin: 4px 0;
  padding: 4px 10px;
  border-radius: var(--border-radius-primary);
  line-height: normal !important;
}

.product-miniature .product-flags li.product-flag:first-child,
#product .product-flags li.product-flag:first-child {
  margin-top: 0;
}

.product-miniature .wishlist-button-add {
  display: none !important;
}

.product-miniature .wishlist-button-add,
#product .wishlist-button-add {
  padding: 0 !important;
  height: 26px !important;
  top: 0 !important;
  right: 0 !important;
  justify-content: flex-end;
  background: transparent;
  box-shadow: none !important;
  cursor: pointer !important;
}

.product-miniature .wishlist-button-add i,
#product .wishlist-button-add i {
  color: var(--color-black) !important;
}

/* Banners home */
#index #banners-home {
  margin-top: var(--separator-sections);
}

#index #banners-home > div {
  gap: 20px;
}

#index #banners-home > div > .banner {
  width: calc(50% - 10px);
}

#index #banners-home > div > .banner,
#index #banners-home > div > .banner > a {
  height: 400px;
}

#index #banners-home > div > .banner > a img {
  border-radius: var(--border-radius-primary);
}

#index #banners-home > div > .banner > a .text {
  right: 20px;
  align-items: flex-start;
  width: auto;
  padding: 0;
}

#index #banners-home > div > .banner > a .text > .banner-subtitle {
  font-size: 25px !important;
  margin-bottom: -20px !important;
  text-transform: uppercase;
}

#index #banners-home > div > .banner > a .text > .banner-title > span {
  text-transform: uppercase;
  font-size: 72px !important;
  font-weight: 600;
  color: var(--color-white);
}

/* ---------------------- CATEGORÍA --------------------- */
#category #full-column {
  padding: 0;
}

#category .block-category {
  margin: 0;
}

#category .category-text h1 {
  text-transform: uppercase;
}

#category .category-text .description {
  font-size: var(--font-size-text);
}

#category .category-text .description a {
  text-decoration: underline;
  cursor: pointer;
}

/* Subcategorías */
#category #subcategories {
  margin: var(--spaces-sm) 0;
}

#category #subcategories .slick-slide {
  margin: var(--spaces-sm);
}

#category #subcategories .slick-slide a {
  padding: var(--spaces-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  transition: 0.3s;
  color: var(--color-black);
  border-radius: var(--border-radius-primary);
}

#category #subcategories .slick-slide a:hover {
  background-color: var(--color-secondary);
}

#category #subcategories .slick-slide a:hover,
#category #subcategories .slick-slide a:hover > span {
  opacity: 1;
}

#category #subcategories .slick-slide a > img.default {
  border-radius: 50%;
}

#manufacturers-category-container .slick-arrow,
#subcategories .slider-subcategories .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

#manufacturers-category-container .slick-arrow.slick-disabled,
#subcategories .slider-subcategories .slick-arrow.slick-disabled {
  opacity: 0.4;
}

#manufacturers-category-container .slick-arrow.slick-prev,
#subcategories .slider-subcategories .slick-arrow.slick-prev {
  left: 0;
  /*z-index: 9;*/
}

#manufacturers-category-container .slick-arrow.slick-next,
#subcategories .slider-subcategories .slick-arrow.slick-next {
  right: 0;
  z-index: 9;
}

#manufacturers-category-container .slick-list,
#subcategories .slider-subcategories .slick-list {
  margin: 0 15px;
}

/* Filtros móvil / Nº productos / Ordenar por */
#js-product-list-top {
  display: none;
}

#category #js-product-list-top {
  margin: 0 0 50px 0;
  padding: 10px 0;
  display: flex;
}

#category #js-product-list-top .total-filter-products {
  display: flex;
  align-items: center;
}

#category #js-product-list-top .total-filter-products > div {
  padding-right: 20px;
  border-right: 2px solid var(--color-primary);
  position: relative;
}

#category #js-product-list-top .total-filter-products > div > div {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

#category #js-product-list-top .total-filter-products > div #count-filters {
  position: absolute;
  top: -4px;
  right: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px !important;
  color: var(--color-white);
  cursor: pointer;
}

#category #js-product-list-top .total-filter-products > div #count-filters.hidden {
  display: none;
}

#category #js-product-list-top .total-filter-products > p {
  margin: 0;
}

#category #js-product-list-top .sort-by-row > .dropdown {
  width: 100%;
}

#category #js-product-list-top .sort-by-row select {
  font-size: var(--font-size-text);
  max-width: fit-content;
  text-align-last: right;
}

/* Filtros */
#js-active-search-filters.active_filters {
  padding: 0;
  background-color: transparent;
  border-bottom: solid 1px var(--color-primary);
}

#js-active-search-filters.active_filters > span {
  font-weight: 500;
  text-transform: uppercase;
}

#js-active-search-filters ul {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}

#js-active-search-filters ul li {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
  background-color: var(--color-secondary);
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 3px;
}

#js-active-search-filters ul li a > i {
  margin: 0;
  margin-top: -8px;
}

#category #search_filters {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  margin-bottom: 50px;
}

#category #search_filters .facet:last-child {
  margin: 0;
}

#category #search_filters .facet .facet-title {
  text-transform: uppercase;
  color: var(--color-black);
}

#category #search_filters .facet ul.flex {
  display: flex;
  flex-wrap: wrap;
}

#category #search_filters .facet ul li {
  padding: 0 10px;
}

#category #search_filters .facet ul li.color {
  width: fit-content;
}

#category #search_filters .facet .faceted-slider {
  margin-bottom: 10px !important;
}

#category #search_filters .facet .ui-slider {
  max-width: 95%;
}

#category #search_filters .facet ul li .custom-checkbox > span {
  border-color: var(--color-primary);
  border-radius: 5px;
  height: 20px;
  width: 20px;
}

#category #search_filters .facet ul li .custom-checkbox > span.color {
  border-color: var(--color-black);
}

#category #search_filters .facet ul li .custom-checkbox > span > i {
  font-size: 13px !important;
  padding: 2px 2.5px;
}

/* Modal filtros móvil */
#filters_category .modal-dialog {
  height: 100dvh;
  width: 100%;
  max-width: 400px;
  margin: 0;
  float: left;
}

#filters_category .modal-dialog .modal-content {
  height: 100%;
}

#filters_category .modal-body {
  height: 100% !important;
  padding: var(--spaces-md) !important;
}

#filters_category .modal-body > button {
  position: absolute;
  right: 20px;
  top: 22px;
  opacity: 1;
  outline: none;
  font-weight: 400;
}

#filters_category .modal-body > button span {
  font-size: 30px !important;
  line-height: 1;
}

#filters_category .modal-body .modal-title {
  margin-bottom: var(--spaces-md);
  padding-bottom: var(--spaces-md);
  border-bottom: 2px solid var(--color-primary);
}

#filters_category .modal-body .modal-title > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

#filters_category .modal-body .modal-title > div svg {
  width: 25px;
  height: 25px;
}

#filters_category .modal-body .modal-title > div span {
  text-transform: uppercase;
  font-size: var(--font-size-titles-sm) !important;
  font-weight: bold;
  line-height: normal;
  color: var(--color-primary);
}

#filters_category #search_filter_body {
  height: auto;
  max-height: calc(100vh - 115px);
  overflow-y: auto;
}

#filters_category #search_filter_body #search_filters {
  display: block;
}

#filters_category #search_filter_controls {
  position: relative;
  margin-top: 20px;
  text-align: center;
}

#filters_category #search_filter_controls > button {
  margin: 0 !important;
}

#filters_category .modal-body .active_filters {
  padding: 0;
  background: transparent;
  margin: 0 0 var(--spaces-md) 0;
  display: flex !important;
  flex-direction: column;
}

#filters_category .modal-body .active_filters span {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-black);
}

#filters_category .modal-body .active_filters > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0;
}

#filters_category .modal-body .active_filters .filter-block .close {
  margin-top: 0 !important;
  line-height: 1;
}

/* REVISAR TODO ESTO!!! */
#filters_category .modal-body #search_filters,
#filters_category .modal-body #search_filters_brands,
#filters_category .modal-body #search_filters_suppliers {
  padding: 0;
  margin: 0;
}

/**/

/* Grid productos en sí */
#products .products .product-miniature {
  margin: 0 10px 20px 10px !important;
}

#products .pagination > p {
  margin: 20px 0 60px 0;
}

/* No hay productos */
#category #products .page-not-found {
  margin-bottom: 50px;
}

/* Descripción */
#category #full-column #full-description {
  margin-bottom: 50px;
}

/* ---------------------- PRODUCTO ---------------------- */
#product #wrapper .breadcrumb {
  margin-bottom: 30px;
}

#product #wrapper > .container .product_topview {
  padding: 0;
}

/* Bloque izquierda - Imágenes / Flags */
#product .block_left .product_cover_thumbnails {
  margin: 0 -5px;
}

#product .block_left .product_cover_thumbnails .slider-for {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

#product .block_left .product_cover_thumbnails .slider-for > div {
  width: 50%;
}

#product .block_left .product_cover_thumbnails .slider-for > div:first-child {
  width: 100%;
  padding: 0;
}

#product .block_left .product_cover_thumbnails .slider-for .thumb-item {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 10px;
}

#product .block_left .product_cover_thumbnails .slider-for .thumb-item a:hover {
  opacity: 1;
}

/**/

.slick-lightbox button {
  outline: none !important;
}

.slick-lightbox .slick-prev,
.slick-lightbox .slick-next {
}

.slick-lightbox .slick-prev,
.slick-lightbox .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 60px;
  height: 60px;
}

.slick-lightbox .slick-prev:before,
.slick-lightbox .slick-next:before {
  font-family: "Material icons";
  font-size: 40px;
  line-height: 1;
  opacity: 0.75;
  color: white;
}

.slick-lightbox .slick-prev {
  left: 15px;
}

.slick-lightbox .slick-next {
  right: 15px;
}

.slick-lightbox .slick-prev:before {
  content: "arrow_back_ios";
}

.slick-lightbox .slick-next:before {
  content: "arrow_forward_ios";
}

.slick-dotted .slick-prev,
.slick-dotted .slick-next {
  /*display: none !important;*/
}

.slick-lightbox-close {
  height: 50px;
  width: 50px;
}

.slick-lightbox-close:before {
  font-family: "Material icons";
  font-size: 50px;
  content: "close";
}

.slick-dots {
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
  padding: 0 var(--spaces-md);
}

.slick-dots li button {
  color: transparent !important;
  background-color: var(--color-tertiary);
  width: 25px;
  height: 3px;
  padding: 0;
  outline: none;
  border: none;
  margin: 0 5px;
}

.slick-dots li.slick-active button {
  background-color: var(--color-black);
}

/* Flags */
#product .block_left .product_flags ul {
  align-items: flex-end;
  margin: 0;
}

#product .block_left .product_flags ul li {
  margin: 0;
  padding: 4px 10px;
  font-size: var(--font-size-text-sm);
  background-color: var(--color-red);
}

#product .block_left .product_flags ul li:not(.discount) {
  display: none;
}

/* Bloque derecha - Información */
#product .block_right {
  position: sticky;
  top: 80px;
  height: fit-content;
}

#product .block_right .product-actions {
  padding-top: 0;
  padding-right: 0;
}

/* Nombre / Wishlist / Marca / Referencia */
#product .block_right .nameWishlistCont {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#product .block_right .nameWishlistCont .product_name {
  font-weight: 600;
  margin: 0;
}

#product .block_right .nameWishlistCont > button {
  padding: 0;
}

#product .block_right .nameWishlistCont > button i {
  font-size: 20px;
}

/* Precio */
#product .block_right .product-prices {
  margin: 20px 0;
}

#product .block_right .product-price {
  margin: 0;
}

#product .block_right .product-price > div {
  width: auto;
  gap: 5px;
  align-items: center;
}

#product .block_right .product-price .price {
  font-size: 30px !important;
}

#product .block_right .product-price .price.discounted {
  color: var(--color-red);
  font-weight: 400;
  line-height: normal;
}

#product .block_right .product-price .old_price {
  text-decoration: line-through;
  color: darkgray;
}

/* Talla / Color */
#product .block_right .product-variants > div {
  margin-bottom: 20px;
}

#product .block_right .product-variants > div .control-label {
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: auto;
}

#product .block_right .product-variants ul {
  margin: 0 -10px;
}

#product .block_right .product-variants li {
  margin: 5px 10px;
}

#product .block_right .product-variants li label {
  display: flex;
  padding: 2px;
  border: solid 1px transparent;
  border-radius: var(--border-radius-primary);
  transition: 0.3s;
}

#product .block_right .product-variants li label.color,
#product .block_right .product-variants .input-radio {
  width: auto;
  height: auto;
}

#product .block_right .product-variants .radio-label {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
  border: solid 1px transparent;
  border-radius: var(--border-radius-primary);
  transition: 0.3s;
}

#product .block_right .product-variants .radio-label.no_hay {
  text-decoration: line-through;
  color: darkgray;
}

#product .block_right .product-variants label:has(.input-radio:checked),
#product .block_right .product-variants label:has(.input-radio:hover) {
  background-color: var(--color-secondary);
  border: solid 1px var(--color-primary);
  cursor: pointer;
}

#product .block_right .product-variants .input-radio:checked + span,
#product .block_right .product-variants .input-radio:hover + span {
  background-color: var(--color-secondary);
}

#product .block_right .product-variants li > label:has(span.color):hover {
  border: solid 1px var(--color-black);
}

#product .block_right .product-variants li span.color {
  height: 40px;
  width: 40px;
  border: none;
  border-radius: var(--border-radius-primary);
}

#product .block_right .product-variants li span.color.white {
  border: solid 1px #896b6030;
}

#product .block_right .product-variants .input-color {
  height: 5px;
  width: 5px;
}

#product .block_right .product-variants .color:has(.input-color:checked) {
  border: solid 1px var(--color-black);
  border-radius: var(--border-radius-primary);
}

/* Cantidad y add carrito */
#product .block_right .product_add_to_cart .product-quantity .qty span > button:first-child {
  border-top-right-radius: var(--border-radius-primary);
  border-bottom-right-radius: var(--border-radius-primary);
}

#product .block_right .product_add_to_cart .product-quantity .qty span > button:last-child {
  border-top-left-radius: var(--border-radius-primary);
  border-bottom-left-radius: var(--border-radius-primary);
}

#product .block_right .product_add_to_cart .product-quantity .add button {
  border-radius: var(--border-radius-primary);
  text-transform: uppercase;
}

/* Reassurance */
#product .block_right .blockreassurance_product,
#product .reassurance_movil .blockreassurance_product {
  margin: 40px 0 0 0 !important;
  padding: 0;
  gap: 20px;
  border: none;
}

#product .block_right .blockreassurance_product > div,
#product .reassurance_movil .blockreassurance_product > div {
  width: calc(50% - 10px);
  padding: 20px;
  margin: 0;
  flex-direction: column;
  gap: 10px;
  background-color: #5a799717;
  border-radius: var(--border-radius-primary);
}

#product .block_right .blockreassurance_product > div > span,
#product .reassurance_movil .blockreassurance_product > div > span {
  width: auto;
  height: 50px;
  margin: 0;
}

#product .block_right .blockreassurance_product > div > span img,
#product .reassurance_movil .blockreassurance_product > div > span img {
  width: auto;
  height: 50px;
}

#product .block_right .blockreassurance_product > div > p,
#product .reassurance_movil .blockreassurance_product > div > p {
  text-align: center;
}

#product .reassurance_movil {
  display: none;
}

/* Tabs descripción y composición */
#product .product-container #tabs {
  margin: 50px 0;
  padding: 0;
}

#product .product-container #tabs li a {
  text-transform: uppercase;
  padding: 0 5px 5px 5px;
  margin-right: 20px;
  color: var(--color-black);
}

#product .product-container #tabs li a:hover {
  opacity: 1;
}

#product .product-container #tabs li:last-child a,
#product .product-container #tabs .tab-content p {
  margin: 0;
}

#product .product-container #tabs .tab-content .product-features {
  margin: 0;
  flex-direction: column;
}

/* Productos relacionados - Visto recientemente */
#product .product-accessories,
#product .viewed {
  margin: 50px 0;
}

#product .product-accessories > p,
#product .viewed > p {
  margin-bottom: 8px;
  font-size: 25px !important;
  font-weight: 500;
}

#product .product-accessories .slick-track {
  margin-left: 0;
}

#product .product-accessories .slick-track .slick-slide {
  padding: 10px 0;
}

/* ------------------- MODAL WISHLIST ------------------- */
.wishlist-modal * {
  color: var(--color-black) !important;
}

.wishlist-modal .modal-content {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
}

.wishlist-modal .modal-header > span {
  font-size: var(--font-size-titles-sm) !important;
}

.wishlist-modal .modal-header button {
  display: flex;
  margin-top: 2px;
  outline: none;
}

.wishlist-modal .modal-header button > span {
  font-size: 25px !important;
  line-height: 25px;
}

.wishlist-modal .modal-body input {
  border-radius: var(--border-radius-primary) !important;
}

.wishlist-modal .modal-body .wishlist-list-item {
  margin: 0 !important;
}

.wishlist-modal .modal-footer .modal-cancel:hover {
  color: var(--color-white) !important;
  opacity: 1;
}

.wishlist-modal .modal-footer .btn-primary {
  color: var(--color-white) !important;
}

.wishlist-modal .modal-footer .btn-primary:hover {
  color: var(--color-black) !important;
}

/* -------------------- MODAL CARRITO ------------------- */
#blockcart-modal .modal-header {
  background-color: var(--color-primary);
}

#blockcart-modal .modal-header button {
  outline: none;
}

#blockcart-modal .modal-header .modal-title {
  font-size: var(--font-size-text);
}

#blockcart-modal .modal-body {
  padding: 0 !important;
}

#blockcart-modal .modal-body .modal_products .row {
  display: flex;
  align-items: center;
}

#blockcart-modal .modal-body .modal_products .product-image {
  max-width: 11rem !important;
}

#blockcart-modal .modal-body .modal_products .product-name-value {
  margin-bottom: var(--spaces-xs);
  display: flex;
  line-height: 20px;
}

#blockcart-modal .modal-body .modal_products .product-attributes > span,
#blockcart-modal .modal-body .modal_products .product_action > span {
  font-size: var(--font-size-text-sm) !important;
}

/* ----------------------- CARRITO ---------------------- */
#cart #wrapper > .container {
  margin-top: 50px;
}

#cart .cart-grid {
  margin-bottom: 50px;
}

/* Bloque izquierda */
#cart .cart-grid > .left {
  margin: 0;
}

#cart .cart-grid > .left .card-block {
  padding: 0;
}

#cart .cart-grid > .left .card-block > h1 {
  line-height: unset;
  font-weight: 500;
}

#cart .cart-grid > .left .cart-item {
  margin: 0;
  padding: 15px 0;
}

#cart .cart-grid > .left .cart-item:last-child {
  padding-bottom: 0;
}

#cart .cart-grid > .left .cart-item > .cart__product-name {
  padding-right: 20px;
}

#cart .cart-grid > .left .cart-item .product-attributes span {
  font-size: var(--font-size-text-sm) !important;
}

#cart .cart-grid > .left .cart-item .cart__product-qty button:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

#cart .cart-grid > .left .cart-item .cart__product-qty button:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

#cart .cart-item .cart__product-price .product-totalprice {
  font-weight: bold;
}

#cart .cart-item .cart__product-price .product-totalprice .old_price {
  font-size: 13px !important;
  margin-right: 5px;
}

#cart .cart-item .cart__product-price .product-price {
  margin-top: 0;
  font-size: 15px !important;
}

/* Bloque derecha */
#cart .cart-grid > .right > .card {
  margin: 0;
}

#cart .cart-grid > .right .cart-summary_header,
#checkout .right .cart-summary_header {
  padding: 1rem;
  font-size: 32px !important;
}

#cart .cart-grid > .right .block-promo .promo-code-button > a,
#checkout .right .block-promo .promo-code-button > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cart .cart-grid > .right .block-promo .promo-code form .promo-input,
#checkout .right .block-promo .promo-code form .promo-input {
  border-top-left-radius: var(--border-radius-primary);
  border-bottom-left-radius: var(--border-radius-primary);
  border-color: var(--color-primary);
  border-right: none;
  height: 42px;
}

#cart .cart-grid > .right .block-promo .promo-code form button,
#checkout .right .block-promo .promo-code form button {
  background-color: var(--color-primary);
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
  height: 42px;
}

#cart .cart-grid > .right .block-promo .promo-code form button:hover,
#checkout .right .block-promo .promo-code form button:hover {
  background-color: var(--color-secondary);
}

#cart .cart-grid > .right .block-promo .promo-code .alert,
#checkout .right .card-block > .block-promo .alert {
  margin-bottom: 0;
}

#cart .cart-grid > .right .block-promo .promo-code .alert > span {
  font-size: 16px !important;
  padding: 0;
}

#cart .cart-grid > .right .card-block {
  padding: 1rem;
}

#cart .cart-grid > .right .promo-name li {
  margin: 0;
}

#cart .cart-grid > .right .card-block:last-child {
  padding-top: 0;
}

#cart .cart-grid > .right .card-block:last-child .cart-total {
  padding: 1rem 0 0 0;
  margin: 0;
}

#cart .cart-grid > .right .card-block.checkout {
  padding-bottom: 0;
}

/* ---------------------- CHECKOUT ---------------------- */
#checkout #wrapper {
  padding-top: 50px;
}

#checkout .left > section,
#checkout .right > section,
#order-confirmation #main > section {
  border: solid 1px var(--color-primary) !important;
  border-radius: var(--border-radius-primary);
}

/* Bloque izquierda */
#checkout .left .step-number {
  font-size: 32px !important;
}

#checkout .left #checkout-personal-information-step .content {
  padding: 0;
}

#checkout .left #checkout-personal-information-step .content .color_rojo,
#checkout .left #checkout-personal-information-step .content button {
  margin: 0;
}

#checkout .left #checkout-personal-information-step #login-form button {
  margin-top: 10px;
}

#checkout .left #checkout-addresses-step .content,
#checkout .left #checkout-delivery-step .content,
#checkout .left #checkout-payment-step .content {
  padding: 0;
}

#checkout .left #checkout-addresses-step .content div > article {
  border-radius: var(--border-radius-primary);
}

#checkout .left #checkout-addresses-step .content div > article .radio-block {
  margin: 0;
  min-height: 213px;
}

#checkout .left #checkout-addresses-step .content .add-address {
  margin: 5px 0 10px 0;
}

#checkout .left #checkout-addresses-step .content .add-address a:hover {
  color: var(--color-white);
}

#checkout .left #checkout-addresses-step .content .text_small,
#checkout .left #checkout-payment-step .condition-label label a {
  font-size: 12px !important;
  text-decoration: underline;
}

#checkout .left #checkout-delivery-step .delivery-options > div {
  border-radius: var(--border-radius-primary);
}

#checkout .left #checkout-delivery-step .order-options > #delivery {
  margin: 0;
}

#checkout .left #checkout-delivery-step .order-options > #delivery textarea {
  border-radius: var(--border-radius-primary);
  outline: none;
  padding: 10px;
  margin: 0;
}

#checkout .left #checkout-delivery-step .content #hook-display-after-carrier {
  margin: 0;
}

#checkout .left #checkout-payment-step .payment-options > div > div {
  border-radius: var(--border-radius-primary);
  display: flex;
  align-items: center;
}

#checkout .left #checkout-payment-step .payment-options > div > div label {
  margin: 0;
}

/* Bloque derecha */
#checkout .right .cart-summary_header {
  border-radius: var(--border-radius-primary);
}

#checkout .right .card-block-products {
  padding-bottom: 0 !important;
}

#checkout .right .card-block > .cart-summary-products {
  border: none !important;
}

#checkout .right .card-block > .cart-summary-products > div ul {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

#checkout .right .card-block > .block-promo {
  margin: 0;
}

#checkout .right .card-block > .card-block {
  padding: 1rem 0 !important;
}

#checkout .right .card-block:last-child .cart-total {
  padding: 1rem 0;
  margin: 0;
}

#checkout .right .card-block:last-child .cart-total > span {
  margin: 0;
  font-size: 18px !important;
}

/* --------------- CONFIRMACIÓN DE PEDIDO --------------- */
#order-confirmation #wrapper {
  padding: 50px 0;
}

#order-confirmation #wrapper #content,
#order-confirmation #wrapper .page-footer {
  margin: 0;
}

#order-confirmation #wrapper .card-title {
  font-size: 24px !important;
}

#order-confirmation #wrapper #content-hook-order-confirmation-footer {
  border: none !important;
}

/* -------------------- INICIAR SESIÓN ------------------ */
#authentication #content-wrapper,
#registration #content-wrapper {
  padding-bottom: 50px;
}

#authentication #content-wrapper #content {
  padding-bottom: 1rem;
}

#authentication #content-wrapper #content h1,
#registration #content-wrapper #content h1,
#password #content-wrapper #content h1 {
  margin-bottom: 20px;
  text-align: center;
}

#authentication #content-wrapper #content .login-form input,
#registration #content-wrapper #content .register-form input,
#password #content-wrapper #content input,
#order-detail #content-wrapper #content select,
#order-detail #content-wrapper #content textarea,
#identity #content-wrapper form input,
#address #content-wrapper form input,
#address #content-wrapper form select,
#checkout .left form input,
#checkout .left form select {
  border-radius: var(--border-radius-primary);
}

#registration #content-wrapper #content .register-form .form-control-comment {
  font-size: 13px !important;
}

#registration #content-wrapper #content .register-form .custom-checkbox a {
  font-size: 12px !important;
}

#authentication #content-wrapper #content a:hover,
#registration #content-wrapper #content a:hover,
#password .page-footer a:hover,
#password .page-footer a:hover span {
  text-decoration: underline;
}

#authentication .page-footer,
#registration .page-footer {
  margin: 0;
}

/* ---------------------- REGISTRO ---------------------- */
#registration #content,
#password #content {
  max-width: 640px;
  padding: 32px;
  margin: 0 auto;
}

/* ----------------- PASSWORD RECOVERY ------------------ */
#password #content > form {
  padding: 0;
}

#password #content > form .send-renew-password-link {
  font-size: 16px !important;
}

#password #content > form .form-group,
#password .ps-alert-success li {
  margin: 0;
}

#password #content > form .form-group .form-footer > button {
  width: 100%;
  height: auto;
}

#password .page-footer {
  margin-top: 20px;
  margin-bottom: 50px;
}

#password .page-footer a {
  display: flex;
  align-items: center;
  gap: 5px;
}

#password .ps-alert-success {
  padding: 0;
  margin: 0;
}

#password .ps-alert-success li,
#password .ps-alert-error li {
  border-radius: var(--border-radius-primary);
}

#password .ps-alert-success li p,
#password .ps-alert-error li p {
  border-top-right-radius: var(--border-radius-primary);
  border-bottom-right-radius: var(--border-radius-primary);
}

/* --------------------- MI CUENTA ---------------------- */
#my-account #content {
  padding-bottom: 50px;
}

#my-account #content .my-account-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: start;
}

#my-account #content .my-account-container > a {
  padding: 0 10px;
}

#my-account #content .my-account-container > a:hover {
  opacity: 1;
}

#my-account #content .my-account-container .link-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius-primary);
  border: solid 1px var(--color-primary);
}

#my-account #content .my-account-container .link-item:hover {
  background-color: var(--color-secondary);
  opacity: 1;
}

#my-account #content .my-account-container .link-item > i {
  color: var(--color-black);
}

#my-account #content #link_logout > a {
  margin: 20px;
  padding: 0;
}

#my-account #content #link_logout > a > .link-item {
  border: none;
  border-radius: var(--border-radius-primary);
}

#my-account #content #link_logout > a:hover {
  opacity: 1;
}

/* ---------------- SUBAPARTADOS MI CUENTA -------------- */
#left-column .navigation_desktop,
#history #content-wrapper,
#order-detail #content-wrapper,
#discount #content-wrapper,
#order-slip #content-wrapper,
#identity #content-wrapper,
#addresses #content-wrapper,
#address #content-wrapper,
#contact #content-wrapper,
#module-psgdpr-gdpr #content-wrapper .container .page_content > div,
#module-blockwishlist-lists #content-wrapper {
  margin-bottom: 60px;
}

#left-column .navigation_desktop .title {
  font-weight: 600;
}

#left-column .navigation_account:last-child {
  padding-bottom: 0;
}

#history #content p,
#discount #content p,
#order-slip #content p,
#identity #content p,
#addresses #content p,
#address #content p {
  margin: 0;
}

#history #content h2,
#discount #content h2,
#order-slip #content h2,
#identity #content h2,
#addresses #content h2,
#address #content h2 {
  margin-bottom: 20px;
}

#history #content .orders_history {
  margin-top: 20px;
}

#history #content .order_history,
#order-detail #content .order-items > div {
  border: solid 1px var(--color-black);
  border-radius: var(--border-radius-primary);
}

#history #content .order_history .history_buttons {
  padding-bottom: 0;
}

#order-detail #content .container,
#order-detail #content .order-message-form {
  padding: 0 !important;
  margin: 0;
}

#order-detail #content .order_resume > .box,
#order-detail #content .messages {
  padding-left: 0;
  padding-right: 0;
}

#discount #content table,
#order-slip #content table {
  border: solid 1px var(--color-primary);
}

#discount #content table > thead th,
#order-slip #content table > thead th {
  background-color: var(--color-primary);
  color: var(--color-white);
}

#discount #content table th,
#discount #content table td,
#order-slip #content table th,
#order-slip #content table td {
  text-align: center !important;
}

#discount .cart-rules .cart-rule > ul {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
  padding-top: 10px;
  padding-bottom: 10px;
}

#order-slip .p2 {
  margin-bottom: 10px !important;
}

#order-slip .credit-slips .credit-slip > ul {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
  padding: 10px;
}

#identity #content-wrapper .card_account,
#address #content-wrapper .card_account {
  margin: 0;
  padding: 0;
}

#addresses #content-wrapper #notifications .container,
#address #content-wrapper #notifications .container {
  padding: 0 !important;
}

#addresses #content-wrapper #notifications .container > article,
#address #content-wrapper #notifications .container > article {
  margin: 0 0 40px 0;
}

#addresses #content-wrapper div:not(.container) > article {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
  margin-bottom: 20px;
}

#addresses #content-wrapper .addresses-footer {
  margin: 0;
}

#addresses #content-wrapper .addresses-footer > a:hover > span {
  opacity: 1;
}

#module-psgdpr-gdpr #content-wrapper,
#module-psgdpr-gdpr #content-wrapper .container {
  padding: 0 !important;
}

#module-psgdpr-gdpr #content-wrapper .container .page_content > div {
  margin-bottom: 20px;
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
}

/**/
#module-blockwishlist-lists #content-wrapper .wishlist-container-header,
#module-blockwishlist-lists #content-wrapper .wishlist-container-header h1 {
  margin: 0;
}

#module-blockwishlist-lists #content-wrapper a {
  color: var(--color-black) !important;
}

#module-blockwishlist-lists #content-wrapper a:hover,
#module-blockwishlist-lists #content-wrapper li:hover p {
  color: var(--color-black) !important;
}

#module-blockwishlist-lists #content-wrapper #content {
  margin: 0;
  padding: 0;
  box-shadow: none !important;
}

#module-blockwishlist-lists #content-wrapper #content li:not(.wishlist-list-item-default) > a {
  padding-bottom: 0;
}

#module-blockwishlist-lists #content-wrapper #content .dropdown-menu {
  position: absolute;
  right: 40px;
  top: 35px;
  z-index: 9;
}

#module-blockwishlist-lists #content-wrapper #content .dropdown-menu > * {
  font-size: var(--font-size-text);
}

/* Detalles lista de deseos */
#view .wishlist-products-container {
  margin-bottom: 40px;
}

#view .wishlist-products-container > div h1,
#view .wishlist-products-container > #content {
  margin: 0 !important;
}

#view .wishlist-products-container > div .sort-by-row {
  display: none;
}

#view .wishlist-products-container ul {
  padding: 0;
  margin: 0;
  gap: 20px;
}

#view .wishlist-products-container ul li {
  margin: 0;
}

#view .wishlist-products-container ul li .wishlist-button-add {
  box-shadow: none;
  background-color: transparent;
}

#view .wishlist-products-container ul li .wishlist-product-title {
  margin: 0;
  min-height: 60px;
}

#view .wishlist-products-container ul li .wishlist-product-price {
  margin: 10px 0;
}

#view .wishlist-products-container ul li .wishlist-product-price > span {
  color: var(--color-red);
}

#view .wishlist-products-container ul li .wishlist-product-combinations {
  align-items: center;
}

#view .wishlist-products-container ul li .wishlist-product-combinations * {
  font-size: 14px !important;
}

#view .wishlist-products-container ul li .wishlist-product-combinations > a {
  margin-left: 10px;
}

#view .wishlist-products-container ul li .wishlist-product-combinations > a i {
  font-size: var(--font-size-text) !important;
}

#view .wishlist-products-container ul li .wishlist-product-bottom {
  margin-top: 10px;
}

/* ---------------------- CONTACTO ---------------------- */

/* Bloque izquierda - Información */
#contact #contact-block {
  border: solid 1px var(--color-primary);
  border-radius: var(--border-radius-primary);
}

#contact-block > .contact-block-top {
  position: relative;
}

#contact-block > .contact-block-top > img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
  border-top-left-radius: var(--border-radius-primary);
  border-top-right-radius: var(--border-radius-primary);
}

#contact-block > .contact-block-top > .imgCont {
  position: absolute;
  bottom: 10px;
  left: 20px;
}

#contact-block > .contact-block-links {
  padding: var(--spaces-md);
}

#contact-block > .contact-block-links > .contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

#contact-block > .contact-block-links > .contact-link:not(:last-child) {
  margin-bottom: 10px;
}

#contact-block > .contact-block-links > .contact-link > .contact-link-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 50%;
  min-width: 40px;
  height: 40px;
}

#contact-block > .contact-block-links > .contact-link .contact-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

#contact-block > .contact-block-links > .contact-link .contact-link-text:hover {
  text-decoration: underline;
}

/* Bloque derecha - Formulario */
#contact #content-wrapper #content,
#contact #content-wrapper #content > .contact-form,
#contact #content-wrapper .page-footer {
  margin: 0;
  padding: 0;
}

#contact #content-wrapper form .form-group:not(.file) input,
#contact #content-wrapper form .form-group select,
#contact #content-wrapper form .form-group textarea {
  border-radius: var(--border-radius-primary);
}

#contact #content-wrapper form .file input {
  border-top-left-radius: var(--border-radius-primary);
  border-bottom-left-radius: var(--border-radius-primary);
}

#contact #content-wrapper form label {
  border-top-right-radius: var(--border-radius-primary);
  border-bottom-right-radius: var(--border-radius-primary);
  transition: 0.3s;
  height: 41px;
}

#contact #content-wrapper form label:hover {
  background-color: var(--color-secondary);
}

/* ----------------------- MARCAS ----------------------- */
#manufacturer #main > ul {
  margin: -10px;
}

#manufacturer #main > ul .brand {
  margin: 10px !important;
  padding: 0 !important;
  width: calc(20% - 20px) !important;
  min-width: auto;
  border-radius: var(--border-radius-primary);
}

/* ------------------------ CMS ------------------------- */
#cms .page-header {
  display: none;
}

#cms #content {
  margin-bottom: 80px;
}

#cms h3 {
  margin-top: 40px;
}

#cms .button-cookies {
  margin-top: 20px;
  color: var(--color-white);
}

#cms .button-cookies:hover {
  color: var(--color-black);
}

/* ------ RESULTADOS BÚSQUEDA / OFERTAS / NOVEDADES ----- */
#search #js-product-list-header,
#prices-drop #js-product-list-header,
#new-products #js-product-list-header {
  margin-bottom: 20px;
}

#btn_inifinitescroll {
  margin-top: -20px !important;
  margin-bottom: 60px !important;
}

/* --------------------- RESPONSIVE --------------------- */
@media (max-width: 1199px) {
  /* ---------------------- HEADER ---------------------- */
  /* Buscador */
  #content_search .result_searchbar #js-product-list .products > div {
    width: calc(25% - var(--spaces-sm));
  }

  /* ---------------------- FOOTER ---------------------- */
  #footer .pre-footer .row > .links {
    text-align: center;
  }

  #footer .footer-container .row:first-child > .links {
    width: calc(100% / 3);
  }

  #footer .footer-container .row:first-child > .links:first-child {
    width: 100%;
    margin-bottom: 40px;
  }

  /* Newsletter */
  #footer .footer-container .block_newsletter > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #footer .footer-container .block_newsletter > div > form {
    max-width: 500px;
  }

  /* Links */
  #footer .footer-container .row:first-child > .links > h3,
  #footer .footer-container .row:first-child > .links > ul li {
    text-align: center;
  }

  /* Redes sociales / Métodos de pago */
  #footer .footer-container .row:last-child > div {
    width: 100%;
  }

  #footer .footer-container .metodosPago {
    align-items: center;
  }

  /* --------------------- CATEGORÍA -------------------- */
  /* Filtros móvil / Nº productos / Ordenar por */
  #category #js-product-list-top {
    margin: 0 0 30px 0;
  }

  #category #js-product-list-top .total-filter-products > p {
    padding-left: 20px;
  }

  /* Filtros desktop */
  #category #js-active-search-filters,
  #category #search_filters {
    display: none;
  }

  #category #search_filters .facet ul.flex.collapse.in,
  #category #search_filters .facet ul.flex.collapsing {
    display: flex !important;
  }

  /* Grid productos en sí */
  #category #content-wrapper {
    width: 100%;
    padding: 0;
  }

  /* --------------------- PRODUCTO --------------------- */
  /* Cantidad y add carrito */
  #product .block_right .product_add_to_cart .product-quantity .qty {
    margin-bottom: 0;
    justify-content: flex-start;
  }

  #product .block_right .product_add_to_cart .product-quantity .add {
    width: auto;
  }
}

@media (max-width: 991px) {
  /* ---------------------- HEADER ---------------------- */
  /* Topbar */
  #header .header-nav {
    display: flex;
    background-color: var(--color-primary);
  }

  #header .header-nav > .container {
    width: 100%;
  }

  /* Buscador */
  #content_search .result_searchbar #js-product-list .products > div {
    width: calc(33.33% - var(--spaces-sm));
  }

  /* ---------------------- FOOTER ---------------------- */
  /* Copyright */
  #footer .copyright .copyright_content {
    flex-direction: row;
  }

  /* ----------------------- HOME ----------------------- */
  /* Carrusel imágenes */
  #index #carousel {
    left: 0;
    width: auto;
    margin: var(--spaces-md) 0 0 0;
    background-color: transparent;
  }

  /* Banners categories */
  #index .dbhomecategories ul li:first-child {
    padding-right: 10px;
  }

  #index .dbhomecategories ul li:last-child {
    padding-left: 10px;
  }

  #index .dbhomecategories ul a > div {
    right: 25px !important;
  }

  #index .dbhomecategories ul a > div > span,
  #index #banners-home > div > .banner > a .text > .banner-title > span {
    font-size: 50px !important;
  }

  #index .dbhomecategories ul a > div > span:first-child,
  #index #banners-home > div > .banner > a .text > .banner-subtitle {
    font-size: 22px !important;
  }

  /* --------------------- PRODUCTO --------------------- */
  /* Bloque izquierda - Imágenes / Flags */
  #product .block_left .product_cover_thumbnails .slider-for > div {
    width: auto !important;
  }

  #product .block_left .product_cover_thumbnails .slider-for .slick-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  #product .block_left .product_cover_thumbnails .slider-for .slick-arrow.slick-prev {
    left: 0;
    z-index: 9;
  }

  #product .block_left .product_cover_thumbnails .slider-for .slick-arrow img {
    width: 15px !important;
    height: 20px !important;
  }

  /* Bloque derecha - Información */
  #product .block_right .product-actions {
    padding: 0;
  }

  /* Reassurance */
  #product .reassurance_movil .blockreassurance_product {
    width: 100%;
    margin: 0 0 50px 0 !important;
    flex-direction: row;
  }

  #product .block_right .blockreassurance_product {
    display: none;
  }

  #product .reassurance_movil {
    display: flex;
  }

  /* --------------------- CARRITO ---------------------- */
  /* Bloque derecha */
  #cart .cart-grid > .right > .card {
    margin-top: 20px;
  }

  #cart .cart-grid > .right .cart-summary_header,
  #cart .cart-grid > .right .cart-detailed-totals {
    padding-right: 0;
    padding-left: 0;
  }

  /* ---------------------- MARCAS ---------------------- */
  #manufacturer #main > ul .brand {
    width: calc(25% - 20px) !important;
  }
}

@media (max-width: 767px) {
  /* ---------------------- FOOTER ---------------------- */
  #footer .footer-container .row:first-child {
    padding: 0;
  }

  #footer .footer-container .row:first-child > .links:first-child {
    margin-bottom: 20px;
  }

  #footer .footer-container .row:first-child > .links:not(:first-child) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .footer-container .row:first-child > .links .title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 20px 0 0 0;
  }

  #footer .footer-container .row:first-child > .links ul {
    margin: 0 !important;
    width: 170px;
  }

  #footer .footer-container .row:first-child > .links ul li {
    text-align: left;
  }

  #footer .footer-container .row:first-child > .links .title > h3 {
    margin: 0;
    width: 150px;
  }

  /* Redes sociales / Métodos de pago */
  #footer .footer-container .row {
    padding: 40px 0;
  }

  /* Copyright */
  #footer .copyright .copyright_content {
    padding-top: 0;
  }

  /* Logo footer grande */
  #footer .logoFooter img {
    bottom: -20px;
    margin-left: -50px;
    width: auto;
    height: auto;
  }

  /* ----------------------- HOME ----------------------- */
  /* Banners categories */
  #index .dbhomecategories ul li {
    padding: 0 !important;
  }

  #index .dbhomecategories ul li:last-child {
    margin-top: var(--spaces-md);
  }

  /* Banners home */
  #index #banners-home > div > .banner {
    width: 100%;
  }

  /* --------------------- CATEGORÍA -------------------- */
  /* Filtros móvil / Nº productos / Ordenar por */
  #category #js-product-list-top .total-filter-products {
    width: 45%;
  }

  #category #js-product-list-top .sort {
    width: 55%;
  }

  #category #js-product-list-top .total-filter-products > div {
    width: auto;
  }

  /* Modal filtros móvil */
  #filters_category .modal-body #search_filters {
    margin: 0 !important;
    border: none !important;
  }

  #category #search_filters .facet {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }

  #category #search_filters .facet .title {
    margin-bottom: 10px;
  }

  #category #search_filters .facet .facet-title {
    padding: 0 !important;
  }

  #category #search_filters .facet ul li {
    padding: 0 10px !important;
  }

  /* ---------------------- MARCAS ---------------------- */
  #manufacturer #main > ul .brand {
    width: calc(calc(100% / 3) - 20px) !important;
  }
}

@media (max-width: 543px) {
  .breadcrumb {
    padding-top: 30px !important;
  }

  /* ---------------------- HEADER ---------------------- */
  #header {
    height: 75px;
  }

  /* Topbar */
  #header .header-nav {
    display: none;
  }

  /* Buscador */
  #content_search .result_searchbar #js-product-list .products > div {
    width: calc(50% - var(--spaces-sm));
  }

  /* Logo */
  #header .container .logoContainer {
    padding: 0 var(--spaces-sm);
    display: flex;
  }

  #header .container .logoContainer > a {
    margin-top: 4px;
  }

  #header .container .logoContainer img {
    max-width: 130px;
  }

  /* Iconos */
  #header .container #iconosHeader {
    gap: 15px;
  }

  /* Menu modal */
  #menu-modal .contact {
    display: flex;
  }

  /* ---------------------- FOOTER ---------------------- */
  /* Copyright */
  #footer .copyright .copyright_content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 5px;
  }

  /* ----------------------- HOME ----------------------- */
  /* Reassurance */
  #index .reassurance,
  #product .reassurance_movil .blockreassurance_product {
    flex-direction: column;
    gap: 10px;
  }

  #index .reassurance > div,
  #product .reassurance_movil .blockreassurance_product > div {
    padding: 10px 20px;
    width: 100%;
    gap: 10px;
  }

  /* Featured products - Novedades */
  .featured-products .slick-arrow,
  .product-accessories .slick-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .featured-products .slick-arrow.slick-prev,
  #index .slider-products-home > .products .slick-arrow.slick-prev,
  .product-accessories .slick-arrow.slick-prev {
    left: 10px;
    z-index: 9;
  }

  .featured-products .slick-arrow.slick-next,
  #index .slider-products-home > .products .slick-arrow.slick-next,
  .product-accessories .slick-arrow.slick-next {
    right: 0;
    z-index: 9;
  }

  /**/

  /* Miniatura producto */
  .product-miniature {
    padding: 15px;
  }

  .product-miniature .product-description .product-price-and-shipping {
    gap: var(--spaces-xs);
  }

  .product-miniature .product-description .product-price-and-shipping .regular-price {
    font-size: 12px !important;
  }

  .product-miniature .product-description .add > button {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* --------------------- CATEGORÍA -------------------- */
  /* Filtros móvil / Nº productos / Ordenar por */
  #category #js-product-list-top {
    padding: 20px 0;
  }

  #category #js-product-list-top > div {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

  #category #js-product-list-top > .sort {
    margin-top: 20px;
  }

  #category #js-product-list-top .sort-by-row select {
    padding: 0;
  }

  /* ---------------------- MARCAS ---------------------- */
  #manufacturer #main > ul .brand {
    width: calc(50% - 20px) !important;
  }
}
