:root {
  --haya-ink: #093355;
  --haya-muted: #6b6b6b;
  --haya-line: #e7e7e7;
  --haya-accent: #c91f2c;
  --haya-paper: #ffffff;
  --haya-soft: #f7f7f5;
}

body {
  background: var(--haya-paper);
  color: var(--haya-ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
}

a { color: var(--haya-ink); transition: color .2s ease; }
a:hover, a:focus { color: var(--haya-accent); }

#header .header-nav {
  background: #093355;
  color: #fff;
  border: 0;
  min-height: 34px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#header .header-nav a { color: #fff; }
#header .header-top {
  background: #fff;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--haya-line);
}
#header .header-top .menu,
#header .header-top .search-widget form { border-color: var(--haya-ink); }
#header .header-top .search-widget form input[type=text] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--haya-ink);
  border-radius: 0;
  color: var(--haya-ink);
}
#header .header-top .search-widget form button { color: var(--haya-ink); }
#header .header-top .user-info a,
#header .header-top .cart-preview { color: var(--haya-ink); }

.haya-category-nav {
  position: relative;
  z-index: 20;
  background: #c85b91;
  border-top: 1px solid rgba(21,21,21,.12);
  border-bottom: 1px solid rgba(21,21,21,.16);
}
.haya-category-nav .container {
  display: flex;
  align-items: stretch;
  min-height: 46px;
}
.haya-category-nav a {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.haya-category-nav__home {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  font-size: 24px !important;
  background: rgba(0,0,0,.12);
}
.haya-category-nav__item { position: relative; }
.haya-category-nav__item > a { padding: 15px 18px 14px; }
.haya-category-nav__item:hover > a,
.haya-category-nav__item:focus-within > a,
.haya-category-nav__home:hover { background: rgba(0,0,0,.14); color: #fff; }
.haya-category-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--haya-line);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}
.haya-category-nav__item:hover .haya-category-nav__dropdown,
.haya-category-nav__item:focus-within .haya-category-nav__dropdown { display: block; }
.haya-category-nav__dropdown a {
  padding: 10px 16px;
  color: var(--haya-ink);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
}
.haya-category-nav__dropdown a:hover,
.haya-category-nav__dropdown a:focus { background: var(--haya-soft); color: var(--haya-accent); }

/* Horizontal white category mega-menu, matching the Haya Labs reference site. */
@media (min-width: 768px) {
  .haya-category-nav__item--has-children .haya-category-nav__dropdown {
    width: 980px;
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding: 12px 14px;
    background: #fff !important;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 24px rgba(9,51,85,.18);
  }
  .haya-category-nav__item--has-children:hover .haya-category-nav__dropdown,
  .haya-category-nav__item--has-children:focus-within .haya-category-nav__dropdown {
    display: grid;
  }
  .haya-category-nav__item--has-children .haya-category-nav__dropdown a {
    color: #093355 !important;
    font-family: "Droid Sans", Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .01em;
    text-transform: none;
    padding: 7px 8px;
    white-space: normal;
  }
  .haya-category-nav__item--has-children .haya-category-nav__dropdown a:hover,
  .haya-category-nav__item--has-children .haya-category-nav__dropdown a:focus {
    background: #f5f7f8 !important;
    color: #c85b91 !important;
  }
}

#product .product-container { max-width: 1120px; margin: 0 auto; }
#product .product-cover { background: #fff; border: 0; }
#product .product-cover img { max-height: 560px; object-fit: contain; }
#product .product-images > li.thumb-container { margin-bottom: 12px; }
#product .product-images img.thumb { border: 1px solid var(--haya-line); background: #fff; }
#product .product-images img.thumb.selected,
#product .product-images img.thumb:hover { border-color: var(--haya-accent); }
#product .product-information { padding-left: 34px; }
#product .product-information h1 { padding-bottom: 18px; border-bottom: 2px solid #c85b91; font-size: 26px; line-height: 1.18; }
#product .product-prices { margin: 18px 0 22px; }
#product .current-price { color: #174b70; font-size: 28px; font-weight: 700; }
#product .product-add-to-cart { padding: 20px; background: var(--haya-soft); border: 1px solid var(--haya-line); }
#product .product-add-to-cart .add-to-cart { background: #174b70; border-color: #174b70; }
#product .tabs { margin-top: 34px; border-top: 2px solid #c85b91; }
#product .tabs .nav-tabs .nav-link.active { color: #174b70; border-color: #c85b91 #c85b91 #fff; }

