/**
 * Aloha tienda — layout mockup (barra, header claro, hero, colecciones)
 * v2.4.21
 */

/* —— Barra anuncios (navy más oscuro que el header) —— */
.aloha-announcement {
  background: #062530 !important;
  color: #f3f7f8 !important;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  z-index: 30;
  position: relative;
}

.aloha-announcement__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.5rem 0;
  justify-content: center;
  text-align: center;
}

@media (min-width: 992px) {
  .aloha-announcement__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    text-align: left;
  }

  .aloha-announcement__item--tagline {
    text-align: center;
    font-family: var(--aloha-font-display, Georgia, serif);
    font-style: italic;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .aloha-announcement__item--care {
    justify-self: end;
    text-align: right;
  }
}

.aloha-announcement__item {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: inherit;
}

.aloha-announcement__icon {
  font-size: 1rem;
  opacity: 0.9;
}

/* —— Cabecera del mismo navy que la barra de anuncios —— */
html.aloha-theme #header,
html.aloha-theme #header.header,
html.aloha-theme #header .header-top,
html.aloha-theme #header .header-bottom,
html.aloha-theme #header .header-nav,
html.aloha-theme #header .header-top.bg-body-tertiary,
html.aloha-theme #header .header-bottom.bg-body-tertiary {
  --aloha-header-text: #f3f7f8;
  --aloha-header-text-muted: #c5dce3;
  --aloha-header-surface: #0b3d4d;
  --aloha-header-border: rgba(243, 247, 248, 0.14);
  --aloha-header-accent: #7eb8c8;
  background: #0b3d4d !important;
  background-image: none !important;
  color: #f3f7f8 !important;
  box-shadow: none;
}

html.aloha-theme #header {
  border-bottom: none;
}

.page-index #notifications,
html.aloha-theme #notifications:not(:has(.alert)) {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

html.aloha-theme #header .header-top {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(243, 247, 248, 0.12);
}

html.aloha-theme #header .header-bottom {
  padding: 0.45rem 0 0.5rem;
}

html.aloha-theme #header a:not(.dropdown-item),
html.aloha-theme #header .header-block__title,
html.aloha-theme #header .header-block__action-btn,
html.aloha-theme #header .ps-contactinfo__email,
html.aloha-theme #header .header-block__action-btn .material-icons,
html.aloha-theme #header .header-block__icon {
  color: #f3f7f8 !important;
}

html.aloha-theme #header .form-select {
  background-color: rgba(243, 247, 248, 0.12);
  color: #f3f7f8;
  border-color: rgba(243, 247, 248, 0.28);
  min-height: 2.4rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

html.aloha-theme #header .header-block.blockcart,
html.aloha-theme #header .blockcart,
html.aloha-theme #header .cart-preview {
  background: transparent !important;
  border: 0 !important;
  color: #f3f7f8 !important;
}

html.aloha-theme #header .header-block.blockcart .header-block__action-btn {
  background: rgba(243, 247, 248, 0.1);
  border: 1px solid rgba(243, 247, 248, 0.2);
}

html.aloha-theme #header .header-block__badge {
  background: #7eb8c9 !important;
  color: #071820 !important;
}

html.aloha-theme #header .ps-searchbar__input,
html.aloha-theme #header #ps_searchbar input[name="s"] {
  background: rgba(243, 247, 248, 0.12) !important;
  border: 1px solid rgba(243, 247, 248, 0.28) !important;
  color: #f3f7f8 !important;
  border-radius: 999px !important;
  min-height: 2.75rem;
}

html.aloha-theme #header .ps-searchbar__input::placeholder,
html.aloha-theme #header #ps_searchbar input[name="s"]::placeholder {
  color: rgba(243, 247, 248, 0.72) !important;
  opacity: 1;
}

html.aloha-theme #header .ps-searchbar__magnifier {
  color: #f3f7f8 !important;
}

html.aloha-theme #header .logo,
html.aloha-theme #header .navbar-brand img {
  max-height: 2.6rem;
  width: auto;
  filter: none;
}

html.aloha-theme #header.js-sticky-header,
html.aloha-theme #header.is-sticky {
  background: #0b3d4d !important;
  background-image: none !important;
  box-shadow: 0 8px 28px rgba(7, 24, 32, 0.28);
}

