/* =========================================================
   VITRELUM v2 · se carga al final y manda sobre los demás CSS
   1 Barra superior · 2 Buscador · 3 Navegación y megamenú
   4 Banner principal · 5 Mosaico · 6 Productos y botón COMPRAR
   7 Categorías · 8 Banners editoriales y video · 9 Ficha, carrito
   Regla de oro: NINGUNA imagen de producto se recorta (object-fit: contain).
   ========================================================= */
:root {
  --hvm-navy: #14304d;
  --hvm-accent: #ffb627;
  --hvm-orange: #ff7a2f;
  --hvm-ink: #14253a;
  --hvm-muted: #5d6b85;
  --hvm-line: #e6eaf2;
  --hvm-soft: #f3f6fb;
  --hvm-tint: #fff3d6;
  --hvm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 1. BARRA SUPERIOR AMARILLA ---------- */
.hv-promo-bar {
  background: var(--hv-sun, #ffc93c);
  color: var(--hv-primary);
  font-size: 12px;
}
.hv-promo-inner {
  min-height: 42px;
  gap: 24px;
}
.hv-promo-text {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.hv-promo-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.hv-promo-links ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-promo-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Redes: todas del mismo tamaño, centradas y con la MISMA separación */
.hv-social {
  gap: 10px;
}
.hv-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid rgba(20, 48, 77, 0.35);
  border-radius: 50%;
  color: var(--hv-primary);
  opacity: 1;
  line-height: 0;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.hv-social a .hv-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}
.hv-social a:hover {
  background: var(--hv-primary);
  border-color: var(--hv-primary);
  color: #fff;
  transform: translateY(-2px);
}

.hv-promo-menu {
  gap: 0;
  padding-left: 22px !important;
  border-left: 1.5px solid rgba(20, 48, 77, 0.25);
}
.hv-promo-menu li + li {
  margin-left: 20px;
}
.hv-promo-menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  color: var(--hv-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
}
.hv-promo-menu a:hover {
  color: #fff;
}
.hv-promo-menu .hv-icon {
  width: 16px;
  height: 16px;
}

/* ---------- 2. CABECERA Y BUSCADOR (más compacto) ---------- */
.hv-header-main {
  grid-template-columns: 175px minmax(260px, 600px) 1fr;
  gap: 28px;
}
.hv-header-tools {
  justify-self: end;
  gap: 20px;
}
.hv-header-search {
  width: 100%;
  max-width: 600px;
  height: 44px;
  border: 1.5px solid var(--hvm-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.hv-header-search:focus-within {
  border-color: var(--hvm-navy);
  box-shadow: 0 0 0 3px rgba(20, 48, 77, 0.08);
}
.hv-header-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 14px;
  font-size: 13px;
}
.hv-header-search select {
  flex: 0 0 auto;
  width: 215px; /* espacio real para nombres largos */
  max-width: 40%;
  padding: 0 30px 0 12px;
  border-left: 1.5px solid var(--hvm-line);
  background: #f7f9fc
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314304d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 11px center;
  color: var(--hvm-navy);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.hv-header-search button {
  flex: 0 0 50px;
  width: 50px;
  background: var(--hvm-navy);
}
.hv-header-search button:hover {
  background: var(--hvm-accent);
  color: var(--hvm-navy);
}

/* ---------- 3. NAVEGACIÓN + MEGAMENÚ ---------- */
.hv-navigation {
  position: relative;
}
.hv-navigation-inner {
  gap: 26px;
}
.hv-browse {
  position: static;
  display: flex;
  align-self: stretch;
}
.hv-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 232px;
  height: 100%;
  min-height: 49px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: var(--hvm-navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.hv-browse-btn span {
  flex: 1 1 auto;
  text-align: left;
}
.hv-browse-btn .hv-icon {
  flex: none;
}
.hv-browse-btn .hv-icon-chevron {
  transition: transform 0.3s var(--hvm-ease);
}
.hv-browse-btn.is-open .hv-icon-chevron {
  transform: rotate(180deg);
}
.hv-browse-btn:hover,
.hv-browse-btn.is-open {
  background: #0d2238;
}

.hv-nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-left: auto;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--hvm-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 0 #d85d16;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.hv-nav-buy:hover {
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #d85d16;
}

.hv-mnav-cats {
  display: none;
}

/* Panel flotante */
.hv-mega {
  position: absolute;
  top: 100%;
  z-index: 1200;
  left: max(24px, calc((100% - var(--hv-container, 1320px)) / 2));
  width: min(1080px, calc(100% - 48px));
  padding-top: 6px;
  transform-origin: 40px 0;
  animation: hv-pop 0.34s var(--hvm-ease);
}
.hv-mega[hidden] {
  display: none;
}
.hv-mega__inner {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 420px;
  max-height: min(600px, calc(100vh - 210px));
  overflow: hidden;
  border: 1px solid var(--hvm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 28px 70px -14px rgba(20, 48, 77, 0.32),
    0 6px 18px rgba(20, 48, 77, 0.08);
}
.hv-mega__cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 14px;
  overflow-y: auto;
  list-style: none;
  border-right: 1px solid var(--hvm-line);
  background: linear-gradient(180deg, #f8faff, #f1f5fb);
  overscroll-behavior: contain;
}
.hv-mega__cats li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px 12px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--hvm-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.25s var(--hvm-ease),
    box-shadow 0.25s;
}
.hv-mega__cat::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 28%;
  bottom: 28%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--hvm-navy), var(--hvm-accent));
  transform: scaleY(0);
  transition: transform 0.35s var(--hvm-ease);
}
.hv-mega__cat-ico {
  flex: none;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.hv-mega__cat-ico--empty {
  display: grid;
  place-items: center;
  color: var(--hvm-muted);
}
.hv-mega__cat-name {
  flex: 1 1 auto;
  line-height: 1.25;
}
.hv-mega__cat > .hv-icon {
  flex: none;
  opacity: 0.35;
  transition:
    transform 0.3s var(--hvm-ease),
    opacity 0.2s;
}
.hv-mega__cat:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(3px);
}
.hv-mega__cat.is-active {
  background: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(20, 48, 77, 0.3);
  transform: none;
}
.hv-mega__cat.is-active::before {
  transform: scaleY(1);
}
.hv-mega__cat.is-active > .hv-icon {
  opacity: 1;
  transform: translateX(3px);
}
.hv-mega__cat:focus-visible,
.hv-mega a:focus-visible {
  outline: 2px solid var(--hvm-navy);
  outline-offset: 2px;
}

.hv-mega__panels {
  padding: 30px 38px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.hv-mega__panel {
  display: none;
}
.hv-mega__panel.is-active {
  display: block;
  animation: hv-fade 0.4s var(--hvm-ease);
}
.hv-mega__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.hv-mega__headtxt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hv-mega__title {
  color: var(--hvm-ink);
  font:
    800 24px/1.2 Manrope,
    sans-serif;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.hv-mega__title:hover {
  color: var(--hvm-orange);
}
.hv-mega__meta {
  color: var(--hvm-muted);
  font-size: 13px;
}
.hv-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 10px 16px 10px 18px;
  border-radius: 999px;
  background: var(--hvm-tint);
  color: var(--hvm-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.hv-mega__all:hover {
  background: var(--hvm-navy);
  color: #fff;
}
.hv-mega__all .hv-icon {
  transition: transform 0.3s var(--hvm-ease);
}
.hv-mega__all:hover .hv-icon {
  transform: translateX(4px);
}

.hv-mega__subs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 28px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__panel.is-active .hv-mega__sub {
  animation: hv-rise 0.55s var(--hvm-ease) both;
}
.hv-mega__panel.is-active .hv-mega__sub:nth-child(2) {
  animation-delay: 50ms;
}
.hv-mega__panel.is-active .hv-mega__sub:nth-child(3) {
  animation-delay: 100ms;
}
.hv-mega__panel.is-active .hv-mega__sub:nth-child(4) {
  animation-delay: 150ms;
}
.hv-mega__panel.is-active .hv-mega__sub:nth-child(5) {
  animation-delay: 200ms;
}
.hv-mega__panel.is-active .hv-mega__sub:nth-child(n + 6) {
  animation-delay: 250ms;
}
.hv-mega__sub-link {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--hvm-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.hv-mega__thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--hvm-soft);
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.4s var(--hvm-ease);
}
.hv-mega__thumb img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  transition: transform 0.6s var(--hvm-ease);
}
.hv-mega__thumb .hv-icon {
  color: #919cb0;
}
.hv-mega__sub-link:hover {
  color: var(--hvm-orange);
}
.hv-mega__sub-link:hover .hv-mega__thumb {
  background: var(--hvm-tint);
  box-shadow: 0 14px 26px -16px rgba(20, 48, 77, 0.45);
  transform: translateY(-3px);
}
.hv-mega__sub-link:hover .hv-mega__thumb img {
  transform: scale(1.08);
}
.hv-mega__subsub {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__subsub li {
  margin: 0;
  padding: 0;
}
.hv-mega__subsub a {
  display: block;
  padding: 4px 0;
  color: var(--hvm-muted);
  font-size: 13px;
  text-decoration: none;
  transition:
    color 0.2s,
    padding 0.25s var(--hvm-ease);
}
.hv-mega__subsub a:hover {
  padding-left: 6px;
  color: var(--hvm-orange);
}
.hv-mega__feature {
  display: block;
  max-width: 460px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--hvm-soft);
}
.hv-mega__feature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

@keyframes hv-pop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hv-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hv-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 4. BANNER PRINCIPAL (16:9, completo, sin tapar nada) ---------- */
.hv-hero2 {
  padding: 22px 0 6px;
}
.hv-hero2 .hv-hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0f1b33;
  box-shadow: 0 24px 56px -28px rgba(20, 48, 77, 0.55);
}
.hv-hero2 .hv-hero-track {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.hv-hero2 .hv-hero-slide,
.hv-hero2 .hv-hero-slide.is-active {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
}
.hv-hero2 .hv-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.9s ease;
}
.hv-hero2 .hv-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hv-hero2 .hv-hero-slide:focus-visible {
  outline: 4px solid var(--hvm-accent);
  outline-offset: -4px;
}

/* Controles debajo de la imagen: flechas + puntos con barra de progreso */
.hv-hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 4px;
}
.hv-hero2 .hv-slider-prev,
.hv-hero2 .hv-slider-next {
  position: static;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--hvm-navy);
  border-radius: 50%;
  background: #fff;
  color: var(--hvm-navy);
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.hv-hero2 .hv-slider-prev .hv-icon {
  transform: scaleX(-1);
}
.hv-hero2 .hv-slider-prev:hover,
.hv-hero2 .hv-slider-next:hover {
  background: var(--hvm-navy);
  color: #fff;
}
.hv-hero2 .hv-slider-dots {
  position: static;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: none;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hv-hero2 .hv-slider-dots button,
.hv-hero2 .hv-slider-dots button.is-active {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #cfd6e0;
  cursor: pointer;
  font-size: 0;
  transition:
    width 0.4s var(--hvm-ease),
    background 0.2s;
}
.hv-hero2 .hv-slider-dots button:hover {
  background: #aab4c3;
}
.hv-hero2 .hv-slider-dots button.is-active {
  width: 44px;
  background: #cfd6e0;
}
.hv-hero2 .hv-slider-dots button i {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: var(--hvm-orange);
}
.hv-hero2 .hv-slider-dots button.is-active i {
  animation: hv-fill 6s linear forwards;
}
@keyframes hv-fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ---------- 5. ¿QUÉ ESTÁS BUSCANDO HOY? — sin fondo de color, imágenes completas ---------- */
.hv-mosaic-wrap {
  padding-top: 56px;
}
.hv-mosaic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  grid-template-areas: none;
  gap: 16px;
}
.hv-mosaic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hvm-line);
  border-radius: 16px;
  background: #fff !important;
  box-shadow: none;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.hv-mosaic-tile::before,
