/* Search autocomplete appears above nav bar */
.page-header {
  z-index: 30 !important;
}

.page-layout-2columns-left .products-grid .product-item,
.page-layout-1column .products-grid .product-item,
.page-layout-3columns .products-grid .product-item,
.page-layout-2columns-left .products-grid .product-item-info,
.page-layout-1column .products-grid .product-item-info,
.page-layout-3columns .products-grid .product-item-info,
.page-layout-2columns-left .products-grid .product-item-photo,
.page-layout-1column .products-grid .product-item-photo,
.page-layout-3columns .products-grid .product-item-photo,
.page-layout-2columns-left .products-grid [class*="product-image-container"],
.page-layout-1column .products-grid [class*="product-image-container"],
.page-layout-3columns .products-grid [class*="product-image-container"],
.page-layout-2columns-left .products-grid .product-image-wrapper,
.page-layout-1column .products-grid .product-image-wrapper,
.page-layout-3columns .products-grid .product-image-wrapper {
  width: 100% !important;
  max-width: none !important;
}

.page-layout-2columns-left .products-grid .product-item,
.page-layout-1column .products-grid .product-item,
.page-layout-3columns .products-grid .product-item {
  justify-self: stretch;
  align-self: start;
}

.page-layout-2columns-left .products-grid .product-item-info,
.page-layout-1column .products-grid .product-item-info,
.page-layout-3columns .products-grid .product-item-info,
.page-layout-2columns-left .products-grid .product-item-details,
.page-layout-1column .products-grid .product-item-details,
.page-layout-3columns .products-grid .product-item-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.page-layout-2columns-left .products-grid .product-item-inner,
.page-layout-1column .products-grid .product-item-inner,
.page-layout-3columns .products-grid .product-item-inner,
.page-layout-2columns-left .products-grid .product-item-actions,
.page-layout-1column .products-grid .product-item-actions,
.page-layout-3columns .products-grid .product-item-actions {
  margin-top: auto;
}

.catalog-product-view .columns {
  display: block !important;
}

.catalog-product-view .column.main {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  grid-template-columns: minmax(0, 58%) minmax(26rem, 1fr) !important;
  gap: 3.6rem !important;
  align-items: start !important;
}

.catalog-product-view .column.main > .product.media,
.catalog-product-view .column.main > .product-info-main {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

.catalog-product-view .column.main > .product.media {
  order: 0 !important;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: static !important;
  top: auto !important;
}

.catalog-product-view .column.main > .product-info-main {
  order: 1 !important;
  grid-column: 2;
  grid-row: 1;
}

.catalog-product-view .column.main > .product.media .gallery-placeholder,
.catalog-product-view .column.main > .product.media .gallery-placeholder__image,
.catalog-product-view .column.main > .product.media .fotorama__img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

.catalog-product-view .products-related .products-grid .product-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.8rem 1.2rem;
}

.catalog-product-view .column.main > .product.info.detailed {
  grid-column: 1 / -1;
  grid-row: 3;
}

.catalog-product-view .column.main > .editorial-related-shelf {
  grid-column: 1 / -1;
  grid-row: 2;
}

.catalog-product-view .column.main > .products-related {
  grid-column: 1 / -1;
  grid-row: 4;
}

.footer.content,
.editorial-footer-grid,
.editorial-footer-bottom {
  width: 100% !important;
  max-width: none !important;
}

.editorial-footer-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1.35fr .95fr;
  gap: 2.2rem;
}

/* #multiple_blocks layout handled below — float rules override these */
.cms-home #multiple_blocks a {
  display: block;
}

/* ===== Product gallery: Fotorama M1 parity ===== */
.catalog-product-view .product.media .gallery-placeholder {
  width: 100% !important;
}
/* Hide fallback placeholder image once Fotorama initializes */
.gallery-placeholder:not(._block-content-loading) .gallery-placeholder__image {
  display: none !important;
}
.catalog-product-view .product.media .fotorama {
  width: 100% !important;
}
.catalog-product-view .product.media .fotorama__stage {
  background: #fff !important;
  border: 0 !important;
}
.catalog-product-view .product.media .fotorama__stage__shaft {
  box-shadow: 4px 4px 10px rgba(51, 51, 51, .3) !important;
}
.catalog-product-view .product.media .fotorama__stage__frame .fotorama__img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
.catalog-product-view .product.media .fotorama__nav__frame .fotorama__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.catalog-product-view .product.media .fotorama__nav-wrap {
  display: block !important;
}
.catalog-product-view .product.media .fotorama__nav--thumbs {
  margin-top: 6px !important;
}
.catalog-product-view .product.media .fotorama__thumb-border {
  border-color: #000 !important;
}
.catalog-product-view .product.media .fotorama__thumb {
  background: #f5f5f5 !important;
}
.catalog-product-view .product.media .fotorama__arr {
  background: rgba(255, 255, 255, .7) !important;
}

.editorial-home-hero {
  position: relative;
  margin: 0 0 1.8rem;
  overflow: hidden;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #f6f7f7;
}

.editorial-home-hero-track {
  position: relative;
  min-height: 23rem;
}

.editorial-home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.editorial-home-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.editorial-home-hero-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-home-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.editorial-home-hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.editorial-home-hero-dot:hover {
  background: rgba(0, 0, 0, .3);
}

.editorial-home-hero-dot.is-active {
  background: #000;
  border-color: #000;
}

.editorial-home-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  color: #111;
  cursor: pointer;
}

.editorial-home-hero-arrow.prev {
  left: 12px;
}

.editorial-home-hero-arrow.next {
  right: 12px;
}

.editorial-home-hero-arrow:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.editorial-home-hero-arrow.prev:before {
  transform: rotate(-135deg);
}

.editorial-home-hero-arrow.next:before {
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .catalog-product-view .column.main,
  .catalog-product-view .products-related .products-grid .product-items,
  .editorial-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .catalog-product-view .column.main,
  .catalog-product-view .products-related .products-grid .product-items,
  .editorial-footer-grid,
  .cms-home #multiple_blocks.contenido {
    grid-template-columns: 1fr !important;
  }

  .catalog-product-view .column.main > .product.media {
    position: static;
  }

  .editorial-home-hero-track {
    min-height: 0;
  }

  .editorial-home-hero {
    margin: 0 0 1.4rem;
    padding: .75rem 0 .95rem;
    border: 0;
    background: #ff8b6d;
  }

  .editorial-home-hero-slide {
    position: static;
    display: none;
    justify-content: center;
    align-items: center;
    padding: .2rem 0 0;
    opacity: 1;
    pointer-events: auto;
  }

  .editorial-home-hero-slide.is-active {
    display: flex;
  }

  .cms-home .editorial-home-hero-slide img,
  .editorial-home-hero-slide img {
    width: min(52vw, 12.5rem) !important;
    max-width: min(52vw, 12.5rem) !important;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  }

  .editorial-home-hero-dots {
    position: static;
    justify-content: center;
    gap: 10px;
    padding-top: .55rem;
  }

  .editorial-home-hero-dot {
    width: 9px;
    height: 9px;
    border-color: #1a1a1a;
    background: transparent;
  }

  .editorial-home-hero-dot.is-active {
    background: #1a1a1a;
    border-color: #1a1a1a;
  }
}

.cms-home .page-main {
  max-width: 1380px;
}

.cms-home .post-bloque {
  min-height: 0 !important;
  margin: 0 !important;
}

.editorial-home-shelf,
.editorial-home-authors {
  margin: 0 0 2.4rem;
}

.editorial-home-shelf-header,
.editorial-home-authors-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.2rem;
}

