/* ============================================================
   ÓPTICA FARMAPAZ — Catálogo / Hero Frutiger Aero 2026
   Se carga SOLO en la plantilla page-optica.php
   ============================================================ */

.optica-page {
    --op-blue: var(--brand-blue, #09146E);
    --op-blue-rgb: 9 20 110;
    --op-yellow: var(--brand-yellow, #FEAB0D);
    --op-yellow-rgb: 254 171 13;
    --op-red: var(--brand-red, #FF1A27);
    --op-ink: #0f172a;
    --op-muted: #64748b;
    --op-line: rgb(var(--op-blue-rgb) / 0.08);
    --op-ease: cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f6f8fd;
    color: var(--op-ink);
    overflow: clip;
}

.optica-page *,
.optica-page *::before,
.optica-page *::after {
    box-sizing: border-box;
}

.optica-page img {
    max-width: 100%;
    display: block;
}

.optica-page .wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HERO
   ============================================================ */

.op-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--op-line);
    background:
        radial-gradient(ellipse 52% 62% at 8% 14%, rgb(var(--op-yellow-rgb) / 0.13), transparent 66%),
        radial-gradient(ellipse 46% 58% at 94% 8%, rgb(var(--op-yellow-rgb) / 0.18), transparent 64%),
        radial-gradient(ellipse 72% 70% at 72% 92%, rgb(var(--op-blue-rgb) / 0.11), transparent 68%),
        linear-gradient(118deg, #ffffff 0%, #f5f9ff 40%, #fdf9ee 72%, #fdf8ec 100%);
}

.op-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(var(--op-blue-rgb) / 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgb(var(--op-blue-rgb) / 0.032) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 78% 68% at 50% 48%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 48%, #000 0%, transparent 78%);
}

.op-hero::after {
    content: '';
    position: absolute;
    top: -46%;
    right: 2%;
    z-index: 0;
    width: 48%;
    height: 190%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
    filter: blur(26px);
    transform: rotate(18deg);
    opacity: 0.75;
}

.op-hero__beam {
    position: absolute;
    top: -30%;
    left: 26%;
    z-index: 0;
    width: 26%;
    height: 160%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.5), transparent);
    filter: blur(34px);
    transform: rotate(24deg);
    animation: opBeam 12s ease-in-out infinite alternate;
}

.op-hero__in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    align-items: center;
    gap: 44px;
    min-height: 560px;
    padding-top: 52px;
    padding-bottom: 56px;
}

.op-hero__copy {
    max-width: 560px;
}

.op-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 10px 26px rgb(var(--op-blue-rgb) / 0.08), inset 0 1px 0 #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--op-blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.op-hero__tag-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--op-yellow);
    box-shadow: 0 0 0 4px rgb(var(--op-yellow-rgb) / 0.18);
}

.op-hero__tag-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgb(var(--op-yellow-rgb) / 0.55);
    animation: opPulse 2.4s ease-out infinite;
}

.op-hero h1 {
    margin: 20px 0 0;
    color: var(--op-blue);
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.99;
}

.op-hero h1 em {
    font-style: normal;
    color: var(--op-blue);
}

.op-hero__free {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.op-hero__free::after {
    content: '';
    position: absolute;
    left: -2%;
    right: -4%;
    bottom: 4%;
    z-index: -1;
    height: 30%;
    border-radius: 6px;
    background: linear-gradient(90deg, rgb(var(--op-yellow-rgb) / 0.48), rgb(var(--op-yellow-rgb) / 0.12));
    transform: skewX(-8deg);
}

.op-hero h1 small {
    display: block;
    max-width: 440px;
    margin-top: 17px;
    color: var(--op-muted);
    font-size: clamp(14px, 1.35vw, 17px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.op-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.op-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 25px;
    border-radius: 999px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s var(--op-ease), box-shadow 0.35s var(--op-ease), background 0.35s var(--op-ease);
}

.op-btn::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -70%;
    width: 46%;
    height: 120%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s var(--op-ease);
}

.op-btn:hover::after {
    left: 125%;
}

.op-btn svg {
    flex: none;
    transition: transform 0.35s var(--op-ease);
}

.op-btn:hover svg {
    transform: translateX(2px);
}

.op-btn--primary {
    background: linear-gradient(135deg, #ffd45a 0%, var(--op-yellow) 54%, #e89a00 100%);
    color: var(--op-blue);
    box-shadow: 0 14px 30px rgb(var(--op-yellow-rgb) / 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.op-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 38px rgb(var(--op-yellow-rgb) / 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.op-btn--whatsapp {
    background: linear-gradient(135deg, #3ee27a 0%, #25D366 52%, #1eb958 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.op-btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 38px rgba(37, 211, 102, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.op-btn--glass {
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--op-blue);
}

.op-btn--glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 26px rgb(var(--op-blue-rgb) / 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.op-btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 24px rgb(var(--op-blue-rgb) / 0.07), inset 0 1px 0 #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--op-blue);
}

.op-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgb(var(--op-yellow-rgb) / 0.6);
    box-shadow: 0 16px 32px rgb(var(--op-blue-rgb) / 0.11), inset 0 1px 0 #fff;
}

.op-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid rgb(var(--op-blue-rgb) / 0.07);
}

.op-hero__meta div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--op-muted);
    font-size: 11.5px;
    font-weight: 600;
}

.op-hero__meta svg {
    color: var(--op-blue);
}

/* ---------- Escenario 3D ---------- */

.op-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
    margin-left: auto;
    padding-bottom: 54px;
    perspective: 1500px;
}

.op-stage__aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(560px, 106%);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 42%),
        radial-gradient(circle at 60% 72%, rgb(var(--op-yellow-rgb) / 0.22), transparent 56%),
        radial-gradient(circle at 74% 24%, rgb(var(--op-yellow-rgb) / 0.18), transparent 50%),
        radial-gradient(circle at 44% 50%, rgb(var(--op-blue-rgb) / 0.14), transparent 68%);
    filter: blur(8px);
    transform: translate(-50%, -50%);
    animation: opAura 9s ease-in-out infinite alternate;
}

.op-stage__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(432px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.85;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 210deg,
            rgb(var(--op-yellow-rgb) / 0.55),
            rgb(var(--op-blue-rgb) / 0.18),
            rgb(var(--op-yellow-rgb) / 0.75),
            rgba(255, 255, 255, 0.9),
            rgb(var(--op-blue-rgb) / 0.22),
            rgb(var(--op-yellow-rgb) / 0.55));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    filter: drop-shadow(0 0 18px rgb(var(--op-yellow-rgb) / 0.22));
    animation: opSpin 30s linear infinite;
}

.op-stage__ring::before,
.op-stage__ring::after {
    display: none;
}

.op-stage__floor {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 66%;
    height: 48px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(var(--op-blue-rgb) / 0.22), transparent 68%);
    filter: blur(12px);
    transform: translateX(-50%);
}

.op-stage__levitate {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    animation: opFloat 7s ease-in-out infinite;
}

.op-stage__tilt {
    position: relative;
    width: min(430px, 100%);
    height: 420px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.op-hcard {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: 66%;
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    color: var(--op-ink);
    border: 1px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 248, 255, 0.9) 58%, rgba(235, 245, 239, 0.92) 100%);
    box-shadow:
        0 34px 70px rgb(var(--op-blue-rgb) / 0.2),
        0 2px 0 rgba(255, 255, 255, 0.9) inset,
        0 -18px 36px rgba(255, 255, 255, 0.36) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    transition:
        transform 0.95s var(--op-ease),
        opacity 0.7s var(--op-ease),
        filter 0.7s var(--op-ease),
        box-shadow 0.6s var(--op-ease);
    transform-origin: center center;
    will-change: transform, opacity;
}