@media (max-width: 767px) {
  .haya-category-nav .container { overflow-x: auto; }
  .haya-category-nav__item > a { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
  #product .product-information { padding-left: 0; }
}

/* Correcciones exclusivas de la portada. Las fichas extendidas solo se ven en catálogo. */
#index .product-miniature .haya-product-intro,
#index .product-miniature .haya-product-brand,
#index .product-miniature .haya-product-button { display: none !important; }
#index .product-miniature .product-description { min-height: 0; }
/* Banner demo nativo de Classic ("20% off on clothes"). El carrusel Haya Labs no se toca. */
#index .banner { display: none !important; }

@media (min-width: 768px) {
  /* Motivo floral original, situado a la derecha como en HayaLabs.co.uk. */
  #header .header-top {
    background-color: #fff !important;
    background-image: url('../img/header-floral.png') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: auto 100% !important;
  }
  #header .header-top .container { position: relative; z-index: 1; }
  #header .header-top .search-widget { max-width: 472px; }
}

/* Cabecera Haya Labs: proporciones y jerarquía de la web de referencia. */
@media (min-width: 768px) {
  #header .header-nav { min-height: 34px; background: #093355 !important; }
  #header .header-nav .container { max-width: 1170px; }
  .haya-utility-nav { max-width: 1170px !important; }
  .haya-utility-nav .container { min-height: 34px !important; }
  .haya-utility-nav__links { gap: 0 !important; }
  .haya-utility-nav__links a {
    padding: 0 6px; font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0 !important;
  }
  .haya-utility-nav__links a + a:before { content: "|"; position: relative; left: -6px; color: #fff; }
  #header .header-top { min-height: 145px; padding: 8px 0 6px; border: 0; background: #fff; }
  #header .header-top .container { max-width: 1170px; }
  #_desktop_logo { display: flex; align-items: center; min-height: 130px; }
  #_desktop_logo a { min-height: 118px !important; }
  #_desktop_logo a img { max-width: 156px !important; max-height: 112px !important; }
  #header .header-top-right { display: flex; align-items: center; min-height: 130px; }
  #header .header-top .search-widget { width: 100%; max-width: 500px; margin: 0 auto; }
  #header .header-top .search-widget form { width: 100%; height: 28px; border: 1px solid #c8c8c8 !important; border-radius: 16px; overflow: hidden; }
  #header .header-top .search-widget form input[type=text] { height: 26px; padding: 3px 15px; border: 0 !important; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
  #header .header-top .search-widget form button { width: 38px; height: 28px; margin-top: -1px; color: #fff !important; background: #093355; border-radius: 0 15px 15px 0; }
  .haya-category-nav { min-height: 40px; background: linear-gradient(180deg,#d874a6 0%,#c85b91 100%); border: 0; }
  .haya-category-nav .container { min-height: 40px; max-width: 1170px; }
  .haya-category-nav__home { width: 56px; min-height: 40px; background: transparent; }
  .haya-category-nav__home img { width: 21px; height: 18px; }
  .haya-category-nav__item > a { padding: 12px 30px 11px; font-family: Arial, Helvetica, sans-serif !important; font-size: 14px; letter-spacing: 0; }
}

/* Ficha de producto editorial, sin reemplazar el flujo nativo de compra. */
#product .product-container { max-width: 1170px; margin: 22px auto 0; }
#product .page-content { position: relative; }
#product .product-cover { min-height: 520px; background: #fff; border: 1px solid #edf0f2; }
#product .product-cover img { display: block; width: 100%; max-height: 550px; object-fit: contain; padding: 24px; image-rendering: auto; }
#product .product-images { gap: 10px; margin-top: 18px; }
#product .product-images > li.thumb-container { margin: 0 0 12px; }
#product .product-images img.thumb { border: 1px solid var(--haya-line); background: #fff; padding: 3px; }
#product .product-images img.thumb.selected,
#product .product-images img.thumb:hover { border-color: #c85b91; }
#product .product-information { padding: 0 0 0 44px; }
#product h1, #product .product-information h1 {
  margin: 0; padding: 0 0 12px; border: 0; color: #093355;
  font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 700;
  letter-spacing: .015em; line-height: 1.13; text-transform: uppercase;
}
.haya-product-identity { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; padding-bottom: 17px; border-bottom: 1px solid #dbe2e6; color: #c85b91; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.haya-product-identity__reference { color: #71808a; font-size: 11px; }
.haya-product-identity__divider { color: #cbd3d8; font-weight: 400; }
#product .product-prices { margin: 18px 0 16px; }
#product .current-price { color: #093355; font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 700; }
#product .product-price { display: flex; align-items: baseline; gap: 12px; }
#product .tax-shipping-delivery-label { color: #73808a; font-size: 12px; }
.haya-product-summary { margin: 0 0 22px; padding: 16px 18px; border-left: 4px solid #c85b91; background: #f6f8f9; color: #47606f; font-size: 14px; line-height: 1.55; }
.haya-product-summary p:last-child { margin-bottom: 0; }
#product .product-actions { margin: 0; }
#product .product-add-to-cart { padding: 21px; background: #fff; border: 1px solid #d9e0e4; box-shadow: 0 5px 16px rgba(9,51,85,.07); }
#product .product-add-to-cart .control-label { color: #093355; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#product .product-quantity .qty { border-color: #c9d3d9; }
#product .product-add-to-cart .add-to-cart { min-height: 46px; padding: 0 23px; background: #093355; border-color: #093355; font-weight: 700; }
#product .product-add-to-cart .add-to-cart:hover { background: #c85b91; border-color: #c85b91; }
.haya-product-assurances { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: #50636e; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.haya-product-assurances span:before { content: "✓"; margin-right: 6px; color: #c85b91; font-weight: 700; }
#product .product-additional-info { margin-top: 12px; }
#product .tabs { margin-top: 48px; border-top: 2px solid #093355; }
#product .tabs .nav-tabs { border-bottom: 1px solid #dce3e7; }
#product .tabs .nav-tabs .nav-link { padding: 15px 20px; color: #6b7880; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#product .tabs .nav-tabs .nav-link.active { color: #093355; border-color: #093355 #093355 #fff; }
#product .tabs .tab-content { padding: 28px 6px 4px; color: #43525b; line-height: 1.65; }

@media (max-width: 767px) {
  #product .product-container { margin-top: 8px; }
  #product .product-cover { min-height: 340px; }
  #product .product-cover img { max-height: 370px; padding: 12px; }
  #product .product-information { padding: 28px 0 0; }
  #product h1, #product .product-information h1 { font-size: 24px; }
  .haya-product-identity { margin-bottom: 16px; }
  #product .tabs .nav-tabs { overflow-x: auto; flex-wrap: nowrap; }
  #product .tabs .nav-tabs .nav-link { white-space: nowrap; padding-left: 13px; padding-right: 13px; }
}

.top-menu a[data-depth="0"] {
  color: var(--haya-ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.top-menu a[data-depth="0"]:hover { color: var(--haya-accent); }

#wrapper { background: #fff; }
.breadcrumb { background: transparent; padding: 15px 0; color: var(--haya-muted); }
.breadcrumb li a { color: var(--haya-muted); }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  color: var(--haya-ink);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.featured-products, .product-accessories, .product-miniature {
  background: #fff;
}
.products-section-title {
  position: relative;
  margin: 42px 0 24px;
  text-align: center;
  letter-spacing: .12em;
}
.products-section-title:after {
  content: "";
  display: block;
  width: 42px;
  margin: 13px auto 0;
  border-bottom: 2px solid var(--haya-accent);
}
.product-miniature .thumbnail-container {
  border: 1px solid var(--haya-line);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}
.product-miniature .thumbnail-container:hover {
  border-color: var(--haya-ink);
  transform: translateY(-2px);
}
.product-title a { color: var(--haya-ink); font-weight: 600; }
.product-price-and-shipping { color: var(--haya-accent); font-weight: 700; }

/* Product catalogue: horizontal editorial rows, matching the Haya Labs reference. */
@media (min-width: 768px) {
  #category #products .products { display: block; margin: 0; }
  #category #products .products > .product { width: 100%; max-width: none; flex: none; margin: 0; }
  #category #products .product-miniature { margin-bottom: 18px; }
  #category #products .product-miniature .thumbnail-container {
    display: grid; grid-template-columns: 140px minmax(0, 1fr) 120px; grid-template-rows: auto auto 1fr;
    column-gap: 24px; height: 174px; min-height: 174px; padding: 14px 18px;
    border: 0; border-bottom: 1px solid #d8d8d8; box-shadow: none; border-radius: 0;
  }
  #category #products .product-miniature .thumbnail-top {
    grid-column: 1; grid-row: 1 / span 3; min-height: 144px; height: 144px;
    display: flex; align-items: center; justify-content: center;
  }
  #category #products .product-miniature .thumbnail-top .thumbnail.product-thumbnail,
  #category #products .product-miniature .thumbnail-top .thumbnail.product-thumbnail picture {
    display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
  }
  #category #products .product-miniature .thumbnail-top .thumbnail.product-thumbnail img {
    width: auto; max-width: 100%; height: 144px; object-fit: contain;
  }
  #category #products .product-miniature .product-description { display: contents; }
  #category #products .product-miniature .product-title {
    grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 700;
    line-height: 1.2; text-align: left; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; overflow: hidden;
  }
  #category #products .product-miniature .product-title a,
  #category #products .product-miniature .product-title a:hover,
  #category #products .product-miniature .product-title a:visited {
    font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 700;
    color: #0a3c60; text-align: left; text-decoration: none; text-transform: uppercase;
  }
  #category #products .product-miniature .haya-product-brand {
    grid-column: 2; grid-row: 2; align-self: start; margin: 1px 0 0; color: #e44987; font-size: 20px; line-height: 1.15; letter-spacing: .03em;
  }
  #category #products .product-miniature .haya-product-intro {
    grid-column: 2; grid-row: 3; align-self: start; max-width: 680px; height: 4.8em; overflow: hidden; color: #555;
    font-size: 14px; line-height: 1.2; margin: 3px 0 0;
  }
  #category #products .product-miniature .haya-product-intro p { margin: 0; }
  #category #products .product-miniature .haya-product-button {
    grid-column: 3; grid-row: 1; align-self: end; justify-self: end; display: inline-block; margin: 0;
    padding: 6px 10px; background: #ed4f91; color: #fff; font-size: 11px; font-weight: 700;
    letter-spacing: .02em; text-decoration: none; text-transform: uppercase; white-space: nowrap;
  }
  #category #products .product-miniature .haya-product-button:hover,
  #category #products .product-miniature .haya-product-button:focus { background: #c91f68; color: #fff; }
  #category #products .product-miniature button.favorite_border,
  #category #products .product-miniature .wishlist-button-add { display: none !important; }
  #category #products .product-miniature .product-price-and-shipping {
    grid-column: 3; grid-row: 2; align-self: start; justify-self: end; margin-top: 5px; color: #0a3c60;
  }
}

