/* Ofiplace Pro — Premium B2B (bronce/oro, confianza, autoridad) + tienda */

:root {
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --bg: #faf6f0;
  --fg: #1c1917;
  --muted: #78716c;
  --card: #ffffff;
  --border: rgba(28, 25, 23, 0.12);
  --accent: #a16207;
  --accent-bright: #ca8a04;
  --accent-soft: rgba(161, 98, 7, 0.12);
  --accent-glow: rgba(202, 138, 4, 0.35);
  --header-h: 4.25rem;
  --shadow-soft: 0 20px 50px rgba(28, 25, 23, 0.08);
}

html.dark {
  --bg: #0c0b09;
  --fg: #faf6f0;
  --muted: #a8a29e;
  --card: #161311;
  --border: rgba(250, 246, 240, 0.1);
  --accent: #eab308;
  --accent-bright: #facc15;
  --accent-soft: rgba(234, 179, 8, 0.15);
  --accent-glow: rgba(250, 204, 21, 0.25);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  padding-top: var(--header-h);
}
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}
/* Inicio (index): sin padding-top del header + contener ancho (hero/landing suelen desbordar en móvil) */
body.page-home {
  padding-top: 0;
  overflow-x: clip;
  max-width: 100%;
}
@supports not (overflow: clip) {
  body.page-home {
    overflow-x: hidden;
  }
}
body.page-home .site-main.site-main--landing {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}
@supports not (overflow: clip) {
  body.page-home .site-main.site-main--landing {
    overflow-x: hidden;
  }
}
body.page-home .site-header__inner {
  max-width: 100%;
}
body.page-home .logo.logo--with-mark {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
body.page-home .logo__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-home .nav__toggle {
  flex-shrink: 0;
}

.font-display,
h1, h2, h3 { font-family: var(--font-display); }

/* ——— Cabecera fija ——— */
.site-header.site-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
@supports not (overflow: clip) {
  .site-header.site-header--fixed {
    overflow-x: hidden;
  }
}
.site-header--fixed.site-header--solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
html.dark .site-header--fixed.site-header--solid {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

/* Interior: cabecera siempre legible (sin hero a pantalla) */
body:not(.page-home) .site-header--fixed {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 80rem;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
  font-size: 1.05rem;
}
.logo--with-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.logo__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Logo: el PNG suele traer lienzo cuadrado blanco alrededor de la esfera; recorte circular + zoom suave */
.logo__mark-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__mark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Recorta marco blanco del PNG; más zoom = esfera/texto más grandes dentro del círculo */
  transform: scale(1.32);
  transform-origin: center center;
}
.logo__text span { color: var(--accent); }

.nav--desktop {
  display: none;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}
.nav--desktop a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.page-home .site-header--fixed:not(.site-header--solid) .nav--desktop a {
  color: rgba(255, 255, 255, 0.82);
}
.page-home .site-header--fixed:not(.site-header--solid) .logo {
  color: #fff;
}
.page-home .site-header--fixed:not(.site-header--solid) .logo__text span {
  color: var(--accent-bright);
}
.nav--desktop a:hover { color: var(--accent); }
.ofi-nav-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}
.ofi-nav-icon > i {
  font-size: 0.88em;
  opacity: 0.92;
  width: 1.15em;
  text-align: center;
  flex-shrink: 0;
}
.nav-drawer .ofi-nav-icon {
  display: flex;
}
.btn-tema.ofi-nav-icon {
  gap: 0.35rem;
}
.nav--desktop .ofi-nav-icon .ofi-cart-badge {
  margin-left: 0.15rem;
}
.nav__admin { opacity: 0.75; font-size: 0.78rem !important; }

/* Navegación cuando el administrador tiene sesión */
.nav--admin {
  gap: 0.35rem 0.65rem;
}
.nav--admin a {
  font-size: 0.82rem !important;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .nav--desktop.nav--admin {
    display: none;
  }
}