/* Fila: logo | menú de categorías | buscar */
@media (min-width: 992px) {
  html.aloha-theme #header .header-bottom__row {
    display: grid !important;
    grid-template-columns: minmax(7rem, auto) minmax(0, 1fr) minmax(12rem, 18rem);
    grid-template-areas: "logo menu search";
    align-items: center;
    gap: 0.4rem 1rem;
  }

  html.aloha-theme #header .header-bottom__logo {
    grid-area: logo;
  }

  html.aloha-theme #header .aloha-store-nav-mount,
  html.aloha-theme #header .aloha-store-nav {
    display: none !important;
  }

  html.aloha-theme #header .ps-mainmenu--desktop {
    grid-area: menu;
    display: flex !important;
    width: 100%;
    min-height: 0;
    align-items: center;
  }

  html.aloha-theme #header .ps-mainmenu__desktop.d-none,
  html.aloha-theme #header .ps-mainmenu__desktop {
    display: block !important;
    width: 100%;
  }

  html.aloha-theme #header #search_widget,
  html.aloha-theme #header #ps_searchbar,
  html.aloha-theme #header .ps-searchbar {
    grid-area: search;
    justify-self: end;
    max-width: 18rem;
    width: 100%;
  }
}

html.aloha-theme #header .ps-mainmenu__tree {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.2rem;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: none;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-2"],
html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id^="cms-page-"] {
  display: none !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] {
  width: 100%;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] > .ps-mainmenu__tree-item-wrapper {
  display: none !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] > .js-sub-menu.submenu {
  display: block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .container,
html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__row {
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__left {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.1rem 0.15rem !important;
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 100% !important;
  padding: 0 !important;
  border: 0 !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__left-item {
  color: #f3f7f8 !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 0.5rem !important;
  white-space: nowrap;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__left-item::after,
html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__left-item .material-icons {
  display: none !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__left-item:hover {
  color: #cde8ee !important;
}

html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] .submenu__right,
html.aloha-theme #header .ps-mainmenu__desktop .ps-mainmenu__tree > [data-id="category-26"] [data-ps-ref="desktop-submenu-right"] {
  display: none !important;
}

html.aloha-theme #header .ps-mainmenu__tree-link,
html.aloha-theme #header .ps-mainmenu a[data-depth="0"],
html.aloha-theme #header .ps-mainmenu a[data-depth="1"] {
  color: #f3f7f8 !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 0.55rem;
}

html.aloha-theme #header .ps-mainmenu__tree-link:hover,
html.aloha-theme #header .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper > a {
  color: #cde8ee !important;
}

html.aloha-theme #header .ps-mainmenu__tree-dropdown-toggle {
  color: #f3f7f8 !important;
}

html.aloha-theme #header .submenu,
html.aloha-theme #header .js-sub-menu.submenu,
html.aloha-theme #header .ps-mainmenu__dropdown {
  background: #fff !important;
  color: #0c1c22 !important;
  border: 1px solid #dce7eb;
}

html.aloha-theme #header .submenu a,
html.aloha-theme #header .js-sub-menu a,
html.aloha-theme #header .menu-item {
  color: #0c1c22 !important;
}

.aloha-store-nav-mount {
  display: none !important;
}

.aloha-store-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 0.85rem 1.15rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .aloha-store-nav__list {
    display: flex;
  }
}

.aloha-store-nav__link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f3f7f8 !important;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.aloha-store-nav__link.is-active,
.aloha-store-nav__link:hover {
  border-bottom-color: #cde8ee;
  color: #fff !important;
}

html.aloha-theme .breadcrumb,
html.aloha-theme .breadcrumb a,
html.aloha-theme .breadcrumb li,
html.aloha-theme nav[aria-label="breadcrumb"],
html.aloha-theme nav[aria-label="breadcrumb"] a {
  color: #0b3d4d !important;
}

html.aloha-theme .breadcrumb,
html.aloha-theme nav[aria-label="breadcrumb"] {
  background: #e8eef0 !important;
}

/* —— Home: full bleed —— */
.page-index .page-content--home,
.page-index .page-home-mockup .page-content {
  padding-top: 0;
  padding-bottom: 0;
}

.page-index .columns-container.container,
.page-index .wrapper .columns-container {
  max-width: 100%;
  padding-inline: 0;
}

.page-index #center-column.center-column {
  padding-inline: 0;
  max-width: 100%;
  width: 100%;
  flex: 1 1 100%;
}

/* —— Hero —— */
.aloha-hero-slider {
  position: relative;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  width: 100%;
  height: clamp(30rem, 62vh, 40rem);
  overflow: hidden;
  background: #0b3d4d;
}

@media (min-width: 768px) {
  .aloha-hero-slider {
    height: clamp(42rem, 82vh, 56rem);
  }
}

