.bem-guide {
    --guide-accent: #163f92;
    --guide-accent-strong: #102f6e;
    --guide-accent-soft: #dbeafe;
    --guide-gold: #c69a2d;
    --guide-gold-soft: #fef3c7;
    --guide-bg: #f6f7f3;
    background:
        radial-gradient(circle at top right, rgba(198, 154, 45, 0.10), transparent 34%),
        radial-gradient(circle at top left, rgba(22, 63, 146, 0.12), transparent 30%),
        var(--guide-bg);
}

.bem-guide .meridian-guide__hero-copy {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.90)),
        linear-gradient(135deg, rgba(22, 63, 146, 0.12), rgba(198, 154, 45, 0.14));
}

.bem-guide__prep-grid,
.bem-guide__care-gallery {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bem-guide__prep-card,
.bem-guide__care-card {
    border: 1px solid var(--guide-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #fbfbfa);
    padding: 22px;
}

.bem-guide__prep-card h3,
.bem-guide__care-card h3 {
    margin: 0 0 12px;
    color: var(--guide-ink);
}

.bem-guide__prep-card ul,
.bem-guide__step-copy ul,
.bem-guide__care-card ul {
    margin: 0;
    padding-left: 20px;
}

.bem-guide__prep-card li,
.bem-guide__step-copy li,
.bem-guide__care-card li {
    margin-bottom: 10px;
    color: var(--guide-text);
    line-height: 1.72;
}

.bem-guide__zone-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: start;
}

.bem-guide__zone-figure {
    margin: 0;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--guide-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    box-shadow: var(--guide-shadow);
}

.bem-guide__zone-canvas {
    position: relative;
}

.bem-guide__zone-canvas img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: #f8fafc;
}

.bem-guide__zone-label {
    position: absolute;
    z-index: 2;
    max-width: 36%;
    padding: 7px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(22, 63, 146, 0.12);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
    color: var(--guide-accent-strong);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.bem-guide__zone-label--lungs { left: 4%; top: 10%; }
.bem-guide__zone-label--heart { right: 4%; top: 19%; }
.bem-guide__zone-label--liver { left: 5%; top: 30%; }
.bem-guide__zone-label--spleen { right: 4%; top: 40%; }
.bem-guide__zone-label--kidneys { left: 5%; top: 51%; }
.bem-guide__zone-label--urinary { right: 4%; top: 66%; }
.bem-guide__zone-label--reproductive { left: 5%; top: 82%; }

.bem-guide__zone-figure figcaption {
    margin-top: 12px;
    color: var(--guide-muted);
    font-size: 13px;
    line-height: 1.65;
}

.bem-guide__step-grid {
    display: grid;
    gap: 20px;
}

.bem-guide__slide-gallery {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

.bem-guide__slide-card {
    margin: 0;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--guide-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
    box-shadow: var(--guide-shadow);
}

.bem-guide__slide-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(22, 63, 146, 0.10);
    background: #ffffff;
}

.bem-guide__slide-card figcaption {
    margin-top: 11px;
    color: var(--guide-muted);
    font-size: 13px;
    line-height: 1.65;
}

.bem-guide__slide-card strong {
    color: var(--guide-ink);
}

.bem-guide__zoom-link {
    display: block;
    border-radius: 14px;
    color: inherit;
    cursor: zoom-in;
    text-decoration: none;
}

.bem-guide__zoom-link:focus-visible {
    outline: 3px solid rgba(22, 63, 146, 0.42);
    outline-offset: 5px;
}

.manual-lightbox-open {
    overflow: hidden;
}

.manual-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    overflow: hidden;
    background: rgba(8, 14, 18, 0.92);
    backdrop-filter: blur(8px);
}

.manual-lightbox.is-open {
    display: flex;
}

.manual-lightbox__dialog {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.manual-lightbox__scroller {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: clamp(16px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
}

.manual-lightbox__close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.manual-lightbox__close:hover,
.manual-lightbox__close:focus-visible,
.manual-lightbox__close:focus-within{
    background: rgba(255, 255, 255, 0.28);
}

.manual-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1680px, 94vw);
    max-height: calc(100vh - 118px);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.4);
}

.manual-lightbox__caption {
    margin: 0;
    max-width: min(980px, 92vw);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.bem-guide__step-intro {
    margin: 0 0 18px;
    max-width: 860px;
    color: var(--guide-text);
    line-height: 1.76;
}

.bem-guide__step-card {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
}

.bem-guide__step-visual {
    margin: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border-radius: 22px;
    border: 1px solid var(--guide-border);
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: var(--guide-shadow);
}

.bem-guide__step-card:nth-child(even) .bem-guide__step-visual {
    order: 2;
}

.bem-guide__step-card:nth-child(even) .bem-guide__step-copy {
    order: 1;
}

.bem-guide__step-visual img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    border-radius: 18px;
    background: #f8fafc;
}

.bem-guide__care-card img {
    width: min(100%, 430px);
    height: auto;
    display: block;
    border-radius: 18px;
    background: #f8fafc;
}

.bem-guide__step-legend {
    width: min(100%, 520px);
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(22, 63, 146, 0.10);
    background: rgba(22, 63, 146, 0.05);
    color: var(--guide-muted);
    font-size: 13px;
    line-height: 1.68;
}

.bem-guide__step-copy h3 {
    margin: 0 0 12px;
    color: var(--guide-ink);
    font-size: 23px;
}

.bem-guide__step-chipbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.bem-guide__step-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 63, 146, 0.08);
    color: var(--guide-accent-strong);
    font-size: 12px;
    font-weight: 700;
}

.bem-guide__translated-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(198, 154, 45, 0.10);
    color: var(--guide-text);
    border: 1px solid rgba(198, 154, 45, 0.22);
}

.bem-guide__small-note {
    font-size: 13px;
    line-height: 1.65;
    color: var(--guide-muted);
}

.bem-guide__care-card p:last-child,
.bem-guide__prep-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .bem-guide__zone-layout,
    .bem-guide__step-card,
    .bem-guide__prep-grid,
    .bem-guide__care-gallery,
    .bem-guide__slide-gallery {
        grid-template-columns: 1fr;
    }

    .bem-guide__step-card:nth-child(even) .bem-guide__step-visual,
    .bem-guide__step-card:nth-child(even) .bem-guide__step-copy {
        order: initial;
    }
}

@media (max-width: 640px) {
    .bem-guide__prep-card,
    .bem-guide__care-card {
        padding: 18px;
    }

    .bem-guide__zone-label {
        max-width: 42%;
        font-size: 11px;
        padding: 6px 8px;
    }

    .bem-guide__step-copy h3 {
        font-size: 20px;
    }

    .bem-guide__step-legend {
        font-size: 12px;
        padding: 11px 12px;
    }

    .manual-lightbox {
        align-items: stretch;
        justify-content: stretch;
    }

    .manual-lightbox__dialog {
        width: 100%;
        min-width: 100%;
        height: 100%;
    }

    .manual-lightbox__scroller {
        width: 100%;
        min-width: 100%;
        height: 100%;
        overflow: auto;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 68px 12px 24px;
    }

    .manual-lightbox__close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .manual-lightbox__image {
        width: min(1280px, 220vw);
        max-width: none;
        max-height: none;
        border-radius: 10px;
    }

    .manual-lightbox__caption {
        width: min(1280px, 220vw);
        max-width: none;
        padding-bottom: 8px;
        text-align: left;
    }
}