.op-hcard[data-pos="active"] {
    z-index: 5;
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(0, 0, 86px) rotateY(0deg) rotateX(0deg) scale(1);
}

.op-hcard[data-pos="next"] {
    z-index: 4;
    opacity: 0.9;
    filter: saturate(0.9) brightness(0.98);
    transform: translate(-50%, -50%) translate3d(52%, 4%, 0) rotateY(-24deg) scale(0.84);
}

.op-hcard[data-pos="prev"] {
    z-index: 4;
    opacity: 0.9;
    filter: saturate(0.9) brightness(0.98);
    transform: translate(-50%, -50%) translate3d(-52%, 4%, 0) rotateY(24deg) scale(0.84);
}

.op-hcard[data-pos="next2"] {
    z-index: 3;
    opacity: 0.55;
    filter: saturate(0.8) brightness(0.97) blur(0.6px);
    transform: translate(-50%, -50%) translate3d(90%, 12%, -160px) rotateY(-38deg) scale(0.66);
}

.op-hcard[data-pos="prev2"] {
    z-index: 3;
    opacity: 0.55;
    filter: saturate(0.8) brightness(0.97) blur(0.6px);
    transform: translate(-50%, -50%) translate3d(-90%, 12%, -160px) rotateY(38deg) scale(0.66);
}

.op-hcard[data-pos="active"]:hover {
    box-shadow:
        0 42px 86px rgb(var(--op-blue-rgb) / 0.24),
        0 0 0 1px rgb(var(--op-yellow-rgb) / 0.22),
        0 2px 0 rgba(255, 255, 255, 0.95) inset;
}

.op-hcard__img {
    position: relative;
    flex: 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, #ffffff 0%, #f7fbff 48%, #f4f9ef 78%, #e8f0ff 100%);
}

.op-hcard__img::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.95), transparent 46%),
        linear-gradient(135deg, rgba(254, 171, 13, 0.16), rgba(118, 192, 255, 0.16) 48%, rgba(90, 125, 67, 0.12));
    opacity: 0.9;
}

.op-hcard__img::after {
    content: '';
    position: absolute;
    inset: 9% 12%;
    border-radius: 50%;
    background: conic-gradient(from 160deg,
            rgb(var(--op-yellow-rgb) / 0.16),
            rgb(var(--op-blue-rgb) / 0.08),
            rgb(var(--op-yellow-rgb) / 0.2),
            rgb(var(--op-blue-rgb) / 0.06));
    filter: blur(14px);
    opacity: 0.9;
    pointer-events: none;
    transform: scale(0.94);
    transition: transform 0.8s var(--op-ease), opacity 0.8s var(--op-ease);
}

.op-hcard:hover .op-hcard__img::after {
    transform: scale(1.04);
    opacity: 1;
}

.op-hcard__photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 9% 8% 7%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.6s var(--op-ease), transform 0.9s var(--op-ease);
}

.op-hcard__photo--alt {
    opacity: 0;
    transform: scale(1.06) rotate(1deg);
}

.op-hcard:hover .op-hcard__photo--main {
    opacity: 0;
    transform: scale(0.95) rotate(-0.8deg);
}

.op-hcard:hover .op-hcard__photo--alt {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.op-hcard__shine {
    position: absolute;
    top: 0;
    left: -80%;
    z-index: 2;
    width: 48%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-16deg);
    transition: left 0.9s var(--op-ease);
}

.op-hcard:hover .op-hcard__shine {
    left: 130%;
}

.op-hcard__meta {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px 14px;
    border-top: 1px solid rgb(var(--op-blue-rgb) / 0.07);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.45s var(--op-ease), transform 0.45s var(--op-ease);
}

.op-hcard[data-pos="next"] .op-hcard__meta,
.op-hcard[data-pos="prev"] .op-hcard__meta,
.op-hcard[data-pos="next2"] .op-hcard__meta,
.op-hcard[data-pos="prev2"] .op-hcard__meta {
    opacity: 0;
    transform: translateY(6px);
}

.op-hcard__brand {
    display: block;
    color: var(--op-blue);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.op-hcard__name {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--op-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.op-hcard__price {
    display: block;
    margin-top: 4px;
    color: var(--op-blue);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.op-hcard__price .woocommerce-Price-amount {
    color: inherit;
    font-weight: 800;
}

.op-hcard__price .woocommerce-Price-currencySymbol {
    font-size: 0.82em;
}

.op-hcard__go {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgb(var(--op-blue-rgb) / 0.06);
    color: var(--op-blue);
    transition: background 0.3s var(--op-ease), color 0.3s var(--op-ease), transform 0.3s var(--op-ease);
}

.op-hcard:hover .op-hcard__go {
    background: var(--op-yellow);
    color: var(--op-blue);
    transform: translateX(2px);
}

.op-stage__ui {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 30px rgb(var(--op-blue-rgb) / 0.1), inset 0 1px 0 #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.op-stage__arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--op-blue);
    cursor: pointer;
    transition: background 0.3s var(--op-ease), color 0.3s var(--op-ease), transform 0.3s var(--op-ease);
}

.op-stage__arrow:hover {
    background: var(--op-blue);
    color: #fff;
    transform: scale(1.04);
}

.op-stage__arrow:focus-visible,
.op-stage__dot:focus-visible,
.op-hcard:focus-visible,
.op-brand:focus-visible,
.op-card a:focus-visible {
    outline: 2px solid var(--op-blue);
    outline-offset: 3px;
}

.op-stage__dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.op-stage__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(var(--op-blue-rgb) / 0.18);
    cursor: pointer;
    transition: width 0.35s var(--op-ease), background 0.35s var(--op-ease);
}

.op-stage__dot.is-active {
    width: 20px;
    background: var(--op-yellow);
}

/* Burbujas Frutiger Aero */
.op-bubble {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.24) 28%, rgba(255, 228, 150, 0.28) 58%, rgb(var(--op-blue-rgb) / 0.12) 100%);
    box-shadow:
        inset 0 0 12px rgba(255, 255, 255, 0.82),
        0 14px 28px rgb(var(--op-blue-rgb) / 0.13);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: opBubble 9s ease-in-out infinite;
}

.op-bubble--1 {
    top: 7%;
    left: 1%;
    width: 54px;
    height: 54px;
    animation-delay: -1.2s;
}

.op-bubble--2 {
    top: 18%;
    right: 0;
    width: 24px;
    height: 24px;
    animation-delay: -3.4s;
}

.op-bubble--3 {
    right: 6%;
    bottom: 20%;
    width: 40px;
    height: 40px;
    animation-delay: -5.1s;
}

.op-bubble--4 {
    left: 8%;
    bottom: 14%;
    width: 18px;
    height: 18px;
    animation-delay: -2.6s;
}

.op-bubble--5 {
    top: 2%;
    right: 22%;
    width: 12px;
    height: 12px;
    animation-delay: -6.8s;
}

.op-bubble--6 {
    left: 28%;
    bottom: 3%;
    width: 9px;
    height: 9px;
    animation-delay: -4.3s;
}