@media (min-width: 1200px) {
  .aloha-hero-slider {
    height: clamp(48rem, 86vh, 62rem);
  }
}

.aloha-hero-slider__track,
.aloha-hero-slider__slide {
  height: 100%;
}

.aloha-hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms ease;
}

.aloha-hero-slider__slide[hidden] {
  display: none !important;
}

.aloha-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.aloha-hero-slider__media {
  position: absolute;
  inset: 0;
}

.aloha-hero-slider__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96);
}

.aloha-hero-slider__slide[data-slide="0"] .aloha-hero-slider__media img {
  object-position: 78% 28%;
}

.aloha-hero-slider__slide[data-slide="1"] .aloha-hero-slider__media img {
  object-position: 50% 50%;
}

.aloha-hero-slider__slide[data-slide="2"] .aloha-hero-slider__media img {
  object-position: 50% 50%;
}

.aloha-hero-slider__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 24, 32, 0.78) 0%,
    rgba(11, 61, 77, 0.42) 48%,
    rgba(7, 24, 32, 0.12) 100%
  );
}

.aloha-hero-slider__overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 7vw, 4rem) 0;
}

.aloha-hero-slider__content {
  max-width: 42rem;
}

.aloha-hero-slider__kicker {
  font-family: var(--aloha-font-mono, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 247, 248, 0.85);
  margin: 0 0 0.75rem;
}