@media (max-width: 767px) {
  #category #products .product-miniature .product-title,
  #category #products .product-miniature .product-title a,
  #category #products .product-miniature .product-title a:hover,
  #category #products .product-miniature .product-title a:visited {
    font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 700;
    color: #0a3c60; text-align: left; text-decoration: none; text-transform: uppercase;
  }
  #category #products .product-miniature .haya-product-intro {
    display: block; max-height: 4.8em; overflow: hidden; color: #4f5961;
    font-size: 13px; line-height: 1.5; margin: 6px 0 10px;
  }
  #category #products .product-miniature .haya-product-brand {
    margin: 0 0 4px; color: #c85b91; font-size: 15px; line-height: 1.2;
  }
  #category #products .product-miniature .haya-product-button {
    display: inline-block; margin: 4px 0 12px; padding: 9px 14px; background: var(--haya-ink); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase;
  }
}

.btn-primary, .btn-primary:hover, .btn-primary:focus,
.product-add-to-cart .add-to-cart {
  background: var(--haya-ink);
  border-color: var(--haya-ink);
  border-radius: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-primary:hover, .product-add-to-cart .add-to-cart:hover {
  background: var(--haya-accent);
  border-color: var(--haya-accent);
}

#footer { margin-top: 45px; background: var(--haya-ink); color: #fff; }
#footer a, #footer .h3, #footer h3 { color: #fff; }
#footer a:hover { color: #f0b5ba; }
#footer .footer-container { padding-top: 38px; }
#footer .block-contact, #footer .block_newsletter { color: #ddd; }

.hayalabs-legal, .cms-page-content { max-width: 920px; margin: 0 auto; line-height: 1.7; }
.hayalabs-legal h2, .cms-page-content h2 { margin-top: 2rem; font-size: 1.25rem; }
.hayalabs-legal h3, .cms-page-content h3 { margin-top: 1.5rem; font-size: 1rem; }
.hayalabs-legal ul, .cms-page-content ul { padding-left: 1.4rem; }

.hayalabs-home-slider {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  background: #f6f6f6;
}
.hayalabs-home-slider a { display: block; }
.hayalabs-home-slider img {
  display: block;
  width: 100%;
  height: auto;
}
.hayalabs-home-slide { display: none; pointer-events: none; }
.hayalabs-home-slide:first-child {
  display: block;
  animation: hayaSlider 15s infinite;
}
.hayalabs-home-slide:nth-child(2) { animation: hayaSlider 15s 5s infinite; }
.hayalabs-home-slide:nth-child(3) { animation: hayaSlider 20s 10s infinite; }
.hayalabs-home-slide:nth-child(4) { animation: hayaSlider 20s 15s infinite; }
@keyframes hayaSlider {
  0%, 30% { opacity: 1; pointer-events: auto; }
  33%, 100% { opacity: 0; pointer-events: none; }
}
@media (min-width: 768px) {
  .hayalabs-home-slider { min-height: 180px; }
  .hayalabs-home-slide { display: block; position: absolute; inset: 0; opacity: 0; }
  .hayalabs-home-slide:first-child { position: relative; }
}

@media (max-width: 767px) {
  #header .header-top { padding: 14px 0; }
  #header .header-top,
  #_desktop_logo,
  #_mobile_logo { background: #fff !important; }
  #_mobile_logo { min-width: 160px; min-height: 58px; background-position: center !important; }
  .haya-category-nav .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    min-height: 0;
  }
  .haya-category-nav__home {
    flex: 0 0 100%;
    width: 100%;
    min-height: 34px;
  }
  .haya-category-nav__item {
    flex: 1 1 50%;
    min-width: 50%;
    text-align: center;
  }
  .haya-category-nav__item > a {
    min-height: 42px;
    padding: 12px 5px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
  }
  .haya-category-nav__dropdown { display: none !important; }
  .products-section-title { margin-top: 28px; }
  #footer .footer-container { padding: 25px 15px; }
}

