/*
 * Happy Plates 2026 — capa visual.
 *
 * Esta hoja solo redefine presentación. No cambia nombres, ids, estados,
 * eventos, validaciones ni contratos utilizados por PHP y JavaScript.
 */
:root {
  --hp-primary: #d95739;
  --hp-primary-dark: #b9432a;
  --hp-primary-soft: #fbe1d7;
  --hp-teal: #244d40;
  --hp-teal-soft: #dfe9e1;
  --hp-ink: #17342d;
  --hp-text: #536860;
  --hp-muted: #718079;
  --hp-line: rgba(23, 52, 45, 0.13);
  --hp-surface: #ffffff; /* Blanco puro para tarjetas y cajas */
  --hp-canvas: #f8fafc;
  --hp-danger: #c94734;
  --hp-warning: #c87d2f;
  --hp-success: #39735d;
  --hp-radius-sm: 14px;
  --hp-radius: 22px;
  --hp-radius-lg: 34px;
  --hp-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --hp-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  --hp-transition: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --bs-primary: #d95739;
  --bs-primary-rgb: 217, 87, 57;
  --bs-success: #39735d;
  --bs-success-rgb: 57, 115, 93;
  --bs-danger-rgb: 201, 71, 52;
  --bs-body-color: #536860;
  --bs-body-bg: #ffffff;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  color: var(--hp-text) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  font-family:
    "Outfit",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

body,
button,
input,
select,
textarea {
  font-family: "Outfit", system-ui, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  color: var(--hp-ink) !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}
a {
  color: var(--hp-primary);
}
a:hover {
  color: var(--hp-primary-dark);
}
::selection {
  color: #fff;
  background: var(--hp-primary);
}

/* Barra flotante compartida */
body .hp-site-navbar.navbar-flotante {
  width: min(1440px, calc(100% - 40px)) !important;
  min-height: 72px;
  margin: 20px auto 0 !important;
  padding: 9px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.09) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

body .hp-site-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--hp-ink) !important;
  font-family:
    "Fredoka", "Arial Rounded MT Bold", "Outfit", system-ui, sans-serif !important;
  font-size: 1.48rem;
  font-weight: 700 !important;
  letter-spacing: -0.075em;
  line-height: 1;
}

body .hp-site-navbar .hp-brand-wordmark {
  display: inline-block;
  color: var(--hp-ink) !important;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
body .hp-site-navbar .navbar-nav {
  gap: 0.55rem;
}

body .hp-site-navbar .nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: #64766f !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color var(--hp-transition),
    background var(--hp-transition),
    transform var(--hp-transition);
}

body .hp-site-navbar .nav-link:hover,
body .hp-site-navbar .nav-link.active {
  color: var(--hp-primary) !important;
  background: rgba(217, 87, 57, 0.08) !important;
  transform: translateY(-1px);
}

body .hp-site-navbar .nav-icon-btn {
  width: 44px;
  height: 44px;
  color: var(--hp-ink) !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
}

body .hp-site-navbar .nav-icon-btn:hover {
  color: var(--hp-primary) !important;
  background: rgba(217, 87, 57, 0.09) !important;
  transform: translateY(-2px);
}

body .hp-site-navbar .hp-account-btn {
  width: auto;
  border-radius: 999px;
}
body .hp-site-navbar .badge {
  border-color: var(--hp-surface) !important;
  background: var(--hp-primary) !important;
}

/* Botones y estados */
body .btn {
  min-height: 46px;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform var(--hp-transition),
    box-shadow var(--hp-transition),
    color var(--hp-transition),
    background var(--hp-transition),
    border-color var(--hp-transition);
}

body .btn:hover {
  transform: translateY(-2px);
}
body .btn:active {
  transform: scale(0.985);
}

body .btn-primary,
body .btn-add-cart,
body .btn-primario,
body button[type="submit"].btn-primary {
  color: #fff !important;
  border-color: var(--hp-ink) !important;
  background: var(--hp-ink) !important;
  box-shadow: 0 13px 28px rgba(23, 52, 45, 0.18) !important;
}

body .btn-primary:hover,
body .btn-add-cart:hover,
body .btn-primario:hover,
body button[type="submit"].btn-primary:hover {
  border-color: #244d40 !important;
  background: #244d40 !important;
  box-shadow: 0 18px 36px rgba(23, 52, 45, 0.24) !important;
}

body .btn-outline-primary {
  color: var(--hp-ink) !important;
  border-color: rgba(23, 52, 45, 0.2) !important;
  background: rgba(255, 255, 255, 0.88) !important;
}

body .btn-outline-primary:hover {
  color: #fff !important;
  border-color: var(--hp-ink) !important;
  background: var(--hp-ink) !important;
}

body .btn-success {
  border-color: var(--hp-success) !important;
  background: var(--hp-success) !important;
}
body .btn-light,
body .btn-outline-secondary {
  color: var(--hp-ink) !important;
  border-color: var(--hp-line) !important;
  background: var(--hp-surface) !important;
}

body .btn:focus-visible,
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
  outline: 3px solid rgba(217, 87, 57, 0.34) !important;
  outline-offset: 3px;
}

/* Formularios: solo presentación, sin cambiar controles */
body .form-label {
  color: var(--hp-ink);
  font-size: 0.88rem;
  font-weight: 650;
}