.aloha-hero-slider__title {
  font-family: var(--aloha-font-display, Georgia, serif);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.aloha-hero-slider__lead {
  max-width: 38ch;
  color: rgba(243, 247, 248, 0.92);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.aloha-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aloha-btn {
  min-height: 2.75rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.aloha-btn--solid {
  background: #f3f7f8;
  color: #071820 !important;
  border: 1px solid #f3f7f8;
}

.aloha-btn--solid:hover {
  background: #fff;
  color: #071820 !important;
}

.aloha-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.aloha-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.aloha-hero-slider__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.aloha-hero-slider__arrow--prev {
  left: 1rem;
}

.aloha-hero-slider__arrow--next {
  right: 1rem;
}

.aloha-hero-slider__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
}

.aloha-hero-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.aloha-hero-slider__dot.is-active {
  background: #fff;
}

/* —— Colecciones —— */
.aloha-showcase {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.aloha-showcase__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

@media (min-width: 992px) {
  .aloha-showcase__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.aloha-showcase__kicker {
  font-family: var(--aloha-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a6f8a;
  margin: 0 0 0.4rem;
}

.aloha-showcase__title {
  font-family: var(--aloha-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: #0b3d4d;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.aloha-showcase__lead {
  margin: 0;
  max-width: 42ch;
  color: #4a6573;
  line-height: 1.55;
}

.aloha-showcase__tagline {
  margin: 0;
  max-width: 16rem;
  font-size: 0.85rem;
  color: #4a6573;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.aloha-showcase__wave {
  color: #1a6f8a;
  font-size: 1.25rem;
  line-height: 1;
}

.aloha-showcase__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .aloha-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .aloha-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aloha-showcase__card--still .aloha-showcase__media img {
  object-position: center 55%;
}

.aloha-showcase__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(7, 24, 32, 0.08);
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.aloha-showcase__card:hover {
  transform: translateY(-4px);
}

.aloha-showcase__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #e4eef1;
  overflow: hidden;
}

.aloha-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aloha-showcase__body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aloha-showcase__name {
  font-family: var(--aloha-font-display, Georgia, serif);
  font-size: 1.2rem;
  color: #0b3d4d;
}

.aloha-showcase__sub {
  font-size: 0.9rem;
  color: #4a6573;
  line-height: 1.45;
}

.aloha-showcase__pill {
  margin-top: 0.55rem;
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, #cdb89a 40%, white);
  color: #0b3d4d;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Destacados en home: el markup mete .products dentro de .module-products__list
   y las dos rejillas se anidan (tarjetas de ~95px). Una sola rejilla, más grande. */
.page-index .ps-featuredproducts,
.page-index section.featured-products {
  width: 100%;
  max-width: 80rem;
  justify-self: stretch;
  box-sizing: border-box;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.page-index .ps-featuredproducts .module-products.container,
.page-index .ps-featuredproducts .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.page-index .ps-featuredproducts h2,
.page-index .featured-products h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin-bottom: 1.35rem;
}

.page-index .ps-featuredproducts .module-products__list {
  display: block !important;
  width: 100%;
}

.page-index .ps-featuredproducts .products,
.page-index .ps-featuredproducts .module-products__list .products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.8vw, 1.75rem) !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .page-index .ps-featuredproducts .products,
  .page-index .ps-featuredproducts .module-products__list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.page-index .ps-featuredproducts .products > .product-miniature,
.page-index .ps-featuredproducts .products > article {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

.page-index .ps-featuredproducts .product-miniature__image-container {
  aspect-ratio: 3 / 4;
}

.page-index .ps-featuredproducts .product-miniature__title,
.page-index .ps-featuredproducts .product-miniature__title a {
  font-size: 1.05rem;
  min-height: 0;
}

.page-index .ps-featuredproducts .product-miniature__price {
  font-size: 1.15rem;
}

.page-index .product-miniature__form .input-group,
.page-index .product-miniature__variants {
  display: none;
}

@media (max-width: 991.98px) {
  .aloha-announcement__item--tagline,
  .aloha-announcement__item--care {
    display: none;
  }

  .aloha-announcement__inner {
    display: flex;
    justify-content: center;
  }

  html.aloha-theme #header .ps-searchbar__input,
  html.aloha-theme #header #ps_searchbar input[name="s"] {
    background: rgba(243, 247, 248, 0.16) !important;
    color: #fff !important;
  }

  html.aloha-theme #header .ps-searchbar__input::placeholder,
  html.aloha-theme #header #ps_searchbar input[name="s"]::placeholder {
    color: rgba(243, 247, 248, 0.88) !important;
  }

  html.aloha-theme #header .form-select {
    color: #f3f7f8;
    background-color: rgba(243, 247, 248, 0.16);
  }

  html.aloha-theme #header .offcanvas,
  html.aloha-theme #header .ps-mainmenu--mobile.offcanvas,
  html.aloha-theme .offcanvas.js-menu-canvas {
    background: #0b3d4d !important;
    color: #f3f7f8 !important;
  }

  html.aloha-theme #header .offcanvas a,
  html.aloha-theme #header .ps-mainmenu--mobile a,
  html.aloha-theme .offcanvas.js-menu-canvas a {
    color: #f3f7f8 !important;
  }

  html.aloha-theme #header .offcanvas .btn-close,
  html.aloha-theme .ps-mainmenu--mobile .btn-close {
    filter: invert(1) grayscale(1) brightness(1.8);
  }

  html.aloha-theme #header .header-block.blockcart,
  html.aloha-theme #header .blockcart {
    color: #f3f7f8 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aloha-hero-slider__slide,
  .aloha-showcase__card {
    transition: none;
  }
}

/* —— Newsletter (contraste sobre navy) —— */
html.aloha-theme .ps-emailsubscription,
html.aloha-theme section.ps-emailsubscription.bg-body-tertiary,
html.aloha-theme #index section.ps-emailsubscription,
html.aloha-theme #index section.ps-emailsubscription.bg-body-tertiary,
html.aloha-theme #footer .ps-emailsubscription,
html.aloha-theme #footer section.ps-emailsubscription.bg-body-tertiary,
html.aloha-theme #footer section.bg-body-tertiary {
  --bs-bg-opacity: 1;
  --bs-secondary-color: #c5dce3;
  --bs-body-color: #f3f7f8;
  background: #0b3d4d !important;
  color: #f3f7f8 !important;
  padding: 2.25rem 0 !important;
  border-radius: 0;
}

html.aloha-theme .ps-emailsubscription .h3,
html.aloha-theme .ps-emailsubscription h3,
html.aloha-theme .ps-emailsubscription p,
html.aloha-theme .ps-emailsubscription label {
  color: #f3f7f8 !important;
}

html.aloha-theme .ps-emailsubscription .h3 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

html.aloha-theme .ps-emailsubscription .text-body-secondary,
html.aloha-theme .ps-emailsubscription p.fs-6,
html.aloha-theme .ps-emailsubscription p.fs-6.text-body-secondary,
html.aloha-theme #index .ps-emailsubscription p.fs-6.text-body-secondary,
html.aloha-theme #footer .ps-emailsubscription p:not(.h3) {
  color: #c5dce3 !important;
  font-size: 0.82rem !important;
  line-height: 1.45;
}

html.aloha-theme .ps-emailsubscription .form-control,
html.aloha-theme #index .ps-emailsubscription .form-control {
  background: rgba(243, 247, 248, 0.12) !important;
  border: 1px solid rgba(243, 247, 248, 0.32) !important;
  color: #f3f7f8 !important;
  border-radius: 999px !important;
  min-height: 2.75rem;
  box-shadow: none !important;
}