@media (max-width: 767px) {
  #footer .footer-container,
  #footer .footer-container .container,
  #footer .footer-container .row,
  #footer .footer-container .links,
  #footer .footer-container .wrapper,
  #footer .footer-container ul.collapse,
  #footer .footer-container ul.account-list.collapse {
    background: #093355 !important;
  }
  #footer .footer-container .title,
  #footer .footer-container .title .h3,
  #footer .footer-container .myaccount-title,
  #footer .footer-container .collapse-icons {
    color: #fff !important;
  }
  #footer .footer-container ul.collapse,
  #footer .footer-container ul.account-list.collapse {
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 8px 0 14px !important;
  }
  #footer .footer-container ul.collapse li,
  #footer .footer-container ul.account-list.collapse li {
    background: transparent !important;
  }
  #footer .footer-container ul.collapse li a,
  #footer .footer-container ul.account-list.collapse li a {
    background: transparent !important;
    color: #fff !important;
    display: block;
    padding: 6px 15px;
  }
  #footer .footer-container .block_myaccount_infos > a,
  #footer .footer-container .block_myaccount_infos > a span,
  #footer .footer-container .links > span,
  #footer .footer-container .links > span a,
  #footer .footer-container .contact-infos,
  #footer .footer-container .contact-infos a {
    color: #fff !important;
  }
  #footer .footer-container .links,
  #footer .footer-container .block_myaccount_infos,
  #footer .footer-container .contact-infos {
    background: #093355 !important;
  }
  #footer .myaccount-title,
  #footer h3,
  #footer h3 a,
  #footer .links h3,
  #footer .links h3 a {
    color: #fff !important;
  }
}

