/* Extracted from site.custom.css — /novichkam/ (brew, calc, infographic). */
/* ========== /novichkam/ — заваривание по посуде, калькулятор, подборки ========== */

.nv-brew-vessels__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.nv-brew-vessels__tab {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-elements-color, #e8e0d4);
    background: var(--wrap-bg-color, #f8f5ef);
    color: var(--body-text-color);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.nv-brew-vessels__tab.is-active,
.nv-brew-vessels__tab:hover {
    background: var(--ac-color, #9a7b4f);
    border-color: var(--ac-color, #9a7b4f);
    color: #fff;
}

.nv-brew-vessels__panel {
    padding: 24px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
}

.nv-brew-vessels__panel-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.nv-brew-vessels__thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.nv-brew-vessels__name {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.nv-brew-vessels__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.nv-brew-vessels__steps {
    margin: 0 0 16px;
    padding-left: 1.2rem;
    line-height: 1.6;
    font-size: 14px;
}

.nv-brew-vessels__steps li + li {
    margin-top: 8px;
}

.nv-brew-vessels__shop {
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-color, #9a7b4f);
    text-decoration: none;
}

.nv-temp--chart {
    margin-top: 40px;
}

.nv-brew-video {
    margin-top: 32px;
}

.nv-brew-video__title {
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.nv-brew-video__wrap {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.nv-brew-video__facade {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.nv-brew-video__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}

.nv-brew-video__play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s ease;
}

.nv-brew-video__facade:hover .nv-brew-video__play-btn {
    transform: translate(-50%, -50%) scale(1.06);
}

.nv-brew-video__play-bg {
    fill: rgba(0, 0, 0, 0.75);
}

.nv-brew-video__play-ico {
    fill: #fff;
}

.nv-brew-video__iframe {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.nv-brew-video.is-playing .nv-brew-video__facade {
    display: none;
}

.nv-brew-video.is-playing .nv-brew-video__iframe {
    display: block;
}

.nv-brew-video__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
}

/* Калькулятор посуды */
.nv-kit__controls {
    display: grid;
    gap: 24px;
    padding: 24px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
    margin-bottom: 24px;
}

.nv-kit__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.nv-kit__budget-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nv-kit__input {
    width: 140px;
    max-width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 16px;
    border: 1px solid var(--border-elements-color, #ddd);
    border-radius: 10px;
    background: var(--body-bg-color, #fff);
}

.nv-kit__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nv-kit__quick-btn {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(46, 139, 118, 0.35);
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.nv-kit__quick-btn:hover,
.nv-kit__quick-btn.is-active {
    border-color: var(--g-emerald, #2e8b76);
    background: var(--g-emerald, #2e8b76);
    color: #fff;
}

.nv-kit__scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nv-kit__scenario {
    display: block;
    cursor: pointer;
}

.nv-kit__scenario input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nv-kit__scenario-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--border-elements-color, #e8e0d4);
    background: var(--body-bg-color, #fff);
    transition: border-color .2s, box-shadow .2s;
}

.nv-kit__scenario input:checked + .nv-kit__scenario-box {
    border-color: var(--ac-color, #9a7b4f);
    box-shadow: 0 0 0 1px var(--ac-color, #9a7b4f);
}

.nv-kit__scenario-title {
    font-size: 14px;
}

.nv-kit__scenario-hint {
    font-size: 12px;
    line-height: 1.45;
    color: #666;
}

.nv-kit__submit {
    justify-self: start;
}

.nv-kit__result,
.nv-kit__empty {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-elements-color, #ede8dc);
    background: var(--body-bg-color, #fff);
}

.nv-kit__result-head {
    margin-bottom: 10px;
}

.nv-kit__result-title {
    margin: 0 0 4px;
    font-size: 1rem;
}

.nv-kit__result-meta {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
}

.nv-kit__list {
    list-style: none;
    margin: 12px 0 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.nv-kit__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--wrap-bg-color, #f8f5ef);
}

.nv-kit__card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    grid-column: 1;
}

.nv-kit__card-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.nv-kit__card-link img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.nv-kit__card-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.nv-kit__card-weight {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gray-text-color, #6b7280);
    margin-top: 1px;
}

.nv-kit__totals {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-bottom: 12px;
}

.nv-kit__total-line {
    margin: 0;
    font-size: 14px;
}

.nv-kit__total-line--muted {
    font-size: 13px;
    color: #666;
}

.nv-kit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.nv-kit__actions .nv-btn {
    padding: 10px 16px;
    font-size: 13px;
}

.nv-kit__note {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #777;
}

/* Подборки чая */
.nv-tea-bundles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.nv-tea-bundle {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
}

.nv-tea-bundle__tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    color: var(--ac-color, #9a7b4f);
    background: rgba(128, 128, 128, 0.12);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.nv-tea-bundle__title {
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.nv-tea-bundle__desc {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0 0 16px;
}

.nv-tea-bundle__items {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.nv-tea-bundle__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-elements-color, #ececec);
    font-size: 13px;
}

.nv-tea-bundle__item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.nv-tea-bundle__item-link img {
    border-radius: 6px;
    flex-shrink: 0;
}

.nv-tea-bundle__item-name {
    line-height: 1.35;
}

.nv-tea-bundle__item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nv-tea-bundle__item-weight {
    font-size: 11px;
    line-height: 1.3;
    color: var(--gray-text-color, #6b7280);
}

.nv-tea-bundle__item-price {
    white-space: nowrap;
    font-weight: 600;
}

.nv-tea-bundle__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
}

.nv-tea-bundle__footer .nv-btn {
    width: 100%;
}

.nv-tea-bundle__total {
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .nv-kit__scenario-grid,
    .nv-tea-bundles__grid {
        grid-template-columns: 1fr;
    }

    .nv-brew-vessels__panel-head {
        flex-direction: column;
    }

    .nv-kit__actions .nv-btn,
    .nv-kit__submit {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .nv-kit__budget-row {
        flex-direction: column;
        align-items: stretch;
    }

    .nv-kit__input {
        width: 100%;
    }

    .nv-tea-bundle__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .nv-tea-bundle__footer .nv-btn {
        width: 100%;
    }
}

.dark-theme .nv-brew-vessels__panel,
.dark-theme .nv-kit__controls,
.dark-theme .nv-kit__card,
.dark-theme .nv-tea-bundle {
    background: var(--wrap-bg-color, #2a2a2a);
}

.dark-theme .nv-brew-vessels__lead,
.dark-theme .nv-kit__scenario-hint,
.dark-theme .nv-tea-bundle__desc {
    color: rgba(255, 255, 255, 0.65);
}

/* ========== /novichkam/ — инфографика (стиль mockups/infographics-gachami-showcase) ========== */

/* SVG-токены: emerald заливка/контур + gold акцент */
.nv-ic__fill {
    fill: var(--g-emerald, #0F5A4A);
    opacity: .12;
}

.nv-ic__line {
    fill: none;
    stroke: var(--g-emerald, #0F5A4A);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nv-ic__accent {
    fill: none;
    stroke: var(--g-gold, #C6A15B);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Путь новичка — 3 шага */
.nv-journey {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nv-journey__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 24px 22px;
    border-radius: 16px;
    background: var(--body-bg-color, #fff);
    border: 1px solid var(--border-elements-color, #E2D8CF);
}

.nv-journey__step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--g-emerald, #0F5A4A), var(--g-gold, #C6A15B) 60%, var(--g-emerald-soft, #2E8B76));
}

.nv-journey__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 700;
    color: var(--g-gold-deep, #8A6D1E);
    z-index: 2;
}

.nv-journey__num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--g-gold-deep, #8A6D1E);
}

.nv-journey__ico {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 40%, var(--g-gold-soft, rgba(198, 161, 91, .18)), transparent 70%);
}

.nv-journey__ico svg {
    width: 36px;
    height: 36px;
}

.nv-journey__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2px 0 0;
}

.nv-journey__text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--g-muted, #5B6157);
    margin: 0;
    flex: 1;
}

.nv-journey__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-color, #0F5A4A);
    text-decoration: none;
    margin-top: auto;
}

/* Соты — 6 видов чая */
.nv-hive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nv-hive__cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 16px;
    background: var(--body-bg-color, #fff);
    border: 1px solid var(--border-elements-color, #E2D8CF);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.nv-hive__cell:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    border-color: var(--ac-color, #0F5A4A);
}

.nv-hive__hex {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 40%, var(--g-gold-soft, rgba(198, 161, 91, .18)), transparent 70%);
}

.nv-hive__hex svg {
    width: 36px;
    height: 36px;
}

.nv-hive__tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g-gold-deep, #8A6D1E);
}

.nv-hive__name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.nv-hive__taste {
    font-size: 12px;
    font-weight: 600;
    color: var(--ac-color, #0F5A4A);
    margin: 0;
}

.nv-hive__desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--g-muted, #5B6157);
    margin: 0;
    flex: 1;
}

.nv-hive__go {
    font-size: 13px;
    font-weight: 600;
    color: var(--ac-color, #0F5A4A);
    margin-top: auto;
}

/* Калькулятор — схема слотов */
.nv-kit__slots-diagram {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.nv-kit__slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
}

.nv-kit__slot:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 34px;
    font-weight: 700;
    color: var(--g-gold-deep, #8A6D1E);
    z-index: 2;
}

.nv-kit__slot-ico {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 40%, var(--g-gold-soft, rgba(198, 161, 91, .18)), transparent 70%);
}

.nv-kit__slot-ico svg {
    width: 30px;
    height: 30px;
}

.nv-kit__slot-name {
    font-size: 14px;
}

.nv-kit__slot-hint {
    font-size: 12px;
    line-height: 1.4;
    color: var(--g-muted, #5B6157);
}

/* Иконка сценария */
.nv-kit__scenario-ico {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: radial-gradient(circle at 50% 40%, var(--g-gold-soft, rgba(198, 161, 91, .18)), transparent 70%);
    margin-bottom: 2px;
}

.nv-kit__scenario-ico svg {
    width: 26px;
    height: 26px;
}

/* Бейдж роли в результате */
.nv-kit__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.nv-kit__card-role {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--g-emerald, #0F5A4A);
    background: var(--g-gold-soft, rgba(198, 161, 91, .18));
    border-radius: 999px;
    padding: 1px 6px;
    margin: 0 0 2px;
}

.dark-theme .nv-kit__card-role {
    color: var(--g-emerald-text, #72DCC4);
}

/* Кросс-селл под результатом */
.nv-kit__crosssell {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: var(--g-gold-soft, rgba(198, 161, 91, .18));
    border: 1px solid var(--border-elements-color, #E2D8CF);
    transition: transform .2s, box-shadow .2s;
}

.nv-kit__crosssell:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nv-kit__crosssell-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--body-bg-color, #fff);
}

.nv-kit__crosssell-ico svg {
    width: 28px;
    height: 28px;
}

.nv-kit__crosssell-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nv-kit__crosssell-text b {
    font-size: 15px;
}

.nv-kit__crosssell-text span {
    font-size: 13px;
    color: var(--g-muted, #5B6157);
}

.nv-kit__crosssell-arrow {
    margin-left: auto;
    font-size: 20px;
    font-weight: 700;
    color: var(--g-gold-deep, #8A6D1E);
}

/* Подборки чая — мини-инфографика */
.nv-tea-bundle__viz {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

.nv-tea-bundle__cups {
    display: inline-flex;
    gap: 2px;
}

.nv-tea-bundle__cups svg {
    width: 30px;
    height: 30px;
}

.nv-tea-bundle__viz-arrow {
    font-size: 18px;
    font-weight: 700;
    color: var(--g-gold-deep, #8A6D1E);
}

.nv-tea-bundle__viz-cart svg {
    width: 30px;
    height: 30px;
}

.nv-tea-bundle__viz-note {
    width: 100%;
    font-size: 12px;
    color: var(--g-muted, #5B6157);
    margin-top: 2px;
}

.nv-tea-bundle__total {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Заваривание — иконки в табах + stepper */
.nv-brew-vessels__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nv-brew-vessels__tab-ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nv-brew-vessels__tab.is-active .nv-ic__line,
.nv-brew-vessels__tab.is-active .nv-ic__accent,
.nv-brew-vessels__tab:hover .nv-ic__line,
.nv-brew-vessels__tab:hover .nv-ic__accent {
    stroke: #fff;
}

.nv-brew-vessels__tab.is-active .nv-ic__fill,
.nv-brew-vessels__tab:hover .nv-ic__fill {
    fill: #fff;
}

.nv-brew-vessels__steps {
    list-style: none;
    padding-left: 0;
    margin: 0 0 16px;
    counter-reset: brewstep;
}

.nv-brew-vessels__steps li {
    position: relative;
    padding-left: 46px;
    min-height: 32px;
    counter-increment: brewstep;
}

.nv-brew-vessels__steps li + li {
    margin-top: 12px;
}

.nv-brew-vessels__steps li::before {
    content: counter(brewstep);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--g-emerald, #0F5A4A);
}

/* «Проще всего» под таблицей температур */
.nv-temp__easiest {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 16px 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.nv-temp__easiest-ico {
    color: var(--g-emerald, #0F5A4A);
    font-weight: 700;
}

@media (max-width: 900px) {
    .nv-kit__crosssell-arrow {
        display: none;
    }
}

/* Мобильные слайдеры карточек на /novichkam/ */
@media (max-width: 900px) {
    #page-content:has(.nv),
    .content-cols--fullwidth:has(.nv) {
        overflow-x: clip;
        max-width: 100%;
    }

    .nv-mslider {
        overflow: hidden;
        margin-inline: -12px;
    }

    .nv-mslider__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 4px 12px 14px;
        box-sizing: border-box;
    }

    .nv-mslider__viewport::-webkit-scrollbar {
        display: none;
    }

    .nv-mslider__viewport > .nv-journey,
    .nv-mslider__viewport > .nv-hive,
    .nv-mslider__viewport > .nv-brew-chart__grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 14px;
        margin: 0;
        padding: 0;
        grid-template-columns: none;
    }

    .nv-mslider__viewport .nv-journey__step,
    .nv-mslider__viewport .nv-hive__cell,
    .nv-mslider__viewport .nv-brew-chart__card {
        flex: 0 0 clamp(268px, 84vw, 320px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .nv-mslider__viewport .nv-journey__step:not(:last-child)::after {
        display: none;
    }

    .nv-mslider__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px 0 0;
        padding: 0;
    }

    .nv-mslider__dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(198, 161, 91, 0.35);
        cursor: pointer;
        transition: transform .2s ease, background .2s ease;
    }

    .nv-mslider__dot.is-active {
        background: var(--g-gold, #C6A15B);
        transform: scale(1.2);
    }

    .nv-mslider__dot:focus-visible {
        outline: 2px solid var(--g-emerald, #0F5A4A);
        outline-offset: 2px;
    }

    .dark-theme .nv-mslider__dot {
        background: rgba(198, 161, 91, 0.45);
    }
}

@media (min-width: 901px) {
    .nv-mslider__dots {
        display: none;
    }
}

@media (max-width: 600px) {
    .nv-kit__slots-diagram {
        grid-template-columns: repeat(2, 1fr);
    }

    .nv-kit__slot:not(:last-child)::after {
        display: none;
    }
}

/* /novichkam/ — инфографика «температура и время» */
.nv-temp--compact {
    padding: 16px 18px;
}

.nv-temp--compact .nv-temp__title {
    margin-bottom: 14px;
}

.nv-temp--compact .nv-brew-chart__lead {
    display: none;
}

.nv-brew-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nv-brew-chart__lead {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.nv-brew-chart__emblem {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.nv-brew-chart__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.nv-brew-chart__desc {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--g-muted, #5B6157);
}

.nv-brew-chart__factors {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nv-brew-chart__factors li {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 90, 74, 0.08);
    color: var(--g-emerald, #0F5A4A);
}

.nv-brew-chart__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.nv-brew-chart__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: var(--body-bg-color, #fff);
    border: 1px solid var(--border-elements-color, #E2D8CF);
}

.nv-brew-chart__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, var(--g-emerald, #0F5A4A), var(--g-gold, #C6A15B) 55%, var(--g-emerald-soft, #2E8B76));
}

.nv-brew-chart__card-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nv-brew-chart__ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 40%, var(--g-gold-soft, rgba(198, 161, 91, .18)), transparent 70%);
}

.nv-brew-chart__ico svg {
    width: 28px;
    height: 28px;
}

.nv-brew-chart__meta {
    min-width: 0;
}

.nv-brew-chart__name {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.nv-brew-chart__temp {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: var(--g-emerald, #0F5A4A);
}

.nv-brew-chart__temp-val {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.nv-brew-chart__temp-unit {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

.nv-brew-chart__meter {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 90, 74, 0.1);
    overflow: hidden;
}

.nv-brew-chart__meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7ec8a8, var(--g-emerald, #0F5A4A) 45%, #c45c3e);
}

.nv-brew-chart__meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 10px;
    color: #888;
}

.nv-brew-chart__modes {
    display: grid;
    gap: 10px;
}

.nv-brew-chart__mode {
    padding: 10px;
    border-radius: 10px;
    background: var(--wrap-bg-color, #f8f5ef);
}

.nv-brew-chart__mode-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--g-gold-deep, #8A6D1E);
}

.nv-brew-chart__mode-head svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nv-brew-chart__mode p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--g-muted, #5B6157);
}

.nv-brew-chart__foot {
    padding: 16px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
}

.nv-brew-chart__timeline-wrap {
    margin-bottom: 12px;
}

.nv-brew-chart__timeline-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--g-gold-deep, #8A6D1E);
}

.nv-brew-chart__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}

.nv-brew-chart__timeline li {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nv-brew-chart__timeline li:not(:last-child)::after {
    content: "→";
    margin: 0 8px;
    color: var(--g-gold-deep, #8A6D1E);
    font-weight: 700;
}

.nv-brew-chart__timeline-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--body-bg-color, #fff);
    border: 1px solid var(--border-elements-color, #E2D8CF);
    font-size: 14px;
    font-weight: 700;
    color: var(--g-emerald, #0F5A4A);
}

.nv-brew-chart__timeline-unit {
    font-size: 11px;
    color: #888;
}

.nv-brew-chart__note,
.nv-brew-chart__disclaimer {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
}

.nv-temp--compact .nv-temp__easiest {
    margin-top: 14px;
    font-size: 13px;
}

.dark-theme .nv-brew-chart__card,
.dark-theme .nv-brew-chart__mode {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .nv-brew-chart__foot {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
    .nv-brew-chart__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .nv-brew-chart__grid {
        grid-template-columns: 1fr;
    }

    .nv-brew-chart__lead {
        flex-direction: column;
    }
}

/* Калькулятор чая */
.nv-tea-calc {
    margin-bottom: 36px;
}

.nv-tea-calc__controls {
    display: grid;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
    margin-bottom: 20px;
}

.nv-tea-calc__budget-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nv-tea-calc__range {
    flex: 1 1 200px;
    min-width: 160px;
    accent-color: var(--g-emerald, #2e8b76);
}

.nv-tea-calc__input {
    width: 120px;
}

.nv-tea-calc__budget-hint {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--g-emerald, #2e8b76);
}

.nv-tea-calc__mood-grid {
    grid-template-columns: repeat(2, 1fr);
}

.nv-tea-calc__result {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-elements-color, #ede8dc);
    background: var(--body-bg-color, #fff);
}

.nv-tea-calc__empty {
    padding: 20px;
    border-radius: 14px;
    border: 1px dashed var(--border-elements-color, #ddd);
    font-size: 14px;
    color: #666;
}

.nv-tea-bundles__subtitle {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.nv-tea-bundles__intro-secondary {
    margin-bottom: 20px;
}

@media (max-width: 700px) {
    .nv-tea-calc__mood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nv-tea-calc__mood-grid .nv-kit__scenario-box {
        padding: 10px 11px;
        gap: 4px;
        border-radius: 10px;
        border-width: 1.5px;
    }

    .nv-tea-calc__mood-grid .nv-kit__scenario-title {
        font-size: 13px;
        line-height: 1.25;
    }

    .nv-tea-calc__mood-grid .nv-kit__scenario-hint {
        font-size: 11px;
        line-height: 1.35;
    }

    .nv-tea-calc__controls {
        padding: 14px 12px;
        gap: 14px;
    }

    .nv-kit__list {
        grid-template-columns: 1fr;
    }
}

.dark-theme .nv-kit__quick-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #f2f2f2;
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .nv-kit__quick-btn:hover,
.dark-theme .nv-kit__quick-btn.is-active {
    background: var(--g-emerald, #2e8b76);
    color: #fff;
}