.hv-mosaic-tile::after {
  display: none !important;
}
.hv-mosaic-tile:hover {
  transform: translateY(-5px);
  border-color: var(--hvm-accent);
  box-shadow: 0 16px 30px -14px rgba(20, 48, 77, 0.25);
}
.hv-mosaic-photo {
  position: static;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px;
  background: #fff;
}
.hv-mosaic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  mix-blend-mode: normal;
  transition: transform 0.3s;
}
.hv-mosaic-tile:hover .hv-mosaic-photo img {
  transform: scale(1.04);
}
.hv-mosaic-label {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 15px;
  border-top: 1px solid var(--hvm-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.hv-mosaic-label strong {
  color: var(--hv-primary);
  font:
    800 15px/1.25 Manrope,
    sans-serif;
}
.hv-mosaic-label small {
  color: var(--hvm-orange);
  font-size: 12px;
  font-weight: 800;
}

/* ---------- 6. PRODUCTOS: imagen completa + botón COMPRAR siempre visible ---------- */
.hv-loop-item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.hv-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.hv-product-card-inner {
  background: #fff;
}
.hv-product-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #fff;
}
.hv-product-thumb img,
.hv-product-card .hv-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 12px;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
}
.hv-product-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.hv-product-cart {
  margin-top: auto;
  padding-top: 12px;
}
.hv-product-card .hv-add-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--hvm-orange) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #d85d16;
  visibility: visible !important;
  opacity: 1 !important;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.2s;
}
.hv-product-card .hv-add-cart .hv-icon {
  flex: none;
}
.hv-product-card .hv-add-cart:hover {
  background: #ff8a45 !important;
  color: #fff !important;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #d85d16;
}
.hv-product-card .hv-add-cart.loading {
  opacity: 0.7 !important;
  pointer-events: none;
}
.hv-product-card .hv-add-cart.added {
  background: #2f8f5b !important;
  box-shadow: 0 4px 0 #1f6b42;
}
.hv-product-card .hv-add-cart.added::after {
  content: "✓";
  margin-left: 4px;
}
.hv-product-card a.added_to_cart {
  display: block;
  margin-top: 8px;
  color: var(--hvm-navy);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.hv-product-card .hv-out-of-stock {
  background: #8a94a3 !important;
  box-shadow: 0 4px 0 #6b7480;
}
.hv-product-badge {
  border-radius: 6px;
}
.hv-product-actions {
  z-index: 3;
}

/* ---------- 7. CATEGORÍAS: tarjetas con imagen completa ---------- */
.hv-category-photo,
.hv-category-tile-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.hv-category-photo img,
.hv-category-tile-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
}
.hv-category-card,
.hv-category-tile {
  background: #fff;
  border-radius: 14px;
}
.hv-category-tile-image {
  border-radius: 10px;
}
.hv-catalog-listing ul.products {
  list-style: none;
}