/* Cabecera móvil: misma lectura visual que escritorio, sin bloques superpuestos. */
@media (max-width: 767px) {
  #header .header-nav { min-height: 34px; background: #093355 !important; }
  #header .header-nav .container { padding: 0 12px; }
  #header .header-top {
    min-height: 112px; padding: 8px 12px 10px !important; background: #fff !important;
    background-image: url('../img/header-floral.png') !important; background-position: right center !important;
    background-repeat: no-repeat !important; background-size: auto 100px !important;
  }
  #_mobile_logo { display: flex !important; align-items: center; min-width: 115px !important; min-height: 34px !important; }
  #_mobile_logo img { display: block !important; visibility: visible !important; width: auto !important; max-width: 112px !important; max-height: 40px !important; }
  #header .header-top-right { width: 100%; }
  #header .header-top .search-widget { width: 100%; max-width: none; margin: 8px 0 0; }
  #header .header-top .search-widget form { height: 30px; border: 1px solid #c8c8c8 !important; border-radius: 16px; background: #fff; overflow: hidden; }
  #header .header-top .search-widget form input[type=text] { height: 28px; padding: 4px 13px; border: 0 !important; font-size: 13px; }
  #header .header-top .search-widget form button { width: 40px; height: 30px; margin-top: -1px; background: #093355; color: #fff !important; border-radius: 0 16px 16px 0; }
  .haya-utility-nav { position: static !important; width: 100% !important; max-width: none !important; transform: none !important; background: #093355 !important; }
  .haya-utility-nav .container { min-height: 31px !important; padding: 0 10px !important; overflow-x: auto; scrollbar-width: none; }
  .haya-utility-nav__links { gap: 0 !important; min-width: max-content; }
  .haya-utility-nav__links a { padding: 0 5px; font-family: Arial, Helvetica, sans-serif !important; font-size: 11px !important; letter-spacing: 0 !important; }
  .haya-category-nav { min-height: 40px; background: linear-gradient(180deg,#d874a6 0%,#c85b91 100%) !important; }
  .haya-category-nav .container { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto !important; min-height: 40px !important; padding: 0 !important; scrollbar-width: none; }
  .haya-category-nav__home { flex: 0 0 48px !important; width: 48px !important; min-height: 40px !important; }
  .haya-category-nav__item { flex: 0 0 auto !important; min-width: auto !important; text-align: left !important; }
  .haya-category-nav__item > a { display: flex !important; align-items: center; justify-content: center; min-height: 40px !important; padding: 11px 14px !important; font-family: Arial, Helvetica, sans-serif !important; font-size: 12px !important; line-height: 1 !important; white-space: nowrap !important; }
  .haya-category-nav__dropdown { display: none !important; }
}

/* Reordenación móvil: logo y motivo en la zona blanca; buscador centrado. */
@media (max-width: 767px) {
  #_mobile_logo { display: none !important; }
  #header .header-top {
    position: relative; min-height: 142px; padding: 0 12px 12px !important;
    background: #fff url('../img/header-floral.png') no-repeat right 2px !important;
    background-size: auto 88px !important;
  }
  #header .header-top .container,
  #header .header-top .container > .row,
  #header .header-top .header-top-right { background: transparent !important; }
  #header .header-top #_desktop_logo {
    display: flex !important; position: absolute; z-index: 2; top: 6px; left: 14px;
    width: 118px; min-height: 62px; padding: 0;
  }
  #header .header-top #_desktop_logo a { display: flex !important; align-items: center; min-height: 62px !important; }
  #header .header-top #_desktop_logo a img { display: block !important; visibility: visible !important; width: auto !important; max-width: 112px !important; max-height: 58px !important; }
  #header .header-top .header-top-right { display: block !important; width: 100%; padding: 76px 0 0; }
  #header .header-top .search-widget { display: block; width: 100%; max-width: 430px; margin: 0 auto !important; }
  #header .header-top .search-widget form { width: 100%; background: #fff !important; }
}