body .form-control,
body .form-select,
body .input-group-text {
  min-height: 50px;
  color: var(--hp-ink);
  border: 1px solid var(--hp-line);
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body textarea.form-control {
  min-height: 116px;
}
body .form-control::placeholder {
  color: #9aaaa3;
}

body .form-control:focus,
body .form-select:focus {
  border-color: rgba(217, 87, 57, 0.68);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(217, 87, 57, 0.1) !important;
}

body .form-check-input:checked {
  border-color: var(--hp-primary);
  background-color: var(--hp-primary);
}
body .form-text {
  color: var(--hp-muted) !important;
}

/* Superficies generales */
body .card,
body .form-card,
body .form-section,
body .profile-card,
body .tarjeta-perfil,
body .checkout-card,
body .admin-card,
body .table-container,
body .vet-card {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: var(--hp-shadow-sm) !important;
}

body .card:hover,
body .vet-card:hover {
  border-color: rgba(217, 87, 57, 0.18) !important;
  box-shadow: var(--hp-shadow) !important;
}

body .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 30px !important;
  background: var(--hp-surface) !important;
  box-shadow: 0 34px 95px rgba(48, 32, 24, 0.24) !important;
}

body .modal-backdrop.show {
  opacity: 0.48;
}
body .nav-pills {
  border-color: var(--hp-line);
  background: rgba(23, 52, 45, 0.05);
}
body .nav-pills .nav-link.active {
  color: #fff !important;
  background: var(--hp-ink) !important;
}

body .alert {
  border-radius: 17px;
}
body .alert-info {
  color: #295a4a;
  border-color: rgba(57, 115, 93, 0.2);
  background: #eef5ef;
}
body .alert-success {
  color: #295a4a;
  border-color: rgba(57, 115, 93, 0.2);
  background: var(--hp-teal-soft);
}
body .alert-warning {
  color: #825321;
  border-color: rgba(200, 125, 47, 0.24);
  background: #fff1d9;
}
body .alert-danger {
  color: #913a2b;
  border-color: rgba(201, 71, 52, 0.22);
  background: #fde6df;
}

/* Neutraliza los dos colores azules embebidos en la página Nosotros. */
body main > section:first-child[style*="#eff6ff"] {
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(57, 115, 93, 0.12),
      transparent 25rem
    ),
    linear-gradient(145deg, #ffffff, #f8fafc 58%, #eef2f3) !important;
}

body .badge[style*="#1d4ed8"] {
  color: var(--hp-primary) !important;
  background: var(--hp-primary-soft) !important;
}

/* Portada */
body .hp-campaign-wrap {
  padding: 24px 20px 0;
  background: transparent !important;
}

body .hp-campaign {
  max-width: 1440px;
  height: min(740px, calc(100dvh - 128px));
  min-height: 610px;
  border-radius: 42px;
  background: #eef1f3;
  box-shadow: 0 36px 90px rgba(67, 45, 32, 0.15);
}

body .hp-campaign-image {
  filter: saturate(0.92) contrast(0.96);
}

body .hp-campaign-shade {
  background:
    radial-gradient(
      circle at 26% 48%,
      rgba(255, 255, 255, 0.82),
      transparent 25rem
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 250, 252, 0.9) 36%,
      rgba(241, 245, 249, 0.2) 63%,
      transparent 76%
    );
}

body .hp-kicker {
  color: var(--hp-primary);
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  backdrop-filter: none;
}

body .hp-campaign-copy {
  left: clamp(34px, 6vw, 88px);
  width: min(600px, 44%);
}

body .hp-campaign-copy h1 {
  max-width: 610px;
  margin: 1.35rem 0 1.5rem;
  color: var(--hp-ink) !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: clamp(3.8rem, 6.2vw, 6.6rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.082em;
  text-transform: none;
  text-shadow: none;
}

body .hp-campaign-copy h1 span {
  color: var(--hp-ink);
}
body .hp-campaign-copy p {
  max-width: 530px;
  color: #62736c;
  font-size: 1.06rem;
  line-height: 1.75;
}
body .hp-btn-light {
  border-color: var(--hp-ink) !important;
  background: var(--hp-ink) !important;
}
body .hp-btn-ghost {
  color: var(--hp-ink) !important;
  border-color: rgba(23, 52, 45, 0.15) !important;
  background: rgba(255, 255, 255, 0.88) !important;
}
body .hp-campaign-index {
  color: rgba(23, 52, 45, 0.55);
}
body .hp-campaign-index b {
  color: var(--hp-primary);
}

/* Catálogo */
body #catalogo {
  max-width: 1340px;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
body .hp-eyebrow {
  color: var(--hp-primary);
  letter-spacing: 0.14em;
}
body .hp-section-heading h2 {
  max-width: 750px;
  color: var(--hp-ink) !important;
  font-size: clamp(2.4rem, 4.4vw, 4.7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

body #catalogo .product-card {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body #catalogo .product-card .img-container {
  position: relative;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border: 0 !important;
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: none;
  transition:
    transform var(--hp-transition),
    box-shadow var(--hp-transition);
}

body #catalogo .product-card .img-container::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(
    circle at 45% 35%,
    #ffffff 0%,
    #f8fafc 48%,
    #eef1f3 100%
  );
}

body #catalogo .product-card:hover {
  transform: translateY(-6px);
}
body #catalogo .product-card:hover .img-container {
  box-shadow: none;
}
body #catalogo .hp-product-image-link {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
body #catalogo .product-card .img-container img {
  width: 100%;
  height: 100%;
  padding: 8% 9% 25%;
  object-fit: contain;
  filter: drop-shadow(0 25px 22px rgba(50, 38, 30, 0.18));
  transition: transform 700ms ease-out;
}
body #catalogo .product-card:hover .img-container img {
  transform: rotate(-2deg) scale(1.05);
}
body #catalogo .hp-product-actions-overlay {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}
body #catalogo .product-card:hover .hp-product-actions-overlay,
body #catalogo .product-card:focus-within .hp-product-actions-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body #catalogo .hp-product-personalize {
  position: static;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.4rem;
  color: #fff !important;
  border-radius: 999px;
  background: var(--hp-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 220ms ease;
}
body #catalogo .hp-product-personalize:hover {
  background: var(--hp-primary-dark);
}
body #catalogo .product-body {
  padding: 1.25rem 0.35rem 0.4rem !important;
}
body #catalogo .product-title {
  color: var(--hp-ink);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