/* ---------- 8. BANNERS EDITORIALES Y VIDEO ---------- */
.hv-editorial-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 60px;
}
.hv-editorial-banner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hvm-line);
  border-radius: 20px;
  background: #fff;
  color: var(--hv-primary);
  text-decoration: none;
  box-shadow: 0 12px 30px -18px rgba(20, 48, 77, 0.3);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.hv-editorial-banner::before {
  display: none !important;
}
.hv-editorial-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -18px rgba(20, 48, 77, 0.4);
}
.hv-editorial-img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #0f1b33;
}
.hv-editorial-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hv-editorial-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 24px 22px;
}
.hv-editorial-banner .hv-pill {
  flex: 0 0 100%;
  align-self: flex-start;
  width: max-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hvm-tint);
  color: var(--hv-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: none;
}
.hv-editorial-banner strong {
  flex: 1 1 220px;
  max-width: none;
  margin: 0;
  color: var(--hv-primary);
  font:
    800 clamp(20px, 2vw, 26px)/1.15 Manrope,
    sans-serif;
}
.hv-editorial-banner em {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--hvm-orange);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 4px 0 #d85d16;
}
.hv-editorial-banner em b {
  margin-left: 10px;
  color: #fff;
}

/* Video vertical 9:16: se muestra completo, con foto de portada mientras carga */
.hv-sale-feature-grid {
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.8fr);
  align-items: start;
}
.hv-sale-aside {
  display: block;
  align-self: start;
  aspect-ratio: 9 / 16;
  width: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 20px;
  background: #0f1b33 url("../images/video-poster.jpg") center / contain
    no-repeat;
}
.hv-sale-aside::before,
.hv-sale-aside::after {
  display: none !important;
}
.hv-sale-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* ---------- 9. FICHA DE PRODUCTO, CARRITO Y PAGO ---------- */
.single-product div.product .woocommerce-product-gallery__wrapper {
  background: #fff;
}
.single-product div.product .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery img {
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  background: #fff;
}
.single-product .summary form.cart {
  display: flex !important;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.single-product .summary form.cart .single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--hvm-orange) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 5px 0 #d85d16;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.single-product .summary form.cart .single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: #ff8a45 !important;
  color: #fff !important;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #d85d16;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
}
.woocommerce-checkout #place_order {
  width: 100%;
}
.woocommerce-account .woocommerce-form-login .woocommerce-button,
.woocommerce-account .woocommerce-form-register .woocommerce-button {
  min-width: 180px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hv-header-main {
    grid-template-columns: 150px minmax(200px, 1fr) auto;
    gap: 16px;
  }
  .hv-header-search select {
    width: 170px;
  }
  .hv-mega__inner {
    grid-template-columns: 236px minmax(0, 1fr);
  }
  .hv-mega__panels {
    padding: 26px 28px 30px;
  }
  .hv-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hv-sale-feature-grid {
    grid-template-columns: 1fr;
  }
  .hv-sale-aside {
    max-width: 360px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .hv-promo-links .hv-promo-menu {
    display: none;
  }
  .hv-promo-inner {
    justify-content: center;
  }
  .hv-promo-text {
    display: none;
  }
}
@media (max-width: 767px) {
  .hv-promo-inner {
    min-height: 40px;
  }
  .hv-promo-links {
    gap: 0;
  }
  .hv-social {
    gap: 12px;
  }
  .hv-header-main {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .hv-header-search {
    grid-column: 1 / -1;
    max-width: none;
    height: 44px;
  }
  .hv-header-search select {
    width: 135px;
    max-width: 45%;
    font-size: 11px;
    padding-left: 8px;
  }
  .hv-header-search button {
    height: 44px;
  }
  .hv-browse,
  .hv-mega {
    display: none !important;
  }
  .hv-nav-buy {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 14px 0 0;
  }
  .hv-mnav-cats {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
  }
  .hv-mnav-title {
    margin: 6px 0;
    color: var(--hvm-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
  }
  .hv-mnav-link,
  .hv-mnav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 2px;
    border-bottom: 1px solid #eee;
    color: var(--hv-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
  }
  .hv-mnav-group summary::-webkit-details-marker {
    display: none;
  }
  .hv-mnav-group[open] summary .hv-icon {
    transform: rotate(180deg);
  }
  .hv-mnav-sub {
    display: grid;
    padding: 4px 0 8px 12px;
    background: var(--hvm-soft);
    border-radius: 0 0 10px 10px;
  }
  .hv-mnav-sub a {
    padding: 10px 8px;
    color: #34445a;
    font-size: 13px;
    text-decoration: none;
  }
  .hv-mnav-sub .hv-mnav-all {
    color: var(--hvm-orange);
    font-weight: 800;
  }
  .hv-mnav-sub .hv-mnav-deep {
    padding-left: 22px;
    color: var(--hvm-muted);
    font-size: 12.5px;
  }

  .hv-hero2 {
    padding-top: 12px;
  }
  .hv-hero2 .hv-hero-slider {
    border-radius: 14px;
  }
  .hv-hero2 .hv-slider-prev,
  .hv-hero2 .hv-slider-next {
    width: 34px;
    height: 34px;
  }
  .hv-hero2 .hv-slider-dots {
    gap: 7px;
  }
  .hv-hero2 .hv-slider-dots button,
  .hv-hero2 .hv-slider-dots button.is-active {
    height: 9px;
    width: 9px;
  }
  .hv-hero2 .hv-slider-dots button.is-active {
    width: 28px;
  }
  .hv-mosaic-wrap {
    padding-top: 40px;
  }
  .hv-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hv-mosaic-photo {
    padding: 8px;
  }
  .hv-mosaic-label {
    padding: 9px 11px 12px;
  }
  .hv-mosaic-label strong {
    font-size: 13px;
  }
  .hv-editorial-banners {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 40px;
  }
  .hv-editorial-text {
    padding: 16px 18px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hv-mega,
  .hv-mega__panel.is-active,
  .hv-mega__panel.is-active .hv-mega__sub {
    animation: none;
  }
  .hv-hero2 .hv-hero-slide {
    transition: none;
  }
  .hv-hero2 .hv-slider-dots button.is-active i {
    animation: none;
    width: 100%;
  }
}

/* ---------- AJUSTE FINAL: imágenes absolutas dentro de cajas de proporción fija (nunca se cortan) ---------- */
.hv-mega__thumb,
.hv-mosaic-photo,
.hv-category-photo,
.hv-category-tile-image,
.hv-product-thumb {
  position: relative;
  display: block;
}
.hv-mega__thumb img,
.hv-mosaic-photo img,
.hv-category-photo img,
.hv-category-tile-image img,
.hv-product-thumb img,
.hv-product-card .hv-product-image {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.hv-mega__thumb img {
  padding: 10px;
}
.hv-mega__thumb .hv-icon {
  position: absolute;
  inset: 0;
  margin: auto;
}
.hv-product-badge {
  z-index: 3;
}
.hv-mosaic-photo img {
  padding: 14px;
}
@media (max-width: 767px) {
  .hv-mosaic-photo img {
    padding: 8px;
  }
}

/* Etiqueta y título de los banners editoriales */
.hv-editorial-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
}
.hv-editorial-banner .hv-pill {
  grid-column: 1 / -1;
  justify-self: start;
  flex: none;
  width: auto;
}
.hv-editorial-banner strong {
  flex: none;
}
@media (max-width: 480px) {
  .hv-editorial-text {
    grid-template-columns: 1fr;
  }
  .hv-editorial-banner em {
    justify-self: start;
  }
}

/* ---------- Megamenú: lista izquierda compacta y panel de productos ---------- */
.hv-mega__inner {
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 440px;
  max-height: min(640px, calc(100vh - 200px));
}
.hv-mega__cats {
  gap: 2px;
  padding: 12px;
}
.hv-mega__cat {
  gap: 11px;
  padding: 8px 12px 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}
.hv-mega__cat-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.hv-mega__cat-ico {
  width: 38px;
  height: 38px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid var(--hvm-line);
  border-radius: 9px;
  background: #fff;
}
.hv-mega__cat-ico--empty {
  display: grid;
  place-items: center;
}
.hv-mega__title {
  text-transform: none;
}
.hv-mega__prods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__prods li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-mega__prod {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--hvm-ink);
  text-decoration: none;
}
.hv-mega__prod-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.hv-mega__prod-price {
  color: var(--hvm-orange);
  font-size: 13px;
  font-weight: 800;
}
.hv-mega__prod:hover .hv-mega__thumb {
  background: var(--hvm-tint);
  box-shadow: 0 14px 26px -16px rgba(20, 48, 77, 0.45);
  transform: translateY(-3px);
}
.hv-mega__prod:hover .hv-mega__prod-name {
  color: var(--hvm-orange);
}
.hv-mega__thumb {
  background: #fff;
  border: 1px solid var(--hvm-line);
}

/* ---------- Megamenú: altura fija + scroll propio en cada columna ---------- */
.hv-mega__inner {
  height: min(620px, calc(100vh - 200px));
  min-height: 0;
  max-height: none;
  grid-template-rows: minmax(0, 1fr);
}
.hv-mega__cats,
.hv-mega__panels {
  min-height: 0;
  height: 100%;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b9c3d3 transparent;
}
.hv-mega__cats::-webkit-scrollbar,
.hv-mega__panels::-webkit-scrollbar {
  width: 8px;
}
.hv-mega__cats::-webkit-scrollbar-thumb,
.hv-mega__panels::-webkit-scrollbar-thumb {
  background: #b9c3d3;
  border-radius: 8px;
}
.hv-mega__cats::-webkit-scrollbar-thumb:hover,
.hv-mega__panels::-webkit-scrollbar-thumb:hover {
  background: #8d9bb0;
}
.hv-mega__cats > li {
  flex: none;
}

/* ---------- Megamenú: SCROLL en el panel de la derecha y en la lista de la izquierda ---------- */
.hv-mega__inner {
  grid-template-rows: minmax(0, 1fr);
  height: min(600px, calc(100vh - 210px));
  min-height: 0;
  max-height: none;
}
.hv-mega__cats,
.hv-mega__panels {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b9c3d3 transparent;
}
.hv-mega__panels::-webkit-scrollbar,
.hv-mega__cats::-webkit-scrollbar {
  width: 8px;
}
.hv-mega__panels::-webkit-scrollbar-thumb,
.hv-mega__cats::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #c3ccda;
}

/* Si el plugin de pago oculta el botón nativo, que se quede oculto */
.woocommerce-checkout #place_order[style*="display: none"],
.woocommerce-checkout #place_order[style*="display:none"] {
  display: none !important;
}
.hv-cart-link > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

/* =========================================================
   PEDIDO RECIBIDO (Gracias por tu compra)  ·  v2
   Pegar al FINAL de assets/css/vitrelum-v2.css
   (si ya pegaste la versión anterior, BÓRRALA y deja solo esta)
   Solo afecta a /checkout/order-received/
   ========================================================= */

/* Título centrado sobre el marco */
body.woocommerce-order-received .hv-entry-title {
  margin-bottom: 22px;
  text-align: center;
}

/* ---------- El MARCO ---------- */
body.woocommerce-order-received .woocommerce-order {
  position: relative;
  box-sizing: border-box;
  max-width: 920px;
  margin: 0 auto 64px;
  padding: 44px 0 40px;
  overflow: hidden;
  border: 1px solid var(--hvm-line);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 28px 60px -30px rgba(20, 48, 77, 0.38),
    0 4px 14px rgba(20, 48, 77, 0.05);
}
body.woocommerce-order-received .woocommerce-order::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--hvm-navy),
    var(--hvm-accent) 55%,
    var(--hvm-orange)
  );
}
/* margen lateral parejo para todo lo que va dentro del marco */
body.woocommerce-order-received .woocommerce-order > * {
  margin-left: clamp(18px, 4vw, 40px);
  margin-right: clamp(18px, 4vw, 40px);
}

