/* ==========================================================================
   NOVA NAD 500mg — theme + unique sections (loads product_page_base.css)
   "Longevity / cellular energy" — orchid-violet + aqua on plum. Unique:
   cellular-aura hero (framed vial), about, 8 vitality spheres, evidence+certs,
   clinics-trust band.
   ========================================================================== */

.pdp-page.theme-nad {
    --pdp-bg: #120a20;
    --pdp-bg2: #1b1030;
    --pdp-ink: #f3ecff;
    --pdp-muted: #b6a6d6;
    --pdp-accent: #b06cff;
    --pdp-accent2: #4fe0c8;
    --pdp-accent-ink: #1a0a2a;
    --pdp-line: rgba(255,255,255,.09);
    --pdp-card: rgba(255,255,255,.04);
    --pdp-glass: rgba(27,16,48,.6);
    --pdp-alt-mid: #21123a;
    --n-orchid: #e06ce0;
    --pdp-hero-bg:
        radial-gradient(90% 70% at 72% 12%, rgba(176,108,255,.20), transparent 55%),
        radial-gradient(70% 60% at 18% 92%, rgba(79,224,200,.12), transparent 55%),
        linear-gradient(180deg, var(--pdp-bg2), var(--pdp-bg));
    --pdp-cta-bg:
        radial-gradient(90% 120% at 0% 0%, rgba(176,108,255,.14), transparent 55%),
        linear-gradient(180deg, #21123a, var(--pdp-bg));
}

/* hero motif — cellular aura + framed vial */
.theme-nad .nnd-aura { position: absolute; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(176,108,255,.32), rgba(79,224,200,.14) 55%, transparent 72%); filter: blur(10px); animation: nnd-breathe 6s ease-in-out infinite; }
@keyframes nnd-breathe { 0%,100% { transform: scale(.95); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
.theme-nad .nnd-cellring { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--pdp-line); animation: nnd-spin 30s linear infinite; }
.theme-nad .nnd-cellring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--pdp-accent2); box-shadow: 0 0 14px var(--pdp-accent2); }
@keyframes nnd-spin { to { transform: rotate(360deg); } }
.theme-nad .nnd-vialframe { position: relative; z-index: 2; width: 62%; aspect-ratio: 3/4; border-radius: 26px; border: 1px solid var(--pdp-line); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); display: grid; place-items: center; overflow: hidden; backdrop-filter: blur(4px); animation: nnd-float 7s ease-in-out infinite; }
.theme-nad .nnd-vialframe img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
@keyframes nnd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* about */
.theme-nad .nnd-about { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.theme-nad .nnd-about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.theme-nad .nnd-about-points li { position: relative; padding-left: 34px; line-height: 1.5; font-size: 1.05rem; }
.theme-nad .nnd-about-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--pdp-accent), transparent 70%); }
.theme-nad .nnd-about-points li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--pdp-accent2); }
.theme-nad .nnd-about-visual { position: relative; display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 24px; border: 1px solid var(--pdp-line); background: radial-gradient(circle at 50% 45%, rgba(176,108,255,.16), transparent 60%), var(--pdp-card); overflow: hidden; }
.theme-nad .nnd-about-visual img { max-width: 64%; max-height: 84%; object-fit: contain; }

/* «Будущее NAD+ терапии» — реальный packshot на ПРОЗРАЧНОМ фоне: рамка не нужна,
   продукты «парят» на странице. Даём световую подложку + тень по контуру. */
.theme-nad .nnd-about-visual--packshot {
    display: grid;
    place-items: center;
    aspect-ratio: auto;
    border: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
/* пьедестал света под продуктами */
.theme-nad .nnd-about-visual--packshot::before {
    content: "";
    position: absolute;
    inset: 4% -6% -4%;
    z-index: 0;
    background:
        radial-gradient(58% 52% at 50% 46%, rgba(176,108,255,.34), transparent 68%),
        radial-gradient(46% 40% at 62% 74%, rgba(79,224,200,.24), transparent 72%);
    filter: blur(48px);
    opacity: .9;
    pointer-events: none;
}
.theme-nad .nnd-about-visual--packshot img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* тень повторяет контур вырезанных продуктов (по альфе) */
    filter:
        drop-shadow(0 26px 34px rgba(0,0,0,.55))
        drop-shadow(0 6px 12px rgba(0,0,0,.4));
}
.theme-nad .nnd-about-visual--packshot:hover { transform: translateY(-6px); }