/* ============================================================
   CARRUSEL PUBLICITARIO
   ============================================================ */

.op-ads {
    position: relative;
    z-index: 3;
    padding: 26px 0 10px;
    background:
        radial-gradient(circle at 12% 0%, rgb(var(--op-yellow-rgb) / 0.12), transparent 40%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.op-ads__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 5;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.92));
    box-shadow:
        0 20px 48px rgb(var(--op-blue-rgb) / 0.1),
        inset 0 1px 0 #fff;
}

.op-ads__track,
.op-ads__slide {
    position: absolute;
    inset: 0;
}

.op-ads__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    pointer-events: none;
    transition:
        opacity 0.7s var(--op-ease),
        transform 0.95s var(--op-ease),
        visibility 0.7s var(--op-ease);
}

.op-ads__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.op-ads__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.op-ads__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.op-ads__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 8px 22px rgb(var(--op-blue-rgb) / 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--op-blue);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition:
        opacity 0.3s var(--op-ease),
        background 0.3s var(--op-ease),
        box-shadow 0.3s var(--op-ease);
}

.op-ads__stage:hover .op-ads__arrow,
.op-ads__arrow:focus-visible {
    opacity: 1;
}

.op-ads__arrow:hover {
    background: var(--op-yellow);
    box-shadow: 0 10px 26px rgb(var(--op-yellow-rgb) / 0.32);
}

.op-ads__arrow--prev {
    left: 14px;
}

.op-ads__arrow--next {
    right: 14px;
}

.op-ads__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(9, 20, 110, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateX(-50%);
}

.op-ads__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition:
        width 0.3s var(--op-ease),
        background 0.3s var(--op-ease);
}

.op-ads__dot.is-active {
    width: 20px;
    background: var(--op-yellow);
}

/* ============================================================
   FAIXA DE MARCAS
   ============================================================ */

.op-brands {
    position: relative;
    z-index: 3;
    padding: 20px 0 18px;
    border-bottom: 1px solid var(--op-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
    box-shadow: 0 12px 34px rgb(var(--op-blue-rgb) / 0.035);
}

.op-brands__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.op-brands__label {
    color: rgb(var(--op-blue-rgb) / 0.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.op-brands__head-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.op-rail-nav-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.op-rail-nav {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 5px 14px rgb(var(--op-blue-rgb) / 0.09), inset 0 1px 0 #fff;
    color: var(--op-blue);
    cursor: pointer;
    transition:
        background 0.25s var(--op-ease),
        color 0.25s var(--op-ease),
        box-shadow 0.25s var(--op-ease),
        transform 0.25s var(--op-ease);
}

.op-rail-nav:hover {
    background: var(--op-yellow);
    box-shadow: 0 8px 20px rgb(var(--op-yellow-rgb) / 0.28);
    transform: translateY(-1px);
}

.op-rail-nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.op-brands__hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(var(--op-blue-rgb) / 0.34);
    font-size: 10.5px;
    font-weight: 600;
}

.op-brands__all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1.5px solid rgb(var(--op-yellow-rgb) / 0.7);
    color: var(--op-blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.25s var(--op-ease),
        border-color 0.25s var(--op-ease),
        gap 0.25s var(--op-ease);
}

.op-brands__all:hover {
    gap: 9px;
    border-color: var(--op-yellow);
    color: #b77900;
}

.op-brands__all svg {
    flex: none;
}

.op-brands__rail {
    position: relative;
    overflow: hidden;
    padding: 4px 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.op-brands__rail::-webkit-scrollbar {
    display: none;
}

.op-brands__track {
    display: flex;
    gap: 10px;
    width: max-content;
    transform: translate3d(0, 0, 0);
    transition: transform 0.95s var(--op-ease);
    will-change: transform;
}

.op-brands__track.is-resetting {
    transition: none;
}

.op-brands__rail.is-static {
    overflow-x: auto;
    scrollbar-width: none;
}

.op-brands__rail.is-static .op-brands__track {
    transform: none;
    transition: none;
}

.op-brand {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 128px;
    height: 88px;
    padding: 12px 10px 9px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.8));
    box-shadow: 0 7px 18px rgb(var(--op-blue-rgb) / 0.06), inset 0 1px 0 #fff;
    color: var(--op-blue);
    font-family: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.35s var(--op-ease), border-color 0.35s var(--op-ease), box-shadow 0.35s var(--op-ease), background 0.35s var(--op-ease);
}

.op-brand:hover {
    border-color: rgb(var(--op-yellow-rgb) / 0.55);
    box-shadow: 0 14px 28px rgb(var(--op-blue-rgb) / 0.11), 0 0 0 1px rgb(var(--op-yellow-rgb) / 0.12), inset 0 1px 0 #fff;
    transform: translateY(-3px);
}

.op-brand.is-active {
    border-color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(145deg, #ffd45a 0%, var(--op-yellow) 56%, #ee9d00 100%);
    box-shadow: 0 14px 30px rgb(var(--op-yellow-rgb) / 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    color: var(--op-blue);
}

.op-brand__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    padding: 3px 6px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgb(var(--op-blue-rgb) / 0.04);
    color: var(--op-blue);
}

.op-brand.is-active .op-brand__mark {
    background: rgba(255, 255, 255, 0.82);
}

.op-brand__mark img {
    width: auto;
    height: auto;
    max-width: 98px;
    max-height: 30px;
    object-fit: contain;
}

.op-brand__initial {
    color: var(--op-blue);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.op-brand__name {
    overflow: hidden;
    width: 100%;
    color: rgb(var(--op-blue-rgb) / 0.62);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.op-brand.is-active .op-brand__name {
    color: var(--op-blue);
}

.op-brand .n {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgb(var(--op-blue-rgb) / 0.06);
    color: rgb(var(--op-blue-rgb) / 0.52);
    font-size: 8.5px;
    font-weight: 800;
}

.op-brand.is-active .n {
    background: rgba(9, 20, 110, 0.12);
    color: var(--op-blue);
}

/* ============================================================
   TIPOS DE LENTE — ACCESOS RÁPIDOS
   ============================================================ */

.op-types {
    position: relative;
    z-index: 3;
    padding: 2px 0 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #f6f9ff 100%);
}

.op-types--catalog {
    padding: 0 0 18px;
    background: transparent;
}

.op-types__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.op-types__head-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.op-types__label {
    color: rgb(var(--op-blue-rgb) / 0.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.op-types__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--op-blue);
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none;
}

.op-types__all:hover {
    color: #b77900;
}

.op-types__rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 20px), transparent 100%);
}

.op-types__rail::-webkit-scrollbar {
    display: none;
}

.op-type {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.85));
    box-shadow: 0 5px 16px rgb(var(--op-blue-rgb) / 0.06), inset 0 1px 0 #fff;
    color: var(--op-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: transform 0.3s var(--op-ease), border-color 0.3s var(--op-ease), box-shadow 0.3s var(--op-ease);
}

.op-type:hover {
    border-color: rgb(var(--op-yellow-rgb) / 0.55);
    box-shadow: 0 10px 24px rgb(var(--op-blue-rgb) / 0.1), 0 0 0 1px rgb(var(--op-yellow-rgb) / 0.1);
    transform: translateY(-2px);
}