/* ——— Login admin: fondo y tarjeta cristal esmerilado (sin estirar a toda la pantalla) ——— */
body.admin-login-page .site-main {
  display: block;
  padding: 1.25rem 1.25rem 2rem;
  margin: 0 auto;
  max-width: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(161, 98, 7, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(44, 36, 22, 0.06), transparent),
    var(--bg);
}
html.dark body.admin-login-page .site-main {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(234, 179, 8, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(250, 246, 240, 0.04), transparent),
    var(--bg);
}
.admin-login-shell {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}
.admin-login-card {
  border-radius: 1.35rem;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--card) 72%, transparent);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow:
    0 4px 24px rgba(28, 25, 23, 0.06),
    0 24px 48px rgba(28, 25, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
html.dark .admin-login-card {
  background: color-mix(in srgb, var(--card) 68%, transparent);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.admin-login-card .admin-login-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.admin-login-card .admin-login-sub {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}
.admin-login-card .admin-login-divider {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
}
.admin-login-card .admin-login-divider a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.admin-login-card .admin-login-divider a:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .nav--desktop { display: flex; }
  .nav__toggle { display: none !important; }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  cursor: pointer;
}
.page-home .site-header--fixed:not(.site-header--solid) .nav__toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 1px;
}
.page-home .site-header--fixed:not(.site-header--solid) .nav__toggle span {
  background: #fff;
}

.nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.nav-drawer.is-open { display: block; }
body.nav-open {
  overflow: hidden;
}
.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 80rem;
  margin: 0 auto;
}
.nav-drawer a {
  padding: 0.65rem 0.75rem;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
}
.nav-drawer a:hover { background: var(--accent-soft); color: var(--accent); }

.badge {
  display: inline-flex;
  min-width: 1rem;
  padding: 0 0.25rem;
  justify-content: center;
  font-size: 0.65rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  vertical-align: super;
}

.btn-theme {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.page-home .site-header--fixed:not(.site-header--solid) .btn-theme {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}
.btn-theme:hover { border-color: var(--accent); color: var(--accent); }

/* ——— Main ——— */
.site-main {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.site-main--landing {
  max-width: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* ——— Botones ——— */
.btn-primary {
  display: inline-block;
  margin-top: 0;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  opacity: 0.96;
}
.btn-primary--lg {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
}
.btn-primary.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}
body:not(.page-home) .btn-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--fg);
}
body:not(.page-home) .btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Anclas con cabecera fija */
.landing-premium section[id],
#contacto-footer {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Landing: translateX en .reveal agranda el scrollWidth en móvil (franja blanca + hamburguesa “fuera”) */
.landing-premium {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  .landing-premium {
    overflow-x: hidden;
  }
}