/* signature — 8 vitality spheres */
.theme-nad .nnd-spheres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.theme-nad .nnd-sphere { position: relative; padding: 28px 20px; border-radius: 20px; border: 1px solid var(--pdp-line); background: var(--pdp-card); text-align: center; transition: transform .25s ease, border-color .25s ease; overflow: hidden; }
.theme-nad .nnd-sphere:hover { transform: translateY(-5px); border-color: rgba(176,108,255,.5); }
.theme-nad .nnd-sphere .orb { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--pdp-accent2), var(--pdp-accent) 70%); box-shadow: 0 0 22px rgba(176,108,255,.45); }
.theme-nad .nnd-sphere span { font-weight: 600; font-size: .95rem; line-height: 1.35; }

/* evidence + certs */
.theme-nad .nnd-ev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.theme-nad .nnd-evcard { padding: 26px 22px; border-radius: 18px; background: var(--pdp-card); border: 1px solid var(--pdp-line); transition: transform .25s ease, border-color .25s ease; }
.theme-nad .nnd-evcard:hover { transform: translateY(-5px); border-color: rgba(79,224,200,.5); }
.theme-nad .nnd-evcard h3 { margin: 0 0 8px; font-size: 1.04rem; color: var(--pdp-accent2); }
.theme-nad .nnd-evcard p { color: var(--pdp-muted); line-height: 1.5; margin: 0; font-size: .9rem; }
.theme-nad .nnd-certs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.theme-nad .nnd-cert { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--pdp-line); background: rgba(255,255,255,.03); font-weight: 700; font-size: .84rem; letter-spacing: .04em; color: var(--pdp-ink); }

/* clinics trust */
.theme-nad .nnd-trust { text-align: center; }
.theme-nad .nnd-trust h2 { max-width: 22ch; margin: 0 auto; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; }

@media (prefers-reduced-motion: reduce) {
    .theme-nad .nnd-aura, .theme-nad .nnd-cellring, .theme-nad .nnd-vialframe { animation: none !important; }
}
@media (max-width: 900px) {
    .theme-nad .nnd-about { grid-template-columns: 1fr; }
    .theme-nad .nnd-about-visual { order: -1; }
    .theme-nad .nnd-spheres { grid-template-columns: 1fr 1fr; }
    .theme-nad .nnd-ev { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .theme-nad .nnd-spheres, .theme-nad .nnd-ev { grid-template-columns: 1fr; }
}

/* «Как работает NovaNAD+?» — тёмная портретная инфографика (3:4) сливается со
   страницей: убираем карточку-рамку, фото крупно edge-to-edge + свечение и
   тонкая градиентная кайма (фиолет → мята), как на MOTS-c/KLOW. */
.theme-nad .pdp-how { align-items: center; }
.theme-nad .pdp-how-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 24px;
    overflow: visible;
    place-items: unset;
    display: block;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.theme-nad .pdp-how-visual::before {
    content: "";
    position: absolute;
    inset: -12% -14% -16%;
    z-index: 0;
    background:
        radial-gradient(55% 50% at 42% 40%, rgba(176,108,255,.42), transparent 70%),
        radial-gradient(50% 55% at 70% 66%, rgba(79,224,200,.28), transparent 72%);
    filter: blur(46px);
    opacity: .95;
    pointer-events: none;
}
.theme-nad .pdp-how-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    filter: none;
    border-radius: 22px;
    box-shadow:
        0 44px 90px -30px rgba(0,0,0,.85),
        0 8px 26px -12px rgba(176,108,255,.30);
}
.theme-nad .pdp-how-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(176,108,255,.70), rgba(79,224,200,.30) 46%, rgba(176,108,255,.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.theme-nad .pdp-how-visual:hover { transform: translateY(-6px); }
@media (max-width: 900px) {
    .theme-nad .pdp-how-visual { order: -1; max-width: 380px; }
}