.op-type.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #ffd45a 0%, var(--op-yellow) 56%, #ee9d00 100%);
    box-shadow: 0 9px 22px rgb(var(--op-yellow-rgb) / 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.op-type__icon {
    display: grid;
    place-items: center;
    color: var(--op-blue);
}

.op-type__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgb(var(--op-blue-rgb) / 0.06);
    color: rgb(var(--op-blue-rgb) / 0.52);
    font-size: 8.5px;
    font-weight: 800;
}

.op-type.is-active .op-type__count {
    background: rgba(9, 20, 110, 0.12);
    color: var(--op-blue);
}

/* ============================================================
   CASHEA — PROMO ÓPTICA
   ============================================================ */

.op-cashea {
    position: relative;
    z-index: 3;
    padding: 26px 0 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #f7faff 100%);
}

.op-cashea__card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 28px;
    overflow: hidden;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 26px;
    background: linear-gradient(118deg, #ffe28a 0%, var(--op-yellow) 48%, #f3a000 100%);
    box-shadow:
        0 24px 60px rgb(var(--op-yellow-rgb) / 0.26),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.op-cashea__card::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -60px;
    z-index: -1;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(9, 20, 110, 0.12);
    border-radius: 50%;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.35);
}

.op-cashea__card::after {
    content: '';
    position: absolute;
    bottom: -110px;
    left: 34%;
    z-index: -1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    filter: blur(16px);
}

.op-cashea__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgb(var(--op-blue-rgb) / 0.7);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.op-cashea__eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--op-blue);
}

.op-cashea h2 {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--op-blue);
    font-size: clamp(23px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.op-cashea p {
    max-width: 560px;
    margin: 9px 0 0;
    color: rgb(var(--op-blue-rgb) / 0.72);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.op-cashea__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.op-cashea__actions .op-btn {
    height: 44px;
    font-size: 12px;
}

.op-cashea small {
    display: block;
    margin-top: 13px;
    color: rgb(var(--op-blue-rgb) / 0.52);
    font-size: 10px;
    font-weight: 600;
}

.op-cashea__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 14px 34px rgb(var(--op-blue-rgb) / 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.op-cashea__brand img {
    width: min(260px, 100%);
    height: auto;
    object-fit: contain;
}

.op-cashea__note {
    color: rgb(var(--op-blue-rgb) / 0.62);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ============================================================
   CATÁLOGO
   ============================================================ */

.op-catalog {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 58px 0 74px;
    background:
        radial-gradient(ellipse 40% 32% at 94% 8%, rgb(var(--op-yellow-rgb) / 0.16), transparent 66%),
        radial-gradient(ellipse 34% 30% at 4% 28%, rgb(var(--op-yellow-rgb) / 0.1), transparent 68%),
        radial-gradient(ellipse 42% 36% at 55% 105%, rgb(var(--op-blue-rgb) / 0.08), transparent 70%),
        linear-gradient(180deg, #f7faff 0%, #f4f8ff 42%, #fbf9f0 100%);
}

.op-catalog::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(var(--op-blue-rgb) / 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgb(var(--op-blue-rgb) / 0.026) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 72% 62% at 50% 44%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 44%, #000 0%, transparent 80%);
}

.op-catalog .wrap {
    position: relative;
    z-index: 1;
}

.op-catalog__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}

.op-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--op-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.op-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--op-yellow);
}

.op-catalog__title {
    margin: 9px 0 0;
    color: var(--op-blue);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.op-catalog__count {
    margin: 8px 0 0;
    color: var(--op-muted);
    font-size: 12.5px;
}

.op-catalog__count strong {
    color: var(--op-blue);
}

.op-catalog__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 8px 22px rgb(var(--op-blue-rgb) / 0.06), inset 0 1px 0 #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(var(--op-blue-rgb) / 0.62);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.op-catalog__note svg {
    color: var(--op-blue);
}

.op-grid-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

/* ---------- Tarjeta de producto ---------- */

.op-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    background:
        linear-gradient(166deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.94) 58%, rgba(240, 248, 244, 0.96) 100%);
    box-shadow:
        0 12px 32px rgb(var(--op-blue-rgb) / 0.07),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
    transform: perspective(1000px) translateY(0) rotateX(var(--op-rx, 0deg)) rotateY(var(--op-ry, 0deg));
    transition:
        transform 0.5s var(--op-ease),
        box-shadow 0.5s var(--op-ease),
        border-color 0.5s var(--op-ease);
}

.op-card.is-hidden {
    display: none;
}

.op-card.is-reveal {
    animation: opCardIn 0.45s var(--op-ease) backwards;
}

.op-card:hover {
    border-color: rgb(var(--op-yellow-rgb) / 0.42);
    box-shadow:
        0 26px 58px rgb(var(--op-blue-rgb) / 0.14),
        0 0 0 1px rgb(var(--op-yellow-rgb) / 0.18),
        0 0 34px rgb(var(--op-yellow-rgb) / 0.12),
        0 1px 0 rgba(255, 255, 255, 0.98) inset;
    transform: perspective(1000px) translateY(-6px) rotateX(var(--op-rx, 0deg)) rotateY(var(--op-ry, 0deg));
    will-change: transform;
}

.op-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--op-blue-rgb) / 0.055);
    background:
        radial-gradient(circle at 50% 38%, #ffffff 0%, #f9fbff 46%, #f5f8ef 76%, #e9f1ff 100%);
    text-decoration: none;
}

.op-card__media::before {
    content: '';
    position: absolute;
    top: 47%;
    left: 50%;
    z-index: 0;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 238, 188, 0.32) 42%, rgba(225, 238, 255, 0.38) 68%, transparent 70%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.86),
        0 0 0 1px rgb(var(--op-blue-rgb) / 0.05);
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.7s var(--op-ease), opacity 0.7s var(--op-ease);
}

.op-card:hover .op-card__media::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
}

.op-card__aero {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(from 150deg,
            rgb(var(--op-yellow-rgb) / 0.22),
            rgb(var(--op-blue-rgb) / 0.1),
            rgb(var(--op-yellow-rgb) / 0.3),
            rgb(var(--op-blue-rgb) / 0.08));
    filter: blur(18px);
    opacity: 0.88;
    transform: scale(0.92);
    transition: transform 0.8s var(--op-ease), opacity 0.8s var(--op-ease);
}

.op-card:hover .op-card__aero {
    opacity: 1;
    transform: scale(1.04);
}

.op-card__img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: opacity 0.55s var(--op-ease), transform 0.9s var(--op-ease), filter 0.55s var(--op-ease);
}

.op-card__img--main {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.op-card__img--alt {
    opacity: 0;
    transform: scale(1.055) rotate(0.8deg);
}

.op-card:not(.has-alt):hover .op-card__img--main {
    transform: scale(1.055) rotate(0);
    filter: drop-shadow(0 18px 20px rgb(var(--op-blue-rgb) / 0.12));
}

.op-card.has-alt:hover .op-card__img--main {
    opacity: 0;
    transform: scale(0.95) rotate(-0.7deg);
}

.op-card.has-alt:hover .op-card__img--alt {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: drop-shadow(0 18px 20px rgb(var(--op-blue-rgb) / 0.12));
}

.op-card__sheen {
    position: absolute;
    top: 0;
    left: -90%;
    z-index: 2;
    width: 46%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
    transform: skewX(-16deg);
    transition: left 0.9s var(--op-ease);
}

.op-card:hover .op-card__sheen {
    left: 135%;
}

.op-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem 1rem 1rem;
}