/* En escritorio el motivo termina en el borde interno del contenido, no en el borde de pantalla. */
@media (min-width: 768px) {
  #header .header-top { background-image: none !important; }
  #header .header-top .container { position: relative; z-index: 0; }
  #header .header-top .container:after {
    content: ""; position: absolute; z-index: 0; top: 0; right: 0; width: 318px; height: 100%;
    background: url('../img/header-floral.png') no-repeat right center / auto 100%; pointer-events: none;
  }
  #header .header-top .container > .row { position: relative; z-index: 1; }
}

/* Buscador: 435 x 28 px, conforme a la referencia de Haya Labs. */
@media (min-width: 768px) {
  #header .header-top .search-widget { width: 435px !important; max-width: 435px !important; }
  #header .header-top .search-widget form {
    width: 435px !important; height: 28px !important; box-sizing: border-box;
    border: 1px solid #c8c8c8 !important; border-radius: 15px !important; background: #fff !important;
  }
  #header .header-top .search-widget form input[type=text] {
    height: 26px !important; padding: 3px 14px !important; color: #333 !important;
    font-family: Arial, Helvetica, sans-serif !important; font-size: 12px !important;
  }
  #header .header-top .search-widget form button {
    width: 36px !important; height: 26px !important; min-height: 26px !important; margin: 0 !important;
    padding: 0 !important; color: #fff !important; background: #093355 !important;
    border: 0 !important; border-radius: 0 13px 13px 0 !important;
  }
  #header .header-top .search-widget form button .search { color: #fff !important; font-size: 19px !important; }
}
@media (max-width: 767px) {
  #header .header-top .search-widget { width: 100%; max-width: 435px !important; }
  #header .header-top .search-widget form { width: 100% !important; height: 28px !important; border-radius: 15px !important; }
  #header .header-top .search-widget form input[type=text] { height: 26px !important; }
  #header .header-top .search-widget form button { width: 36px !important; height: 26px !important; margin: 0 !important; border-radius: 0 13px 13px 0 !important; }
}