body #catalogo .product-price {
  color: var(--hp-ink) !important;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}
body #catalogo .btn-add-cart {
  min-height: 54px;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 0.9rem;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition:
    background 220ms ease,
    transform 180ms ease;
}

@media (hover: none), (pointer: coarse) {
  body #catalogo .hp-product-actions-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

body .btn-favorito-imagen {
  color: var(--hp-ink);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}
body .btn-favorito-imagen:hover {
  color: var(--hp-primary);
  background: var(--hp-surface);
}
body .btn-favorito-imagen.favorito-activo {
  border-color: var(--hp-primary) !important;
  background: var(--hp-primary) !important;
}

/* Detalle de producto */
body .contenedor-principal {
  width: min(1440px, calc(100% - 40px));
}

body .tarjeta-producto,
body .product-detail-container,
body .detail-container {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 38px !important;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fbfbfc 52%,
    #f0f2f4 100%
  ) !important;
  box-shadow:
    0 30px 75px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body .tarjeta-producto {
  min-height: 790px;
  grid-template-rows: minmax(790px, auto);
}

body .tarjeta-producto .visor-principal {
  border-radius: 28px;
  background: transparent;
}

body .main-image-container,
body .image-gallery {
  border-radius: 28px;
  background: radial-gradient(
    circle at 50% 42%,
    #ffffff 0%,
    #f8fafc 56%,
    #eef1f3 100%
  );
}

body .visor-principal img {
  object-position: center;
  filter: contrast(1.02) drop-shadow(0 30px 23px rgba(69, 45, 33, 0.17));
}
body .seccion-info::before {
  content: none;
}
body .hp-detail-shape {
  display: block;
  margin-bottom: 14px;
  color: var(--hp-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
body .seccion-info::before,
body .titulo-variante,
body .lista-miniaturas::before {
  color: var(--hp-primary);
  letter-spacing: 0.14em;
}

body .producto-titulo {
  color: var(--hp-ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: none;
}

body .producto-precio {
  color: var(--hp-ink) !important;
  font-family: "Outfit", system-ui, sans-serif !important;
}
body .btn-color-selector.activo,
body .btn-color.activo {
  box-shadow:
    0 0 0 2px var(--hp-primary),
    0 8px 17px rgba(15, 23, 42, 0.14);
}
body .miniatura:hover,
body .miniatura.activa {
  box-shadow:
    0 9px 22px rgba(15, 23, 42, 0.1),
    inset 0 0 0 2px var(--hp-primary);
}
body .tarjeta-descripcion {
  border: 1px solid #e9edf1 !important;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fafbfc 58%,
    #eef1f4 100%
  ) !important;
  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
body .hp-detail-side {
  position: relative;
  z-index: 5;
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 42px 0 0 28px;
}
body .hp-detail-side .selector-variantes {
  position: static;
  width: 100%;
  margin: 0;
}
body .hp-detail-side .lista-miniaturas {
  position: static;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(52px, 68px));
  gap: 9px;
  margin-top: 2.25rem;
}
body .hp-detail-extra {
  margin-top: 1.9rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--hp-line);
}
body .hp-detail-extra h3 {
  margin: 0 0 0.75rem;
  color: var(--hp-ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
body .hp-detail-extra #producto-descripcion {
  max-width: none;
  margin-bottom: 0;
  color: var(--hp-muted) !important;
  font-size: 0.86rem;
  line-height: 1.6;
}
body .hp-detail-specs {
  margin: 1.35rem 0 0;
  padding: 0;
}
body .hp-detail-specs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hp-line);
}
body .hp-detail-specs dt {
  color: var(--hp-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
body .hp-detail-specs dd {
  margin: 0;
  color: var(--hp-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}
body .hp-detail-side .hp-detail-geo {
  position: static;
  width: 100%;
  min-width: 0;
  margin: 1.7rem 0 0 !important;
  padding: 13px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(241, 245, 249, 0.8) !important;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.6);
}
body .hp-detail-side .hp-detail-geo label {
  color: var(--hp-ink) !important;
  font-size: 0.79rem;
}
body .hp-detail-side .hp-detail-geo p {
  font-size: 0.68rem !important;
  line-height: 1.45;
}

/* Detalle editorial en dos columnas, equivalente a la composición de localhost. */
body .tarjeta-producto {
  min-height: 780px;
  grid-template-columns: minmax(0, 54%) minmax(420px, 46%);
  grid-template-rows: auto;
}
body .tarjeta-producto .visor-principal {
  grid-column: 1;
  grid-row: 1;
  min-height: 710px;
}
body .hp-detail-content {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 100%;
  padding: 42px 20px 48px 60px;
}
body .hp-detail-content .hp-detail-shape {
  margin-bottom: 1.55rem;
  font-size: 0.88rem;
}
body .hp-detail-content .producto-titulo {
  max-width: none;
  margin-bottom: 2rem;
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 0.92;
  text-wrap: balance;
}
body .hp-detail-content .bloque-precio {
  margin: 0;
  padding: 0;
}
body .hp-detail-content .producto-precio {
  font-size: 1.8rem !important;
  letter-spacing: -0.035em;
}
body .hp-detail-content .pago-cuotas {
  margin-bottom: 0;
}
body .hp-detail-description {
  max-width: 62ch;
  margin: 2.7rem 0 0;
  color: var(--hp-muted) !important;
  font-size: 1.08rem;
  line-height: 1.8;
  text-wrap: pretty;
}
body .hp-detail-content .selector-variantes {
  position: static;
  width: 100%;
  margin: 2.7rem 0 0;
}
body .hp-detail-content .titulo-variante {
  margin: 0 0 1.15rem;
  color: var(--hp-ink);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
body .hp-detail-content .titulo-variante span {
  display: inline;
  margin: 0;
  color: var(--hp-muted);
  font-size: inherit;
  font-weight: 500 !important;
}
body .hp-detail-content .opciones-color {
  gap: 14px;
}
body .hp-detail-content .btn-color-selector,
body .hp-detail-content .btn-color {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  flex-basis: 42px !important;
}
body .hp-detail-content .acciones-compra {
  margin-top: 2.5rem;
}
body .hp-detail-content .hp-detail-specs {
  width: 100%;
  margin-top: 2.2rem;
}
body .hp-detail-content .hp-detail-geo {
  position: static;
  width: 100%;
  min-width: 0;
  margin: 1.2rem 0 0 !important;
  padding: 0.65rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .hp-detail-content .hp-detail-geo label {
  color: var(--hp-ink) !important;
  font-size: 0.79rem;
}
body .hp-detail-content .hp-detail-geo p {
  font-size: 0.68rem !important;
  line-height: 1.45;
}
body .hp-detail-hidden-gallery {
  display: none !important;
}

@media (min-width: 1200px) {
  body .tarjeta-producto {
    min-height: 630px;
  }
  body .tarjeta-producto .visor-principal {
    min-height: 560px;
  }
  body .tarjeta-producto .visor-principal img {
    width: 88%;
    height: 500px;
  }
  body .hp-detail-content {
    position: relative;
    padding-top: 12px;
    padding-bottom: 16px;
  }
  body .hp-detail-content .hp-detail-shape {
    margin-bottom: 0.75rem;
  }
  body .hp-detail-content .producto-titulo {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 4.25vw, 4.9rem);
  }
  body .hp-detail-description {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 0.96rem;
    line-height: 1.55;
  }
  body .hp-detail-content .selector-variantes {
    margin-top: 0.8rem;
  }
  body .hp-detail-content .titulo-variante {
    margin-bottom: 0.85rem;
  }
  body .hp-detail-content .btn-color-selector,
  body .hp-detail-content .btn-color {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex-basis: 38px !important;
  }
  body .hp-detail-content .acciones-compra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.2rem;
  }
  body .hp-detail-content .acciones-compra .btn-primario,
  body .hp-detail-content .acciones-compra .btn-secundario {
    min-height: 48px;
    margin-bottom: 0 !important;
  }
  body .hp-detail-content .hp-detail-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.15rem;
  }
  body .hp-detail-content .hp-detail-specs > div {
    display: grid;
    align-items: start;
    align-content: start;
    justify-content: stretch;
    gap: 0.25rem;
    padding: 0.65rem 0.8rem;
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
  }
  body .hp-detail-content .hp-detail-specs > div:first-child {
    border-left: 0;
    padding-left: 0;
  }
  body .hp-detail-content .hp-detail-specs > div:last-child {
    padding-right: 0;
  }
  body .hp-detail-content .hp-detail-specs dd {
    text-align: left;
  }
  body .hp-detail-content .hp-detail-geo {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    margin: 0.8rem 0 0 !important;
    padding: 0.45rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
  }
  body .hp-detail-content .hp-detail-geo .bi-geo-alt-fill {
    display: none;
  }
  body .hp-detail-content .hp-detail-geo label {
    font-size: 0.75rem;
    font-weight: 700 !important;
  }
  body .hp-detail-content .hp-detail-geo p {
    max-width: 55ch;
    margin-top: 0.15rem;
    font-size: 0.63rem !important;
    line-height: 1.4;
  }
  body .hp-detail-content .hp-detail-geo .btn-link {
    font-size: 0.68rem;
  }
  body .hp-detail-content .hp-detail-geo .form-check {
    margin: 0;
  }
}

/* Compra, perfiles, pedidos y paneles */
body main.container,
body .container.py-5 {
  max-width: 1240px;
}

body .form-card {
  padding: clamp(1.5rem, 4vw, 3.6rem) !important;
}
body .form-card > .mb-5 h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}
body .form-card .position-relative.rounded-4.border.bg-light {
  border: 1px solid rgba(23, 52, 45, 0.1) !important;
  border-radius: 24px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body .section-title {
  color: var(--hp-ink);
  font-weight: 700;
  letter-spacing: -0.025em;
}
body .section-title i {
  color: var(--hp-primary);
}
body .text-primary {
  color: var(--hp-primary) !important;
}
body .text-success {
  color: var(--hp-success) !important;
}
body .bg-primary {
  background-color: var(--hp-primary) !important;
}
body .bg-light {
  background-color: #f8fafc !important;
}

body .tarjeta-perfil {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
body .tarjeta-perfil h4 {
  color: var(--hp-ink);
}
body .list-group-item {
  color: var(--hp-text);
  border-color: var(--hp-line);
  background: transparent;
}
body .list-group-item:hover {
  background: rgba(217, 87, 57, 0.05);
}

body .table-responsive {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: var(--hp-surface);
  box-shadow: var(--hp-shadow-sm);
}

body .table thead th {
  color: #73847d;
  background: #f1f5f9;
}
body .table tbody tr:hover {
  background: rgba(217, 87, 57, 0.04);
}

/* Veterinarias */
body .vet-hero {
  color: var(--hp-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(57, 115, 93, 0.19),
      transparent 24rem
    ),
    linear-gradient(135deg, #ffffff, #f8fafc 55%, #eef5f1) !important;
  box-shadow: var(--hp-shadow-sm);
}

body .vet-hero h1 {
  color: var(--hp-ink) !important;
}
body .vet-hero .badge {
  color: var(--hp-primary) !important;
  border-color: rgba(217, 87, 57, 0.2);
  background: rgba(255, 255, 255, 0.9) !important;
}
body .bg-vet-soft,
body .service-icon {
  color: var(--hp-success);
  background: var(--hp-teal-soft) !important;
}

/* Pie: mayor especificidad que el estilo embebido existente */
body .hp-site-footer {
  margin-top: 6rem !important;
  color: rgba(255, 250, 242, 0.62) !important;
  border: 0 !important;
  background: var(--hp-ink) !important;
}

body .hp-site-footer .hp-footer-inner {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}
body .hp-site-footer .hp-footer-brand {
  color: var(--hp-surface) !important;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.065em;
}
body .hp-site-footer .hp-footer-brand span {
  color: #f18467 !important;
}
body .hp-site-footer h6 {
  color: var(--hp-surface) !important;
}
body .hp-site-footer a {
  color: rgba(255, 250, 242, 0.62) !important;
}
body .hp-site-footer a:hover {
  color: #f18467 !important;
}
body .hp-site-footer .hp-footer-social {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
body .hp-site-footer .hp-footer-bottom {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 1200px) {
  body #catalogo > .row > .col {
    width: 33.333333%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body #catalogo > .row > .col {
    width: 33.333333%;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  body .tarjeta-producto {
    min-height: 700px;
    grid-template-columns: minmax(0, 49%) minmax(360px, 51%);
    grid-template-rows: auto;
  }
  body .tarjeta-producto .visor-principal {
    min-height: 650px;
  }
  body .hp-detail-content {
    padding: 32px 12px 38px 38px;
  }
  body .hp-detail-content .producto-titulo {
    font-size: clamp(3rem, 6.3vw, 4.6rem);
  }
}

@media (max-width: 991.98px) {
  body .hp-site-navbar.navbar-flotante {
    width: calc(100% - 24px) !important;
    margin-top: 12px !important;
    padding: 8px 14px !important;
    border-radius: 27px !important;
  }

  body .hp-site-navbar .navbar-collapse {
    margin-top: 0.65rem;
    padding: 0.8rem;
    border: 1px solid rgba(23, 52, 45, 0.09);
    border-radius: 20px;
    background: var(--hp-surface);
  }

  body .hp-site-navbar .nav-link {
    width: 100%;
  }
  body .hp-campaign {
    height: 720px;
    border-radius: 30px;
  }
  body .hp-campaign-shade {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(248, 250, 252, 0.94) 48%,
      rgba(241, 245, 249, 0.08) 80%
    );
  }
  body .hp-campaign-copy {
    right: 28px;
    bottom: 50px;
    left: 28px;
    width: auto;
  }
  body .hp-campaign-copy h1 {
    max-width: 680px;
    font-size: clamp(3.5rem, 10vw, 5rem);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  body #catalogo > .row > .col {
    width: 50%;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }
  body .hp-site-navbar .navbar-brand {
    font-size: 1.18rem;
  }
  body .hp-site-navbar .navbar-brand::before {
    width: 34px;
    height: 34px;
    margin-right: 0.5rem;
  }
  body .hp-site-navbar .nav-icon-btn {
    width: 42px;
    height: 42px;
  }
  body .hp-campaign-wrap {
    padding: 12px 10px 0;
  }
  body .hp-campaign {
    min-height: 0;
    border-radius: 24px;
  }
  body #catalogo {
    padding-top: 3rem;
  }
  body #catalogo > .row > .col {
    width: 100%;
  }
  body .hp-section-heading h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
  body #catalogo .product-card .img-container {
    aspect-ratio: 4 / 5;
  }
  body .contenedor-principal {
    width: calc(100% - 20px);
  }
  body .tarjeta-producto {
    min-height: 0;
    border-radius: 27px !important;
  }
  body .tarjeta-producto .visor-principal {
    min-height: 390px;
    border-radius: 21px;
  }
  body .hp-detail-content {
    order: 2;
    width: 100%;
    padding: 2rem 0 0.5rem;
  }
  body .hp-detail-content .producto-titulo {
    margin-bottom: 1.5rem;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }
  body .hp-detail-description {
    margin-top: 2rem;
    font-size: 1rem;
  }
  body .hp-detail-content .selector-variantes {
    margin-top: 2.1rem;
  }
  body .form-card {
    border-radius: 24px !important;
  }
  body .hp-site-footer {
    margin-top: 4rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== 
   Inicio editorial — port visual de la experiencia Next.js
   ========================================================================== */

.hp-skip-link {
  position: fixed;
  z-index: 1200;
  top: 0.8rem;
  left: 0.8rem;
  color: #fff;
  border-radius: 999px;
  background: var(--hp-ink);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.hp-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.hp-home-shell {
  position: relative;
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

.hp-home-hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 110px;
  background: transparent;
}

.hp-home-orb {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.hp-home-orb-coral {
  top: 7rem;
  left: -15rem;
  background: rgba(239, 138, 110, 0.25);
}
.hp-home-orb-green {
  right: -12rem;
  bottom: -8rem;
  background: rgba(148, 182, 164, 0.22);
}

.hp-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.hp-home-hero-copy {
  position: relative;
  z-index: 2;
}

.hp-home-kicker,
.hp-home-eyebrow {
  margin: 0;
  color: var(--hp-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hp-home-hero-copy h1 {
  max-width: 700px;
  margin: 1.8rem 0 0;
  color: var(--hp-ink) !important;
  font-size: clamp(4.4rem, 6.5vw, 7rem);
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -0.078em;
}

.hp-home-lead {
  max-width: 590px;
  margin: 2rem 0 0;
  color: #5d7069;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.hp-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.hp-home-button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color var(--hp-transition),
    background var(--hp-transition),
    border-color var(--hp-transition),
    transform var(--hp-transition),
    box-shadow var(--hp-transition);
}

.hp-home-button:hover {
  transform: translateY(-2px);
}
.hp-home-button-dark {
  color: #fff;
  background: var(--hp-ink);
  box-shadow: 0 14px 30px rgba(23, 52, 45, 0.18);
}
.hp-home-button-dark:hover {
  color: #fff;
  background: var(--hp-primary);
  box-shadow: 0 18px 38px rgba(217, 87, 57, 0.22);
}
.hp-home-button-light {
  color: var(--hp-ink);
  border-color: rgba(23, 52, 45, 0.16);
  background: rgba(255, 255, 255, 0.46);
}
.hp-home-button-light:hover {
  color: var(--hp-ink);
  background: #fff;
}
.hp-home-button-cream {
  color: var(--hp-ink);
  background: var(--hp-surface);
}
.hp-home-button-cream:hover {
  color: var(--hp-ink);
  background: #fff;
}

.hp-home-hero-visual {
  position: relative;
  width: 100%;
  max-width: 780px;
  justify-self: end;
}

.hp-home-hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 48px;
  background: #dfe7eb;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.18);
  transform: rotate(1.5deg);
}

.hp-home-hero-media .hp-campaign-slides,
.hp-home-hero-media .hp-campaign-media {
  position: absolute;
  inset: 0;
}
.hp-home-hero-media .hp-campaign-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hp-home-hero-media .hp-campaign-slide {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease,
    transform 1s ease;
}
.hp-home-hero-media .hp-campaign-slide.is-active {
  visibility: visible;
  opacity: 1;
}
.hp-home-hero-media:hover .hp-campaign-slide.is-active {
  transform: scale(1.025);
}

.hp-home-hero-note {
  position: absolute;
  z-index: 7;
  bottom: -1.7rem;
  left: 2.8rem;
  max-width: 15rem;
  margin: 0;
  padding: 1rem 1.1rem;
  color: #64756e;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  font-size: 0.78rem;
  line-height: 1.55;
  backdrop-filter: blur(16px);
}

.hp-home-hero-visual .hp-admin-float {
  top: 1.2rem;
  right: 1.2rem;
}

.hp-home-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(23, 52, 45, 0.12);
  border-bottom: 1px solid rgba(23, 52, 45, 0.12);
  background: var(--hp-surface);
  padding: 1.15rem 0;
}

.hp-home-marquee-track {
  width: max-content;
  color: #5a6d66;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
  animation: hpHomeMarquee 28s linear infinite;
}

.hp-home-catalog {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(7.5rem, 11vw, 11rem) 0 clamp(8rem, 12vw, 12rem) !important;
  background: var(--hp-surface);
}

.hp-home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.hp-home-section-heading h2 {
  max-width: 960px;
  margin: 1.05rem 0 0;
  color: var(--hp-ink) !important;
  font-size: clamp(3.3rem, 5.5vw, 6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hp-home-count {
  flex: 0 0 auto;
  color: #718079;
  border-bottom: 1px solid rgba(23, 52, 45, 0.18);
  padding-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.hp-home-product-grid {
  --bs-gutter-x: 1.35rem;
  --bs-gutter-y: 4rem;
}

.hp-home-care {
  padding: clamp(7.5rem, 11vw, 11rem) 0 clamp(8rem, 12vw, 12rem);
  background: var(--hp-canvas);
}

.hp-home-care-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 4.2rem;
}

.hp-home-care-heading h2 {
  max-width: 980px;
  margin: 0;
  color: var(--hp-ink) !important;
  font-size: clamp(3.2rem, 5.4vw, 5.9rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.072em;
}

.hp-home-care-heading > p {
  max-width: 500px;
  justify-self: end;
  margin: 0;
  color: #667870;
  line-height: 1.75;
}

.hp-home-inline-pet {
  position: relative;
  width: 1.18em;
  height: 0.72em;
  display: inline-block;
  overflow: hidden;
  margin-inline: 0.12em;
  border-radius: 999px;
  vertical-align: middle;
}

.hp-home-inline-pet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-home-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.65rem;
}

.hp-home-bento article {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.hp-home-bento-profile {
  min-height: 440px;
  grid-column: span 7;
  padding: clamp(2rem, 4vw, 3.2rem);
  background: #dfe9e1;
}

.hp-home-bento-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}
.hp-home-bento-copy p,
.hp-home-bento-custom p,
.hp-home-bento-dark > p,
.hp-home-bento-weight > p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
}
.hp-home-bento-copy p {
  color: #537064;
}

.hp-home-bento h3 {
  text-wrap: balance;
}
.hp-home-bento-copy h3,
.hp-home-bento-custom h3 {
  margin: 1rem 0 0;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.hp-home-profile-preview {
  position: absolute;
  right: -1.5rem;
  bottom: -4rem;
  width: 260px;
  height: 340px;
  overflow: hidden;
  border: 9px solid var(--hp-ink);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(23, 52, 45, 0.22);
  transform: rotate(6deg);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hp-home-bento-profile:hover .hp-home-profile-preview {
  transform: translateY(-14px) rotate(2deg);
}
.hp-home-profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-home-profile-preview div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
.hp-home-profile-preview strong {
  color: var(--hp-ink);
  font-size: 1.1rem;
}
.hp-home-profile-preview span {
  color: #687a73;
  font-size: 0.72rem;
}

.hp-home-bento-custom {
  min-height: 440px;
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  background: #e36548;
}

.hp-home-bento-custom h3 {
  color: #fff !important;
}
.hp-home-bento-custom p {
  color: rgba(255, 255, 255, 0.66);
}
.hp-home-bento-custom a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.hp-home-bento-dark,
.hp-home-bento-weight,
.hp-home-bento-product {
  min-height: 290px;
  grid-column: span 4;
}

.hp-home-bento-dark,
.hp-home-bento-weight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem;
}
.hp-home-bento-dark {
  color: #fff;
  background: var(--hp-ink);
}
.hp-home-bento-dark p {
  color: rgba(255, 255, 255, 0.55);
}
.hp-home-bento-dark h3 {
  max-width: 360px;
  margin: 0;
  color: #fff !important;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.055em;
}
.hp-home-bento-weight {
  color: var(--hp-ink);
  background: #f4dfbd;
}
.hp-home-bento-weight p {
  color: #7d6b50;
}
.hp-home-bento-weight h3 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.hp-home-bento-product {
  display: grid;
  place-items: center;
  background: #e9ded2;
}
.hp-home-bento-product img {
  width: 100%;
  height: 100%;
  padding: 10%;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(39, 30, 25, 0.2));
  transition: transform 0.7s ease;
}
.hp-home-bento-product:hover img {
  transform: scale(1.05) rotate(-3deg);
}

.hp-home-safety {
  padding: clamp(8rem, 12vw, 12rem) 0;
  background: var(--hp-surface);
}

.hp-home-safety-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3.5rem, 7vw, 8rem);
}
.hp-home-safety-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}
.hp-home-safety-heading h2 {
  margin: 1.35rem 0 0;
  color: var(--hp-ink) !important;
  font-size: clamp(3.2rem, 5vw, 5.7rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.073em;
}
.hp-home-safety-heading > p:last-child {
  max-width: 440px;
  margin: 1.7rem 0 0;
  color: #667870;
  line-height: 1.75;
}
.hp-home-safety-stack {
  display: grid;
  gap: 2rem;
}

.hp-home-safety-card {
  position: sticky;
  top: 7.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  align-items: center;
  gap: 2rem;
  min-height: 340px;
  padding: 2.4rem;
  border-radius: 34px;
  box-shadow: 0 25px 70px rgba(58, 44, 34, 0.12);
}

.hp-home-safety-card:nth-child(2) {
  top: 9rem;
}
.hp-home-safety-card:nth-child(3) {
  top: 10.5rem;
}
.hp-home-safety-mint {
  background: #dfe9e1;
}
.hp-home-safety-sand {
  background: #f3dfbd;
}
.hp-home-safety-coral {
  background: #efc9bc;
}
.hp-home-safety-card span {
  color: var(--hp-primary);
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hp-home-safety-card h3 {
  margin: 1.2rem 0 0;
  color: var(--hp-ink) !important;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.065em;
}
.hp-home-safety-card p {
  max-width: 520px;
  margin: 1.3rem 0 0;
  color: #5d7068;
  font-size: 0.92rem;
  line-height: 1.75;
}
.hp-home-safety-card img {
  width: 215px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: #fff;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.hp-home-safety-card:hover img {
  transform: scale(1.04);
}

.hp-home-closing {
  padding: clamp(8rem, 12vw, 12rem) 0;
  background: var(--hp-canvas);
}
.hp-home-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.2rem);
  border-radius: 34px;
  background: #e2ebe4;
}
.hp-home-testimonial blockquote {
  max-width: 1100px;
  margin: 0;
  color: var(--hp-ink);
  font-size: clamp(2.3rem, 4.4vw, 5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.062em;
}
.hp-home-testimonial p {
  margin: 2rem 0 0;
  color: var(--hp-ink);
  font-size: 0.88rem;
}
.hp-home-testimonial p span {
  color: #687a73;
}
.hp-home-testimonial-controls {
  display: flex;
  gap: 0.55rem;
}
.hp-home-testimonial-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--hp-ink);
  border: 1px solid rgba(23, 52, 45, 0.15);
  border-radius: 50%;
  background: transparent;
  transition:
    transform var(--hp-transition),
    color var(--hp-transition),
    background var(--hp-transition);
}
.hp-home-testimonial-controls button:last-child {
  color: #fff;
  background: var(--hp-ink);
}
.hp-home-testimonial-controls button:hover {
  transform: scale(1.05);
}

.hp-home-cta {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 0.75rem;
  padding: clamp(2.2rem, 5vw, 4.2rem);
  color: #fff;
  border-radius: 34px;
  background: #e36548;
}

.hp-home-cta > p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}
.hp-home-cta > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}
.hp-home-cta h2 {
  max-width: 1050px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(3.6rem, 6.5vw, 7rem);
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -0.077em;
}
.hp-home-cta .hp-home-button {
  flex: 0 0 auto;
}