/* ---------- Mensaje de gracias con palomita ---------- */
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-thankyou-order-received {
  margin-top: 0;
  margin-bottom: 26px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hvm-navy);
  font:
    800 clamp(20px, 2.4vw, 26px) / 1.3 Manrope,
    sans-serif;
  text-align: center;
}
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-thankyou-order-received::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #2f8f5b;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 0 0 8px rgba(47, 143, 91, 0.14);
}

/* ---------- Resumen: 3 tarjetas arriba, 2 abajo ---------- */
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}
/* WooCommerce mete un "clearfix" que dentro del grid ocupaba una celda vacía */
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview::before,
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview::after {
  display: none !important;
  content: none !important;
}
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li {
  float: none;
  grid-column: span 2;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--hvm-line);
  border-radius: 14px;
  background: var(--hvm-soft);
  color: var(--hvm-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.2;
  text-transform: uppercase;
}
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li
  strong {
  display: block;
  margin-top: 6px;
  color: var(--hvm-navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  overflow-wrap: anywhere;
}
/* orden: número · fecha · total / email · método de pago */
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li.woocommerce-order-overview__total {
  order: 3;
}
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li.woocommerce-order-overview__total
  strong {
  color: var(--hvm-orange);
  font-size: 18px;
}
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li.woocommerce-order-overview__email {
  order: 4;
  grid-column: span 3;
}
body.woocommerce-order-received
  .woocommerce-order
  ul.woocommerce-order-overview
  li.woocommerce-order-overview__payment-method {
  order: 5;
  grid-column: span 3;
}

/* ---------- Títulos de sección ---------- */
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-order .woocommerce-column__title {
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border-left: 4px solid var(--hvm-orange);
  color: var(--hvm-navy);
  font:
    800 20px / 1.2 Manrope,
    sans-serif;
}

/* ---------- Detalles del pedido (tabla) ---------- */
body.woocommerce-order-received .woocommerce-order .woocommerce-order-details {
  margin-bottom: 36px;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hvm-line) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 14px !important;
  background: #fff;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  th,
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  td {
  padding: 14px 20px !important;
  border: 0 !important;
  border-top: 1px solid var(--hvm-line) !important;
  background: #fff !important;
  color: var(--hvm-ink);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  vertical-align: middle;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  th:last-child,
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  td:last-child {
  text-align: right;
  white-space: nowrap;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  thead
  th {
  border-top: 0 !important;
  background: var(--hvm-navy) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  tbody
  td
  a {
  color: var(--hvm-navy);
  font-weight: 700;
  text-decoration: none;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  tbody
  td
  a:hover {
  color: var(--hvm-orange);
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  .product-quantity {
  color: var(--hvm-muted);
  font-weight: 700;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  tfoot
  th {
  background: var(--hvm-soft) !important;
  color: var(--hvm-muted);
  font-weight: 700;
}
body.woocommerce-order-received
  .woocommerce-order
  table.woocommerce-table--order-details
  tfoot
  td {
  background: var(--hvm-soft) !important;
  color: var(--hvm-navy);
  font-weight: 800;
}

/* ---------- Direcciones de facturación y envío ---------- */
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-columns--addresses::before,
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-columns--addresses::after {
  display: none !important;
  content: none !important;
}
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-columns--addresses
  .woocommerce-column {
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-customer-details
  address {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--hvm-line);
  border-radius: 14px;
  background: var(--hvm-soft);
  color: var(--hvm-ink);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  body.woocommerce-order-received .woocommerce-order {
    padding-top: 36px;
    border-radius: 18px;
  }
  body.woocommerce-order-received
    .woocommerce-order
    ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.woocommerce-order-received
    .woocommerce-order
    ul.woocommerce-order-overview
    li {
    grid-column: span 1;
  }
  body.woocommerce-order-received
    .woocommerce-order
    ul.woocommerce-order-overview
    li.woocommerce-order-overview__email,
  body.woocommerce-order-received
    .woocommerce-order
    ul.woocommerce-order-overview
    li.woocommerce-order-overview__payment-method {
    grid-column: 1 / -1;
  }
  body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }
  body.woocommerce-order-received
    .woocommerce-order
    table.woocommerce-table--order-details
    th,
  body.woocommerce-order-received
    .woocommerce-order
    table.woocommerce-table--order-details
    td {
    padding: 12px 14px !important;
    font-size: 13px;
  }
}
/* Centrar el marco de "Pedido recibido" */
body.woocommerce-order-received .hv-entry-content > .woocommerce,
body.woocommerce-order-received .hv-entry-content {
  float: none;
  width: 100%;
  max-width: none;
}
body.woocommerce-order-received .woocommerce-order {
  float: none;
  width: 100%;
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
}