/* Ficha limpia: compartir y mensajes estándar se omiten de la zona de compra. */
#product .social-sharing,
#product .product-additional-info,
#product .haya-product-assurances,
#product .product-reassurance { display: none !important; }

/* Pie coherente: azul Haya Labs, con todos los títulos y enlaces legibles. */
#footer,
#footer .footer-container,
#footer .block_newsletter,
#footer .block_newsletter .block_newsletter,
#footer .block_myaccount_infos,
#footer .block-contact,
#footer .contact-rich { background: #093355 !important; color: #fff !important; }
#footer .block_newsletter { padding: 20px 0 28px !important; border: 0 !important; }
#footer .block_newsletter p,
#footer .block_newsletter .h4,
#footer .block_newsletter .h4 a,
#footer .block_newsletter label,
#footer .block_newsletter .conditions,
#footer .block_newsletter .conditions p { color: #fff !important; }
#footer .block_newsletter input[type=email] { background: #fff !important; border-color: #d9e0e4 !important; color: #333 !important; }
#footer .block_newsletter input[type=email]::placeholder { color: #7a7a7a !important; }
#footer .block_newsletter .btn-primary { background: #c85b91 !important; border-color: #c85b91 !important; color: #fff !important; }
#footer .block_myaccount_infos > a,
#footer .block_myaccount_infos > a span,
#footer .block_myaccount_infos .myaccount-title,
#footer .block_myaccount_infos .myaccount-title a,
#footer .block-contact .block-contact-title,
#footer .block-contact .block-contact-title a,
#footer .block-contact h3,
#footer .block-contact h3 a,
#footer .contact-rich h3,
#footer .contact-rich h3 a,
#footer .links .title,
#footer .links .title a { color: #fff !important; }
#footer .block_myaccount_infos a,
#footer .block-contact,
#footer .block-contact a,
#footer .contact-rich,
#footer .contact-rich a { color: #fff !important; }

/* Carrito: no mostrar los textos de demostraci\u00f3n del m\u00f3dulo de confianza. */
#cart .container-blockreassurance,
#cart .blockreassurance,
#cart #block-reassurance,
#cart .blockreassurance_product { display: none !important; }