html.aloha-theme .ps-emailsubscription .form-control::placeholder {
  color: rgba(243, 247, 248, 0.72) !important;
  opacity: 1;
}

html.aloha-theme .ps-emailsubscription .form-control:focus {
  background: rgba(243, 247, 248, 0.16) !important;
  border-color: rgba(243, 247, 248, 0.55) !important;
  color: #f3f7f8 !important;
  box-shadow: 0 0 0 0.2rem rgba(243, 247, 248, 0.18) !important;
}

html.aloha-theme .ps-emailsubscription .btn-primary,
html.aloha-theme #index .ps-emailsubscription .btn-primary {
  background: #f3f7f8 !important;
  border: 0 !important;
  color: #0b3d4d !important;
  border-radius: 999px !important;
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html.aloha-theme .ps-emailsubscription .btn-primary:hover {
  background: #fff !important;
  color: #062530 !important;
}

/* —— Footer —— */
html.aloha-theme #footer,
html.aloha-theme #footer.footer {
  background: #062530 !important;
  color: #f3f7f8 !important;
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

html.aloha-theme #footer .footer__before,
html.aloha-theme #footer .footer__main,
html.aloha-theme #footer .footer__after,
html.aloha-theme #footer .footer-container {
  background: transparent !important;
  color: inherit;
}

html.aloha-theme #footer .h3,
html.aloha-theme #footer h3,
html.aloha-theme #footer h4,
html.aloha-theme #footer .h4 {
  color: #f3f7f8 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

html.aloha-theme #footer a {
  color: #c5dce3 !important;
  text-decoration: none;
}

html.aloha-theme #footer a:hover {
  color: #f3f7f8 !important;
}

html.aloha-theme #footer p,
html.aloha-theme #footer li,
html.aloha-theme #footer .block-contact {
  color: #c5dce3 !important;
  font-size: 0.9rem;
}

html.aloha-theme #footer .footer-container {
  border-top: 1px solid rgba(243, 247, 248, 0.12);
  padding-top: 2rem;
}

html.aloha-theme #footer .text-sm-center,
html.aloha-theme #footer .text-sm-center a {
  color: rgba(243, 247, 248, 0.62) !important;
  font-size: 0.75rem;
}

html.aloha-theme #footer .copyright,
html.aloha-theme #footer .copyright a {
  display: none !important;
}

/* Un solo botón de vista rápida por miniatura */
html.aloha-theme .product-miniature__quickview-touch {
  display: none !important;
}

@media (hover: none) {
  html.aloha-theme .product-miniature__quickview-button {
    opacity: 1;
    transform: none;
  }
}

/* Fotos 480×480 con márgenes blancos: recortar laterales y anclar arriba */
html.aloha-theme .product-miniature__image-container {
  aspect-ratio: 3 / 4 !important;
  background: #efe8df !important;
  overflow: hidden;
}

html.aloha-theme .product-miniature__image,
html.aloha-theme .product-miniature__image-container img {
  object-fit: cover !important;
  object-position: center 30% !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  transform: scale(1.16) !important;
  transform-origin: center 22% !important;
}

@media (hover: hover) {
  html.aloha-theme .product-miniature__inner:hover .product-miniature__image,
  html.aloha-theme .product-miniature__inner:hover .product-miniature__image-container img {
    transform: scale(1.2) !important;
  }
}

html.aloha-theme .product__images .carousel-inner,
html.aloha-theme .product__images .carousel-item,
html.aloha-theme .product-cover {
  background: #efe8df;
  overflow: hidden;
}

html.aloha-theme .product__images .carousel-item img,
html.aloha-theme .product-cover img,
html.aloha-theme .js-qv-product-cover {
  object-fit: cover !important;
  object-position: center 28% !important;
  width: 100% !important;
  height: 100% !important;
  transform: scale(1.14);
  transform-origin: center 20%;
}

html.aloha-theme .product__thumbnail-image {
  object-fit: cover !important;
  object-position: center 14% !important;
}

/* El bundle CCC antiguo sigue inyectando .aloha-skip; el skip oficial es .skip-link */
html.aloha-theme a.aloha-skip {
  display: none !important;
}

/* Tienda solo en español */
html.aloha-theme .language-selector,
html.aloha-theme [aria-label="Cambiar idioma"],
html.aloha-theme .js-language-selector,
html.aloha-theme #_desktop_language_selector,
html.aloha-theme #_mobile_language_selector {
  display: none !important;
}