.editorial-home-shelf-title,
.editorial-home-authors-title {
  margin: 0;
  color: #111;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.editorial-home-shelf-link,
.editorial-home-authors-link {
  color: #009fe3;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Carousel wrapper — contains CatalogWidget output */
.editorial-home-carousel {
  position: relative;
  overflow: hidden;
}

/* Make the widget product grid horizontal-scrollable */
.editorial-home-carousel .products.widget-product-grid,
.editorial-home-carousel .products-grid {
  margin: 0;
}

.editorial-home-carousel .product-items {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 16px !important;
  padding: 8px 0 16px !important;
  margin: 0 !important;
  grid-template-columns: none !important;
}

.editorial-home-carousel .product-items::-webkit-scrollbar {
  display: none;
}

.editorial-home-carousel .product-item {
  flex: 0 0 200px !important;
  width: 200px !important;
  margin: 0 !important;
}

.editorial-home-carousel .product-item-info {
  width: 100%;
}

.editorial-home-carousel .product-item-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.editorial-home-carousel .product-image-wrapper {
  padding-bottom: 0 !important;
}

.editorial-home-carousel .product-image-photo {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  object-position: center top;
}

.editorial-home-carousel .product-item-name {
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  hyphens: none;
  -webkit-hyphens: none;
  text-rendering: optimizeSpeed;
  margin: 0.8rem 0 0.2rem;
}

.editorial-home-carousel .product-item-name a {
  color: #636363;
  text-decoration: none;
}

.editorial-home-carousel .product-item-name a:hover {
  color: #009fe3;
}

.editorial-home-carousel .price-box {
  margin: 0.3rem 0 0;
}

.editorial-home-carousel .price {
  font-size: 13px;
  font-weight: 700;
  color: #636363;
}

/* M1: Comprar + heart always visible below card */
.editorial-home-carousel .product-item-inner {
  display: block !important;
}
.editorial-home-carousel .product-item-actions {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.editorial-home-carousel .product-item-actions .actions-primary {
  flex: 1 1 auto;
}
/* M1 button style: white bg, grey border, cart icon, dark text */
.editorial-home-carousel .product-item-actions .actions-primary .tocart {
  width: 100% !important;
  background-color: #fff !important;
  background-image: url('../images/bt-carrito.png') !important;
  background-repeat: no-repeat !important;
  background-position: 7px 50% !important;
  background-size: 24px !important;
  color: #222 !important;
  border: 1px solid #bbb !important;
  border-radius: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 6px 17px 6px 38px !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  text-align: left !important;
}
.editorial-home-carousel .product-item-actions .actions-primary .tocart:hover {
  background-color: #f5f5f5 !important;
  border-color: #888 !important;
}
/* Heart: show as image matching M1 lista-deseo.png — Luma hides this by default */
.editorial-home-carousel .product-item-actions .actions-secondary {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
}
/* Only show wishlist (first link), hide compare */
.editorial-home-carousel .product-item-actions .actions-secondary a:nth-child(2) {
  display: none !important;
}
.editorial-home-carousel .product-item-actions .actions-secondary a {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  background-image: url('../images/lista-deseo.png') !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: auto !important;
  text-decoration: none;
  overflow: hidden;
}
/* Hide text */
.editorial-home-carousel .product-item-actions .actions-secondary a span {
  display: none !important;
}
.editorial-home-carousel .product-item-actions .actions-secondary a::before {
  content: none !important;
}

/* Arrows */
.editorial-home-arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 2px solid #b7b7b7;
  border-radius: 50%;
  background: #fff;
  color: #b7b7b7;
  cursor: pointer;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, color .18s;
}

.editorial-home-arrow:hover {
  border-color: #111;
  color: #111;
}

.editorial-home-arrow:before {
  content: "";
  display: block;
  width: .8rem;
  height: .8rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.editorial-home-arrow.prev {
  left: 0;
}

.editorial-home-arrow.prev:before {
  transform: rotate(-135deg) translateX(-1px);
}

.editorial-home-arrow.next {
  right: 0;
}

.editorial-home-arrow.next:before {
  transform: rotate(45deg) translateX(-1px);
}

.catalog-product-view .product-info-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  grid-auto-flow: dense;
  column-gap: 3rem;
  row-gap: 1.2rem;
  align-items: start;
  padding: 2.2rem 2.4rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
}

.catalog-product-view .product-info-main .product-info-price,
.catalog-product-view .product-info-main .product-add-form,
.catalog-product-view .product-info-main .product-social-links {
  grid-column: 2;
}

.catalog-product-view .product-info-main .product-info-price {
  padding: 1.4rem 1.6rem;
  background: #f6f7f7;
  border: 1px solid #d6d6d6;
}

.catalog-product-view .product-info-main .product-add-form {
  margin-top: -1.2rem;
  padding: 0 1.6rem 1.4rem;
  background: #f6f7f7;
  border-right: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
}

.catalog-product-view .product-info-main .product-social-links {
  margin: 0;
  padding: 0 1.6rem 1.4rem;
  background: #f6f7f7;
  border-right: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
}

.catalog-product-view .product-info-main .product.attribute.overview {
  grid-column: 1;
  grid-row: 1;
  max-width: 100%;
  color: #636363;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  font-kerning: none;
  text-rendering: optimizeLegibility;
}

.catalog-product-view .product-info-main .product.attribute.overview p,
.catalog-product-view .product.info.detailed .data.item.content p,
.catalog-product-view .product.info.detailed .data.item.content .value {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #636363;
  line-height: 1.5;
  letter-spacing: 0;
  font-kerning: none;
  hyphens: none;
  -webkit-hyphens: none;
}

.catalog-product-view .product-info-main .box-tocart .fieldset {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalog-product-view .product-info-main .field.qty {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0;
}

.catalog-product-view .product-info-main .field.qty .control {
  width: 100%;
}

.catalog-product-view .product-info-main input.qty {
  min-height: 3.6rem;
  text-align: center;
}

.catalog-product-view .product-info-main .actions {
  margin: 0;
}

.catalog-product-view .product-info-main .action.tocart {
  width: 100%;
}

.catalog-product-view .product.info.detailed,
.catalog-product-view .block.related {
  width: 100%;
}

.catalog-product-view .block.related {
  margin-top: 2rem;
}

.catalog-product-view .product.info.detailed {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #d7d7d7;
}

.catalog-product-view .page-main {
  padding-bottom: 1.5rem !important;
}

.catalog-product-view .column.main {
  padding-bottom: 0 !important;
}

/* Product tabs — only add horizontal padding to .switch; let Luma float layout work */
.catalog-product-view .product.data.items > .item.title > .switch {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-family: var(--egg-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.catalog-product-view .product.data.items > .item.title > .switch:hover {
  text-decoration: none !important;
}

.catalog-product-view .product.data.items > .item.content {
  padding-top: 1.4rem !important;
  padding-bottom: 1rem !important;
  border: 0 !important;
}

/* Hide wishlist/compare toolbar on product page (sidebar has moved, sibling selector no longer applies) */
.catalog-product-view .product-social-links {
  display: none !important;
}

.catalog-category-view .products-grid .product-item,
.catalogsearch-result-index .products-grid .product-item {
  background: transparent !important;
  box-shadow: none !important;
}

.catalog-category-view .products-grid .product-item-info,
.catalogsearch-result-index .products-grid .product-item-info {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.catalog-category-view .products-grid .product-item-photo,
.catalogsearch-result-index .products-grid .product-item-photo {
  margin-bottom: .9rem;
  background: #fff;
}

.catalog-category-view .products-grid .product-item-name,
.catalogsearch-result-index .products-grid .product-item-name {
  margin-bottom: .25rem;
}

.catalog-category-view .products-grid .product-item-name,
.catalog-category-view .products-grid .product-item-name a,
.catalogsearch-result-index .products-grid .product-item-name,
.catalogsearch-result-index .products-grid .product-item-name a {
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  hyphens: none;
  -webkit-hyphens: none;
  text-rendering: optimizeSpeed;
}

.catalog-category-view .products-grid .product-item-name a,
.catalogsearch-result-index .products-grid .product-item-name a {
  color: #636363;
  text-decoration: none;
}

.catalog-category-view .products-grid .product-item-name a:hover,
.catalogsearch-result-index .products-grid .product-item-name a:hover {
  color: #009fe3;
}

.catalog-category-view .products-grid .price-box .price,
.catalogsearch-result-index .products-grid .price-box .price {
  color: #111;
  font-size: 1.3rem;
  font-weight: 700;
}

.checkout-cart-index .page-main,
.checkout-cart-index .page-wrapper > .page-main {
  min-height: 0 !important;
}

.checkout-cart-index .page-wrapper {
  min-height: 0 !important;
  height: auto !important;
}

.checkout-cart-index .page-wrapper > .page-main {
  flex: 0 1 auto !important;
  padding-bottom: 0 !important;
}

.checkout-cart-index .cart-empty {
  min-height: 0 !important;
  margin: 0 auto 2.4rem;
  padding: 3.8rem 2rem 1.8rem;
}

.checkout-cart-index .cart-empty p {
  max-width: 48rem;
}

.page-footer {
  margin-top: 0 !important;
}

.page-footer .footer.links,
.page-footer .links {
  display: none !important;
}

.footer.content {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.footer.content .block.newsletter.editorial-newsletter {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0;
  padding: 1.5rem 4rem 1.2rem;
  background: #c1c1c1;
}

.editorial-newsletter-heading {
  max-width: 1380px;
  margin: 0 auto .75rem;
  color: #333;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: .04em;
}

.footer.content .block.newsletter.editorial-newsletter .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.4rem;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}

.footer.content .block.newsletter.editorial-newsletter .newsletter-social {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.footer.content .block.newsletter.editorial-newsletter .subtitle .label {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  margin: 0 0 .55rem;
  color: #444;
  font-size: 1.35rem;
  font-weight: 500;
}

.footer.content .block.newsletter.editorial-newsletter .newsletter-row {
  display: flex;
  max-width: 52rem;
}

.footer.content .block.newsletter.editorial-newsletter input {
  height: 3.6rem;
  border: 0;
  background: #fff;
}

.footer.content .block.newsletter.editorial-newsletter .action.subscribe {
  min-width: 4rem;
  height: 3.6rem;
  border: 0;
  background: #777;
  color: #fff;
}

.footer.content .block.newsletter.editorial-newsletter .editorial-newsletter-consent {
  margin-top: .45rem;
  color: #555;
  font-size: 1.2rem;
}

.editorial-footer-grid {
  max-width: 1380px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 2.35rem 4rem 2.1rem;
  background: #2f2f2f;
  color: #fff;
}

.editorial-footer-grid a,
.editorial-footer-grid li,
.editorial-footer-grid .block-title {
  color: #fff;
}

.editorial-footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-footer-grid li {
  margin: 0 0 .55rem;
  font-size: 1.28rem;
  line-height: 1.35;
}

.editorial-footer-grid .block-title {
  margin-bottom: 1rem;
  font-size: 1.44rem;
  font-weight: 700;
  text-transform: uppercase;
}

.editorial-footer-bottom {
  max-width: 1380px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: .7rem 4rem 1.9rem;
  background: #2f2f2f;
}

.editorial-footer-social {
  display: flex;
  gap: .55rem;
}

.editorial-footer-social .social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-decoration: none;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.editorial-footer-social .social-link:focus,
.editorial-footer-social .social-link:focus-visible,
.editorial-footer-social .social-link:hover {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.editorial-footer-social .social-link:before {
  content: none;
}

.editorial-footer-social .facebook { background-image: url("../images/footer-social/fb-footer.png"); }
.editorial-footer-social .facebook:hover { background-image: url("../images/footer-social/fb-footer-on.png"); }
.editorial-footer-social .twitter { background-image: url("../images/footer-social/tw-footer.png"); }
.editorial-footer-social .twitter:hover { background-image: url("../images/footer-social/tw-footer-on.png"); }
.editorial-footer-social .instagram { background-image: url("../images/footer-social/ins-footer.png"); }
.editorial-footer-social .instagram:hover { background-image: url("../images/footer-social/ins-footer-on.png"); }
.editorial-footer-social .youtube { background-image: url("../images/footer-social/ytb-footer.png"); }
.editorial-footer-social .youtube:hover { background-image: url("../images/footer-social/ytb-footer-on.png"); }
.editorial-footer-social .pinterest { background-image: url("../images/footer-social/pinterest-footer.png"); }
.editorial-footer-social .pinterest:hover { background-image: url("../images/footer-social/pinterest-footer-on.png"); }
.editorial-footer-social .mail { background-image: url("../images/footer-social/mail-footer.png"); }
.editorial-footer-social .mail:hover { background-image: url("../images/footer-social/mail-footer-on.png"); }
.editorial-footer-social .blog { background-image: url("../images/footer-social/bg-footer.png"); }
.editorial-footer-social .blog:hover { background-image: url("../images/footer-social/bg-footer-on.png"); }

.editorial-footer-bottom .desarrollado,
.editorial-footer-bottom .desarrollado a {
  color: #c9c9c9;
  font-size: 1.1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.parity-image-missing {
  display: none !important;
}

.searchautocomplete {
  position: relative;
}

.searchautocomplete .nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 42px;
  align-items: stretch;
  position: relative;
}

.searchautocomplete .nav-search-in {
  position: relative;
  min-width: 76px;
  border: 1px solid #9c9c9c;
  border-right: 0;
  background: #f7f7f7;
}

.searchautocomplete .nav-search-in .category {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.searchautocomplete .nav-search-in .category-fake {
  display: block;
  padding: 0 28px 0 12px;
  color: #777;
  font: 400 11px/40px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

.searchautocomplete .nav-search-in .nav-down-arrow {
  position: absolute;
  top: 18px;
  right: 11px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4.5px 0;
  border-color: #111 transparent transparent;
}

.searchautocomplete .nav-input {
  position: relative;
}

.searchautocomplete .nav-input .label {
  display: none;
}

.searchautocomplete .nav-input .input-text {
  height: 40px;
  padding-right: 8px;
  border: 1px solid #9c9c9c;
  border-left: 0;
  font: 100 13px/40px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Hide advanced search link and loader spinner */
.searchautocomplete .nav-input .nested,
.searchautocomplete .searchautocomplete-loader {
  display: none !important;
}

.searchautocomplete.active .nav-input .input-text,
.searchautocomplete .nav-input .input-text:focus {
  border-color: #009fe3;
  box-shadow: none;
}

.searchautocomplete .nav-submit-button .button {
  width: 42px;
  min-width: 42px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.searchautocomplete .nav-submit-button .button:hover {
  color: #009fe3;
}

.searchautocomplete .nav-submit-button .button:before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: inherit;
}

.block-search {
  z-index: 100 !important;
}

.search-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  overflow: visible;
}

.searchautocomplete-placeholder {
  background: #fff;
  border: 1px solid #009fe3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.editorial-search-autocomplete-list {
  margin: 0;
  padding: 5px;
  list-style: none;
}

.editorial-search-autocomplete-panel {
  position: relative;
  background: #fff;
}

.editorial-search-autocomplete-panel:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 26px;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-bottom: 7px solid #009fe3;
}

.editorial-search-autocomplete-section + .editorial-search-autocomplete-section {
  border-top: 1px solid #ececec;
}

.searchautocomplete .index-title {
  padding: 4px 10px;
  color: #0a263c;
  background: #f7f7f6;
  border-bottom: 1px solid #e2e2e2;
  font: 700 10px/1.2 "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: right;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.editorial-search-autocomplete-item {
  border-bottom: 1px solid #ececec;
}

.editorial-search-autocomplete-item:last-child {
  border-bottom: 0;
}

.editorial-search-autocomplete-item a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
  color: #111;
  font: 100 12px/16px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
}

.editorial-search-autocomplete-thumb {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 52px;
}

.editorial-search-autocomplete-thumb img {
  display: block;
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
}

.editorial-search-autocomplete-copy {
  display: block;
  min-width: 0;
}

.editorial-search-autocomplete-title,
.editorial-search-autocomplete-excerpt,
.editorial-search-autocomplete-price,
.editorial-search-autocomplete-viewall {
  display: block;
}

.editorial-search-autocomplete-title {
  color: #111;
  font: 700 13px/17px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.editorial-search-autocomplete-title strong,
.editorial-search-autocomplete-excerpt strong {
  font-weight: 700;
  color: #009fe3;
}

.editorial-search-autocomplete-excerpt {
  margin-top: 3px;
  color: #555;
  font: 100 12px/16px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.editorial-search-autocomplete-price {
  margin-top: 4px;
  color: #009fe3;
  font: 700 12px/16px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.editorial-search-autocomplete-item[data-type="suggestion"] a {
  display: block;
}

.editorial-search-autocomplete-viewall,
.editorial-search-autocomplete-all-link {
  color: #009fe3;
  font: 700 12px/16px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

.searchautocomplete .all {
  padding: 6px 10px 10px;
  text-align: right;
}

.editorial-search-autocomplete-item.active,
.editorial-search-autocomplete-item:hover {
  background: #009fe3 !important;
}

.editorial-search-autocomplete-item.active .editorial-search-autocomplete-title,
.editorial-search-autocomplete-item.active .editorial-search-autocomplete-excerpt,
.editorial-search-autocomplete-item.active .editorial-search-autocomplete-price,
.editorial-search-autocomplete-item.active .editorial-search-autocomplete-viewall,
.editorial-search-autocomplete-item.active a,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-title,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-excerpt,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-price,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-viewall,
.editorial-search-autocomplete-item:hover a {
  color: #fff;
}

.editorial-search-autocomplete-item.active .editorial-search-autocomplete-title strong,
.editorial-search-autocomplete-item.active .editorial-search-autocomplete-excerpt strong,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-title strong,
.editorial-search-autocomplete-item:hover .editorial-search-autocomplete-excerpt strong {
  color: #fff;
}

.editorial-mobile-menu-toggle,
.editorial-mobile-menu-overlay,
.editorial-mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .editorial-home-track,
  .editorial-home-authors-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer.content .block.newsletter.editorial-newsletter .content,
  .editorial-footer-bottom {
    grid-template-columns: 1fr;
    display: block;
  }

  .editorial-footer-bottom {
    padding-top: 0;
  }

  .editorial-footer-social .social-link {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .page-header .header.content {
    grid-template-columns: 32px 1fr 28px 28px !important;
    grid-template-areas:
      "logo logo account cart"
      "search search search search" !important;
    align-items: center;
    row-gap: .65rem;
    min-height: 92px;
    padding: .7rem 12px .85rem !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .page-header .header.content .logo,
  .page-header .header.content a.logo {
    justify-self: center !important;
    align-self: center;
    margin: 0 auto !important;
  }

  .page-header .header.content .block-search,
  .page-header .header.content #search_mini_form {
    width: 100% !important;
    max-width: none !important;
  }

  .cms-home .page-main {
    padding-top: 0;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cms-home .page-main > .page-title-wrapper,
  .cms-home #informative_circles {
    margin-top: 0;
  }

  .cms-home .columns,
  .cms-home .column.main,
  .cms-home .column.main > .widget.block,
  .cms-home .column.main > .block-static-block,
  .cms-home .column.main > p,
  .cms-home .column.main > div,
  .cms-home .block-static-block,
  .cms-home .widget.block,
  .cms-home .widget.block .block-content,
  .cms-home .widget.block img,
  .cms-home #informative_circles,
  .cms-home #informative_circles > div,
  .cms-home .zona-video,
  .cms-home #threeblocks,
  .cms-home #multiple_blocks {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cms-home {
    overflow-x: hidden;
  }

  .cms-home .editorial-home-hero .editorial-home-hero-arrow {
    display: none !important;
  }

  .cms-home .editorial-home-hero .editorial-home-hero-slide img {
    width: min(72vw, 17rem) !important;
    max-width: min(72vw, 17rem) !important;
  }

  .cms-home .editorial-home-shelf,
  .cms-home .editorial-home-authors {
    margin-bottom: 2rem;
  }

  .cms-home .editorial-home-shelf-title,
  .cms-home .editorial-home-authors-title,
  .cms-home .editorial-home-shelf-header .editorial-home-shelf-title,
  .cms-home .editorial-home-authors-header .editorial-home-authors-title {
    font-size: 2rem !important;
    line-height: 1.05 !important;
  }

  .editorial-home-track,
  .editorial-home-authors-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-home-carousel.is-enhanced {
    --editorial-items: 2;
    padding: 0 1.4rem;
  }

  .editorial-home-carousel {
    padding: 0 1.4rem;
  }

  .editorial-home-arrow {
    display: none;
  }

  .footer.content .block.newsletter.editorial-newsletter,
  .editorial-footer-grid,
  .editorial-footer-bottom {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .editorial-footer-social .social-link {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
  }

  .footer.content .block.newsletter.editorial-newsletter .newsletter-row {
    max-width: none;
  }

  .page-header .header.content {
    position: relative;
    padding-left: 12px !important;
  }

  .editorial-mobile-menu-toggle {
    position: absolute;
    top: 18px;
    left: 12px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font: 700 0/1 "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: none;
  }

  .editorial-mobile-menu-toggle > span:not(.label) {
    display: block;
    width: 16px;
    height: 2px;
    background: #111;
  }

  .editorial-mobile-menu-toggle .label {
    display: none;
  }

  .editorial-header-account,
  .minicart-wrapper {
    align-self: center;
    justify-self: end;
    min-width: 28px;
  }

  .editorial-header-account .account-link,
  .minicart-wrapper .action.showcart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0 !important;
    letter-spacing: 0 !important;
  }

  .editorial-header-account .account-link .label,
  .minicart-wrapper .action.showcart .text,
  .minicart-wrapper .action.showcart .counter-label {
    display: none !important;
  }

  .editorial-header-account .account-link:before {
    content: "";
    width: 11px;
    height: 11px;
    border: 1.5px solid #111;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  .editorial-header-account .account-link:after {
    content: "";
    width: 12px;
    height: 7px;
    border: 1.5px solid #111;
    border-top: 0;
    border-radius: 0 0 9px 9px;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  .minicart-wrapper .action.showcart:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 12px;
    height: 9px;
    border: 1.5px solid #111;
    border-top: 0;
    transform: translateX(-50%);
  }

  .minicart-wrapper .action.showcart:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 7px;
    height: 4px;
    border: 1.5px solid #111;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    transform: translateX(-50%);
  }

  .minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 12px;
    height: 12px;
    padding: 0 2px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 8px !important;
    line-height: 12px;
    text-align: center;
  }

  .minicart-wrapper .action.showcart .counter-number {
    display: inline !important;
    font-size: 8px !important;
    color: #fff !important;
  }

  .page-header .block-search {
    margin-top: .1rem;
  }

  .page-header .block-search .nav {
    min-height: 34px;
  }

  .page-header .block-search .nav-search-in {
    min-width: 42px;
    padding-left: 8px;
    padding-right: 4px;
  }

  .page-header .block-search .category-fake,
  .page-header .block-search input,
  .page-header .block-search .action.search {
    font-size: 11px !important;
  }

  .navigation {
    display: none !important;
  }

  .editorial-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 39;
    border: 0;
    background: rgba(0, 0, 0, .42);
  }

  .editorial-mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: min(100vw, 420px);
    padding: 12px 0 24px;
    overflow: auto;
    background: #fff;
    box-shadow: 0 0 24px rgba(0, 0, 0, .2);
  }

  #custommenu-mobile {
    padding-bottom: 45px;
  }

  .editorial-mobile-menu-open .editorial-mobile-menu,
  .editorial-mobile-menu-open .editorial-mobile-menu-overlay {
    display: block;
  }

  .editorial-mobile-menu-open {
    overflow: hidden;
  }

  .editorial-mobile-menu-close {
    display: block;
    margin: 0;
    padding: 14px 20px 12px;
    border: 0;
    background: transparent;
    color: #111;
    font: 700 12px/1 "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
  }

  .editorial-mobile-search {
    padding: 14px 20px 10px;
    border-bottom: 1px solid #ececec;
  }

  .editorial-mobile-search form {
    display: flex;
    gap: 0;
  }

  .editorial-mobile-search input {
    flex: 1 1 auto;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #000;
    border-right: 0;
    font: 100 14px/38px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }

  .editorial-mobile-search button {
    width: 52px;
    height: 38px;
    border: 1px solid #000;
    background: #fff;
    color: #111;
    font: 700 11px/1 "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
  }

  .editorial-mobile-utilities {
    padding: 10px 20px 8px;
    border-bottom: 1px solid #ececec;
  }

  .editorial-mobile-utility-strip {
    padding-top: 12px;
  }

  .editorial-mobile-utilities-title {
    margin-bottom: 8px;
    color: #777;
    font: 700 10px/1 "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .editorial-mobile-utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .editorial-mobile-utility-links a {
    color: #111;
    font: 100 13px/18px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
  }

  .editorial-mobile-menu-tree,
  .editorial-mobile-menu-tree ul,
  #menu-content,
  #menu-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #menu-content > li,
  .editorial-mobile-menu-tree > li {
    border-bottom: 1px solid #ececec;
  }

  #menu-content > li:first-child,
  .editorial-mobile-menu-tree > li:first-child {
    border-top: 1px solid #ececec;
  }

  #menu-content li,
  .editorial-mobile-menu-tree li {
    position: relative;
  }

  #custommenu-mobile .parentMenu {
    display: block;
    border-bottom: 1px solid #000;
    background: #fff;
  }

  #custommenu-mobile .menu-mobile.level1 > .parentMenu,
  #custommenu-mobile .menu-mobile.level2 > .parentMenu {
    border-bottom-color: #ececec;
  }

  #custommenu-mobile a,
  .editorial-mobile-menu-tree a {
    display: block;
    padding: 13px 40px 13px 20px;
    color: #111;
    font: 700 12px/15px "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
  }

  #custommenu-mobile .level1 > .parentMenu > a,
  .editorial-mobile-menu-tree ul a {
    padding: 10px 34px 10px 30px;
    font-weight: 100;
    text-transform: none;
  }

  #custommenu-mobile .level2 > .parentMenu > a {
    padding-left: 40px;
    background: #f1f1f1;
  }

  .editorial-mobile-parent > ul {
    background: #fafafa;
  }

  #custommenu-mobile .button,
  .editorial-mobile-subtoggle {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #111;
  }

  #custommenu-mobile .button span,
  #custommenu-mobile .button span:before,
  .editorial-mobile-subtoggle span,
  .editorial-mobile-subtoggle span:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 8px;
    width: 12px;
    height: 2px;
    background: currentColor;
  }

  .editorial-mobile-subtoggle span:before {
    transform: rotate(90deg);
  }

  .editorial-mobile-parent.is-open > .editorial-mobile-subtoggle span:before,
  .editorial-mobile-parent.is-open > .button span:before {
    transform: rotate(0deg);
    opacity: 0;
  }

  .editorial-mobile-menu-tree .editorial-mega-column {
    display: none;
  }
}

/* Typography and rhythm pass based on live production measurements. */
body,
.page-wrapper,
.page-main,
.page-footer,
.products-grid,
.catalog-product-view .product-info-main,
.checkout-cart-index .cart-empty {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.header.content .logo img,
.page-header .logo img,
.logo img {
  width: 73px !important;
  max-width: 73px !important;
  height: auto !important;
}

.editorial-utility-links a,
.utility-links a,
.panel.header a {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
}

.panel.header {
  padding: 3px 30px 7px !important;
}

.cms-home .page-main {
  max-width: 1380px;
}

.editorial-home-shelf,
.editorial-home-authors {
  margin: 0 0 2rem;
}

.editorial-home-shelf-header,
.editorial-home-authors-header {
  margin: 0 0 1rem;
}

.editorial-home-shelf-title,
.editorial-home-authors-title {
  padding-top: 20px;
  margin-bottom: 20px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 33.8px;
  letter-spacing: 0;
  text-transform: none;
}

.editorial-home-shelf-link,
.editorial-home-authors-link,
.editorial-home-card-title,
.editorial-home-card-author,
.editorial-home-card-price {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.editorial-home-card-title {
  margin: 10px 0 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
  letter-spacing: .01em;
}

.editorial-home-card-author {
  font-size: 14px;
  font-weight: 300;
  line-height: 18.2px;
}

.editorial-home-card-meta {
  font-size: 13px;
  font-weight: 300;
  line-height: 18.2px;
}

.editorial-home-card-price {
  margin-top: 4px;
  color: #009fe3;
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
}

.editorial-home-card-cta {
  min-height: 32px;
  margin-top: 10px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.catalog-category-view .page-title-wrapper {
  margin: 0 0 13px;
}

.catalog-category-view .page-title-wrapper .page-title {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.catalog-category-view .category-description,
.catalog-category-view .category-description p,
.catalog-category-view .category-description .std {
  padding: 0 !important;
  margin: 0 0 21px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
}

.catalog-category-view .toolbar,
.catalog-category-view .toolbar .toolbar-amount,
.catalog-category-view .toolbar .sorter,
.catalog-category-view .toolbar label,
.catalog-category-view .toolbar select,
.catalog-category-view .toolbar .limiter {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 30px !important;
}

.catalog-category-view .toolbar {
  margin: 0 0 5px !important;
  padding: 0 !important;
}

.catalog-category-view .sidebar-main:empty,
.catalog-category-view .sidebar-main .block.filter:empty {
  display: none !important;
}

.catalog-category-view .block.filter.block-layered-nav.editorial-top-filters {
  position: relative;
  margin: 0 0 20px !important;
  padding: 0 !important;
  background: #f6f6f6 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.catalog-category-view .editorial-top-filters .block-subtitle--filter {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 37px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  color: #000 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 21px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.catalog-category-view .editorial-top-filters .block-subtitle--filter::after {
  content: none !important;
}

.catalog-category-view .editorial-top-filters .filter-content {
  display: none !important;
  position: static !important;
  padding: 12px 0 8px !important;
  background: transparent !important;
  border-top: 1px solid #e5e5e5 !important;
  margin-top: 8px !important;
}

.catalog-category-view .editorial-top-filters.is-open .filter-content {
  display: block !important;
}

/* Active filters row: "Filtrando por Autor: X [Eliminar]" */
.catalog-category-view .editorial-top-filters .filter-current,
.catalog-category-view .editorial-top-filters .filter-currently {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 14px !important;
  margin: 0 0 10px !important;
}

.catalog-category-view .editorial-top-filters .filter-current .block-subtitle,
.catalog-category-view .editorial-top-filters .filter-current .filter-current-subtitle {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #666 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.catalog-category-view .editorial-top-filters .filter-current .items {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.catalog-category-view .editorial-top-filters .filter-current .item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 8px !important;
  background: #111 !important;
  color: #fff !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.catalog-category-view .editorial-top-filters .filter-current .item .filter-label {
  font-weight: 700 !important;
  margin-right: 2px !important;
}

.catalog-category-view .editorial-top-filters .filter-current .item a.action.remove {
  color: #aaa !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  padding: 0 !important;
}
.catalog-category-view .editorial-top-filters .filter-current .item a.action.remove:hover {
  color: #fff !important;
}

/* "Borrar filtros" button */
.catalog-category-view .editorial-top-filters .filter-actions,
.catalog-category-view .editorial-top-filters .action.clear {
  display: inline-flex !important;
  align-items: center !important;
}
.catalog-category-view .editorial-top-filters .action.clear {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #009fe3 !important;
  text-decoration: none !important;
  padding: 3px 8px !important;
  border: 1px solid #009fe3 !important;
  background: transparent !important;
  cursor: pointer !important;
}
.catalog-category-view .editorial-top-filters .action.clear:hover {
  background: #009fe3 !important;
  color: #fff !important;
}

.catalog-category-view .editorial-top-filters .filter-currently .items {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.catalog-category-view .editorial-top-filters .filter-currently .item,
.catalog-category-view .editorial-top-filters .filter-currently .filter-value {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 18px !important;
}

.catalog-category-view .editorial-top-filters .filter-actions .action {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  text-transform: uppercase !important;
}

.catalog-category-view .editorial-filter-options {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 0 28px !important;
  margin: 0 !important;
}

.catalog-category-view .editorial-filter-title {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #000 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.catalog-category-view .editorial-filter-title::after {
  content: "▾";
  margin-left: 6px !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

.catalog-category-view .editorial-filter-title.is-open::after {
  content: "▴";
}

.catalog-category-view .editorial-filter-group {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.catalog-category-view .editorial-filter-content {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 220px !important;
  max-width: 280px !important;
  margin: 8px 0 0 !important;
  padding: 10px 0 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08) !important;
  z-index: 100 !important;
}

.catalog-category-view .editorial-filter-content.is-open {
  display: block !important;
}

.catalog-category-view .editorial-filter-content .items {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.catalog-category-view .editorial-filter-content .item {
  margin: 0 !important;
  padding: 0 !important;
}

.catalog-category-view .editorial-filter-content .item a,
.catalog-category-view .editorial-filter-content .item .count {
  display: inline !important;
  color: #000 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 18.2px !important;
}

.catalog-category-view .editorial-filter-content .item a {
  display: block !important;
  padding: 5px 14px !important;
}

.catalog-category-view .editorial-filter-content .item a:hover {
  background: #f6f6f6 !important;
  text-decoration: none !important;
}

.catalog-category-view .products-grid .product-item-name {
  margin-bottom: 0;
}

.catalog-category-view .products-grid .product-item-name a {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18.2px !important;
  letter-spacing: .01em !important;
}

.catalog-category-view .products-grid .price-box .price {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: #009fe3 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18.2px !important;
}

.catalog-category-view .sidebar .block-title,
.catalog-category-view .filter-options-title,
.catalog-category-view .filter-options-content,
.catalog-category-view .block.filter .filter-title {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.catalog-product-view .product-info-main {
  padding: 0 !important;
  box-shadow: none !important;
}

.catalog-product-view .page-title-wrapper.product .page-title,
.catalog-product-view .product-info-main .page-title-wrapper .page-title {
  padding-bottom: 3px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 36.4px !important;
  letter-spacing: 0 !important;
}

.catalog-product-view .product-info-main,
.catalog-product-view .product.attribute.description,
.catalog-product-view .product.info.detailed {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
}

.catalog-product-view .product-info-main > * + * {
  margin-top: 10px !important;
}

.catalog-product-view .product-info-main .product-info-price {
  margin: 6px 0 10px !important;
  padding-top: 0 !important;
}

.catalog-product-view .product-info-main .reviews-actions,
.catalog-product-view .product-info-main .product.attribute.overview,
.catalog-product-view .product-info-main .product-info-stock-sku,
.catalog-product-view .product-info-main .product-add-form,
.catalog-product-view .product-info-main .product-social-links,
.catalog-product-view .product-info-main .product.attribute.description {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.catalog-product-view .product-info-main p {
  margin: 0 0 12px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
}

.catalog-product-view .product-info-price .price,
.catalog-product-view .price-box .price {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: #009fe3 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 36.4px !important;
}

.catalog-product-view .product.data.items > .item.title > .switch,
.catalog-product-view .product.data.items > .item.title a {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 40px !important;
}

.catalog-product-view .block.related .block-title strong,
.catalog-product-view .block.related .title {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18.2px !important;
}

.checkout-cart-index .page-title-wrapper .page-title {
  padding-bottom: 3px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
}

.checkout-cart-index .cart-empty {
  margin: 0 auto 14px !important;
  padding: 10px 0 2px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
}

.checkout-cart-index .cart-empty p {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  line-height: 18.2px !important;
}

.checkout-cart-index.cart-empty-state .page-title-wrapper {
  display: none !important;
}

.checkout-cart-index .cart-empty-page-title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--egg-ink) !important;
  font-family: var(--egg-display-font) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
  text-transform: uppercase !important;
}

.footer.content .block.newsletter.editorial-newsletter {
  padding: 16px 40px 10px !important;
  line-height: 18.2px !important;
}

.footer.content .block.newsletter.editorial-newsletter .subtitle .label,
.footer.content .block.newsletter.editorial-newsletter .editorial-newsletter-consent,
.footer.content .block.newsletter.editorial-newsletter input,
.footer.content .block.newsletter.editorial-newsletter .action.subscribe,
.editorial-footer-grid li,
.editorial-footer-grid a,
.editorial-footer-bottom .desarrollado,
.editorial-footer-bottom .desarrollado a {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 18.2px !important;
}

.footer.content .block.newsletter.editorial-newsletter .subtitle .label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  margin-bottom: 8px !important;
  font-weight: 400 !important;
}

.footer.content .block.newsletter.editorial-newsletter .newsletter-row {
  max-width: 480px;
}

.footer.content .block.newsletter.editorial-newsletter input {
  height: 34px !important;
  font-weight: 400 !important;
}

.footer.content .block.newsletter.editorial-newsletter .action.subscribe {
  min-width: 34px !important;
  height: 34px !important;
  font-weight: 700 !important;
}

.footer.content .block.newsletter.editorial-newsletter .editorial-newsletter-consent {
  margin-top: 6px !important;
  font-weight: 400 !important;
}

.editorial-footer-grid {
  padding: 40px 30px 0 !important;
  background: #363737 !important;
  line-height: 18.2px !important;
}

.editorial-footer-grid .block-title,
.editorial-footer-grid .block-title strong,
.editorial-footer-grid .block-title strong span {
  color: #fff !important;
  margin-bottom: 8px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18.2px !important;
  text-transform: uppercase !important;
}

.editorial-footer-grid li {
  margin-bottom: 4px !important;
  font-weight: 400 !important;
}

.editorial-footer-bottom,
.editorial-footer-bottom .desarrollado,
.editorial-footer-bottom .desarrollado a {
  font-weight: 400 !important;
}

.editorial-footer-bottom {
  padding: 12px 30px 20px !important;
  background: #363737 !important;
  line-height: 18.2px !important;
}

/* Exact-node overrides for Magento-rendered title/logo elements. */
.page-header .header.content .logo,
.page-header .header.content a.logo {
  width: 73px !important;
  min-width: 73px !important;
  margin: 0 !important;
}

.page-header .header.content .logo img,
.page-header .header.content a.logo img,
.page-header .header.content .logo img[width] {
  width: 73px !important;
  max-width: 73px !important;
  height: auto !important;
}

.cms-home .editorial-home-shelf-title,
.cms-home .editorial-home-authors-title,
.cms-home .editorial-home-shelf-header .editorial-home-shelf-title,
.cms-home .editorial-home-authors-header .editorial-home-authors-title {
  margin: 0 0 40px !important;
  padding-top: 20px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.catalog-category-view .page-title-wrapper h1.page-title,
.catalog-category-view .page-title-wrapper .page-title,
.catalog-category-view .page-title-wrapper .page-title > span.base {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
  letter-spacing: 0 !important;
}

.catalog-product-view .page-title-wrapper.product h1.page-title,
.catalog-product-view .page-title-wrapper.product .page-title,
.catalog-product-view .page-title-wrapper.product .page-title > span.base,
.catalog-product-view .product-info-main .page-title-wrapper .page-title,
.catalog-product-view .product-info-main .page-title-wrapper .page-title > span.base {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 36.4px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #000 !important;
}

.checkout-cart-index .page-title-wrapper h1.page-title,
.checkout-cart-index .page-title-wrapper .page-title,
.checkout-cart-index .page-title-wrapper .page-title > span.base {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 33.8px !important;
  letter-spacing: 0 !important;
}

.catalog-category-view .products-grid .product-item-name,
.catalog-category-view .products-grid .product-item-name .product-item-link,
.catalog-category-view .products-grid .product-item-name a,
.cms-home .editorial-home-card-title,
.cms-home .editorial-home-card-price {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.catalog-category-view .products-grid .product-item-name .product-item-link,
.catalog-category-view .products-grid .product-item-name a {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18.2px !important;
  letter-spacing: .01em !important;
}

.catalog-category-view .products-grid .price-box .price,
.catalog-product-view .product-info-price .price-wrapper .price,
.catalog-product-view .product-info-price .price,
.catalog-product-view .price-box.price-final_price .price {
  color: #009fe3 !important;
}

.catalog-category-view .category-description {
  max-width: 1160px;
  border: 0 !important;
  background: transparent !important;
}
.catalog-category-view .category-description [data-element="inner"] {
  padding: 0 !important;
}
.catalog-category-view .category-description h2 {
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  margin: 0 !important;
}

.editorial-author-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.editorial-author-head {
  position: relative;
  margin: -8px 0 40px;
  padding-top: 0;
}

.editorial-author-head .background-image {
  min-height: 250px;
  background: #020b13 center center/cover no-repeat;
}

.editorial-author-avatar-shell {
  position: absolute;
  top: 55px;
  left: 50px;
  width: 220px;
  height: 220px;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
  overflow: hidden;
}

.editorial-author-avatar {
  width: 100%;
  height: 100%;
  background: #f3f3f3 center center/cover no-repeat;
  border-radius: 50%;
}

.editorial-author-name {
  position: absolute;
  top: 165px;
  left: 30%;
  z-index: 3;
  margin: 0;
  min-height: 0;
  display: block;
}

.editorial-author-name span,
.editorial-author-books-title {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  line-height: 33.8px;
  font-weight: 700;
  color: #111;
}

.editorial-author-name span {
  color: #fff;
  text-transform: uppercase;
}

.editorial-author-content {
  width: 70%;
  margin-left: 30%;
  padding-top: 0;
}

.editorial-author-biography {
  max-width: 630px;
  margin-bottom: 30px;
  color: #111;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18.2px;
  font-weight: 100;
}

.editorial-author-biography p {
  margin: 0 0 12px;
}

.editorial-author-products .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 32px;
  margin: 0;
  padding: 0;
}

.editorial-author-products .item {
  width: auto;
  margin: 0;
  list-style: none;
}

.editorial-author-product-image {
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.editorial-author-product-image img {
  width: auto;
  max-width: 100%;
  height: 140px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.editorial-author-products .product-info {
  padding-bottom: 18px;
  min-height: 155px;
  text-align: left;
}

.editorial-author-products .product-name {
  margin: 0 0 6px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18.2px;
  font-weight: 700;
}

.editorial-author-products .product-name a {
  color: #666;
}

.editorial-author-products .authors {
  margin-bottom: 6px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15.6px;
  font-weight: 100;
}

.editorial-author-products .authors a {
  color: #111;
}

.editorial-author-products .price {
  color: #009fe3;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18.2px;
  font-weight: 700;
}

.editorial-author-product-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin-top: 18px;
}

.editorial-author-product-badge,
.editorial-author-products .availability {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  margin: 0;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18.2px;
  font-weight: 300;
  color: #111;
}

.editorial-author-product-badge {
  justify-content: center;
  min-width: 110px;
  padding: 4px 10px;
  background: #b6b6b6;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.editorial-author-products .actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.editorial-author-products .btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #222;
  border: 1px solid #bbb;
  padding: 7px 17px 7px 38px;
  text-transform: none;
  font-size: 14px;
  line-height: 19px;
  text-decoration: none;
}

.editorial-author-products .btn-cart:hover {
  border-color: #009fe3;
  color: #009fe3;
}

.editorial-authors-directory {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.editorial-authors-filter {
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.editorial-authors-filter-top ul,
.editorial-authors-filter .abecedario {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.editorial-authors-filter-top {
  margin-bottom: 12px;
}

.editorial-authors-filter .char_filters.selected a,
.editorial-authors-filter a:hover {
  color: #009fe3;
}

.editorial-authors-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}

.editorial-author-directory-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.editorial-author-directory-card .img-container img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.editorial-author-directory-card .name {
  display: block;
  margin-bottom: 8px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.editorial-author-directory-card .biography {
  display: block;
  margin-bottom: 10px;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18.2px;
  font-weight: 100;
}

.editorial-authors-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.editorial-authors-pager a {
  min-width: 34px;
  padding: 7px 10px;
  border: 1px solid #d4d4d4;
  color: #111;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  line-height: 16px;
}

.editorial-authors-pager a.is-active,
.editorial-authors-pager a:hover {
  border-color: #009fe3;
  color: #009fe3;
}

@media (max-width: 1023px) {
  .editorial-author-products .products-grid,
  .editorial-authors-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .editorial-author-head {
    margin-top: 0;
    padding-top: 24px;
  }

  .editorial-author-head .background-image {
    min-height: 130px;
  }

  .editorial-author-avatar-shell {
    left: 16px;
    bottom: -28px;
    width: 92px;
    height: 92px;
  }

  .editorial-author-name {
    position: static;
    margin: 18px 0 0 122px;
    min-height: 56px;
  }

  .editorial-author-name span {
    color: #111;
  }

  .editorial-author-content {
    width: 100%;
    margin-left: 0;
  }

  .editorial-author-products .products-grid,
  .editorial-authors-list {
    grid-template-columns: 1fr;
  }

  .editorial-author-directory-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .editorial-author-directory-card .img-container img {
    width: 88px;
    height: 88px;
  }
}

/* WA-HelveticaNeue: M1 custom font stack. weight mapping mirrors andres.css exactly.
   weight:100 → Helvetica.woff (Helvetica regular)
   weight:400 → HelveticaNeue-Medium.woff
   weight:700 → HelveticaNeue-Bold.woff
   weight:300 text falls to 100 → Helvetica.woff (same as M1 description rendering) */
@font-face {
  font-family: 'WA-HelveticaNeue';
  font-style: normal;
  font-weight: 100;
  src: local('Helvetica 65 Medium'), url('../fonts/Helvetica.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'WA-HelveticaNeue';
  font-style: normal;
  font-weight: 400;
  src: local('Helvetica 65 Medium'), url('../fonts/HelveticaNeue-Medium.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'WA-HelveticaNeue';
  font-style: normal;
  font-weight: 700;
  src: local('Helvetica 65 Bold'), url('../fonts/HelveticaNeue-Bold.woff') format('woff');
  font-display: swap;
}

/* Production rhythm pass: tighten sizing, panels, controls, cart and checkout. */
:root {
  --egg-blue: #009fe3;
  --egg-ink: #000;
  --egg-text: #636363;
  --egg-panel: #f6f7f7;
  --egg-rule: #9c9c9c;
  --egg-container: 1560px;
  --egg-font: "WA-HelveticaNeue", "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --egg-display-font: "WA-HelveticaNeue", "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
table,
.page-wrapper {
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

body {
  font-weight: 400 !important;
}

.page-wrapper {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

.navigation,
.breadcrumbs,
.footer.content,
.page-wrapper > .widget,
.page-wrapper > .page-bottom,
.top-container,
.page-main,
.nav-sections-item-content,
.cms-home .page-main,
.catalog-category-view .page-main,
.catalog-product-view .page-main,
.checkout-cart-index .page-main,
.checkout-index-index .page-main {
  max-width: none !important;
}

/* panel.header / .page-header .header.panel intentionally NOT in the group above —
   let styles-m.css max-width:1560px + margin:0 auto apply so top links stay contained */
.page-header .panel.header {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.header.content {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 30px !important;
}

/* Catalog: M2 uses page-layout-2columns-left even with no sidebar — force full width */
/* Constrain page-main (not just column.main) so page-title-wrapper + category-view
   siblings of .columns also align with the content container */
.catalog-category-view .page-main {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.catalog-category-view .columns {
  display: block !important;
}

.catalog-category-view .column.main {
  width: 100% !important;
  float: none !important;
  /* page-main already provides 20px horizontal padding — no double-padding */
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cms-home .page-main {
  padding-bottom: 0 !important;
}

.cms-home .column.main {
  padding-bottom: 0 !important;
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.catalog-product-view .page-main {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.breadcrumbs,
.page-wrapper > .breadcrumbs {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

h1,
.h1,
.page-title-wrapper .page-title,
.catalog-category-view .page-title-wrapper .page-title,
.checkout-cart-index .page-title-wrapper .page-title {
  color: var(--egg-ink) !important;
  font-family: var(--egg-display-font) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

h2,
.h2,
.editorial-home-shelf-title,
.editorial-home-authors-title,
.catalog-product-view .block.related .block-title strong {
  color: var(--egg-ink) !important;
  font-family: var(--egg-font) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

.action.primary,
.button,
button.button,
.actions-toolbar .primary .action,
.cart-summary .checkout-methods-items .action.primary,
.checkout-index-index .action.primary,
.catalog-product-view .box-tocart .action.tocart,
.editorial-home-card-cta,
.editorial-author-products .btn-cart,
.editorial-author-products .btn-details {
  min-height: 33px !important;
  padding: 7px 15px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--egg-ink) !important;
  color: #fff !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.action.primary:hover,
.button:hover,
button.button:hover,
.actions-toolbar .primary .action:hover,
.cart-summary .checkout-methods-items .action.primary:hover,
.checkout-index-index .action.primary:hover,
.catalog-product-view .box-tocart .action.tocart:hover,
.editorial-home-card-cta:hover,
.editorial-author-products .btn-cart:hover,
.editorial-author-products .btn-details:hover {
  background-color: var(--egg-ink) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.action.secondary,
.button.button-secondary,
.cart.table-wrapper .action,
.cart.actions .action,
.checkout-cart-index .action.continue,
.checkout-cart-index .action.clear,
.checkout-cart-index .action.update {
  min-height: 33px !important;
  padding: 7px 20px !important;
  border: 1px solid var(--egg-rule) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--egg-ink) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.action.secondary:hover,
.button.button-secondary:hover,
.cart.table-wrapper .action:hover,
.cart.actions .action:hover,
.checkout-cart-index .action.continue:hover,
.checkout-cart-index .action.clear:hover,
.checkout-cart-index .action.update:hover {
  border-color: var(--egg-blue) !important;
  color: var(--egg-blue) !important;
  text-decoration: none !important;
}

.cms-home #threeblocks,
.cms-home #multiple_blocks.contenido {
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
  padding: 40px !important;
  background: var(--egg-panel) !important;
}

.cms-home #informative_circles {
  box-sizing: border-box !important;
  margin-bottom: 45px !important;
}

/* Trust icons: M1 uses inline layout (icon left, text right) */
.cms-home #informative_circles .link {
  display: inline-block !important;
  flex-direction: unset !important;
  align-items: unset !important;
  width: auto !important;
  min-width: 180px !important;
  vertical-align: middle !important;
}

.cms-home #informative_circles .link .image {
  display: inline-block !important;
  vertical-align: middle !important;
}

.cms-home #informative_circles .link .text {
  display: inline-block !important;
  vertical-align: middle !important;
  padding-left: 10px !important;
  font-size: 14px !important;
}

.cms-home .editorial-home-shelf,
.cms-home .editorial-home-authors {
  box-sizing: border-box !important;
  margin-bottom: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.cms-home .editorial-home-shelf-header,
.cms-home .editorial-home-authors-header {
  margin-bottom: 20px !important;
}

.cms-home .editorial-home-shelf-title,
.cms-home .editorial-home-authors-title {
  margin: 0 0 15px !important;
  padding-top: 12px !important;
  border-top: 1px solid #000 !important;
}

.editorial-home-carousel {
  padding: 0 !important;
}

.editorial-home-carousel.is-enhanced {
  --editorial-gap: 16px;
}

.editorial-home-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
}

.editorial-home-card {
  flex: 0 0 200px !important;
  width: 200px !important;
  text-align: center;
  flex-direction: column !important;
}

.editorial-home-card-image {
  aspect-ratio: auto !important;
  height: 260px !important;
  margin-bottom: 5px !important;
  overflow: visible !important;
  background: transparent !important;
}

.editorial-home-card-image img,
.catalog-category-view .products-grid .product-image-photo,
.catalog-category-view .products-grid .product-image-wrapper img,
.catalog-category-view .products-grid .product-item-photo img,
.catalog-product-view .products-related .product-image-photo,
.editorial-author-product-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .18) !important;
}


.editorial-home-card-title,
.catalog-category-view .products-grid .product-item-name a,
.catalog-category-view .products-grid .product-item-name .product-item-link,
.catalog-product-view .products-related .product-item-name a,
.editorial-author-products .product-name a {
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.editorial-home-card-title:hover,
.catalog-category-view .products-grid .product-item-name a:hover,
.catalog-category-view .products-grid .product-item-name .product-item-link:hover,
.catalog-product-view .products-related .product-item-name a:hover,
.editorial-author-products .product-name a:hover {
  color: var(--egg-blue) !important;
  text-decoration: none !important;
}

.editorial-home-card-author,
.editorial-home-card-meta,
.catalog-category-view .products-grid .product-item .authors,
.editorial-author-products .authors {
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1.3 !important;
}

.editorial-home-card-price,
.catalog-category-view .products-grid .price-box .price,
.catalog-product-view .products-related .price-box .price,
.editorial-author-products .price {
  color: var(--egg-blue) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.editorial-home-card-cta,
.editorial-author-products .btn-cart,
.catalog-category-view .products-grid .actions .action.tocart,
.catalogsearch-result-index .products-grid .actions .action.tocart,
.catalog-product-view .products-related .actions .action.tocart {
  padding-left: 38px !important;
  background-image: url("../images/parity-ui/bt-carrito.png") !important;
  background-repeat: no-repeat !important;
  background-position: 10px 50% !important;
  background-size: 24px 24px !important;
  text-transform: none !important;
}

.editorial-author-products .btn-cart {
  background-color: #fff !important;
  color: #222 !important;
  border: 1px solid #bbb !important;
}

.editorial-author-products .btn-cart:hover {
  background-color: #fff !important;
  color: var(--egg-blue) !important;
  border-color: var(--egg-blue) !important;
}

.editorial-home-card-cta--disabled,
.editorial-home-card-cta--disabled:hover,
.editorial-home-card-link--disabled + .editorial-home-card-author + .editorial-home-card-meta + .editorial-home-card-price + .editorial-home-card-cta--disabled {
  border: 1px solid #ddd !important;
  background-color: #c8c8c8 !important;
  background-image: none !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: .75 !important;
  padding-left: 15px !important;
  text-transform: uppercase !important;
}

.catalog-category-view .products-grid .actions .action.more,
.catalog-product-view .products-related .actions .action.more {
  padding-left: 38px !important;
  background-image: url("../images/parity-ui/bt-details.png") !important;
  background-repeat: no-repeat !important;
  background-position: 10px 50% !important;
  background-size: 24px 24px !important;
  text-transform: none !important;
}

.catalog-category-view .products-grid .actions .action.more:hover,
.catalog-product-view .products-related .actions .action.more:hover {
  background-image: url("../images/parity-ui/bt-details-on.png") !important;
}

.catalog-category-view .products-grid .product-items,
.catalogsearch-result-index .products-grid .product-items {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 20px 16px !important;
}

/* novedades is 6 cols like all other categories (matches M1 production) */

.catalog-product-view .products-related .product-items {
  gap: 20px 16px !important;
}

.catalog-category-view .products-grid .product-item {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.catalog-product-view .products-related .product-item {
  margin-bottom: 20px !important;
  text-align: center !important;
}

.catalog-category-view .products-grid .product-item-photo,
.catalog-product-view .products-related .product-item-photo {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 200px !important;
  margin-bottom: 5px !important;
  background: transparent !important;
}

.catalog-category-view .products-grid .product-item-details,
.catalog-product-view .products-related .product-item-details {
  position: relative !important;
  min-height: 95px !important;
  padding-bottom: 90px !important;
}

.catalog-category-view .products-grid .product-item-actions,
.catalog-product-view .products-related .product-item-actions {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  min-height: 85px !important;
  padding-top: 10px !important;
}

.editorial-home-hero {
  margin: 0 auto 9px !important;
  border: 0 !important;
  background: #fff !important;
}

.editorial-home-hero-track {
  min-height: 0 !important;
}

.editorial-home-hero-slide img {
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
}

.editorial-home-hero-dot {
  width: 11px !important;
  height: 11px !important;
  border: 1px solid var(--egg-ink) !important;
  border-radius: 20px !important;
  background: transparent !important;
}

.editorial-home-hero-dot.is-active {
  background: var(--egg-ink) !important;
}

.editorial-home-hero-arrow {
  width: 30px !important;
  height: 30px !important;
  background: rgba(255, 255, 255, .8) !important;
  box-shadow: none !important;
  opacity: .8;
}

.checkout-cart-index .cart-container {
  display: grid !important;
  grid-template-columns: minmax(0, 74.4%) minmax(230px, 23.2%) !important;
  gap: 2.4% !important;
  align-items: start !important;
  margin-top: 8px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.checkout-cart-index .form-cart {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.checkout-cart-index .cart-summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  position: static !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 270px !important;
  margin: 0 0 0 auto !important;
  padding: 30px 12px 22px !important;
  background: #f6f6f6 !important;
  text-align: center !important;
}

.checkout-cart-index .cart-summary .checkout-methods-items {
  margin: 0 !important;
}

.checkout-cart-index .cart-summary .checkout-methods-items .action.primary {
  width: 100% !important;
}

.checkout-cart-index .cart-summary .checkout.multicheckout {
  display: none !important;
}

.checkout-cart-index .cart-container > div:not(.cart-summary):empty {
  display: none !important;
}

.checkout-cart-index .cart.table-wrapper .items,
.checkout-cart-index .cart.table-wrapper th,
.checkout-cart-index .cart.table-wrapper td {
  border-color: #ededed !important;
}

.checkout-cart-index .cart.table-wrapper {
  font-family: var(--egg-font) !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.checkout-cart-index .cart.table-wrapper .col.item {
  display: flex !important;
  gap: 18px !important;
  align-items: flex-start !important;
}

.checkout-cart-index .cart.table-wrapper .col.item .product-item-photo {
  flex: 0 0 110px !important;
  width: 110px !important;
  margin: 0 !important;
}

.checkout-cart-index .cart.table-wrapper .col.item .product-image-container,
.checkout-cart-index .cart.table-wrapper .col.item .product-image-wrapper,
.checkout-cart-index .cart.table-wrapper .col.item .product-image-photo {
  width: 110px !important;
  max-width: 110px !important;
}

.checkout-cart-index .cart.table-wrapper .col.item .product-item-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 2px 0 0 !important;
}

.checkout-cart-index .cart.table-wrapper tbody .col {
  padding-top: 28px !important;
  padding-bottom: 14px !important;
  vertical-align: top !important;
}

.checkout-cart-index .cart.table-wrapper thead .col {
  padding-top: 18px !important;
  padding-bottom: 10px !important;
}

.checkout-cart-index .cart.table-wrapper .col.qty .field.qty,
.checkout-cart-index .cart.table-wrapper .col.qty .control.qty {
  display: flex !important;
  justify-content: center !important;
}

.checkout-cart-index .cart.table-wrapper input.qty {
  width: 48px !important;
  text-align: center !important;
}

.checkout-cart-index .cart.table-wrapper .actions-toolbar,
.checkout-cart-index .cart.table-wrapper .actions,
.checkout-cart-index .cart.table-wrapper .item-actions td {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.checkout-cart-index .cart.table-wrapper .item-actions .actions-toolbar {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-start !important;
}

.checkout-cart-index .cart.table-wrapper .item-actions td {
  padding: 0 0 20px 128px !important;
  border-top: 0 !important;
}

.checkout-cart-index .cart.table-wrapper .item-actions .action {
  min-width: 0 !important;
  padding: 8px 14px !important;
}

.checkout-cart-index .cart.main.actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  margin-top: 12px !important;
  padding-top: 6px !important;
}

.checkout-cart-index .cart.main.actions .action {
  margin: 0 !important;
}

.checkout-cart-index .cart.table-wrapper .product-item-name,
.checkout-cart-index .cart.table-wrapper .product-item-name a {
  color: var(--egg-ink) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.checkout-cart-index .cart.table-wrapper .item-options,
.checkout-cart-index .cart.table-wrapper .item-options dt,
.checkout-cart-index .cart.table-wrapper .item-options dd {
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 18px !important;
}

.checkout-cart-index .cart.table-wrapper .item-options {
  margin: 8px 0 0 !important;
}

.checkout-cart-index .cart.table-wrapper .cart-price,
.checkout-cart-index .cart-summary .price {
  color: var(--egg-blue) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.checkout-cart-index .cart-summary .title,
.checkout-cart-index .cart-summary .grand.totals .mark,
.checkout-cart-index .cart-summary .grand.totals .amount {
  color: var(--egg-ink) !important;
  font-family: var(--egg-font) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.checkout-cart-index .cart-summary .title {
  margin: 0 0 20px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.checkout-cart-index .cart-summary .block > .title,
.checkout-cart-index .cart-summary .title[role="tab"],
.checkout-cart-index .cart-summary .shipping-estimation-title,
.checkout-cart-index .cart-summary #block-discount-heading {
  color: var(--egg-ink) !important;
  font-family: var(--egg-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.checkout-cart-index .cart-summary .totals th,
.checkout-cart-index .cart-summary .totals td,
.checkout-cart-index .cart-summary .subtotal .mark,
.checkout-cart-index .cart-summary .subtotal .amount {
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.checkout-cart-index .cart-summary .grand.totals th,
.checkout-cart-index .cart-summary .grand.totals td {
  padding-top: 10px !important;
}

.checkout-cart-index .message-success {
  margin: 0 0 24px !important;
}

.checkout-cart-index .message-success .message {
  padding: 12px 16px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--egg-ink) !important;
}

.checkout-index-index .page-main {
  padding-top: 17px !important;
}

/* ── Checkout grid: force opc-wrapper to col 1 (wide), opc-sidebar to col 2 ── */
.checkout-index-index .checkout-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 30px !important;
  align-items: start !important;
}
.checkout-index-index .opc-progress-bar {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.checkout-index-index .opc-wrapper {
  grid-column: 1 !important;
  grid-row: 2 !important;
}
.checkout-index-index .opc-sidebar {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  position: sticky !important;
  top: 20px !important;
  /* override modal-custom positioning */
  z-index: 1 !important;
  width: auto !important;
  max-width: none !important;
}
/* Hide other auto-placed items that belong in the gap */
.checkout-index-index .authentication-wrapper {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: none !important;
}
.checkout-index-index .opc-estimated-wrapper {
  display: none !important;
}
.checkout-index-index .messages {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.checkout-index-index .checkout-payment-method,
.checkout-index-index .form-login,
.checkout-index-index .form-shipping-address,
.checkout-index-index .checkout-shipping-method {
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.checkout-index-index .opc-wrapper .step-title,
.checkout-index-index .opc-block-summary > .title,
.checkout-index-index .checkout-payment-method .step-title {
  color: var(--egg-blue) !important;
  font-family: var(--egg-font) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 10px 0 31px !important;
}

.checkout-index-index input[type="text"],
.checkout-index-index input[type="email"],
.checkout-index-index input[type="password"],
.checkout-index-index input[type="tel"],
.checkout-index-index select,
.checkout-index-index textarea,
.checkout-cart-index input,
.checkout-cart-index select,
.checkout-cart-index textarea {
  min-height: 34px !important;
  border: 1px solid #9e9d9d !important;
  border-radius: 0 !important;
  color: var(--egg-text) !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

@media (max-width: 970px) {
  .cms-home #informative_circles,
  .cms-home #threeblocks,
  .cms-home #multiple_blocks.contenido,
  .cms-home .editorial-home-shelf,
  .cms-home .editorial-home-authors {
    padding: 28px 20px !important;
    margin-bottom: 30px !important;
  }

  .editorial-home-card-image {
    height: 220px !important;
  }
}

@media (max-width: 768px) {
  .checkout-cart-index .cart-container {
    display: block !important;
  }

  .checkout-cart-index .cart-summary {
    max-width: none !important;
    margin-top: 24px !important;
  }

  .catalog-category-view .products-grid .product-item-photo,
  .catalog-product-view .products-related .product-item-photo {
    min-height: 190px !important;
  }

  .editorial-home-card-image {
    height: 190px !important;
  }
}

@media (max-width: 570px) {
  .cms-home #informative_circles,
  .cms-home #threeblocks,
  .cms-home #multiple_blocks.contenido,
  .cms-home .editorial-home-shelf,
  .cms-home .editorial-home-authors {
    padding: 24px 12px !important;
  }

  .editorial-home-card-image {
    height: 165px !important;
  }
}

/* MVP parity pass: highest-impact visual corrections */
.cms-home #informative_circles,
.cms-home #threeblocks,
.cms-home #multiple_blocks.contenido {
  background: #f6f7f7 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.cms-home .editorial-home-card {
  padding: 0 !important;
}

.cms-home .editorial-home-card-image {
  min-height: 0 !important;
  height: 228px !important;
  margin-bottom: 6px !important;
}

.cms-home .editorial-home-card-image img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

.cms-home .editorial-home-card-title {
  margin: 6px 0 2px !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.cms-home .editorial-home-card-author,
.cms-home .editorial-home-card-meta {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.cms-home .editorial-home-card-price {
  margin: 3px 0 8px !important;
  font-size: 16px !important;
}

.cms-home .editorial-home-card-cta,
.catalog-category-view .products-grid .actions .action.tocart,
.catalogsearch-result-index .products-grid .actions .action.tocart,
.catalog-product-view .products-related .actions .action.tocart {
  min-height: 31px !important;
  padding: 5px 12px 5px 33px !important;
  border: 1px solid #bcbcbc !important;
  background-color: #fff !important;
  color: #202020 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  background-size: 18px 18px !important;
  background-position: 8px 50% !important;
}

.cms-home .editorial-home-card-cta:hover,
.catalog-category-view .products-grid .actions .action.tocart:hover,
.catalogsearch-result-index .products-grid .actions .action.tocart:hover,
.catalog-product-view .products-related .actions .action.tocart:hover {
  border-color: #8f8f8f !important;
  background-color: #fff !important;
  color: #111 !important;
}

/* #threeblocks: 3-col grid on the container, NOT on each .col child */
.cms-home #threeblocks {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
}

.cms-home #threeblocks > p,
.cms-home #threeblocks > div {
  display: block !important;
}

/* hide M1 float clearfix (not needed in grid) */
.cms-home #threeblocks > div[style*="clear"] {
  display: none !important;
}

.cms-home #threeblocks img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* #multiple_blocks: replicate M1 float layout (col1=27.2% left, col2=56.6% left, col3=12.7% right) */
.cms-home #multiple_blocks.contenido {
  display: block !important;
  overflow: hidden !important;
}

.cms-home #multiple_blocks.contenido .col1 {
  float: left !important;
  width: 27.2% !important;
  margin: 0 !important;
}

.cms-home #multiple_blocks.contenido .col2 {
  float: left !important;
  width: 56.6% !important;
  margin: 0 1.74% !important;
}

.cms-home #multiple_blocks.contenido .col3 {
  float: right !important;
  width: 12.7% !important;
  margin: 0 !important;
}

.cms-home #multiple_blocks.contenido img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.cms-home #multiple_blocks.contenido .col2 img {
  max-height: 330px !important;
  width: auto !important;
  object-position: left center !important;
}

.catalog-category-view .editorial-filter-options {
  margin: 10px 0 24px !important;
  padding: 10px 12px !important;
  background: #f1f1f1 !important;
  border: 0 !important;
}

.catalog-category-view .editorial-filter-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}

.catalog-category-view .editorial-filter-content {
  margin-top: 12px !important;
  padding: 8px 0 !important;
  border: 1px solid #ddd !important;
  box-shadow: none !important;
}

.catalog-category-view .editorial-filter-content .item a {
  color: #1a1a1a !important;
  font-size: 12px !important;
}

.catalog-category-view .editorial-filter-content .item a:hover {
  color: #009fe3 !important;
}

.catalog-category-view .products-grid .product-item-actions {
  padding-top: 6px !important;
  min-height: 58px !important;
}

.catalog-category-view .products-grid .product-item-details {
  min-height: 88px !important;
  padding-bottom: 64px !important;
}

.catalog-product-view .products-related .product-items {
  gap: 12px !important;
  align-items: flex-start !important;
}

.catalog-product-view .products-related .product-item {
  width: auto !important;
  min-width: 132px !important;
  max-width: 174px !important;
  margin: 0 !important;
  min-height: 0 !important;
}

.catalog-product-view .products-related .product-item-info {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.catalog-product-view .products-related .product-item-photo {
  min-height: 180px !important;
}

.catalog-product-view .products-related .product-item-details {
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

.catalog-product-view .product.info.detailed {
  margin-top: 26px !important;
}

@media (min-width: 900px) {
}

.catalog-category-view .toolbar .modes-label,
.catalog-category-view .toolbar .limiter-label {
  font-size: 11px !important;
}

.catalog-category-view .toolbar .modes-label:before {
  content: none !important;
}

.catalog-category-view .toolbar .limiter-text {
  font-size: 0 !important;
}

/* ── Toolbar: M1-style layout ── */
.catalog-category-view .toolbar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 16px !important;
  margin: 10px 0 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Product count hidden */
.catalog-category-view .toolbar .toolbar-amount {
  order: 1 !important;
  display: none !important;
}

/* ORDENAR POR: left-side */
.catalog-category-view .toolbar .sorter {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 8px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* View modes: pushed to right */
.catalog-category-view .toolbar .modes {
  order: 3 !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 4px !important;
}

.catalog-category-view .toolbar .limiter {
  display: none !important;
}

/* Label "ORDENAR POR" */
.catalog-category-view .toolbar .sorter-label {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  white-space: nowrap !important;
}

/* Sort direction arrow */
.catalog-category-view .toolbar .sorter-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #111 !important;
  font-size: 16px !important;
}
.catalog-category-view .toolbar .sorter-action::before {
  content: "↓" !important;
  font-size: 14px !important;
}
.catalog-category-view .toolbar .sort-desc::before {
  content: "↑" !important;
}

/* Select dropdown */
.catalog-category-view .toolbar .sorter-options {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #111 !important;
  border: 0 !important;
  border-bottom: 1px solid #111 !important;
  border-radius: 0 !important;
  padding: 2px 20px 2px 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  height: auto !important;
  line-height: 1.4 !important;
  -webkit-appearance: auto !important;
}

/* "Ver como" label — hide */
.catalog-category-view .toolbar .modes-label {
  display: none !important;
}

/* View mode buttons base */
.catalog-category-view .toolbar .modes-mode {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid #ccc !important;
  background: transparent !important;
  color: #666 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: visible !important;
}
.catalog-category-view .toolbar .modes-mode span {
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  display: block !important;
}
.catalog-category-view .toolbar .modes-mode.active {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

/* Grid icon: 2×2 squares via box-shadow */
.catalog-category-view .toolbar .mode-grid::before {
  content: "" !important;
  display: block !important;
  width: 5px !important;
  height: 5px !important;
  background: currentColor !important;
  box-shadow:
    7px 0 0 currentColor,
    0 7px 0 currentColor,
    7px 7px 0 currentColor !important;
  flex-shrink: 0 !important;
}

/* List icon: 3 horizontal lines */
.catalog-category-view .toolbar .mode-list::before {
  content: "" !important;
  display: block !important;
  width: 14px !important;
  height: 2px !important;
  background: currentColor !important;
  box-shadow:
    0 5px 0 currentColor,
    0 10px 0 currentColor !important;
  flex-shrink: 0 !important;
}

.catalog-category-view .toolbar select,
.catalog-category-view .toolbar .toolbar-amount,
.catalogsearch-result-index .toolbar select,
.catalogsearch-result-index .toolbar .toolbar-amount {
  text-transform: none !important;
}

/* ── "FILTRAR LISTA" bar: M1-style full-width ── */
.catalog-category-view .block.filter.block-layered-nav.editorial-top-filters {
  margin: 0 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.catalog-category-view .editorial-top-filters .block-subtitle--filter {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  color: #009fe3 !important;
  cursor: pointer !important;
}

/* Arrow indicator on filter button */
.catalog-category-view .editorial-top-filters .block-subtitle--filter::after {
  content: "▾" !important;
  margin-left: 8px !important;
  font-size: 12px !important;
  color: #009fe3 !important;
  transition: transform 0.2s !important;
}
.catalog-category-view .editorial-top-filters .block-subtitle--filter.is-open::after {
  content: "▴" !important;
}

.catalog-category-view .editorial-top-filters .filter-content {
  margin-top: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.catalog-category-view .editorial-filter-options {
  margin: 10px 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
}

.catalog-category-view .editorial-filter-title {
  padding: 8px 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

.catalog-category-view .editorial-filter-content {
  margin-top: 6px !important;
  padding: 0 !important;
  border: 0 !important;
}

.catalog-category-view .products-grid .product-item-info {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.catalog-category-view .products-grid .product-item-name {
  margin: 8px 0 2px !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.catalog-category-view .products-grid .product-item .price-box {
  margin-top: 4px !important;
}

.catalog-category-view .products-grid .action.tocart,
.catalogsearch-result-index .products-grid .action.tocart,
.catalog-product-view .box-tocart .action.tocart,
.checkout-cart-index .cart-summary .checkout-methods-items .action.primary {
  border-radius: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.checkout-cart-index .cart.table-wrapper {
  border-top: 1px solid #e2e2e2 !important;
}

.checkout-cart-index .cart.table-wrapper .item {
  padding: 16px 0 !important;
  border-bottom: 1px solid #ececec !important;
}

.checkout-cart-index .cart.table-wrapper .product-item-name,
.checkout-cart-index .cart.table-wrapper .product-item-name a {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.checkout-cart-index .cart-summary {
  border: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
}

.checkout-cart-index .cart-summary .title,
.checkout-cart-index .cart-summary .grand.totals .mark,
.checkout-cart-index .cart-summary .grand.totals .amount {
  font-size: 15px !important;
}

@media (max-width: 900px) {
  .catalog-category-view .toolbar {
    margin-bottom: 10px !important;
  }

  .catalog-category-view .editorial-top-filters .block-subtitle--filter {
    width: auto !important;
  }
}

/* Quick normalization pass: equal button geometry + remove unintended input borders. */
.cms-home .editorial-home-card-cta,
.catalog-category-view .products-grid .actions .action.tocart,
.catalogsearch-result-index .products-grid .actions .action.tocart,
.catalog-product-view .products-related .actions .action.tocart,
.catalog-product-view .box-tocart .action.tocart,
.checkout-cart-index .cart-summary .checkout-methods-items .action.primary,
.checkout-cart-index .cart.main.actions .action,
.actions-toolbar .primary .action,
.actions-toolbar .secondary .action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 33px !important;
  height: 33px !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  line-height: 19px !important;
  vertical-align: middle !important;
  border-radius: 0 !important;
  background-image: none !important;
  white-space: nowrap !important;
}

/* Restore cart icon on Comprar buttons (overridden by normalization pass above) */
.cms-home .editorial-home-card-cta,
.catalog-category-view .products-grid .actions .action.tocart,
.catalogsearch-result-index .products-grid .actions .action.tocart,
.catalog-product-view .products-related .actions .action.tocart {
  padding: 5px 12px 5px 33px !important;
  background-image: url("../images/parity-ui/bt-carrito.png") !important;
  background-repeat: no-repeat !important;
  background-position: 8px 50% !important;
  background-size: 18px 18px !important;
}

/* Product page Comprar button: cart icon, full-width, matches M1 PDP button */
.catalog-product-view .box-tocart .action.tocart {
  width: 100% !important;
  justify-content: flex-start !important;
  padding: 6px 14px 6px 38px !important;
  text-transform: uppercase !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 10px 50% !important;
  background-size: 18px 18px !important;
}

.footer.content .block.newsletter.editorial-newsletter input[type="email"],
.footer.content .block.newsletter.editorial-newsletter input[type="text"] {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.catalog-category-view .products-grid .product-item-actions,
.catalog-product-view .products-related .product-item-actions,
.cms-home .editorial-home-card {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.catalog-category-view .products-grid .product-item-actions .actions-primary,
.catalog-product-view .products-related .product-item-actions .actions-primary {
  margin: 0 !important;
  padding: 0 !important;
}

.catalog-category-view .products-grid .product-item-actions .actions-secondary,
.catalog-product-view .products-related .product-item-actions .actions-secondary {
  display: flex !important;
  align-items: center !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
}

.catalog-category-view .products-grid .action.towishlist,
.catalog-product-view .products-related .action.towishlist {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid #bbb !important;
  color: transparent !important;
  font-size: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px !important;
  cursor: pointer !important;
}

.catalog-category-view .products-grid .action.towishlist span,
.catalog-product-view .products-related .action.towishlist span {
  display: none !important;
}

.catalog-category-view .products-grid .action.tocompare,
.catalog-product-view .products-related .action.tocompare {
  display: none !important;
}

.catalog-category-view .products-grid .actions .action.tocart,
.catalog-product-view .products-related .actions .action.tocart,
.cms-home .editorial-home-card-cta {
  min-width: 108px !important;
}

/* Header parity: icon + text like M1 production (person icon + "Cuenta", cart icon + "Cesta"). */
.editorial-header-account .account-link,
.minicart-wrapper .action.showcart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
  font-family: var(--egg-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

.editorial-header-account .account-link::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.editorial-header-account .account-link::after {
  content: none !important;
  display: none !important;
}

.editorial-header-account .account-link .label {
  display: inline !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.minicart-wrapper .action.showcart::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 001.98-1.67L20 4H5.68'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.minicart-wrapper .action.showcart::after {
  content: none !important;
  display: none !important;
}

.minicart-wrapper .action.showcart .text {
  position: static !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  color: #111 !important;
}

.page-header .header.content .editorial-header-account {
  margin-right: 12px !important;
}

.minicart-wrapper .action.showcart .counter.qty {
  display: none !important;
}

.editorial-header-account .account-link:hover,
.minicart-wrapper .action.showcart:hover {
  color: #111 !important;
  text-decoration: none !important;
}

/* PDP proportions from the Magento 1 WhiteApp product layout. */
.catalog-product-view .column.main {
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) !important;
  gap: 30px !important;
}

.catalog-product-view .column.main > .product.media {
  align-self: start !important;
  justify-self: stretch !important;
}

/* Fotorama main image sizing */
.catalog-product-view .product.media .fotorama__stage {
  max-height: 600px !important;
}

.catalog-product-view .product-info-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 270px !important;
  grid-template-rows: repeat(10, auto) !important;
  gap: 0 30px !important;
  align-items: start !important;
}

/* Left column: everything except the right sidebar */
.catalog-product-view .product-info-main > *:not(.product-info-right-sidebar) {
  grid-column: 1 !important;
}

/* Right sidebar: spans all explicit rows so its flex children stack gap-free */
.catalog-product-view .product-info-main .product-info-right-sidebar {
  grid-column: 2 !important;
  grid-row: 1 / -1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  width: 270px !important;
  box-sizing: border-box !important;
}

.catalog-product-view .product-info-main .product-info-price {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 14px 16px 0 !important;
  background: var(--egg-panel) !important;
}

.catalog-product-view .product-info-main .product-add-form {
  margin-top: 0 !important;
  padding: 8px 16px 16px !important;
  background: var(--egg-panel) !important;
}

.catalog-product-view .box-tocart,
.catalog-product-view .box-tocart .fieldset,
.catalog-product-view .box-tocart .actions {
  margin: 0 !important;
}

.catalog-product-view .box-tocart {
  width: 100% !important;
  box-sizing: border-box !important;
}

.catalog-product-view .box-tocart .actions {
  width: 100% !important;
}

.catalog-product-view .box-tocart .field.qty {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
}

.catalog-product-view .box-tocart .input-text.qty {
  width: 31px !important;
  height: 33px !important;
  padding: 0 !important;
  text-align: center !important;
  border: 1px solid var(--egg-rule) !important;
  border-radius: 0 !important;
}

.catalog-product-view .box-tocart .action.tocart {
  width: 100% !important;
}

.catalog-product-view .product-info-main .product.attribute.overview,
.catalog-product-view .product-info-main .product.attribute.description {
  max-width: 600px !important;
}

#description .product.attribute.description,
.catalog-product-view .product.data.items .product.attribute.description {
  max-width: none !important;
  width: auto !important;
}

.catalog-product-view .product.data.items {
  margin-top: 40px !important;
}

@media (max-width: 950px) {
  .catalog-product-view .column.main {
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
    gap: 25px !important;
  }

  .catalog-product-view .product-info-main {
    display: block !important;
  }

  .catalog-product-view .product-info-main .product-info-price,
  .catalog-product-view .product-info-main .product-add-form {
    max-width: none !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 550px) {
  .catalog-product-view .column.main {
    display: block !important;
  }

  .catalog-product-view .product.media .fotorama__stage {
    max-height: 400px !important;
  }
}

/* Browser-observed desktop header and hero corrections. */
@media (min-width: 769px) {
  .navigation > ul,
  .navigation .level0.parent {
    position: static !important;
  }

  .navigation .level0.parent > .submenu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    /* Center dropdown to content container — not full viewport */
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(1560px, 100vw) !important;
    min-width: auto !important;
    padding: 18px 28px 22px !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(220px, 1.1fr) minmax(190px, .9fr) minmax(220px, 1fr) 270px !important;
    gap: 0 28px !important;
    align-items: start !important;
    border-top: 1px solid #000 !important;
    border-right: 1px solid #bdbdbd !important;
    border-bottom: 1px solid #bdbdbd !important;
    border-left: 1px solid #bdbdbd !important;
    box-shadow: 0 16px 26px rgba(0, 0, 0, .16) !important;
    z-index: 40 !important;
  }

  .navigation .level0.parent.editorial-mega-open > .submenu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .navigation .editorial-mega-column,
  .navigation .editorial-mega-column > ul,
  .navigation .editorial-mega-column > ul > li {
    min-width: 0 !important;
    list-style: none !important;
  }

  .navigation .editorial-mega-title {
    display: block !important;
    margin: 0 0 10px !important;
    color: #111 !important;
    font-family: var(--egg-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  .navigation .editorial-mega-title .ui-menu-icon,
  .navigation .editorial-mega-column > .ui-menu-icon {
    display: none !important;
    content: none !important;
  }

  .navigation .editorial-mega-links,
  .navigation .editorial-mega-static-links,
  .navigation .editorial-mega-category-links {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .navigation .level0.parent > .submenu > .editorial-mega-column > ul,
  .navigation .level0.parent > .submenu > .editorial-mega-column > ul.ui-menu,
  .navigation .level0.parent > .submenu > .editorial-mega-column > ul[style] {
    display: block !important;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .navigation .editorial-mega-category-links > li,
  .navigation .editorial-mega-static-links > li {
    margin: 0 0 5px !important;
    padding: 0 !important;
    position: relative !important;
  }

  .navigation .editorial-mega-category-links > li:last-child,
  .navigation .editorial-mega-static-links > li:last-child {
    margin-bottom: 0 !important;
  }

  .navigation .editorial-mega-category-links a,
  .navigation .editorial-mega-static-links a {
    position: relative !important;
    padding: 0 0 0 16px !important;
    color: #111 !important;
    font-family: var(--egg-font) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .navigation .editorial-mega-category-links a::before,
  .navigation .editorial-mega-static-links a::before {
    content: "›";
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 18px !important;
  }

  .navigation .editorial-mega-category-links a:hover,
  .navigation .editorial-mega-static-links a:hover {
    color: #009fe3 !important;
  }

  .navigation .editorial-mega-promo {
    justify-self: end !important;
    width: 270px !important;
  }

  .navigation .editorial-mega-promo-link {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: #f4a61f !important;
  }

  .navigation .editorial-mega-promo-link img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-header .header.content {
    display: grid !important;
    grid-template-columns: 73px minmax(0, 1fr) auto auto !important;
    grid-template-areas: "logo search account cart" !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: center !important;
    min-height: 63px !important;
    padding: 15px 30px 10px !important;
  }

  .page-header .header.content .logo,
  .page-header .header.content a.logo {
    grid-area: logo !important;
    align-self: center !important;
  }

  /* Search: icon-only in header; open state handled by overlay rules below */
  .page-header .header.content .block-search {
    grid-area: search !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    margin: 0 !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .page-header .block-search .nav-search-in {
    display: none !important;
  }

  #search_mini_form {
    border: none !important;
  }

  .editorial-header-account {
    grid-area: account !important;
    justify-self: end !important;
    white-space: nowrap !important;
  }

  .minicart-wrapper {
    grid-area: cart !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 72px !important;
    margin: 0 !important;
  }

  .navigation,
  .sections.nav-sections,
  .nav-sections {
    min-height: 42px !important;
    margin: 0 !important;
    border-top: 1px solid #000 !important;
    border-bottom: 0 !important;
  }

  .nav-sections-item-content {
    padding: 0 !important;
  }

  .navigation ul,
  .navigation .level0 {
    line-height: 42px !important;
  }

  .navigation > ul {
    display: flex !important;
    justify-content: flex-start !important;
    max-width: 1560px !important;   /* match .header.content max-width */
    margin: 0 auto !important;       /* centre within full-width .navigation container */
    padding-left: 21px !important;   /* 30px header-padding − 9px link-padding = items at 30px from edge */
  }

  .navigation .level0 > .level-top,
  .navigation a.level-top {
    height: 42px !important;
    padding: 0 9px !important;
    color: #000 !important;
    font-family: var(--egg-font) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  .navigation .level0 > .level-top .ui-menu-icon,
  .navigation .level0 > .level-top:after,
  .navigation a.level-top:after {
    display: none !important;
    content: none !important;
  }

  .navigation .level0.parent > .level-top,
  .navigation .level0.parent > a.level-top {
    position: relative !important;
  }

  .navigation .level0.parent:hover > .level-top,
  .navigation .level0.parent:hover > a.level-top,
  .navigation .level0.parent:focus-within > .level-top,
  .navigation .level0.parent:focus-within > a.level-top {
    color: #009fe3 !important;
  }

  /* ── Blog / WordPress pages: constrain page-main to content width ── */
  /* page-title-wrapper and other siblings of .columns sit outside .column.main,
     so they need page-main itself to be bounded — same fix as catalog-category */
  .wordpress-posttype-view .page-main,
  .wordpress-homepage-view .page-main,
  .wordpress-term-view .page-main,
  .wordpress-post-view .page-main,
  .wordpress-page-view .page-main,
  .wordpress-archive-view .page-main,
  .wordpress-search-view .page-main {
    max-width: 1560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* ── Blog / WordPress pages: ensure navigation bar and layout render correctly ── */
  /* Override tabs-widget inline style="display:none" that Magento's JS adds on init */
  /* Scoped to WP body classes only — avoids breaking checkout/multishipping nav hide */
  .wordpress-posttype-view .sections.nav-sections,
  .wordpress-homepage-view .sections.nav-sections,
  .wordpress-term-view .sections.nav-sections,
  .wordpress-post-view .sections.nav-sections,
  .wordpress-archive-view .sections.nav-sections {
    display: block !important;
  }
  .wordpress-posttype-view .nav-sections-item-content,
  .wordpress-homepage-view .nav-sections-item-content,
  .wordpress-term-view .nav-sections-item-content,
  .wordpress-post-view .nav-sections-item-content,
  .wordpress-archive-view .nav-sections-item-content {
    display: block !important;
    overflow: visible !important;
  }
  .wordpress-posttype-view .nav-sections-item-content > .navigation,
  .wordpress-homepage-view .nav-sections-item-content > .navigation,
  .wordpress-term-view .nav-sections-item-content > .navigation,
  .wordpress-post-view .nav-sections-item-content > .navigation,
  .wordpress-archive-view .nav-sections-item-content > .navigation {
    display: block !important;
  }

  /* WordPress blog page: proper 2-col layout (sidebar left 16.67%, main right 83.33%) */
  .wordpress-posttype-view .columns,
  .wordpress-homepage-view .columns,
  .wordpress-term-view .columns,
  .wordpress-post-view .columns,
  .wordpress-archive-view .columns {
    display: block !important;
    overflow: hidden !important; /* clearfix for floated children */
  }
  .wordpress-posttype-view .column.main,
  .wordpress-homepage-view .column.main,
  .wordpress-term-view .column.main,
  .wordpress-post-view .column.main,
  .wordpress-archive-view .column.main {
    width: 75% !important;
    float: right !important;
    padding-left: 2% !important;
    box-sizing: border-box !important;
  }
  .wordpress-posttype-view .sidebar.sidebar-main,
  .wordpress-homepage-view .sidebar.sidebar-main,
  .wordpress-term-view .sidebar.sidebar-main,
  .wordpress-post-view .sidebar.sidebar-main,
  .wordpress-archive-view .sidebar.sidebar-main {
    width: 25% !important;
    float: left !important;
    padding-right: 2% !important;
    box-sizing: border-box !important;
  }
}

.editorial-home-hero-track {
  aspect-ratio: 1299 / 399 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* ===== Breadcrumb: spacing + title-case ===== */
.breadcrumbs,
.page-wrapper > .breadcrumbs {
  margin-top: 20px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.breadcrumbs,
.breadcrumbs .items,
.breadcrumbs .item {
  text-transform: none !important;
}
.breadcrumbs .item a,
.breadcrumbs .item strong {
  display: inline-block !important;
  text-transform: lowercase !important;
}
.breadcrumbs .item a::first-letter,
.breadcrumbs .item strong::first-letter {
  text-transform: uppercase !important;
}

/* ===== Product page: trust icons (generadores-confianza-home) ===== */
.catalog-product-view #informative_circles {
  display: block !important; /* override styles-m.css flex; children need inline-block layout */
  text-align: center !important;
  margin: 15px 0 !important;
}
.catalog-product-view #informative_circles .link {
  display: inline-block !important;
  width: 30% !important;
  vertical-align: top !important;
}
.catalog-product-view #informative_circles .image {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 auto 5px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 50% !important;
  background-color: transparent !important;
  border: 2px solid #333 !important;
  border-radius: 50% !important;
}
.catalog-product-view #informative_circles .image.descuento {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  border-radius: 50% !important;
  background-color: #ff0 !important;
  background-image: none !important;
  font-size: 18px !important;
  font-weight: 100 !important;
  color: #333 !important;
  line-height: 1 !important;
}
.catalog-product-view #informative_circles .text {
  display: block !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: #000 !important;
}
.catalog-product-view #informative_circles .envio .image {
  background-image: url("/media/images/envio-gratis.png") !important;
}
.catalog-product-view #informative_circles .pago .image {
  background-image: url("/media/images/pago-seguro.png") !important;
}

/* ===== Product page: badges ===== */
.catalog-product-view .editorial-btn-property {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  margin: 10px 0;
}
.catalog-product-view .editorial-btn-property span {
  display: inline-block;
  padding: 4px 25px;
  margin-top: 10px;
  min-width: 114px;
  text-align: center;
}
.catalog-product-view .editorial-btn-property .novedad { background: #000; }
.catalog-product-view .editorial-btn-property .bestseller { background: #808080; padding: 4px 20px; }
.catalog-product-view .editorial-btn-property .longseller { background: #ddd; color: #444 !important; padding: 4px 20px; }
.catalog-product-view .editorial-btn-property .oferta { background: #f00; }
.catalog-product-view .editorial-btn-property .proximamente { background: #f99; padding: 4px; }
.catalog-product-view .editorial-btn-property .preventa { background: #000; padding: 4px; color: #ff0; }

/* ===== Product page: subtitle ===== */
.catalog-product-view .editorial-subtitle {
  grid-column: 1;
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
  font-style: italic;
}

/* ===== Product page: technical data ===== */
.catalog-product-view .editorial-product-details {
  grid-column: 1;
}
.catalog-product-view .datos-tecnicos,
.catalog-product-view .editorial-btn-property {
  grid-column: unset;
}
.catalog-product-view #informative_circles {
  background: var(--egg-panel);
}
.catalog-product-view .datos-tecnicos {
  color: #000 !important;
  font-weight: 300;
  margin-top: 10px;
  font-size: 13px;
}
.catalog-product-view .datos-tecnicos h3 {
  font-size: 14px !important;
  text-transform: inherit !important;
  margin-bottom: 5px !important;
  font-weight: 700 !important;
}
.catalog-product-view .datos-tecnicos .attribute_row {
  margin-bottom: 2px;
}

/* ===== Homepage trust icons ===== */
.cms-home #informative_circles {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 60px !important;
  padding: 30px 40px !important;
  background: #fff !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}
.cms-home #informative_circles .link {
  display: inline-block !important;
  flex-direction: unset !important;
  align-items: unset !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 160px !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  text-align: left !important;
}
.cms-home #informative_circles .image {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 57px !important;
  height: 57px !important;
  margin: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 26px 26px !important;
  background-color: transparent !important;
  border: 1px solid #c8c8c8 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
}
.cms-home #informative_circles .image.descuento {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  width: 57px !important;
  height: 57px !important;
  border: 2px solid #f0c000 !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #f0c000 !important;
}
.cms-home #informative_circles .text {
  display: inline-block !important;
  vertical-align: middle !important;
  padding-left: 10px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #333 !important;
  text-transform: none !important;
}
.cms-home #informative_circles .text.descuento {
  font-weight: 700 !important;
}
.cms-home #informative_circles .envio .image {
  background-image: url("/media/images/envio-gratis.png") !important;
}
.cms-home #informative_circles .pago .image {
  background-image: url("/media/images/pago-seguro.png") !important;
}

/* Search bar submit button text: hide visually */
.searchautocomplete .nav-submit-button .button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ===== Product page: payment logos ===== */
.catalog-product-view .editorial-pay-methods-wrap {
  padding: 0 1.6rem 0.8rem;
  background: #f6f7f7;
  border-right: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
  margin-top: -1.2rem;
}
.catalog-product-view .editorial-pay-methods {
  display: block;
  max-width: 192px;
}

/* Social share buttons */
.catalog-product-view .editorial-social-share {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .8rem 1.6rem;
  background: #f6f7f7;
  border-right: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
}

.catalog-product-view .editorial-social-share-label {
  font-size: 12px;
  color: #777;
  margin-right: 4px;
}

.catalog-product-view .editorial-social-share-label {
  display: none !important;
}
.catalog-product-view .editorial-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: opacity .15s;
}
.catalog-product-view .editorial-share-btn:hover {
  opacity: .85;
  text-decoration: none !important;
}
.catalog-product-view .editorial-share-fb { background: #1877f2 !important; }
.catalog-product-view .editorial-share-tw { background: #1da1f2 !important; }
.catalog-product-view .editorial-share-wa { background: #25d366 !important; }
.catalog-product-view .editorial-share-pin { background: #e60023 !important; }

/* ===== Product listing badges (NOVEDAD, BESTSELLER, etc.) ===== */
.product-item-photo-wrap {
  position: relative;
  display: block;
}

.editorial-listing-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 2;
}

/* ========================================================
   LOGILIBRO STORE OVERRIDES
   ======================================================== */

body.logilibro {
  --logi-blue: #009fe3;
  --logi-blue-dark: #0080b8;
}

/* Logo */
body.logilibro .logo img {
  max-height: 48px;
  width: auto;
}

/* Accent color: links and buttons */
body.logilibro a:hover,
body.logilibro a:focus {
  color: var(--logi-blue);
}

body.logilibro .action.primary,
body.logilibro .tocart,
body.logilibro button.action.primary {
  background-color: var(--logi-blue) !important;
  border-color: var(--logi-blue) !important;
  color: #fff !important;
}

body.logilibro .action.primary:hover,
body.logilibro .tocart:hover {
  background-color: var(--logi-blue-dark) !important;
  border-color: var(--logi-blue-dark) !important;
}

body.logilibro .editorial-home-shelf-title {
  border-left-color: var(--logi-blue);
}

body.logilibro .editorial-home-arrow {
  border-color: var(--logi-blue);
  color: var(--logi-blue);
}

body.logilibro .editorial-home-arrow:hover {
  background: var(--logi-blue);
  color: #fff;
}

/* Editoriales section */
.logilibro-home-content {
  padding: 0 20px 40px;
  max-width: var(--egg-container, 1560px);
  margin: 0 auto;
}

.logilibro-editoriales {
  padding: 40px 0 32px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 40px;
}

.logilibro-editoriales-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}

.logilibro-editoriales-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
  border-left: 4px solid #009fe3;
  padding-left: 10px;
}

.logilibro-editoriales-link {
  font-size: 13px;
  color: #009fe3;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.logilibro-editoriales-link:hover {
  color: #0080b8;
  text-decoration: underline;
}

.logilibro-editoriales-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 12px;
  align-items: flex-start;
}

.logilibro-editorial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: calc(100% / 8 - 12px);
  min-width: 90px;
  max-width: 130px;
}

.logilibro-editorial-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f4f4;
  overflow: hidden;
  margin-bottom: 8px;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.logilibro-editorial-logo--text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  background-color: #009fe3;
  letter-spacing: 0;
}

.logilibro-editorial-item:hover .logilibro-editorial-logo {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.logilibro-editorial-name {
  font-size: 11px;
  color: #444;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.logilibro-editorial-item:hover .logilibro-editorial-name {
  color: #009fe3;
}

/* Utility nav: hide GG-specific links on logilibro */
body.logilibro .editorial-utility-links {
  display: none;
}

/* Category grid: logilibro uses 4 columns */
body.logilibro .catalog-category-view .products-grid .product-items {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 900px) {
  body.logilibro .catalog-category-view .products-grid .product-items {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 600px) {
  body.logilibro .catalog-category-view .products-grid .product-items {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== Product page: M1 parity visual pass ===== */

/* Reset the card shadow and large padding that were added by earlier rules */
.catalog-product-view .product-info-main {
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Remove card borders — M1 add-to-cart-wrapper has no border */
.catalog-product-view .product-info-main .product-info-price {
  border: 0 !important;
}
.catalog-product-view .product-info-main .product-add-form {
  border: 0 !important;
}
.catalog-product-view .editorial-pay-methods-wrap {
  border: 0 !important;
  margin-top: 0 !important;
}
.catalog-product-view .editorial-social-share {
  border: 0 !important;
  background: var(--egg-panel) !important;
  padding: 8px 16px !important;
}

/* Description/overview: M1 inline style is line-height:16px; color:#000; font-weight:300 */
.catalog-product-view .product.attribute.overview,
.catalog-product-view .product.attribute.overview .value,
.catalog-product-view .product.attribute.overview p {
  color: #000 !important;
  font-weight: 300 !important;
  line-height: 16px !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
.catalog-product-view .product.attribute.overview p {
  margin: 0 0 1.5em !important;
}

/* Title moved into product-info-main col 1 row 1 via JS */
.catalog-product-view .page-main > .page-title-wrapper.product {
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
}
.catalog-product-view .product-info-main > .page-title-wrapper.product {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin-bottom: 8px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: static !important;
  padding: 0 !important;
}
/* Left column order: title → badge → overview → specs (auto-placed in col 1 by DOM order).
   grid-row: auto clears the stale grid-row: 1 rule from line 632. */
.catalog-product-view .product-info-main .editorial-product-badge-wrap {
  grid-column: 1 !important;
  grid-row: auto !important;
  margin-bottom: 6px !important;
}
.catalog-product-view .product-info-main .product.attribute.overview {
  grid-column: 1 !important;
  grid-row: auto !important;
  margin-bottom: 12px !important;
}
.catalog-product-view .product-info-main .editorial-product-details {
  grid-column: 1 !important;
  grid-row: auto !important;
}

/* Tab section: M1 uses full gray (#f6f7f7) background, margin-top 45px */
.catalog-product-view .product.data.items {
  margin-top: 45px !important;
  background: #f6f7f7 !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Tab switch/button: M1 = 12px uppercase, height 40px, no border, gray bg */
.catalog-product-view .product.data.items > .item.title > .switch {
  background: #f6f7f7 !important;
  border: 0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 14px !important;
  text-transform: uppercase !important;
  color: #000 !important;
}

.catalog-product-view .product.data.items > .item.title.active > .switch,
.catalog-product-view .product.data.items > .item.title > .switch:hover {
  color: #009fe3 !important;
  background: #f6f7f7 !important;
  border-bottom-color: transparent !important;
}

/* Tab content: M1 padding 25px top, 75px bottom, 47px sides */
.catalog-product-view .product.data.items > .item.content {
  background: #f6f7f7 !important;
  border: 0 !important;
  padding: 25px 47px 75px !important;
}

/* Stock and reviews: small grey text, not prominent */
.catalog-product-view .product-info-stock-sku {
  font-size: 12px !important;
  color: #999 !important;
  margin-bottom: 4px !important;
}
.catalog-product-view .product-info-stock-sku .stock {
  font-size: 12px !important;
}
.catalog-product-view .product-reviews-summary {
  display: none !important;
}

/* Page title on product page: tight bottom margin (title is above columns) */
.catalog-product-view .page-title-wrapper.product {
  margin-bottom: 1.2rem !important;
  padding: 0 !important;
}

/* Editorial-product-details margin */
.catalog-product-view .editorial-product-details {
  margin-top: 0 !important;
}

/* Datos-técnicos separator line */
.catalog-product-view .datos-tecnicos {
  margin-top: 15px !important;
  padding-top: 12px !important;
  border-top: 1px solid #e0e0e0 !important;
}

/* Qty + Add to Cart: side-by-side (M1 style) */
.catalog-product-view .box-tocart .fieldset {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}
.catalog-product-view .box-tocart .field.qty {
  flex: 0 0 auto !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}
.catalog-product-view .box-tocart .actions {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

/* Right column (price + add-form) rows 1–2 aligned with title+description */
.catalog-product-view .product-info-main .product-info-price {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
.catalog-product-view .product-info-main .product-add-form {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* "O BIEN" label between buy button and payment logos (M1 parity) */
.catalog-product-view .editorial-pay-methods-wrap::before {
  content: "O BIEN";
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.06em;
  padding: 8px 0 4px;
}

/* Qty stepper -/+ buttons */
.catalog-product-view .box-tocart .field.qty .control {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.catalog-product-view .qty-stepper {
  width: 26px !important;
  height: 33px !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #d6d6d6 !important;
  cursor: pointer !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: #000 !important;
  flex: 0 0 auto !important;
}
.catalog-product-view .qty-stepper:hover {
  background: #f5f5f5 !important;
}
.catalog-product-view .box-tocart .input-text.qty {
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* ── Availability / stock: M1 green circle checkmark + "Disponible" ── */
.catalog-product-view .stock.available {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #11b400 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
.catalog-product-view .stock.available::before {
  content: '' !important;
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background-color: #11b400 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 9px 9px !important;
  flex-shrink: 0 !important;
}
.catalog-product-view .stock.available span {
  text-transform: none !important;
}

/* ── Payment widget: clean, no bg/border on wrap, match M1 margins ── */
.catalog-product-view .editorial-pay-methods-wrap {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  margin: 8px 16px 12px !important;
}
.catalog-product-view .editorial-pay-methods {
  display: block !important;
  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;
}

/* ── Related products shelf ── */
.catalog-product-view .editorial-related-shelf {
  grid-column: 1 / -1 !important;
  margin-top: 40px !important;
  padding-top: 30px !important;
  border-top: 1px solid #e0e0e0 !important;
}
.catalog-product-view .editorial-related-shelf .editorial-home-shelf-header {
  margin-bottom: 16px !important;
}
.catalog-product-view .editorial-related-shelf .editorial-home-shelf-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #000 !important;
  margin: 0 !important;
}
/* Carousel uses same product-items scroll as home carousels */
.catalog-product-view .editorial-related-shelf .editorial-home-carousel {
  position: relative !important;
}
.catalog-product-view .editorial-related-shelf .product-items {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  gap: 16px !important;
  padding-bottom: 8px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}
.catalog-product-view .editorial-related-shelf .product-items::-webkit-scrollbar {
  display: none !important;
}
.catalog-product-view .editorial-related-shelf .product-item {
  flex: 0 0 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-family: "Raleway", "Helvetica Neue", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
.catalog-product-view .editorial-related-shelf .product-item-photo {
  display: block !important;
  margin-bottom: 8px !important;
}
.catalog-product-view .editorial-related-shelf .product-image-photo {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.12) !important;
}
.catalog-product-view .editorial-related-shelf .product-item-link {
  display: block !important;
  color: #636363 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.catalog-product-view .editorial-related-shelf .product-item-link:hover {
  color: #009fe3 !important;
}
/* Carousel arrow buttons (injected by parity-media.js) */
.catalog-product-view .editorial-related-shelf .editorial-home-arrow {
  top: 35% !important;
}

/* ── General product page text fixes ── */
/* Price in add-to-cart panel */
.catalog-product-view .product-info-price .price-wrapper .price,
.catalog-product-view .product-info-price .price {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #009fe3 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}
/* Stock text size match */
.catalog-product-view .product-info-stock-sku .stock.available span {
  font-size: 12px !important;
  color: #11b400 !important;
}
/* Description tab font match M1 — body rhythm: #636363, 400, 1.3, 1.5em gap */
.catalog-product-view .product.data.items .item.content p {
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #636363 !important;
  font-weight: 400 !important;
  margin: 0 0 1.5em !important;
}
/* Tab content headings */
.catalog-product-view .product.data.items .item.content h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  color: #000 !important;
}

/* ── ÉCHALE UN VISTAZO (PDF preview link) ── */
.catalog-product-view .editorial-echale-vistazo {
  margin-bottom: 6px !important;
}
.catalog-product-view .editorial-echale-vistazo a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #009fe3 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: .03em !important;
}
.catalog-product-view .editorial-echale-vistazo a:hover {
  text-decoration: underline !important;
}

/* ── Cubierta en alta resolución ── */
.catalog-product-view .editorial-cubierta-link {
  margin-top: 6px !important;
}
.catalog-product-view .editorial-cubierta-link a {
  color: #009fe3 !important;
  font-size: 12px !important;
  text-decoration: none !important;
}
.catalog-product-view .editorial-cubierta-link a:hover {
  text-decoration: underline !important;
}

/* ── Login page section headings ── */
.customer-account-login .login-container .block-title strong {
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* ── Account / customer pages: block-title uppercase ── */
.customer-account-index .block-title,
.customer-account-index .block-title strong,
.sales-order-history .block-title,
.sales-order-history .block-title strong {
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}

/* ── Login: "Nuevos clientes" description text ── */
.customer-account-login .block-new-customer .block-content {
  font-size: 13px !important;
  color: #444 !important;
}

/* ── Create account: section headings uppercase ── */
.customer-account-create .fieldset-wrapper-title strong,
.customer-account-create legend.legend span {
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
}

/* ── Category listing: extra data (dimensions/pages/ISBN) ── */
.product-item-details .extra-data {
  font-size: 11px;
  color: #9c9c9c;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── PDP: También en ebook/papel link ── */
.editorial-ebook-link {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}
.editorial-ebook-link .ebook-link-label {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 8px;
}
.editorial-ebook-link img {
  max-width: 145px;
}

/* ── PDP: Autor / Editor display (badge area) ── */
.editorial-product-badge-wrap .editorial-autor,
.editorial-product-badge-wrap .editorial-editor {
  font-size: 14px;
  color: #333;
  margin-top: 6px;
  line-height: 1.4;
}
.editorial-product-badge-wrap .editorial-autor strong,
.editorial-product-badge-wrap .editorial-editor strong {
  font-weight: 600;
}
.editorial-product-badge-wrap .editorial-house {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

/* ── Podcasts / Radio GG page ── */
.cms-podcasts .page-title-wrapper { margin-bottom: 30px; }

.podcast { margin: 0; }

.cms-podcasts .podcast ul.products-grid,
.cms-podcasts .podcast .products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  float: none !important;
}

.cms-podcasts .podcast li.item {
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Image on top */
.podcast .img-podcast { order: -2; margin-bottom: 12px; }
.podcast .img-podcast img { width: 100%; display: block; }

/* Episode label above image */
.podcast .datos-podcast {
  order: -3;
  margin-bottom: 8px;
}
.podcast .datos-podcast .fecha {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #888;
}
.podcast .datos-podcast h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 2px;
  line-height: 1.35;
  color: #111;
}
.podcast .datos-podcast .autor {
  display: block;
  font-size: 12px;
  color: #aaa;
}

.podcast .description {
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  flex-grow: 1;
  margin-bottom: 14px;
}

.podcast .audio {
  margin-bottom: 8px;
}
.podcast .audio iframe {
  width: 100% !important;
  display: block;
}

/* Platform links */
.podcast li.item > div:not(.datos-podcast):not(.img-podcast):not(.description):not(.audio) {
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
  word-break: break-all;
}

@media (max-width: 1024px) {
  .cms-podcasts .podcast ul.products-grid,
  .cms-podcasts .podcast .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .cms-podcasts .podcast ul.products-grid,
  .cms-podcasts .podcast .products-grid { grid-template-columns: 1fr !important; }
}

/* ── Fix: Container max-width — match M1 1560px (was 1280px from Luma default) ── */
@media all and (min-width: 768px) {
  .navigation,
  .breadcrumbs,
  .page-header .header.panel,
  .header.content,
  .footer.content,
  .page-wrapper > .widget,
  .page-wrapper > .page-bottom,
  .page-main {
    max-width: 1560px;
  }
}

/* ── Fix: Header borders — panel separator (already in Luma) + logo-row → nav separator ── */
.page-header {
  border-bottom: 1px solid #e8e8e8 !important;
}

/* ── Fix: Buy button overflow on PDP — box-tocart table display expands beyond container ── */
.catalog-product-view .product-info-main .box-tocart,
.product-info-main .box-tocart {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
}

/* ── Fix: Home carousel arrows — replace ‹/› text chars with M1 arrow images ── */
.cms-home .products-carousel .customNavigation .btn {
  width: 27px !important;
  height: 36px !important;
  border: none !important;
  background-color: transparent !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}
.cms-home .products-carousel .customNavigation .btn:before {
  display: none !important;
}
.cms-home .products-carousel .customNavigation .prev {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAkCAYAAAB4+EEtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpGNjUxMzdBQzRFQ0VFMjExQTE1MkRGRUM2RTI4MEQxQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOUU0RTQxMTgwMTYxMUU2OEYxNEU1NDUwNzA1MDU1OSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOUU0RTQxMDgwMTYxMUU2OEYxNEU1NDUwNzA1MDU1OSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkNGNjM1RTI2Mjc1M0U2MTFCQUU4OTU2NkE3QzZEQTNDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY2NTEzN0FDNEVDRUUyMTFBMTUyREZFQzZFMjgwRDFDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+AZ0sbQAAAldJREFUeNq0l01IVUEUx30y1s5MUpNQiGhviVEgBIkWUpJouQiiXgRCCxMpMChoIUKQIBTkohfRhxmKQUHQ0oUbRQjaRESLFn0omuVC7eP1GzgPhsMV9b5zH/w5cOa++c3537ln7k1ls9mCJH4PMpm9hIeoFvWeT6cHChMCtROm0SG0BV3zeWcM2Uq4jS6podemMEB7CM/RfjXk4b1mMLHtPioO0j/QWe7Vy1zCJWTbFOoA9ClMFuZp22QEaBDVa1DsygC1EjKoRNmWBjK+1v/cJiF+G99CXWrIb/PTUdXEggHaTRhBdWroLuoBtLLeHC4P236iC0BGN7pgF9O2GbHt42Zug0vStg3BAJ2QJro9SC+hi0CexX1cnIIUEfr9ytV1b9EpQB/yaQIuAFWLbQfVNUPoMqDlfNuaE9BRwrC1bWtV9kSB3qF2QO8tj6Bcb9QWbUOl1odqDnYSfQ7yVWgCe7tRygqWyr2DMGmpbPfj6poX0mAXrCorYLJ5Qgu6gv4E1/iqZ1jMAbPK1PNWT/C7cFeQ/o2u+vOKhWXNYALcQXiEjkXYeg7gYmwb9Y/J5gjN8rLyN8LWWrPKImz1b06VQXpVGvIdU5gAywmPUaMaGpNzbTG2jRG2fpf7dx39C4baxNZ9ZpWpKg9LLw1tXZGGfc8UJsAKwlN0RA2NSAP/FdvGCFu/EZrQTWVrh9haY1aZqrJBTo4KZWsXixoyhQlwpwC1rT7XCXTJ7PuMyb6KrX0orOCMtD67ylSVTfJMlklqlsWUJ/LlycRvCH6DvEJf0A2f/y/AAKuV65Hiu55fAAAAAElFTkSuQmCC') !important;
}
.cms-home .products-carousel .customNavigation .next {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAkCAYAAAB4+EEtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpGNjUxMzdBQzRFQ0VFMjExQTE1MkRGRUM2RTI4MEQxQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0NDQ4RkNGNzgwMTYxMUU2OTYyQkZGQTBBQkQ0QzhDOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0NDQ4RkNGNjgwMTYxMUU2OTYyQkZGQTBBQkQ0QzhDOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkNGNjM1RTI2Mjc1M0U2MTFCQUU4OTU2NkE3QzZEQTNDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY2NTEzN0FDNEVDRUUyMTFBMTUyREZFQzZFMjgwRDFDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+NRszDAAAAlBJREFUeNq0l9tLVFEUh88Mk/rQzf6DkJ6zm1D0HCEUdqExLaLpwcDAKAoSFHoIgoKEgFwiBLQCHxTsQkEg0UP1VFoESkgXKnrSio3fgmVslmPNOesewF8W7DWzv1m/ffbeM5lSqRTdKhbPREF0Gb1Cx44XCm+jFEZWYzeqQdvRS+AH04SNB3Or0T2AN1BtGrACuGpyKeg5wAYvWEb2bHGw8B7CHbQ2eM8PdIJ9vO8KU+B6wjDaZt7bh84CnavWxr+Dxd4TdqLr3rYuqcxUuY9QNLd+lz3mS424wgJb76KtJSWVnwf6M7GN/7C1z6S60IR+GZ/KTJVy2Af0LMa2NRVMYQTbG7ua2tobaTG2jRC2fpf7dx39C4baxNZ9ZpWpKg9LLw1tXZGGfc8UJsAKwlN0RA2NSAP/FdvGCFu/EZrQTWVrh9haY1aZqrJBTo4KZWsXixoyhQlwpwC1rT7XCXTJ7PuMyb6KrX0orOCMtD67ylSVTfJMlklqlsWUJ/LlycRvCH6DvEJf0A2f/y/AAKuV65Hiu55fAAAAAElFTkSuQmCC') !important;
}

/* ===== P1: Header search — icon → full-screen overlay (Norma-style) ===== */

/* ── Closed state: icon button ── */
.editorial-search-toggle-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  color: #1a1a1a !important;
  position: relative !important;
}

.editorial-search-toggle-btn::before {
  content: "" !important;
  position: absolute !important;
  top: 9px !important;
  left: 9px !important;
  width: 15px !important;
  height: 15px !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
}

.editorial-search-toggle-btn::after {
  content: "" !important;
  position: absolute !important;
  top: 22px !important;
  left: 22px !important;
  width: 9px !important;
  height: 2.5px !important;
  background: currentColor !important;
  transform: rotate(45deg) !important;
  transform-origin: left center !important;
  border-radius: 2px !important;
}

.header.content .block-search {
  position: static !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.header.content .block-search .block.block-content {
  display: none !important;
}

/* ── Open state: fixed full-screen overlay ── */
.header.content .block-search.editorial-search-open {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: rgba(12, 12, 12, 0.80) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 1000 !important;
  justify-self: auto !important;
  align-self: auto !important;
  cursor: pointer !important; /* clicking dark area closes */
}

/* Hide toggle button inside the overlay — clicking dark closes via JS */
.header.content .block-search.editorial-search-open .editorial-search-toggle-btn {
  display: none !important;
}

/* White search bar at the top */
.header.content .block-search.editorial-search-open .block.block-content {
  display: block !important;
  width: 100% !important;
  background: #fff !important;
  padding: 0 !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  cursor: default !important;
}

.header.content .block-search.editorial-search-open #search_mini_form,
.header.content .block-search.editorial-search-open .form.minisearch {
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  background: transparent !important;
  cursor: default !important;
}

/* Nav: the search input row */
.header.content .block-search.editorial-search-open .nav {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
  position: relative !important;
  border: 0 !important;
  border-bottom: 2px solid #111 !important;
  background: transparent !important;
  cursor: default !important;
}

/* Big magnifying glass left of input */
.header.content .block-search.editorial-search-open .nav::before {
  content: "" !important;
  display: block !important;
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 22px !important;
  border: 2.5px solid #666 !important;
  border-radius: 50% !important;
  margin-right: 16px !important;
  position: relative !important;
}

.header.content .block-search.editorial-search-open .nav::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: calc(40px + 21px) !important;
  bottom: 2px !important;
  width: 11px !important;
  height: 3px !important;
  background: #666 !important;
  transform: rotate(45deg) !important;
  transform-origin: left center !important;
}

/* Hide category select */
.header.content .block-search.editorial-search-open .nav-search-in {
  display: none !important;
}

/* Input container */
.header.content .block-search.editorial-search-open .nav-input {
  flex: 1 1 auto !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

.header.content .block-search.editorial-search-open .nav-input .label {
  display: none !important;
}

/* The big search input */
.header.content .block-search.editorial-search-open .input-text {
  width: 100% !important;
  height: 68px !important;
  padding: 0 12px 0 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  color: #111 !important;
  box-shadow: none !important;
  letter-spacing: -0.01em !important;
}

.header.content .block-search.editorial-search-open .input-text::placeholder {
  color: #bbb !important;
}

/* Submit button */
.header.content .block-search.editorial-search-open .nav-submit-button {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.header.content .block-search.editorial-search-open .nav-submit-button .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 68px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.header.content .block-search.editorial-search-open .nav-submit-button .button span {
  /* Show "IR" or similar — actually hide for clean look */
  display: none !important;
}

.header.content .block-search.editorial-search-open .nav-submit-button .button::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
}

.header.content .block-search.editorial-search-open .nav-submit-button .button::after {
  content: "" !important;
  display: block !important;
  width: 9px !important;
  height: 3px !important;
  background: currentColor !important;
  transform: rotate(45deg) translate(3px, -1.5px) !important;
  margin-left: -5px !important;
}

/* Loader hidden */
.header.content .block-search.editorial-search-open .searchautocomplete-loader {
  display: none !important;
}

/* Autocomplete: positioned below input row, relative to .nav */
.header.content .block-search.editorial-search-open #search_autocomplete,
.header.content .block-search.editorial-search-open .search-autocomplete {
  position: absolute !important;
  top: calc(100% + 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: none !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
  background: #fff !important;
  z-index: 200 !important;
}

/* ── Norma-style autocomplete: two-column (sidebar + cover grid) ── */
.header.content .block-search.editorial-search-open .editorial-search-autocomplete-panel.norma-layout {
  display: flex !important;
  align-items: flex-start !important;
  gap: 40px !important;
  padding: 28px 40px 36px !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* LEFT SIDEBAR: text suggestion links */
.header.content .block-search.editorial-search-open .norma-sidebar {
  flex-shrink: 0 !important;
  width: 170px !important;
}

.header.content .block-search.editorial-search-open .norma-sidebar-section {
  margin-bottom: 20px !important;
}

.header.content .block-search.editorial-search-open .norma-sidebar-label {
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #999 !important;
  margin-bottom: 10px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.header.content .block-search.editorial-search-open .norma-sidebar ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.header.content .block-search.editorial-search-open .norma-suggestion-item {
  background: none !important;
  border: none !important;
}

.header.content .block-search.editorial-search-open .norma-suggestion-item a {
  display: block !important;
  padding: 5px 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #111 !important;
  text-decoration: none !important;
  grid-template-columns: none !important;
  background: none !important;
  border: none !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  transition: color 0.15s !important;
}

.header.content .block-search.editorial-search-open .norma-suggestion-item.active a,
.header.content .block-search.editorial-search-open .norma-suggestion-item:hover a,
.header.content .block-search.editorial-search-open .norma-suggestion-item.active,
.header.content .block-search.editorial-search-open .norma-suggestion-item:hover {
  background: none !important;
  color: #009fe3 !important;
}

.header.content .block-search.editorial-search-open .norma-suggestion-item.active a,
.header.content .block-search.editorial-search-open .norma-suggestion-item:hover a {
  color: #009fe3 !important;
}

.header.content .block-search.editorial-search-open .norma-viewall-item {
  margin-top: 6px !important;
  background: none !important;
  border: none !important;
}

.header.content .block-search.editorial-search-open .norma-viewall-link {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #009fe3 !important;
  text-decoration: none !important;
  grid-template-columns: none !important;
  padding: 0 !important;
  background: none !important;
  display: block !important;
}

/* RIGHT: cover grid */
.header.content .block-search.editorial-search-open .norma-product-area {
  flex: 1 !important;
  min-width: 0 !important;
}

.header.content .block-search.editorial-search-open .norma-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px 18px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.header.content .block-search.editorial-search-open .norma-product-item {
  background: none !important;
  border: none !important;
}

.header.content .block-search.editorial-search-open .norma-product-item a {
  display: block !important;
  padding: 0 !important;
  text-decoration: none !important;
  color: #111 !important;
  grid-template-columns: none !important;
  background: none !important;
}

.header.content .block-search.editorial-search-open .norma-cover {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  background: #f0f0f0 !important;
  display: block !important;
}

.header.content .block-search.editorial-search-open .norma-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: opacity 0.2s !important;
}

.header.content .block-search.editorial-search-open .norma-card-title {
  margin-top: 8px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.header.content .block-search.editorial-search-open .norma-card-price {
  margin-top: 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #009fe3 !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Product hover: no blue bg, just title color change */
.header.content .block-search.editorial-search-open .norma-product-item.active,
.header.content .block-search.editorial-search-open .norma-product-item:hover {
  background: none !important;
}

.header.content .block-search.editorial-search-open .norma-product-item.active .norma-card-title,
.header.content .block-search.editorial-search-open .norma-product-item:hover .norma-card-title {
  color: #009fe3 !important;
}

.header.content .block-search.editorial-search-open .norma-product-item.active a,
.header.content .block-search.editorial-search-open .norma-product-item:hover a {
  color: #111 !important;
}

.header.content .block-search.editorial-search-open .norma-product-item.active .norma-cover img,
.header.content .block-search.editorial-search-open .norma-product-item:hover .norma-cover img {
  opacity: 0.85 !important;
}

/* Highlighted match terms */
.header.content .block-search.editorial-search-open .norma-card-title strong,
.header.content .block-search.editorial-search-open .norma-suggestion-item a strong {
  color: #009fe3 !important;
  font-weight: 700 !important;
}

/* Mobile: same overlay, but smaller input + single-col grid */
@media (max-width: 768px) {
  .header.content .block-search.editorial-search-open .nav {
    padding: 0 20px !important;
  }

  .header.content .block-search.editorial-search-open .input-text {
    font-size: 18px !important;
    height: 56px !important;
  }

  .header.content .block-search.editorial-search-open .nav-submit-button .button {
    height: 56px !important;
  }

  .header.content .block-search.editorial-search-open .nav::after {
    left: calc(20px + 21px) !important;
  }

  .header.content .block-search.editorial-search-open .editorial-search-autocomplete-panel.norma-layout {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 16px !important;
  }

  .header.content .block-search.editorial-search-open .norma-sidebar {
    width: 100% !important;
  }

  .header.content .block-search.editorial-search-open .norma-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }
}

/* ===== P2: Related products shelf — M1-style card with CTA ===== */
.editorial-related-shelf .product-items {
  padding-bottom: 8px !important;
}

.editorial-related-shelf .product-item {
  display: flex !important;
  flex-direction: column;
}

.editorial-related-shelf .product-item-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: .6rem;
}

.editorial-related-shelf .product-item-link {
  display: block;
  margin-bottom: .4rem;
  color: #636363;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  flex: 1 1 auto;
}

.editorial-related-shelf .product-item-link:hover {
  color: #009fe3;
}

.editorial-related-shelf .product-item-price {
  color: #009fe3;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: .5rem;
}

.editorial-related-shelf .product-item-cta {
  display: block;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #bbb;
  color: #222;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  transition: background .15s, border-color .15s;
}

.editorial-related-shelf .product-item-cta:hover {
  background: #f5f5f5;
  border-color: #888;
  color: #222;
  text-decoration: none;
}

/* ===== Top bar: links right-aligned, constrained to content width (M1 parity) ===== */
/* specificity 0,3,0 — beats the .page-header .header.panel { max-width:none !important } group rule */
.page-header .panel.header {
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.panel.header {
  justify-content: flex-end !important;
  border-bottom: 1px solid #000 !important;
}
.editorial-utility-links {
  justify-content: flex-end !important;
  width: auto !important;
}

/* ===== Main nav: slightly larger font ===== */
.navigation .level0 > a.level-top,
.navigation .level0 > a {
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* ===== Search result card: bigger, bolder title ===== */
.header.content .block-search.editorial-search-open .norma-card-title {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-top: 10px !important;
  color: #111 !important;
}

/* ===== M2 default components: styled to match theme ===== */

/* Toolbar: sort, view modes */
.toolbar-sorter .sorter-label,
.toolbar .toolbar-amount,
.toolbar-sorter .sorter select {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #111 !important;
}
.toolbar-sorter .sorter select {
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  padding: 5px 10px !important;
  background: #fff !important;
  height: auto !important;
}
.toolbar .toolbar-amount {
  font-size: 12px !important;
  color: #666 !important;
}

/* View mode icons — handled per-context above */

/* Pagination */
.pages .items {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pages .item a,
.pages .item.current .page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 6px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: background 0.15s !important;
}
.pages .item a:hover {
  background: #f5f5f5 !important;
  border-color: #999 !important;
}
.pages .item.current .page {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  font-weight: 700 !important;
}
.pages .action.next::before,
.pages .action.previous::before {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Messages */
.message.success,
.message.notice,
.message.warning,
.message.error,
.message.info {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  border: 1px solid !important;
}
.message.success { background: #f0faf0 !important; border-color: #2d8a3e !important; color: #1a5c28 !important; }
.message.error   { background: #fff0f0 !important; border-color: #c00 !important; color: #900 !important; }
.message.warning { background: #fffbe6 !important; border-color: #f0a000 !important; color: #7a5000 !important; }
.message.notice  { background: #f0f5ff !important; border-color: #4a7fcb !important; color: #2a4f8a !important; }

/* Primary action buttons */
.action.primary,
button.action.primary,
.tocart.action.primary {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 0 !important;
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  padding: 10px 18px !important;
  transition: background 0.15s !important;
}
.action.primary:hover,
button.action.primary:hover {
  background: #333 !important;
  border-color: #333 !important;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  border-radius: 0 !important;
  border: 1px solid #ccc !important;
  color: #111 !important;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #009fe3 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 159, 227, 0.15) !important;
}

/* Block titles */
.block-title,
.block .block-title {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* Mini cart */
.minicart-wrapper .action.showcart .counter.qty {
  background: #009fe3 !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* ===== Header: single black border only below nav ===== */
.page-header {
  border-bottom: 0 !important;
}

/* Category page: filter label "COLLECTION" → translated via attribute,
   but style the filter bar label consistently */
.catalog-category-view .editorial-filter-title {
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
}

/* ===== Home: YouTube embed responsive 16:9 ===== */
.cms-home .contenido.zona-video .col60 {
  width: 100% !important; /* override .col60 { width: 58% } in grid context */
}

.cms-home .contenido.zona-video .col60 iframe {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
}

/* ===== Filter count: space before paren, hide "artículos" label ===== */
.filter-options .count::before {
  content: " (" !important;
}
.filter-options .count::after {
  content: ")" !important;
}
.filter-options-content .filter-count-label {
  display: none !important;
}

/* ===== Search results page: title ===== */
.catalogsearch-result-index .page-title-wrapper .page-title,
.catalogsearch-result-index .page-title-wrapper .page-title .base {
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

/* ===== Search results page: toolbar (mirrors catalog-category-view) ===== */
.catalogsearch-result-index .toolbar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 16px !important;
  margin: 10px 0 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.catalogsearch-result-index .toolbar .toolbar-amount {
  display: none !important;
}

.catalogsearch-result-index .toolbar .sorter {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 8px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.catalogsearch-result-index .toolbar .modes {
  order: 3 !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 4px !important;
}

.catalogsearch-result-index .toolbar .limiter {
  display: none !important;
}

.catalogsearch-result-index .toolbar .sorter-label {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  white-space: nowrap !important;
}

.catalogsearch-result-index .toolbar .sorter-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #111 !important;
}
.catalogsearch-result-index .toolbar .sorter-action::before {
  content: "↓" !important;
  font-size: 14px !important;
}
.catalogsearch-result-index .toolbar .sort-desc::before {
  content: "↑" !important;
}

.catalogsearch-result-index .toolbar .sorter-options {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #111 !important;
  border: 0 !important;
  border-bottom: 1px solid #111 !important;
  border-radius: 0 !important;
  padding: 2px 20px 2px 0 !important;
  background: transparent !important;
  height: auto !important;
  line-height: 1.4 !important;
  -webkit-appearance: auto !important;
}

.catalogsearch-result-index .toolbar .modes-label {
  display: none !important;
}

.catalogsearch-result-index .toolbar .modes-mode {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid #ccc !important;
  background: transparent !important;
  color: #666 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: visible !important;
}
.catalogsearch-result-index .toolbar .modes-mode span {
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  display: block !important;
}
.catalogsearch-result-index .toolbar .modes-mode.active {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

/* Grid icon */
.catalogsearch-result-index .toolbar .mode-grid::before {
  content: "" !important;
  display: block !important;
  width: 5px !important;
  height: 5px !important;
  background: currentColor !important;
  box-shadow: 7px 0 0 currentColor, 0 7px 0 currentColor, 7px 7px 0 currentColor !important;
  flex-shrink: 0 !important;
}

/* List icon */
.catalogsearch-result-index .toolbar .mode-list::before {
  content: "" !important;
  display: block !important;
  width: 14px !important;
  height: 2px !important;
  background: currentColor !important;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor !important;
  flex-shrink: 0 !important;
}

/* ===== Newsletter: heading size + checkbox height ===== */
.editorial-newsletter-heading,
.footer.content .editorial-newsletter-heading {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}

/* Fix: styles-m.css sets min-height:42px + padding-left:35px + margin-right:35px on .block.newsletter input */
.footer.content .block.newsletter.editorial-newsletter input[type="checkbox"] {
  height: 14px !important;
  min-height: 0 !important;
  width: 14px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 3px 0 0 0 !important;
  align-self: flex-start !important;
  border-radius: 0 !important;
  border: 1px solid #aaa !important;
  background: #fff !important;
  display: block !important;
}

.footer.content .block.newsletter.editorial-newsletter .editorial-newsletter-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

/* ===== Info / help / legal CMS pages: sidebar nav ===== */

/* All 3-column CMS pages get sidebar layout */
.cms-page-view.page-layout-3columns .columns {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  grid-template-areas: "sidebar main" !important;
  gap: 0 40px !important;
  align-items: start !important;
}

.cms-page-view.page-layout-3columns .column.main {
  grid-area: main !important;
  width: 100% !important;
  min-width: 0 !important;
}

.cms-page-view.page-layout-3columns .sidebar-main {
  grid-area: sidebar !important;
  width: 220px !important;
  min-width: 0 !important;
}

/* Sidebar: section headings */
.editorial-info-sidebar {
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  margin-bottom: 8px !important;
}

.editorial-info-section {
  margin-bottom: 0 !important;
}

.editorial-info-heading {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: #555 !important;
  padding: 8px 14px !important;
  margin: 0 !important;
}

/* Nav list */
.editorial-info-nav {
  list-style: none !important;
  margin: 0 0 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e5e5 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.editorial-info-section:last-child .editorial-info-nav {
  border-bottom: 1px solid #e5e5e5 !important;
}

.editorial-info-nav li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.editorial-info-nav li:last-child {
  border-bottom: 0 !important;
}

.editorial-info-nav a {
  display: block !important;
  padding: 8px 14px !important;
  font-family: "WA-HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #111 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}

.editorial-info-nav a:hover,
.editorial-info-nav a.is-active {
  color: #009fe3 !important;
  background: #f8f8f8 !important;
}

.editorial-info-nav a.is-active {
  font-weight: 700 !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE SIDEBAR — UI FIXES (2026-05)
   ══════════════════════════════════════════════════════════════════════════ */

/* 1. Remove border/padding below "Disponible" stock label */
.catalog-product-view .product-info-stock-sku {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 2px !important;
}

/* 2. Hide "Cant." quantity label */
.catalog-product-view .box-tocart .field.qty .label {
  display: none !important;
}

/* 3. Qty field: since label hidden, no need for column — row keeps stepper+input tight */
.catalog-product-view .box-tocart .field.qty {
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

/* 4. Fieldset row: all items vertically centred on same line */
.catalog-product-view .box-tocart .fieldset {
  align-items: center !important;
  gap: 10px !important;
}

/* 5. Fix COMPRAR overflow — actions width:100% breaks flex row causing 29px overflow.
      Replace with flex:1 1 0 so button fills available space without overflowing. */
.catalog-product-view .box-tocart .actions {
  width: auto !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* 6. Clip any remaining visual overflow from the sidebar panel */
.catalog-product-view .product-info-right-sidebar {
  overflow: hidden !important;
}

/* 7. Wishlist icon style inside social share row */
.catalog-product-view .editorial-share-wishlist {
  background: #c62828 !important;
}
.catalog-product-view .editorial-share-wishlist span {
  display: none !important;
}

/* Fix qty control intrinsic size: width:100% was expanding field to ~155px, leaving only 73px for COMPRAR */
.catalog-product-view .box-tocart .field.qty .control {
  width: auto !important;
}
.catalog-product-view .box-tocart .input-text.qty {
  width: 31px !important;
  min-width: 31px !important;
}

/* ===== R con Erre video widget: responsive 16:9 ===== */
/* Inline style in CMS content has fixed heights (450→400→350→200px at breakpoints)
   but iframe height="450" HTML attr doesn't shrink → video gets cut at the bottom.
   Override with padding-bottom 16:9 trick. */
.zona-video .col60 {
  position: relative !important;
  height: 0 !important;
  padding-bottom: 56.25% !important; /* 16:9 */
  overflow: hidden !important;
}
.zona-video .col60 iframe,
.zona-video .col60 video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

/* ============================================================
   RESPONSIVE — M1 parity layout adjustments
   Mirrors M1 breakpoints: 1199px, 960px, 770px, 600px, 480px
   ============================================================ */

/* ── Product grid: 6→4→3→2 columns ── */
@media (max-width: 1199px) {
  .catalog-category-view .products-grid .product-items,
  .catalogsearch-result-index .products-grid .product-items {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 960px) {
  .catalog-category-view .products-grid .product-items,
  .catalogsearch-result-index .products-grid .product-items {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  /* Logilibro follows main grid at this breakpoint too */
  body.logilibro .catalog-category-view .products-grid .product-items {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .catalog-category-view .products-grid .product-items,
  .catalogsearch-result-index .products-grid .product-items {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 10px !important;
  }
  .catalog-category-view .products-grid .product-item-photo {
    min-height: 140px !important;
  }
  .catalog-category-view .products-grid .product-item-details {
    min-height: 70px !important;
    padding-bottom: 70px !important;
  }
}

/* ── Related products on PDP: 5→4→3→2 cols ── */
@media (max-width: 1200px) {
  .catalog-product-view .products-related .product-items,
  .catalog-product-view .products-related .products-grid .product-items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 960px) {
  .catalog-product-view .products-related .product-items,
  .catalog-product-view .products-related .products-grid .product-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .catalog-product-view .products-related .product-items,
  .catalog-product-view .products-related .products-grid .product-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ── Homepage #threeblocks: 3→2→1 ── */
@media (max-width: 770px) {
  .cms-home #threeblocks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  .cms-home #threeblocks {
    grid-template-columns: 1fr !important;
  }
}

/* ── Homepage #multiple_blocks: 3-col float → stacked ── */
@media (max-width: 770px) {
  .cms-home #multiple_blocks.contenido .col1,
  .cms-home #multiple_blocks.contenido .col2,
  .cms-home #multiple_blocks.contenido .col3 {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
  }
  .cms-home #multiple_blocks.contenido .col2 img {
    max-height: none !important;
  }
}

/* ── Home shelf / authors section: reduce padding on tablet ── */
@media (max-width: 960px) {
  .editorial-home-shelf,
  .editorial-home-authors {
    margin: 0 0 1.5rem !important;
  }
}

/* ── Category page padding: tighter on small screens ── */
@media (max-width: 600px) {
  .catalog-category-view .page-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .wordpress-posttype-view .page-main,
  .wordpress-homepage-view .page-main,
  .wordpress-term-view .page-main,
  .wordpress-post-view .page-main,
  .wordpress-page-view .page-main,
  .wordpress-archive-view .page-main,
  .wordpress-search-view .page-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── Panel header (top bar) on mobile: reduce padding ── */
@media (max-width: 600px) {
  .page-header .panel.header {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── Footer: tighter on mobile ── */
@media (max-width: 770px) {
  .footer.content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── Blog post grid: 2-col float layout (mirrors styles-m rule that may be missing after static deploy) ── */
@media (min-width: 640px) {
  .post-list-wrapper .post-list.grid li,
  .widget-blog-posts ol.post-list li.item {
    float: left !important;
    margin-left: 2% !important;
    margin-bottom: 2% !important;
    width: calc(49%) !important;
  }
  .post-list-wrapper .post-list.grid li:nth-child(2n+1) {
    clear: left !important;
    margin-left: 0 !important;
  }
}

/* ── Blog logo: replace store logo with GGBlog image on WP pages ── */
.wordpress-homepage-view .logo,
.wordpress-posttype-view .logo,
.wordpress-post-view .logo,
.wordpress-page-view .logo,
.wordpress-term-view .logo,
.wordpress-archive-view .logo,
.wordpress-search-view .logo {
  background-image: url('/media/images/logo-blog.png') !important;
  background-position: left center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  height: 50px !important;
  width: 250px !important;
  display: block !important;
}
.wordpress-homepage-view .logo img,
.wordpress-posttype-view .logo img,
.wordpress-post-view .logo img,
.wordpress-page-view .logo img,
.wordpress-term-view .logo img,
.wordpress-archive-view .logo img,
.wordpress-search-view .logo img {
  display: none !important;
}

/* ── Blog post: hide full-width Magento page-title-wrapper; title rendered inside .post-view ── */
.wordpress-post-view .page-title-wrapper,
.wordpress-posttype-view .page-title-wrapper {
  display: none !important;
}

/* Blog post title inside .post-view (M1 parity) */
.wordpress-post-view .post-title h1,
.wordpress-posttype-view .post-title h1 {
  text-transform: none !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}

/* Post date/author line */
.wordpress-post-view .post-date.when,
.wordpress-posttype-view .post-date.when {
  font-size: 12px !important;
  color: #636363 !important;
  margin: 0 0 12px !important;
}

/* ── Blog post content typography (M1: 15.4px / line-height 1.3) ── */
.wordpress-post-view .post-content,
.wordpress-posttype-view .post-content {
  font-size: 15px !important;
  line-height: 1.35 !important;
  color: #333 !important;
}
.wordpress-post-view .post-content p,
.wordpress-posttype-view .post-content p {
  margin-bottom: 10px !important;
}

/* ── Blog related sidebar: M1 parity ── */
.block-blog-related-sidebar {
  float: right !important;
  width: 200px !important;
  max-width: 200px !important;
  margin: 0 0 20px 20px !important;
  clear: right !important;
}

/* Go-store link ("Ir a librería") */
.block-blog-related-sidebar .go-store {
  width: 100% !important;
  padding: 8px 5px 6px !important;
  margin-bottom: 4px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  overflow: hidden !important;
}
.block-blog-related-sidebar .go-store a {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #009fe3 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.block-blog-related-sidebar .go-store a:hover {
  text-decoration: underline !important;
}
.block-blog-related-sidebar .go-store .icon_arrow {
  width: 16px !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Print button */
.block-blog-related-sidebar .printer-wrapper {
  width: 100% !important;
  background-color: #f6f7f7 !important;
  padding: 10px 0 25px !important;
  margin-bottom: 4px !important;
  overflow: hidden !important;
}
.block-blog-related-sidebar .print-button {
  color: #636363 !important;
  text-align: right !important;
  margin-right: 10px !important;
  font-size: 12px !important;
}
.block-blog-related-sidebar .print-button a {
  display: block !important;
  text-decoration: none !important;
  color: #636363 !important;
  overflow: hidden !important;
}
.block-blog-related-sidebar .print-button div {
  float: left !important;
  color: #909090 !important;
  margin-top: 3px !important;
  line-height: 1 !important;
}
.block-blog-related-sidebar .print-button img {
  float: right !important;
}

/* Social share icons */
.block-blog-related-sidebar .share-wrapper {
  width: 100% !important;
  background-color: #f6f7f7 !important;
  padding: 5px !important;
  margin-bottom: 4px !important;
}
.block-blog-related-sidebar .sharing-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.block-blog-related-sidebar .sharing-links li {
  float: left !important;
  padding: 0 7px 7px !important;
  margin: 0 !important;
}
.block-blog-related-sidebar .sharing-links a {
  text-indent: -9999px !important;
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.block-blog-related-sidebar .sharing-links a:hover { opacity: 0.8 !important; }
.block-blog-related-sidebar .sharing-links .link-facebook { background-image: url('/media/images/fb.png') !important; }
.block-blog-related-sidebar .sharing-links .link-facebook:hover { background-image: url('/media/images/fb-on.png') !important; }
.block-blog-related-sidebar .sharing-links .link-twitter { background-image: url('/media/images/tw.png') !important; }
.block-blog-related-sidebar .sharing-links .link-twitter:hover { background-image: url('/media/images/tw-on.png') !important; }

/* Related products */
.block-blog-related-sidebar .block-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: capitalize !important;
  border-bottom: 0 !important;
  padding-bottom: 6px !important;
  margin-bottom: 12px !important;
}
.block-blog-related-sidebar .mini-products-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.block-blog-related-sidebar .mini-products-list .item {
  margin-bottom: 16px !important;
  float: none !important;
  width: 100% !important;
}
.block-blog-related-sidebar .product { margin-left: 0 !important; }
.block-blog-related-sidebar .product-image img,
.block-blog-related-sidebar .img-product-related-post {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 6px !important;
}
.block-blog-related-sidebar .product-name a {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}
.block-blog-related-sidebar .name-author {
  font-size: 11px !important;
  color: #666 !important;
  margin-top: 2px !important;
}


@media (max-width: 767px) {
  .block-blog-related-sidebar {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px 0 !important;
  }
}

/* ── Cookie restriction notice — M1 parity ── */
#notice-cookie-block {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #363737 !important;
  color: #ababaf !important;
  z-index: 9999 !important;
  padding: 12px 20px !important;
  margin: 0 !important;
}
#notice-cookie-block .content {
  max-width: 1360px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
#notice-cookie-block p {
  margin: 0 !important;
  font-size: 13px !important;
  color: #ababaf !important;
  flex: 1 !important;
}
#notice-cookie-block p strong {
  color: #d0d0d0 !important;
  font-weight: 600 !important;
}
#notice-cookie-block a {
  color: #42baec !important;
  text-decoration: underline !important;
}
#notice-cookie-block .actions {
  flex-shrink: 0 !important;
}
#notice-cookie-block #btn-cookie-allow {
  background-color: #42baec !important;
  border-color: #42baec !important;
  color: #fff !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  white-space: nowrap !important;
}
#notice-cookie-block #btn-cookie-allow:hover {
  background-color: #2da8d8 !important;
  border-color: #2da8d8 !important;
}