/* ——— Landing premium ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}
@media (max-width: 768px) {
  .landing-premium .reveal--left,
  .landing-premium .reveal--right {
    transform: translateY(32px);
  }
}

.opi-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.opi-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-out;
  pointer-events: none;
}
.opi-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.opi-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.03;
}
@media (max-width: 768px) {
  .opi-hero__slide img {
    scale: 1;
  }
}
.opi-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 11, 9, 0.45) 0%,
    rgba(12, 11, 9, 0.65) 45%,
    rgba(12, 11, 9, 0.92) 100%
  );
  pointer-events: none;
}
.opi-hero__content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  padding: 2rem 1.25rem 5rem;
  text-align: center;
  margin: 0 auto;
}
.opi-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.75rem;
}
.opi-eyebrow--on-dark { color: #fde68a; }
.opi-hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}
.opi-hero__title em {
  font-style: italic;
  color: #fde68a;
}
.opi-hero__lead {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.75rem;
  line-height: 1.65;
}
.opi-hero__lead strong { color: #fff; }
.opi-hero__lead--accent {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
}
.opi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.opi-hero__dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}
.opi-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s ease;
}
.opi-hero__dot.is-active {
  width: 28px;
  border-radius: 6px;
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}
.opi-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.85;
}
.opi-scroll-hint span {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: opi-scroll 1.8s ease-in-out infinite;
}
@keyframes opi-scroll {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(10px); }
}

.opi-strip {
  max-width: 72rem;
  margin: -2rem auto 0;
  position: relative;
  z-index: 4;
  padding: 0 1rem;
}
.opi-strip__list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.opi-strip__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.opi-strip__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
}

.opi-split-section {
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
}
.opi-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .opi-split { grid-template-columns: 1fr 1.05fr; }
}
.opi-frame {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.opi-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.opi-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.12;
}
.opi-prose {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1rem;
  line-height: 1.7;
}
.opi-prose strong { color: var(--fg); }

.opi-panel {
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  background: color-mix(in srgb, var(--card) 55%, var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.opi-panel__inner {
  max-width: 80rem;
  margin: 0 auto;
}
.opi-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.opi-service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.opi-card {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}
.opi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.opi-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.opi-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.opi-card:hover .opi-card__media img { transform: scale(1.06); }
.opi-card__tag {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
}
.opi-card__body { padding: 1.25rem 1.2rem 1.4rem; }
.opi-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}
.opi-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.opi-showcase {
  position: relative;
  margin-top: 3rem;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 200px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.opi-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.opi-showcase__slide.is-active { opacity: 1; z-index: 1; }
.opi-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opi-showcase__cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 11, 9, 0.85) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.opi-showcase__caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.opi-parallax {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem;
  background-image: var(--opi-parallax-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.opi-parallax--short { padding: clamp(3rem, 8vw, 4.5rem) 1.5rem; }
.opi-parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 9, 0.82);
}
.opi-parallax__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.opi-parallax__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.opi-parallax__title--solo { margin: 0; }
.opi-parallax__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}

.opi-mv-wrap {
  padding: clamp(3.5rem, 8vw, 5rem) 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
}
.opi-mv-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .opi-mv-grid { grid-template-columns: 1fr 1fr; }
}
.opi-mv-card {
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.opi-mv-card--gold {
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--accent-soft) 100%, var(--card)) 0%,
    var(--card) 55%
  );
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.opi-mv-card__h {
  font-size: 1.65rem;
  margin: 0 0 0.85rem;
}
.opi-mv-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.opi-mv-card p strong { color: var(--fg); }

.opi-values-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
}
.opi-values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
  margin-top: 2rem;
}
.opi-value {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.35rem 1.2rem 1.35rem 1.35rem;
  background: var(--card);
  position: relative;
  overflow: hidden;
}
.opi-value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-bright));
}
.opi-value__n {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.opi-value h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.opi-value p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

.opi-cta {
  padding: clamp(3.5rem, 8vw, 5rem) 1.25rem;
  margin: 0 1rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-soft) 100%, var(--card)) 0%,
    var(--card) 50%
  );
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.opi-cta__inner { text-align: center; }
.opi-cta__title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin: 0 0 0.5rem;
}
.opi-cta__text {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* ——— Footer (pegado al fondo del viewport si el contenido es corto) ——— */
.site-footer {
  flex-shrink: 0;
  width: 100%;
}
.site-footer--rich {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--fg) 4%, var(--bg));
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 0;
  text-align: left;
}
.site-footer__grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer__name {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.site-footer__tagline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.site-footer__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 22rem;
}
.site-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 1rem;
}
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer__links li { margin-bottom: 0.5rem; }
.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--accent); }
.ofi-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.ofi-footer-link > i {
  width: 1.15em;
  flex-shrink: 0;
  opacity: 0.9;
  color: var(--accent);
}
.site-footer__links a.ofi-footer-link:hover > i {
  color: var(--accent-bright);
}
.site-footer__hint {
  font-size: 0.75rem;
  opacity: 0.75;
}
.site-footer__hours {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.site-footer__bottom {
  max-width: 80rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.site-footer__bottom p { margin: 0; }

/* ——— Tienda / formularios (existente) ——— */
.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
}
.btn-with-icon > i {
  font-size: 0.92em;
  opacity: 0.95;
}
.tienda-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.tienda-head__h1 {
  font-size: 1.75rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tienda-head__h1 > i {
  color: var(--accent);
  font-size: 0.85em;
}
.tienda-head__lead {
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}
.tienda-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tienda-head__actions .btn-theme {
  text-decoration: none;
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* Tienda: más ancho para sidebar + rejilla */
.page-tienda .site-main {
  max-width: min(92rem, 100%);
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.tienda-layout {
  display: grid;
  grid-template-columns: minmax(15.5rem, 18.5rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
  margin-top: 1.5rem;
  min-width: 0;
}
@media (max-width: 900px) {
  .tienda-layout {
    grid-template-columns: 1fr;
  }
}

/* Panel lateral — estilo “vitrina” / futurista (sticky solo en escritorio: en móvil tapaba las tarjetas) */
.tienda-filters {
  position: relative;
  align-self: start;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    color-mix(in srgb, var(--border) 80%, transparent) 40%,
    color-mix(in srgb, var(--accent) 35%, transparent) 100%
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent),
    0 20px 50px -20px color-mix(in srgb, var(--fg) 18%, transparent),
    0 4px 24px color-mix(in srgb, var(--accent) 8%, transparent);
}
@media (min-width: 901px) {
  .tienda-filters {
    position: sticky;
    top: calc(var(--header-h, 4rem) + 0.85rem);
  }
}
.tienda-filters__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    120% 80% at 10% 0%,
    color-mix(in srgb, var(--accent) 22%, transparent),
    transparent 55%
  );
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}
.tienda-filters__inner {
  position: relative;
  z-index: 1;
  border-radius: calc(1.25rem - 1px);
  padding: 1.25rem 1.2rem 1.35rem;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html.dark .tienda-filters__inner {
  background: color-mix(in srgb, var(--card) 88%, #0a0908);
}
.tienda-filters__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, var(--muted));
}
.tienda-filters__eyebrow > i {
  font-size: 0.75rem;
  opacity: 0.9;
}
.tienda-filters__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.tienda-filters__hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 1.15rem;
}
.tienda-filters__form {
  margin: 0;
}
.tienda-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.tienda-filters__item {
  position: relative;
  margin: 0;
}
.tienda-filters__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tienda-filters__label {
  display: block;
  cursor: pointer;
  margin: 0;
  padding: 0.55rem 0.75rem 0.55rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid color-mix(in srgb, var(--border) 90%, var(--accent));
  background: color-mix(in srgb, var(--bg) 40%, var(--card));
  color: var(--fg);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}
.tienda-filters__item:hover .tienda-filters__label {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
}
.tienda-filters__input:checked + .tienda-filters__label {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--border));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 18%, var(--card)) 0%,
    color-mix(in srgb, var(--accent) 6%, var(--card)) 100%
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
}
html.dark .tienda-filters__input:checked + .tienda-filters__label {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
}
.tienda-filters__item:has(.tienda-filters__input:focus-visible) .tienda-filters__label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tienda-filters__chip-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.tienda-filters__chip-text::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--border) 80%, transparent);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.tienda-filters__input:checked + .tienda-filters__label .tienda-filters__chip-text::after {
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.tienda-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
}
.tienda-filters__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.tienda-filters__btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}
.tienda-filters__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 45%, transparent);
}
.tienda-filters__btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.tienda-filters__btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tienda-main {
  min-width: 0;
}
.tienda-main .grid-products {
  margin-top: 0;
}
.card-product__cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0.4rem 0 0;
}
.tienda-empty {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  margin-top: 2rem;
  font-size: 0.95rem;
}
.tienda-empty > i {
  font-size: 1.35rem;
  color: var(--accent);
  opacity: 0.85;
}
.card-product__no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-product__no-img > i {
  font-size: 1.75rem;
  opacity: 0.5;
}
.grid-products {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  margin-top: 2rem;
}
.card-product {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.card-product__media {
  aspect-ratio: 4/3;
  background: color-mix(in srgb, var(--border) 50%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
}
.card-product__media img { width: 100%; height: 100%; object-fit: cover; }
.tag-stock-bajo {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #f59e0b;
  color: #111;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.card-product__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-top: 0.5rem; }
.price-oferta { font-size: 1.5rem; font-weight: 600; color: var(--accent); }
.price-original {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
}
.btn-add {
  margin-top: auto;
  width: 100%;
  padding: 0.6rem;
  border-radius: 999px;
  border: none;
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
html.dark .btn-add { background: #fff; color: #0c0b09; }
.btn-add:disabled { opacity: 0.4; cursor: not-allowed; }

.form-stack label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }
.form-stack input, .form-stack textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
}
.form-stack select,
.form-stack__select {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 2.5rem 0.5rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.45rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a8b76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html.dark .form-stack select,
html.dark .form-stack__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4a574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form-stack select:hover,
.form-stack__select:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.form-stack select:focus,
.form-stack__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.alert { padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 1rem; }
.alert-error { background: color-mix(in srgb, #ef4444 15%, transparent); color: #b91c1c; }
html.dark .alert-error { color: #fecaca; }
.alert-ok { background: color-mix(in srgb, #22c55e 15%, transparent); color: #166534; }

.carrito-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.carrito-row__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 88%, var(--muted));
}
.carrito-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carrito-row__thumb--empty {
  background: var(--border);
}
.carrito-row__main {
  flex: 1 1 10rem;
  min-width: 0;
}
.carrito-row__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.carrito-row__actions input {
  width: 4rem;
  padding: 0.35rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
}
.carrito-row__actions button.carrito-row__remove {
  border: none;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.25rem 0.35rem;
  border-radius: 0.4rem;
}
.carrito-row__actions button.carrito-row__remove:hover {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  text-decoration: none;
}
.carrito-page-title {
  font-size: 1.75rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carrito-page-title > i {
  color: var(--accent);
  font-size: 0.9em;
}
.carrito-empty-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  line-height: 1.5;
}
.carrito-empty-msg > i {
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.carrito-empty-msg__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.carrito-empty-msg__link:hover {
  text-decoration: underline;
}
.muted { color: var(--muted); }

.admin-imagen-field {
  position: relative;
  margin-top: 0.75rem;
}
.admin-imagen-field__title {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}
.admin-imagen-field__hint {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  margin-bottom: 0.35rem;
}
.admin-imagen-field__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-dropzone {
  margin-top: 0.35rem;
  padding: 1.25rem 1rem;
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--card) 92%, var(--muted));
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.admin-dropzone:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.admin-dropzone--active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.admin-dropzone__text {
  font-size: 0.85rem;
  color: var(--muted);
}
.admin-dropzone__filename {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg);
  word-break: break-all;
}

/* ——— Widget contacto estilo chat (WhatsApp) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.ofi-wa-open {
  overflow: hidden;
}
.ofi-sp-launcher[hidden] {
  display: none !important;
}

/* Flotante Facebook (encima del botón WhatsApp) */
.ofi-fb-launcher[hidden] {
  display: none !important;
}
.ofi-fb-launcher {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 3.35rem + 0.65rem);
  z-index: 2147483646;
  width: 3.35rem;
  height: 3.35rem;
}
.ofi-fb-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.45);
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.ofi-fb-float:hover {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.ofi-wa-float__icon[hidden] {
  display: none !important;
}
.ofi-wa-float[data-ofi-wa-state="open"] {
  background: #128c7e !important;
}
.ofi-wa-layer[hidden] {
  display: none !important;
}
.ofi-wa-layer:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  pointer-events: none;
}
.ofi-wa-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  pointer-events: auto;
  cursor: pointer;
}
.ofi-wa-panel {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + 3.35rem + 0.65rem + 3.35rem + 0.75rem + env(safe-area-inset-bottom, 0px));
  width: min(22.5rem, calc(100% - 2rem));
  max-height: min(32rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.18);
  animation: ofi-wa-panel-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ofi-wa-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.ofi-wa-panel__head {
  position: relative;
  flex-shrink: 0;
  padding: 1.15rem 2.75rem 1rem 1.15rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ofi-wa-panel__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: #111b21;
  letter-spacing: -0.02em;
}
.ofi-wa-panel__subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #54656f;
}
.ofi-wa-panel__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #54656f;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.ofi-wa-panel__close:hover {
  background: rgba(0, 0, 0, 0.09);
  color: #111;
}
.ofi-wa-panel__body {
  flex: 1;
  min-height: 7.5rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 1rem 1rem 0.75rem;
  background-color: #e5ddd5;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 11px,
      rgba(0, 0, 0, 0.018) 11px,
      rgba(0, 0, 0, 0.018) 22px
    );
}
.ofi-wa-bubble {
  max-width: 95%;
  padding: 0.55rem 0.65rem 0.45rem 0.75rem;
  background: #fff;
  border-radius: 0 0.65rem 0.65rem 0.65rem;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}