[data-hp-reveal].is-visible {
  animation: hpHomeReveal 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hpHomeMarquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes hpHomeReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hp-home-hero {
    min-height: 0;
    padding-top: 90px;
  }
  .hp-home-hero-grid {
    grid-template-columns: 1fr;
  }
  .hp-home-hero-copy {
    max-width: 780px;
  }
  .hp-home-hero-visual {
    max-width: none;
    justify-self: stretch;
  }
  .hp-home-care-heading {
    grid-template-columns: 1fr;
  }
  .hp-home-care-heading > p {
    justify-self: start;
  }
  .hp-home-bento-profile,
  .hp-home-bento-custom {
    grid-column: span 12;
  }
  .hp-home-safety-grid {
    grid-template-columns: 1fr;
  }
  .hp-home-safety-heading {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .hp-home-shell {
    width: min(100% - 32px, 1440px);
  }
  .hp-home-hero {
    padding: 64px 0 88px;
  }
  .hp-home-hero-grid {
    gap: 3.2rem;
  }
  .hp-home-hero-copy h1 {
    margin-top: 1.4rem;
    font-size: clamp(3.35rem, 15vw, 4.3rem);
  }
  .hp-home-lead {
    margin-top: 1.6rem;
    font-size: 1rem;
  }
  .hp-home-actions {
    display: grid;
  }
  .hp-home-button {
    width: 100%;
  }
  .hp-home-hero-media {
    /*
     * La portada móvil debe respetar el recorte guardado por el administrador.
     * El alto lo aporta la imagen activa, en lugar de forzarla dentro de un
     * cuadro que volvería a cortar sus laterales con object-fit: cover.
     */
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 29px;
    transform: none;
  }
  .hp-home-hero-media #portadasEscritorio {
    display: none;
  }
  .hp-home-hero-media #portadasMovil {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .hp-home-hero-media .hp-slide-mobile {
    display: block;
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .hp-home-hero-media .hp-slide-mobile.is-active {
    position: relative;
    inset: auto;
    height: auto;
  }
  .hp-home-hero-media .hp-slide-mobile .hp-campaign-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
    animation: none;
  }
  .hp-home-hero-media:hover .hp-slide-mobile.is-active {
    transform: none;
  }
  .hp-home-hero-note {
    bottom: -2rem;
    left: 1.2rem;
    max-width: 13.5rem;
  }
  .hp-home-marquee {
    padding-block: 1rem;
  }
  .hp-home-catalog,
  .hp-home-care,
  .hp-home-safety,
  .hp-home-closing {
    padding-top: 7rem !important;
    padding-bottom: 7.5rem !important;
  }
  .hp-home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 3rem;
  }
  .hp-home-section-heading h2,
  .hp-home-care-heading h2,
  .hp-home-safety-heading h2 {
    font-size: clamp(3rem, 13vw, 4rem);
  }
  .hp-home-product-grid {
    --bs-gutter-y: 3rem;
  }
  .hp-home-care-heading {
    margin-bottom: 3rem;
  }
  .hp-home-bento {
    grid-template-columns: 1fr;
  }
  .hp-home-bento-profile,
  .hp-home-bento-custom,
  .hp-home-bento-dark,
  .hp-home-bento-weight,
  .hp-home-bento-product {
    min-height: 320px;
    grid-column: 1;
  }
  .hp-home-bento-profile {
    min-height: 430px;
  }
  .hp-home-bento-copy h3,
  .hp-home-bento-custom h3 {
    font-size: 2.8rem;
  }
  .hp-home-profile-preview {
    right: -1.6rem;
    width: 210px;
    height: 270px;
  }
  .hp-home-safety-stack {
    gap: 1.1rem;
  }
  .hp-home-safety-card,
  .hp-home-safety-card:nth-child(2),
  .hp-home-safety-card:nth-child(3) {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    padding: 1.5rem;
    border-radius: 28px;
  }
  .hp-home-safety-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .hp-home-testimonial {
    grid-template-columns: 1fr;
    padding: 2rem;
    border-radius: 28px;
  }
  .hp-home-testimonial blockquote {
    font-size: 2.45rem;
  }
  .hp-home-cta {
    min-height: 500px;
    padding: 2rem;
    border-radius: 28px;
  }
  .hp-home-cta > div {
    align-items: stretch;
    flex-direction: column;
  }
  .hp-home-cta h2 {
    font-size: clamp(3.5rem, 15vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-home-marquee-track {
    animation: none;
  }
  [data-hp-reveal].is-visible {
    animation: none;
  }
}

/* Fondo de las imágenes igual al fondo de la página */
.hp-home-catalog .product-card .img-container,
.hp-home-catalog .product-card .img-container::before,
.hp-home-catalog .product-card .hp-product-image-link {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Mantener transparencia del PNG */
.hp-home-catalog .product-card .img-container img {
  background: transparent !important;
}

/* ==========================================================================
   Neutralización final: fondo blanco y superficies blanco-gris
   ========================================================================== */

html,
body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

body::before,
body::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

body .hp-site-navbar.navbar-flotante {
  background: rgba(255, 255, 255, 0.94) !important;
}

body .tarjeta-producto,
body .product-detail-container,
body .detail-container {
  border-color: #e9edf1 !important;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fbfbfc 52%,
    #f0f2f4 100%
  ) !important;
  background-color: #ffffff !important;
  box-shadow:
    0 30px 75px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body .tarjeta-producto .visor-principal,
body .tarjeta-producto .seccion-info,
body .tarjeta-producto .hp-detail-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body .main-image-container,
body .image-gallery {
  background: radial-gradient(
    circle at 50% 42%,
    #ffffff 0%,
    #f8fafc 56%,
    #eef1f3 100%
  ) !important;
}

body .visor-principal img {
  background: transparent !important;
  mix-blend-mode: normal !important;
}

body .tarjeta-descripcion {
  border-color: #e9edf1 !important;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fafbfc 58%,
    #eef1f4 100%
  ) !important;
}

body .card,
body .form-card,
body .form-section,
body .profile-card,
body .tarjeta-perfil,
body .checkout-card,
body .admin-card,
body .table-container,
body .vet-card {
  background: #ffffff !important;
}