.op-card__brandrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 1.1rem;
}

.op-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: var(--op-blue);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.op-card__brand::before {
    content: '';
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--op-yellow);
    box-shadow: 0 0 0 3px rgb(var(--op-yellow-rgb) / 0.18);
}

.op-card__type {
    flex: none;
    max-width: 54%;
    overflow: hidden;
    color: rgb(var(--op-blue-rgb) / 0.42);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.op-card__name {
    margin: 0;
    min-height: 2.4em;
    overflow: hidden;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.op-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--op-ease);
}

.op-card__name a:hover {
    color: var(--op-blue);
}

.op-card__foot {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(var(--op-blue-rgb) / 0.065);
}

.op-price {
    color: var(--op-blue);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.op-price .woocommerce-Price-currencySymbol {
    font-size: 0.85rem;
    font-weight: 800;
    vertical-align: baseline;
}

.op-price del {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 500;
}

.op-price ins {
    color: var(--op-red);
    text-decoration: none;
}

.op-card__action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    height: 2.5rem;
    padding: 0 0.75rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #3ee27a 0%, #25D366 54%, #1eb958 100%);
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.18);
    color: #fff;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s var(--op-ease), box-shadow 0.25s var(--op-ease);
}

.op-card__action::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -80%;
    width: 50%;
    height: 120%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s var(--op-ease);
}

.op-card__action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
}

.op-card__action:hover::after {
    left: 130%;
}

.op-empty {
    grid-column: 1 / -1;
    padding: 44px 24px;
    border: 1px dashed rgb(var(--op-blue-rgb) / 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--op-muted);
    font-size: 13px;
    text-align: center;
}

/* ============================================================
   SUCURSALES CON ÓPTICA
   ============================================================ */

.op-branches {
    position: relative;
    padding: 8px 0 42px;
    background: linear-gradient(180deg, #f6f8fd 0%, #ffffff 100%);
    scroll-margin-top: 96px;
}

.op-branches__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.op-branch {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92));
    box-shadow:
        0 12px 32px rgb(var(--op-blue-rgb) / 0.07),
        inset 0 1px 0 #fff;
    transition:
        transform 0.5s var(--op-ease),
        box-shadow 0.5s var(--op-ease),
        border-color 0.5s var(--op-ease);
}

.op-branch:hover {
    border-color: rgb(var(--op-yellow-rgb) / 0.42);
    box-shadow:
        0 26px 58px rgb(var(--op-blue-rgb) / 0.14),
        0 0 0 1px rgb(var(--op-yellow-rgb) / 0.18),
        inset 0 1px 0 #fff;
    transform: translateY(-4px);
}

.op-branch__photo {
    position: relative;
    height: 170px;
    margin: -18px -18px 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, #ffffff, transparent 46%),
        linear-gradient(145deg, #e8f1ff, #fdf3d8 65%, #e7f1e5);
}

.op-branch__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.op-branch__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 20, 110, 0.32) 0%, transparent 42%, rgba(9, 20, 110, 0.06) 100%);
}

.op-branch__photo-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgb(var(--op-blue-rgb) / 0.24);
}

.op-branch__photo-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.op-branch__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd45a 0%, var(--op-yellow) 60%, #ee9d00 100%);
    color: var(--op-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.op-branch__hours {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgb(var(--op-blue-rgb) / 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--op-blue);
    font-size: 9.5px;
    font-weight: 800;
}

.op-branch__hours svg {
    color: var(--op-blue);
}

.op-branch__name {
    margin: 0;
    color: var(--op-blue);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.op-branch__address {
    display: flex;
    gap: 6px;
    margin: 7px 0 0;
    color: var(--op-muted);
    font-size: 11.5px;
    line-height: 1.45;
}

.op-branch__address svg {
    flex: none;
    margin-top: 2px;
    color: var(--op-blue);
}

.op-branch__map {
    position: relative;
    height: 150px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
    background: #e8eefb;
}

.op-branch__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.92);
}

.op-branch__map-open {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 16px rgb(var(--op-blue-rgb) / 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--op-blue);
    font-size: 9.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s var(--op-ease), color 0.3s var(--op-ease);
}

.op-branch__map-open:hover {
    background: var(--op-yellow);
}

.op-branch__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.op-btn--branch {
    height: 38px;
    padding: 0 14px;
    font-size: 11px;
}

.op-branch__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgb(var(--op-blue-rgb) / 0.07);
}

.op-branch__phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--op-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.25s var(--op-ease);
}

.op-branch__phone:hover {
    color: #b77900;
}

.op-branch__pharmacy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--op-muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s var(--op-ease), gap 0.25s var(--op-ease);
}

.op-branch__pharmacy:hover {
    gap: 8px;
    color: var(--op-blue);
}