.ofi-wa-bubble__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #111b21;
}
.ofi-wa-bubble__time {
  display: block;
  margin-top: 0.2rem;
  text-align: right;
  font-size: 0.6875rem;
  color: #667781;
}
.ofi-wa-panel__foot {
  flex-shrink: 0;
  background: #f0f2f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ofi-wa-compose {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem 0.5rem;
}
.ofi-wa-compose__input {
  flex: 1;
  min-height: 2.65rem;
  max-height: 7rem;
  padding: 0.6rem 1rem;
  border: 1px solid #e9edef;
  border-radius: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.35;
  resize: none;
  background: #fff;
  color: #111b21;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ofi-wa-compose__input::placeholder {
  color: #8696a0;
}
.ofi-wa-compose__input:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}
.ofi-wa-compose__send {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.ofi-wa-compose__send:hover {
  filter: brightness(1.06);
}
.ofi-wa-compose__send:active {
  transform: scale(0.96);
}
.ofi-wa-panel__note {
  margin: 0;
  padding: 0 0.75rem 0.65rem;
  font-size: 0.6875rem;
  text-align: center;
  color: #8696a0;
}
.ofi-wa-float:hover {
  transform: scale(1.05);
}
@media (max-width: 380px) {
  .ofi-wa-panel {
    width: calc(100% - 1.25rem);
    right: 0.625rem;
    bottom: calc(0.75rem + 3.35rem + 0.65rem + 3.35rem + env(safe-area-inset-bottom, 0px));
  }
}
@media print {
  .ofi-sp-launcher,
  .ofi-fb-launcher,
  .ofi-wa-layer {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .opi-scroll-hint span { animation: none; }
  .opi-card:hover { transform: none; }
  .opi-parallax { background-attachment: scroll; }
  .ofi-wa-panel {
    animation: none;
  }
  .ofi-wa-float:hover {
    transform: none;
  }
}

/* Móvil: parallax fijo puede causar saltos */
@media (max-width: 768px) {
  .opi-parallax { background-attachment: scroll; }
}

/* Override visual para enlaces SEO de tienda */
.tienda-head__lead a,
.tienda-head__lead a:visited {
  color: var(--accent);
  text-decoration: none !important;
  font-weight: 600;
}
.tienda-head__lead a:hover,
.tienda-head__lead a:focus-visible {
  color: var(--accent-bright);
}
.tienda-filters__item .ofi-footer-link,
.tienda-filters__item .ofi-footer-link:visited {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding-left: 0.2rem;
  color: color-mix(in srgb, var(--accent) 82%, var(--muted));
  text-decoration: none !important;
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}
.tienda-filters__item .ofi-footer-link:hover,
.tienda-filters__item .ofi-footer-link:focus-visible {
  color: var(--accent-bright);
  transform: translateX(2px);
}
.card-product__cat a,
.card-product__cat a:visited {
  color: inherit;
  text-decoration: none !important;
}
.card-product__cat a:hover,
.card-product__cat a:focus-visible {
  color: var(--accent-bright);
}
.card-product__media > a,
.card-product__media > a:visited {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
.card-product__body h2 a,
.card-product__body h2 a:visited {
  color: var(--fg);
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.card-product__body h2 a:hover,
.card-product__body h2 a:focus-visible {
  color: var(--accent);
}