@media (max-width: 980px) {
    .op-branches__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .op-branches {
        padding-bottom: 30px;
    }

    .op-branches__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .op-branch {
        padding: 16px;
        border-radius: 20px;
    }

    .op-branch__photo {
        height: 150px;
        margin: -16px -16px 13px;
    }

    .op-branch__map {
        height: 140px;
    }
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.op-cta-wrap {
    position: relative;
    z-index: 2;
    padding: 0 0 74px;
    background: linear-gradient(180deg, #f6fbf8 0%, #f6f8fd 100%);
}

.op-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    overflow: hidden;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 26px;
    background:
        radial-gradient(ellipse 40% 70% at 92% 18%, rgb(var(--op-yellow-rgb) / 0.52), transparent 68%),
        radial-gradient(ellipse 38% 64% at 8% 82%, rgb(var(--op-yellow-rgb) / 0.22), transparent 64%),
        linear-gradient(118deg, #0b1780 0%, var(--op-blue) 50%, #0a1465 100%);
    box-shadow:
        0 28px 64px rgb(var(--op-blue-rgb) / 0.28),
        0 1px 0 rgba(255, 255, 255, 0.16) inset;
    color: #fff;
}

.op-cta::before {
    content: '';
    position: absolute;
    top: -70%;
    left: 22%;
    width: 34%;
    height: 230%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    filter: blur(16px);
    transform: rotate(20deg);
}

.op-cta::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -50px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.op-cta__copy {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.op-eyebrow--yellow {
    color: var(--op-yellow);
}

.op-cta h2 {
    margin: 9px 0 0;
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.op-cta p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    line-height: 1.55;
}

.op-btn--yellow {
    position: relative;
    z-index: 2;
    flex: none;
    background: linear-gradient(135deg, #ffc247 0%, var(--op-yellow) 56%, #e89500 100%);
    box-shadow: 0 14px 30px rgb(0 0 0 / 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: var(--op-blue);
}

.op-btn--yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 38px rgb(0 0 0 / 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ============================================================
   PORTADA: CARRUSELES Y EXAMEN
   ============================================================ */

.op-featured {
    position: relative;
    overflow: hidden;
    padding: 54px 0 42px;
    background:
        radial-gradient(ellipse 34% 40% at 92% 8%, rgb(var(--op-yellow-rgb) / 0.1), transparent 66%),
        linear-gradient(180deg, #f8fbff 0%, #f6f9ff 100%);
}

.op-featured--new {
    padding-top: 30px;
    background: linear-gradient(180deg, #f6f9ff 0%, #fbfaf3 100%);
}

.op-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.op-section-title {
    margin: 9px 0 0;
    color: var(--op-blue);
    font-size: clamp(25px, 2.8vw, 35px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.op-section-sub {
    max-width: 610px;
    margin: 8px 0 0;
    color: var(--op-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.op-link-all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    padding-bottom: 3px;
    border-bottom: 1.5px solid rgb(var(--op-yellow-rgb) / 0.7);
    color: var(--op-blue);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s var(--op-ease), border-color 0.25s var(--op-ease);
}

.op-link-all:hover {
    color: #b77900;
    border-color: var(--op-yellow);
}

.op-rail {
    position: relative;
}

.op-rail__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 5px 3px 18px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.op-rail__track::-webkit-scrollbar {
    display: none;
}

.op-rail__item {
    flex: 0 0 250px;
    min-width: 0;
    scroll-snap-align: start;
}

.op-rail__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(9, 20, 110, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgb(var(--op-blue-rgb) / 0.14);
    color: var(--op-blue);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s var(--op-ease), color 0.25s var(--op-ease), transform 0.25s var(--op-ease);
}

.op-rail__arrow:hover {
    background: var(--op-yellow);
    color: var(--op-blue);
    transform: translateY(-50%) scale(1.05);
}

.op-rail__arrow:disabled {
    opacity: 0.32;
    cursor: default;
    transform: translateY(-50%);
}

.op-rail__arrow--prev {
    left: -12px;
}

.op-rail__arrow--next {
    right: -12px;
}

.op-exam {
    position: relative;
    padding: 34px 0 54px;
    background: linear-gradient(180deg, #fbfaf3 0%, #f6f9ff 100%);
}

.op-exam__card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 34px;
    overflow: hidden;
    padding: 34px 36px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    background:
        radial-gradient(ellipse 40% 70% at 88% 12%, rgb(var(--op-yellow-rgb) / 0.16), transparent 68%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 58%, #f5f9ef 100%);
    box-shadow:
        0 22px 56px rgb(var(--op-blue-rgb) / 0.09),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.op-exam__copy p {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--op-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.op-exam__list {
    display: grid;
    gap: 8px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.op-exam__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(var(--op-blue-rgb) / 0.72);
    font-size: 11.5px;
    font-weight: 600;
}

.op-exam__list svg {
    color: #b77900;
}

.op-exam__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.op-exam__actions .op-btn {
    height: 44px;
    font-size: 12px;
}

.op-exam__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
}

.op-exam__ring {
    position: absolute;
    width: min(330px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 180deg,
            rgb(var(--op-yellow-rgb) / 0.3),
            rgb(var(--op-blue-rgb) / 0.12),
            rgb(var(--op-yellow-rgb) / 0.38),
            rgba(255, 255, 255, 0.5),
            rgb(var(--op-yellow-rgb) / 0.3));
    filter: blur(8px);
    animation: opSpinFlat 32s linear infinite;
}

.op-exam__visual img {
    position: relative;
    z-index: 2;
    width: min(330px, 92%);
    aspect-ratio: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 50px rgb(var(--op-blue-rgb) / 0.16);
    object-fit: contain;
}

.op-exam__badge {
    position: absolute;
    right: 2%;
    bottom: 8%;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd45a, var(--op-yellow));
    box-shadow: 0 8px 20px rgb(var(--op-yellow-rgb) / 0.3);
    color: var(--op-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   CATÁLOGO INDEPENDIENTE
   ============================================================ */

.op-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 26px;
    border-bottom: 1px solid var(--op-line);
    background:
        radial-gradient(ellipse 36% 80% at 92% 8%, rgb(var(--op-yellow-rgb) / 0.16), transparent 68%),
        linear-gradient(118deg, #ffffff 0%, #f6faff 55%, #fdf9ef 100%);
}

.op-catalog-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: rgb(var(--op-blue-rgb) / 0.52);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s var(--op-ease);
}

.op-catalog-hero__back:hover {
    color: var(--op-blue);
}

.op-catalog-hero__title {
    margin: 10px 0 0;
    color: var(--op-blue);
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.op-catalog-hero__sub {
    margin: 8px 0 0;
    color: var(--op-muted);
    font-size: 12.5px;
}

.op-catalog-page {
    position: relative;
    padding: 28px 0 54px;
    background:
        radial-gradient(ellipse 32% 30% at 96% 12%, rgb(var(--op-yellow-rgb) / 0.08), transparent 68%),
        linear-gradient(180deg, #f8fbff 0%, #f6f9ff 100%);
}

.op-catalog-filters {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 28px rgb(var(--op-blue-rgb) / 0.06), inset 0 1px 0 #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.op-catalog-filters__search {
    display: flex;
    flex: 1 1 300px;
    gap: 8px;
    min-width: 0;
}

.op-catalog-filters__search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid rgb(var(--op-blue-rgb) / 0.11);
    border-radius: 12px;
    background: #fff;
    color: var(--op-ink);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s var(--op-ease), box-shadow 0.25s var(--op-ease);
}

.op-catalog-filters__search input:focus {
    border-color: rgb(var(--op-yellow-rgb) / 0.7);
    box-shadow: 0 0 0 3px rgb(var(--op-yellow-rgb) / 0.12);
}

.op-catalog-filters__search button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd45a, var(--op-yellow));
    box-shadow: 0 8px 20px rgb(var(--op-yellow-rgb) / 0.26);
    color: var(--op-blue);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s var(--op-ease), box-shadow 0.25s var(--op-ease);
}

.op-catalog-filters__search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgb(var(--op-yellow-rgb) / 0.32);
}

.op-catalog-filters__selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.op-catalog-filters__selects label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgb(var(--op-blue-rgb) / 0.48);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.op-catalog-filters__selects select {
    height: 44px;
    max-width: 210px;
    padding: 0 32px 0 12px;
    border: 1.5px solid rgb(var(--op-blue-rgb) / 0.11);
    border-radius: 12px;
    background: #fff;
    color: var(--op-blue);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.op-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.op-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgb(var(--op-yellow-rgb) / 0.3);
    border-radius: 999px;
    background: #fffdf4;
    color: var(--op-blue);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.25s var(--op-ease), transform 0.25s var(--op-ease);
}

.op-filter-chip:hover {
    border-color: var(--op-yellow);
    transform: translateY(-1px);
}

.op-clear-filters {
    color: rgb(var(--op-blue-rgb) / 0.5);
    font-size: 10.5px;
    font-weight: 700;
}

.op-grid-products--catalog {
    margin-top: 20px;
}

.op-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 34px;
}

.op-pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid rgb(var(--op-blue-rgb) / 0.1);
    border-radius: 10px;
    background: #fff;
    color: var(--op-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s var(--op-ease), border-color 0.25s var(--op-ease), transform 0.25s var(--op-ease);
}

.op-pagination .page-numbers:hover {
    border-color: var(--op-yellow);
    transform: translateY(-1px);
}

.op-pagination .page-numbers.current {
    border-color: transparent;
    background: linear-gradient(135deg, #ffd45a, var(--op-yellow));
    box-shadow: 0 8px 20px rgb(var(--op-yellow-rgb) / 0.24);
    color: var(--op-blue);
}

.op-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: rgb(var(--op-blue-rgb) / 0.4);
}

.op-empty-state {
    padding: 58px 24px;
    border: 1px dashed rgb(var(--op-blue-rgb) / 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.op-empty-state__icon {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd45a, var(--op-yellow));
    color: var(--op-blue);
    box-shadow: 0 12px 30px rgb(var(--op-yellow-rgb) / 0.25);
}

.op-empty-state h2 {
    margin: 0;
    color: var(--op-blue);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.op-empty-state p {
    max-width: 430px;
    margin: 8px auto 18px;
    color: var(--op-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.op-catalog-help {
    padding: 0 0 60px;
    background: linear-gradient(180deg, #f6f9ff 0%, #fbfaf3 100%);
}

.op-catalog-help__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 26px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(ellipse 40% 70% at 92% 18%, rgb(var(--op-yellow-rgb) / 0.32), transparent 68%),
        linear-gradient(118deg, #0b1780 0%, var(--op-blue) 52%, #0a1465 100%);
    box-shadow: 0 22px 52px rgb(var(--op-blue-rgb) / 0.22);
    color: #fff;
}

.op-catalog-help__card .op-eyebrow {
    color: var(--op-yellow);
}

.op-catalog-help__card h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.op-catalog-help__card p {
    max-width: 650px;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.55;
}

.op-cross-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgb(var(--op-yellow-rgb) / 0.42);
    border-radius: 16px;
    background: linear-gradient(120deg, #fff8dd 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgb(var(--op-yellow-rgb) / 0.1);
}

.op-cross-search strong {
    display: block;
    color: var(--op-blue);
    font-size: 12.5px;
    font-weight: 800;
}

.op-cross-search span {
    display: block;
    margin-top: 2px;
    color: var(--op-muted);
    font-size: 11px;
    line-height: 1.45;
}

.op-cross-search .op-btn {
    flex: none;
    height: 38px;
    padding: 0 15px;
    font-size: 10.5px;
}

/* ============================================================
   ANIMACIONES
   ============================================================ */

@keyframes opPulse {
    0% { opacity: 0.8; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.9); }
}

@keyframes opSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes opSpinFlat {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes opFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
}

@keyframes opAura {
    from { transform: translate(-50%, -50%) scale(0.96); }
    to { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes opBeam {
    from { opacity: 0.35; transform: translateX(-3%) rotate(24deg); }
    to { opacity: 0.7; transform: translateX(3%) rotate(24deg); }
}

@keyframes opBubble {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4px, -12px, 0) scale(1.04); }
}

@keyframes opCardIn {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1120px) {
    .op-grid-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .op-hero__in {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        padding-top: 38px;
        padding-bottom: 46px;
    }

    .op-hero__copy {
        max-width: 620px;
        margin: 0 auto;
    }

    .op-stage {
        max-width: 480px;
        min-height: 470px;
        margin: 6px auto 0;
    }

    .op-stage__tilt {
        height: 390px;
    }

    .op-hero::after {
        width: 70%;
        right: -18%;
    }
}

@media (max-width: 820px) {
    .op-grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .op-rail__item {
        flex-basis: 220px;
    }

    .op-rail__arrow {
        display: none;
    }

    .op-exam__card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 24px;
    }

    .op-exam__visual {
        min-height: 240px;
    }

    .op-catalog-filters {
        align-items: stretch;
    }

    .op-catalog-filters__selects {
        width: 100%;
    }

    .op-catalog-filters__selects label {
        flex: 1;
    }

    .op-catalog-filters__selects select {
        width: 100%;
        max-width: none;
    }

    .op-cross-search {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .op-catalog-help__card {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
    }

    .op-catalog__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .op-catalog__note {
        white-space: normal;
    }

    .op-cashea__card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 24px;
    }

    .op-cashea__brand {
        min-height: 120px;
    }

    .op-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 24px;
    }
}

@media (max-width: 620px) {
    .optica-page .wrap {
        padding: 0 16px;
    }

    .op-hero__in {
        padding-top: 30px;
        padding-bottom: 38px;
    }

    .op-hero h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    .op-hero h1 small {
        margin-top: 14px;
        font-size: 13.5px;
    }

    .op-hero__actions {
        margin-top: 22px;
    }

    .op-btn {
        height: 46px;
        padding: 0 19px;
        font-size: 12.5px;
    }

    .op-hero__meta {
        gap: 13px 18px;
        margin-top: 22px;
        padding-top: 18px;
    }

    .op-hero__meta div {
        font-size: 10.5px;
    }

    .op-stage {
        min-height: 408px;
        padding-bottom: 50px;
    }

    .op-stage__tilt {
        width: min(360px, 100%);
        height: 336px;
    }

    .op-hcard {
        width: 68%;
        border-radius: 21px;
    }

    .op-hcard[data-pos="next"] {
        transform: translate(-50%, -50%) translate3d(48%, 3%, 0) rotateY(-22deg) scale(0.82);
    }

    .op-hcard[data-pos="prev"] {
        transform: translate(-50%, -50%) translate3d(-48%, 3%, 0) rotateY(22deg) scale(0.82);
    }

    .op-hcard[data-pos="next2"] {
        transform: translate(-50%, -50%) translate3d(82%, 10%, -140px) rotateY(-34deg) scale(0.64);
    }

    .op-hcard[data-pos="prev2"] {
        transform: translate(-50%, -50%) translate3d(-82%, 10%, -140px) rotateY(34deg) scale(0.64);
    }

    .op-hcard__meta {
        padding: 9px 11px 11px;
    }

    .op-hcard__name {
        font-size: 10.5px;
    }

    .op-hcard__price {
        font-size: 11px;
    }

    .op-hcard__brand {
        font-size: 7.5px;
    }

    .op-hcard__go {
        width: 24px;
        height: 24px;
    }

    .op-ads {
        padding: 18px 0 6px;
    }

    .op-ads__stage {
        aspect-ratio: 16 / 9;
        border-radius: 18px;
    }

    .op-ads__link img {
        object-fit: contain;
        background: #f4f8ff;
    }

    .op-ads__arrow {
        width: 32px;
        height: 32px;
    }

    .op-ads__arrow--prev {
        left: 8px;
    }

    .op-ads__arrow--next {
        right: 8px;
    }

    .op-ads__dots {
        bottom: 8px;
        padding: 5px 9px;
    }

    .op-ads__dot {
        width: 6px;
        height: 6px;
    }

    .op-ads__dot.is-active {
        width: 17px;
    }

    .op-stage__ring {
        width: min(340px, 92%);
    }

    .op-bubble--1 {
        width: 40px;
        height: 40px;
    }

    .op-bubble--3 {
        width: 30px;
        height: 30px;
    }

    .op-brands {
        padding-top: 16px;
    }

    .op-brands__head {
        margin-bottom: 9px;
    }

    .op-brands__hint {
        display: none;
    }

    .op-brands__all {
        font-size: 9.5px;
    }

    .op-brands__all-word {
        display: none;
    }

    .op-brand {
        width: 112px;
        height: 82px;
        padding: 10px 8px 8px;
        border-radius: 16px;
    }

    .op-brand__mark {
        height: 30px;
        padding: 2px 4px;
    }

    .op-brand__mark img {
        max-width: 86px;
        max-height: 24px;
    }

    .op-brand__name {
        font-size: 7.5px;
    }

    .op-brand .n {
        top: 5px;
        right: 5px;
        min-width: 18px;
        height: 16px;
        font-size: 8px;
    }

    .op-types {
        padding-bottom: 18px;
    }

    .op-type {
        height: 38px;
        padding: 0 11px;
        font-size: 10px;
    }

    .op-type__count {
        min-width: 19px;
        height: 17px;
        font-size: 8px;
    }

    .op-cashea {
        padding-top: 20px;
    }

    .op-cashea__card {
        gap: 16px;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .op-cashea h2 {
        font-size: 22px;
    }

    .op-cashea__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .op-cashea__actions .op-btn {
        width: 100%;
    }

    .op-cashea__brand {
        min-height: 98px;
        padding: 16px;
    }

    .op-cashea__brand img {
        width: min(210px, 100%);
    }

    .op-catalog {
        padding: 42px 0 52px;
    }

    .op-grid-products {
        gap: 12px;
    }

    .op-card {
        border-radius: 18px;
    }

    .op-card__body {
        padding: 0.7rem 0.75rem 0.8rem;
        gap: 0.4rem;
    }

    .op-card__name {
        min-height: 2.4em;
        font-size: 0.8rem;
    }

    .op-price {
        font-size: 1.05rem;
    }

    .op-card__action {
        height: 2.2rem;
        border-radius: 0.65rem;
        font-size: 0.7rem;
    }

    .op-cta-wrap {
        padding-bottom: 52px;
    }

    .op-featured {
        padding: 40px 0 30px;
    }

    .op-featured--new {
        padding-top: 24px;
    }

    .op-rail__item {
        flex-basis: 212px;
    }

    .op-exam {
        padding: 26px 0 42px;
    }

    .op-exam__card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .op-exam__visual {
        min-height: 230px;
    }

    .op-exam__visual img {
        width: min(280px, 94%);
        padding: 8px;
    }

    .op-exam__badge {
        right: 0;
        bottom: 2%;
    }

    .op-catalog-hero {
        padding: 24px 0 20px;
    }

    .op-catalog-filters {
        padding: 12px;
        border-radius: 16px;
    }

    .op-catalog-filters__search {
        flex-basis: 100%;
    }

    .op-catalog-filters__search button {
        padding: 0 14px;
    }

    .op-catalog-filters__selects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .op-catalog-filters__selects select {
        font-size: 10.5px;
    }

    .op-pagination {
        gap: 4px;
        margin-top: 26px;
    }

    .op-pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 11px;
    }

    .op-catalog-help {
        padding-bottom: 46px;
    }

    .op-catalog-help__card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .op-cta {
        border-radius: 22px;
    }
}

@media (max-width: 390px) {
    .op-grid-products {
        gap: 10px;
    }

    .op-card__body {
        padding: 0.65rem;
    }

    .op-card__name {
        font-size: 0.75rem;
    }

    .op-card__brand {
        font-size: 0.6rem;
    }

    .op-price {
        font-size: 1rem;
    }

    .op-card__action {
        height: 2.1rem;
        font-size: 0.65rem;
    }
}

/* ============================================================
   EFECTOS MODERNOS — inspirados en ReactBits / Aceternity UI
   ============================================================ */

/* Aurora animada del hero */
.op-hero__aurora {
    position: absolute;
    inset: -35% -12%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(closest-side at 26% 46%, rgba(254, 171, 13, 0.42), transparent 72%),
        radial-gradient(closest-side at 68% 28%, rgba(90, 125, 67, 0.22), transparent 72%),
        radial-gradient(closest-side at 64% 76%, rgba(9, 20, 110, 0.3), transparent 72%);
    filter: blur(54px);
    opacity: 0.55;
    animation: opAurora 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes opAurora {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1) rotate(-1deg);
    }
    50% {
        transform: translate3d(2%, 2%, 0) scale(1.07) rotate(2deg);
    }
    100% {
        transform: translate3d(-1%, 3%, 0) scale(1.03) rotate(-2deg);
    }
}

/* Spotlight que sigue el cursor sobre el escenario */
.op-stage__spot {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(240px circle at var(--op-spot-x, 50%) var(--op-spot-y, 50%), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35) 42%, transparent 70%);
    mix-blend-mode: soft-light;
    transition: opacity 0.4s var(--op-ease);
}

.op-stage.is-spotting .op-stage__spot {
    opacity: 1;
}

/* Texto con brillo en movimiento (ShinyText) */
.op-hero__free {
    background-image: linear-gradient(
        100deg,
        var(--op-blue) 0%,
        var(--op-blue) 36%,
        #6378ff 46%,
        #ffffff 50%,
        #6378ff 54%,
        var(--op-blue) 64%,
        var(--op-blue) 100%
    );
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: opShinyText 7.5s linear infinite;
}

@keyframes opShinyText {
    from {
        background-position: 130% 0;
    }
    to {
        background-position: -130% 0;
    }
}

/* Glow pulsante de la montura activa */
.op-hcard[data-pos="active"] {
    animation: opCardGlow 5.4s ease-in-out infinite;
}

@keyframes opCardGlow {
    0%,
    100% {
        box-shadow:
            0 34px 70px rgb(var(--op-blue-rgb) / 0.2),
            0 2px 0 rgba(255, 255, 255, 0.9) inset,
            0 -18px 36px rgba(255, 255, 255, 0.36) inset;
    }
    50% {
        box-shadow:
            0 38px 84px rgb(var(--op-blue-rgb) / 0.24),
            0 0 0 1px rgb(var(--op-yellow-rgb) / 0.32),
            0 0 46px rgb(var(--op-yellow-rgb) / 0.2),
            0 2px 0 rgba(255, 255, 255, 0.92) inset,
            0 -18px 36px rgba(255, 255, 255, 0.38) inset;
    }
}

/* Spotlight genérico en tarjetas (la capa se inyecta con JS) */
.op-spotlight {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        230px circle at var(--op-spot-x, 50%) var(--op-spot-y, 50%),
        rgba(255, 255, 255, 0.55),
        transparent 64%
    );
    mix-blend-mode: soft-light;
    transition: opacity 0.35s var(--op-ease);
}

[data-op-spot]:hover > .op-spotlight {
    opacity: 1;
}

.op-type {
    position: relative;
    overflow: hidden;
}

.op-catalog-filters,
.op-catalog-help__card,
.op-empty-state {
    position: relative;
    overflow: hidden;
}

/* Línea de luz animada bajo los títulos de sección */
.op-section-title {
    position: relative;
}

.op-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(254, 171, 13, 0), var(--op-yellow) 40%, rgba(254, 171, 13, 0));
    background-size: 220% 100%;
    opacity: 0.85;
    animation: opTitleBeam 4.5s linear infinite;
}

@keyframes opTitleBeam {
    from {
        background-position: 160% 0;
    }
    to {
        background-position: -160% 0;
    }
}

.op-eyebrow::before {
    animation: opEyebrowPulse 3.2s ease-in-out infinite;
}

@keyframes opEyebrowPulse {
    0%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
    50% {
        transform: scaleX(0.55);
        opacity: 0.55;
    }
}

/* ============================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
   ============================================================ */

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

    .op-stage__ring,
    .op-stage__aura,
    .op-stage__levitate,
    .op-bubble,
    .op-hero__beam,
    .op-hero__aurora,
    .op-hero__tag-dot::after {
        animation: none !important;
    }

    .op-brands__rail {
        overflow-x: auto;
    }

    .op-brands__track {
        transform: none !important;
        transition: none !important;
    }

    .op-stage__tilt {
        transform: none !important;
    }
}
