/* ======================================================
   CATALOG INDEX — YETI³ (ARCHIVE STYLE)
====================================================== */

/* HERO */
.catalog-hero {
    padding: 96px 24px 72px;
    text-align: center;
    background:
        radial-gradient(900px 420px at 50% -120px, rgba(255,255,255,0.12), transparent 65%),
        url("/static/img/stone-texture.png") center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}

.catalog-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.catalog-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-soft);
}

/* SECTION */
.catalog-section {
    padding: 96px 24px;
    background: var(--bg-paper);
}

/* GRID */
.catalog-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
}

/* CARD */
.catalog-card {
    padding: 36px 32px 42px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.catalog-card h2 {
    font-size: 24px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.catalog-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
    margin-bottom: 24px;
}

/* CTA */
.catalog-cta {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* PHILOSOPHY */
.catalog-philosophy {
    padding: 96px 24px;
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
}

.catalog-philosophy-wrap {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.catalog-philosophy h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.catalog-philosophy p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-soft);
}

/* список шагов */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* ← ВОЗДУХ МЕЖДУ ШАГАМИ */
}

/* один шаг */
.process-step {
    position: relative;
}

/* строка шага */
.process-body.process-inline {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 16px;

    padding: 20px 26px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.65);
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.04),
        0 10px 28px rgba(0, 0, 0, 0.05);
}

/* номер шага */
.process-index {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: var(--bg);

    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* название */
.process-title-inline {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

/* === КРАСИВОЕ ИТОГОВОЕ ВРЕМЯ === */
.process-time-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 64px;
    padding: 6px 12px;

    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);

    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;

    color: var(--text);
}

/* === ИТОГ ПРОИЗВОДСТВА === */
.process-total {
    margin-top: 64px;
    padding: 32px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.04),
        0 18px 40px rgba(0, 0, 0, 0.06);
}

/* подпись */
.process-total-label {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--text-soft);
}

/* значение — главный акцент */
.process-total-value {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;

    color: var(--text);
}

.process-total::before {
    content: "—";
    font-size: 28px;
    color: var(--text-soft);
}

/* ======================================================
   PRODUCT CARD — UPDATED FOR YETI³
====================================================== */

/* базовая карточка */
.product-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

.product-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text);
}

.product-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.4;
    margin: 0 0 16px 0;
}

/* бейдж «Малая серия» */
.product-badge {
    display: inline-block;
    background: #ff5722;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* материал с ссылкой */
.product-material {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.product-material:hover {
    text-decoration: underline;
}

/* кнопка */
.product-card .button {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* ======================
   PRODUCT BADGES
====================== */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.badge-unique {
    background: #2196F3; /* синий для "Единственный экземпляр" */
}

.badge-series {
    background: #ff5722; /* оранжевый для "Малая серия" */
}


/* ===============================
   PRODUCT TITLE & META
================================ */

.product-title {
    text-align: center;
    margin-bottom: 14px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.02em;
}

.product-material {
    text-align: center;
    color: var(--text-soft);
    margin-bottom: 56px;
    font-size: 0.95rem;
}

.material-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.material-link:hover {
    border-bottom-color: currentColor;
}

/* ===============================
   GALLERY GRID (PREMIUM)
================================ */

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

/* КАРТОЧКА — СТРОГО ОДИН РАЗМЕР */
.gallery-item {
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: 18px;
    overflow: hidden;

    /* 🔑 ФИКСИРОВАННЫЙ ФОРМАТ */
    aspect-ratio: 4 / 5;   /* luxury-вертикаль */
}

/* ИЗОБРАЖЕНИЕ ЗАПОЛНЯЕТ КАРТОЧКУ */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* аккуратный кроп */
    object-position: center;

    display: block;
    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.02);
}

/* ===============================
   LIGHTBOX (MUSEUM STYLE)
================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 14, 0.92);
    backdrop-filter: blur(6px);
}

.lightbox-image {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 92vw;
    max-height: 92vh;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
    border-radius: 8px;
    cursor: zoom-in;
}

.lightbox-image.is-zoomed {
    transform: translate(-50%, -50%) scale(1.8);
    cursor: zoom-out;
}

/* ZOOM STATE */
.lightbox-image.is-zoomed {
    transform: translate(-50%, -50%) scale(1.8);
    cursor: zoom-out;
}

/* ===============================
   OWNER BLOCK — YETI³
================================ */

.owner-card {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 28px 32px;
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);

    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.04),
        0 18px 40px rgba(0, 0, 0, 0.06);
}

/* ---------- ICON ---------- */

.owner-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

/* PUBLIC */
.owner-public .owner-icon {
    background: rgba(33, 150, 243, 0.12);
    color: #2196F3;
}

/* PRIVATE */
.owner-private .owner-icon {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-soft);
}

/* ---------- BODY ---------- */

.owner-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.owner-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* ЗАШИФРОВАННОЕ ИМЯ */
.owner-name.obfuscated {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.18em;
    color: var(--text-soft);
}

/* NOTE */
.owner-note {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-soft);
}

/* ===============================
   ANIMATION — ENCRYPTED PULSE
================================ */

.pulse {
    position: relative;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 50%;
    background: currentColor;

    opacity: 0.15;
    animation: pulse-ring 2.4s ease-out infinite;
}

.cta-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-soft);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-top: 36px;
    margin-bottom: 36px;
    display: flex;
    justify-content: center;
}

.cta-actions .button {
    min-width: 260px;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.25;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* ===============================
   PRICE REQUEST MODAL
================================ */

.price-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* корректная работа hidden */
.price-modal[hidden] {
    display: none;
}

/* ===============================
   BACKDROP
================================ */

.price-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.35s ease forwards;
}

/* ===============================
   CARD
================================ */

.price-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;

    margin: 8vh auto;
    padding: 42px 38px 38px;
    border-radius: 22px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.96),
        rgba(248,249,250,0.98)
    );

    box-shadow:
        0 2px 0 rgba(0,0,0,0.04),
        0 24px 64px rgba(0,0,0,0.25);

    animation: modalUp 0.45s cubic-bezier(.2,.8,.2,1) forwards;
}

/* ===============================
   CLOSE
================================ */

.price-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    border: none;
    background: transparent;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-soft);

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease;
}

.price-modal-close:hover {
    transform: rotate(90deg);
    color: var(--text);
    background: rgba(0,0,0,0.06);
}

/* ===============================
   TITLE
================================ */

.price-modal-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.price-modal-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-soft);
    margin-bottom: 32px;
    line-height: 1.55;
}

/* ===============================
   FORM
================================ */

#priceRequestForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#priceRequestForm label {
    font-size: 13px;
    color: var(--text-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#priceRequestForm input,
#priceRequestForm textarea {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 15px;
    font-family: inherit;

    background: #fff;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

#priceRequestForm input:focus,
#priceRequestForm textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,121,107,0.12);
    background: #fff;
}

#priceRequestForm textarea {
    resize: vertical;
    min-height: 90px;
}

/* ===============================
   BUTTON
================================ */

#priceRequestForm .button.primary.full {
    width: 100%;
    margin-top: 12px;
    padding: 14px 0;
    font-size: 15px;
}

/* ===============================
   STATUS
================================ */

.form-status {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    min-height: 1.4em;
}

.form-status.loading {
    color: var(--text-soft);
}

.form-status.success {
    color: #2e7d32;
    animation: fadeIn 0.3s ease;
}

.form-status.error {
    color: #c62828;
    animation: shake 0.35s ease;
}

.price-result {
    margin-top: 32px;
    padding: 36px 28px;
    border-radius: 22px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #f6f4f0,
        #ffffff
    );

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.06),
        0 20px 50px rgba(0,0,0,0.15);

    animation: priceReveal 0.6s cubic-bezier(.2,.8,.2,1);
}

.price-result-label {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a6f66;
}

.price-result-value {
    margin-top: 14px;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1f1b16;
}

.price-result-note {
    margin-top: 12px;
    font-size: 14px;
    color: #6b6b6b;
}

@keyframes priceReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

/* ===============================
   ADAPTIVE
================================ */

@media (max-width: 640px) {
    .price-modal-card {
        margin: 6vh 16px;
        padding: 32px 22px 26px;
    }

    .price-modal-title {
        font-size: 21px;
    }

    .price-result-value {
        font-size: 34px;
    }
}

/* ============================= */
/* OWNER RESULT MODAL            */
/* ============================= */

.owner-result-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-result-modal[hidden] {
    display: none;
}

/* затемнение */
.owner-result-modal .price-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 25, 0.55);
    backdrop-filter: blur(3px);
}

/* карточка */
.owner-result-modal .price-modal-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 28px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: ownerModalIn 0.25s ease-out;
}

/* анимация */
@keyframes ownerModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ============================= */
/* CONTENT                       */
/* ============================= */

.owner-result {
    text-align: center;
}

.owner-result-icon {
    width: 56px;
    height: 56px;
    margin: 16px auto 18px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-result-icon.success {
    background: #e6f5f1;
    color: #00796b;
}

.owner-result-icon.error {
    background: #fdecea;
    color: #c62828;
}

.owner-result-block {
    margin-top: 16px;
}

.owner-result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8a90;
}

.owner-result-value {
    font-size: 18px;
    font-weight: 600;
    margin-top: 4px;
}

.owner-result-note {
    margin-top: 22px;
    font-size: 14px;
    color: #455a64;
    line-height: 1.5;
}

.owner-result-hint {
    margin-top: 16px;
    font-size: 13px;
    color: #8a8a8a;
    text-align: left;
}

.owner-result-hint ul {
    margin: 8px 0 0 18px;
}

/* ============================= */
/* STL VIEWER / PLACEHOLDER     */
/* ============================= */

/* Общий контейнер */
.stl-viewer-wrap {
    margin-top: 40px;
    width: 100%;
    height: 420px;
    position: relative;

    border-radius: 18px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            #1b1b1b,
            #0f0f0f
        );

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 20px 60px rgba(0,0,0,0.35);
}

/* Canvas обязателен на 100% */
.stl-viewer-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================= */
/* STL VIEWER WRAP (BASE)        */
/* ============================= */

.stl-viewer-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    margin-top: 40px;

    border-radius: 18px;
    overflow: hidden;

    /* КОЖА — ВСЕГДА */
    background-image: url("/static/img/leather-texture.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 20px 60px rgba(0,0,0,0.35);
}

/* Canvas — прозрачный, без фона */
.stl-viewer-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

/* ============================= */
/* STL LOADER                    */
/* ============================= */

.stl-loader {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(15, 24, 29, 0.55);
    backdrop-filter: blur(6px);

    color: #fff;
    font-size: 14px;
    letter-spacing: 0.04em;

    transition: opacity 0.3s ease;
}

.stl-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255,255,255,0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: stl-spin 0.9s linear infinite;
    margin-bottom: 14px;
}

@keyframes stl-spin {
    to { transform: rotate(360deg); }
}

.stl-progress {
    opacity: 0.85;
    text-align: center;
}

/* ============================= */
/* STL PLACEHOLDER (NO MODEL)    */
/* ============================= */

.stl-placeholder {
    background:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.55)
        ),
        url("/static/img/stone-texture.png") center / cover no-repeat;

    border-radius: 18px;
    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 20px 60px rgba(0,0,0,0.35);
}

/* Контент заглушки */
.stl-placeholder-inner {
    text-align: center;
    max-width: 340px;
    padding: 24px;
    color: rgba(255,255,255,0.9);
}

.stl-placeholder-inner strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.stl-placeholder-inner p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}

/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 768px) {
    .stl-viewer-wrap,
    .stl-placeholder {
        height: 320px;
        border-radius: 14px;
    }

    .stl-spinner {
        width: 36px;
        height: 36px;
    }

    .stl-placeholder-inner strong {
        font-size: 16px;
    }

    .stl-placeholder-inner p {
        font-size: 13px;
    }
}


/* ===============================
   DIGITAL VERIFY FORM (FIXED)
================================ */

.digital-verify-form {
    margin-top: 32px;
    padding: 28px 32px;
    border-radius: 20px;

    background: #ffffff;
    border: 1px solid var(--border);

    box-shadow:
        0 2px 0 rgba(0,0,0,0.04),
        0 18px 40px rgba(0,0,0,0.06);
}

/* поле */
.digital-verify-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

/* label — ЧЁТКО ЧИТАЕМЫЙ */
.digital-verify-field label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: var(--text);
}

/* input — ЯВНЫЙ ФОН */
.digital-verify-field input {
    padding: 14px 16px;
    border-radius: 14px;

    font-size: 15px;
    font-family: inherit;

    background: #ffffff;
    color: var(--text);

    border: 1px solid var(--border);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.digital-verify-field input::placeholder {
    color: #9aa7ad;
}

/* focus */
.digital-verify-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,121,107,0.12);
}

/* кнопка */
.digital-verify-form .button {
    margin-top: 12px;
}

/* статус */
#globalVerifyStatus,
#ownerVerifyStatus {
    margin-top: 14px;
    font-size: 14px;
    min-height: 1.4em;
    text-align: center;
}

/* состояния */
.form-status.loading {
    color: var(--text-soft);
}

.form-status.success {
    color: #2e7d32;
}

.form-status.error {
    color: #c62828;
}


/* ===============================
   PRICE CTA — PRODUCT PAGE
================================ */

.price-cta {
    margin: 0 auto 72px;
    padding: 0 24px;
}

.price-cta-inner {
    max-width: 860px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;

    padding: 36px 40px;

    border-radius: 22px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.96),
        rgba(248,249,250,0.98)
    );

    box-shadow:
        0 2px 0 rgba(0,0,0,0.04),
        0 18px 42px rgba(0,0,0,0.08);
}

.price-cta-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}

.price-cta-note {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
}

.price-cta-action .button {
    min-width: 240px;
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 768px) {
    .price-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 28px 26px;
    }

    .price-cta-action .button {
        width: 100%;
    }
}

.digital-intro{text-align: center

}
/* ============================= */
/* TECH PROCESS — TIMELINE       */
/* ============================= */

.tech-process-section{
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-bottom: 48px;
}

/* контейнер списка */
.tech-process-list{
    --line: rgba(15,31,36,0.12);
    --line-strong: rgba(15,31,36,0.18);
    --card-border: rgba(226,232,234,0.92);
    --shadow: 0 18px 44px rgba(0,0,0,0.08);

    display: grid;
    gap: 14px;
    margin-top: 28px;

    position: relative;
    padding-left: 44px;
}

/* вертикальная линия */
.tech-process-list::before{
    content:"";
    position:absolute;
    left: 18px;
    top: 6px;
    bottom: -22px;
    width: 2px;

    background:
        linear-gradient(
            to bottom,
            transparent 0,
            var(--line) 6%,
            var(--line-strong) 50%,
            var(--line) 94%,
            transparent 100%
        );
    border-radius: 2px;
}

/* ============================= */
/* ЭТАП                          */
/* ============================= */

.tech-process{
    position: relative;

    background:
        linear-gradient(rgba(255,255,255,0.96), rgba(255,255,255,0.90)),
        radial-gradient(circle at 10% 0%, rgba(0,121,107,0.06), transparent 55%);

    border: 1px solid var(--card-border);
    border-radius: calc(var(--radius) + 6px);
    padding: 18px;

    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);

    transition:
        transform 0.18s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/* точка этапа */
.tech-process::before{
    content:"";
    position:absolute;
    left: -34px;
    top: 22px;

    width: 14px;
    height: 14px;
    border-radius: 999px;

    background: #fff;
    border: 2px solid var(--accent);

    box-shadow:
        0 0 0 6px rgba(0,121,107,0.10),
        0 10px 22px rgba(0,0,0,0.10);
}

/* луч к линии */
.tech-process::after{
    content:"";
    position:absolute;
    left: -18px;
    top: 28px;
    width: 18px;
    height: 2px;

    background: rgba(0,121,107,0.22);
    border-radius: 2px;
}

/* hover */
.tech-process:hover{
    transform: translateY(-2px);
    border-color: rgba(0,121,107,0.28);
    box-shadow: 0 22px 54px rgba(0,0,0,0.12);
}

/* ============================= */
/* ШАПКА ЭТАПА                   */
/* ============================= */

.tech-process-header{
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.tech-process-title{
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

/* бейдж времени */
.tech-process-time{
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: rgba(15,31,36,0.82);
    padding: 8px 14px;

    border-radius: 999px;
    border: 1px solid rgba(0,121,107,0.22);

    background:
        linear-gradient(rgba(255,255,255,0.98), rgba(255,255,255,0.94));

    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
    white-space: nowrap;
}

/* описание */
.tech-process-desc{
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 6px;
}

/* примечание */
.tech-process-note{
    margin-top: 10px;

    font-size: 13px;
    line-height: 1.6;
    color: rgba(15,31,36,0.88);

    padding: 10px 12px;
    border-radius: 14px;

    background: rgba(15,47,58,0.04);
    border: 1px dashed rgba(15,47,58,0.18);
}

/* ============================= */
/* TECH PROCESS — TOTAL (FINAL)  */
/* ============================= */

.tech-process-total{
    position: relative;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    margin-top: 22px;
    padding: 22px 28px 22px 56px;

    background:
        linear-gradient(rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
        radial-gradient(circle at 8% 0%, rgba(0,121,107,0.12), transparent 60%);

    border: 1px solid rgba(0,121,107,0.32);
    border-radius: calc(var(--radius) + 8px);

    box-shadow: 0 28px 68px rgba(0,0,0,0.16);
}

/* финальная точка — СТРОГО ПО ЦЕНТРУ */
.tech-process-total::before{
    content:"";
    position:absolute;
    left: 18px;
    top: 50%;

    width: 18px;
    height: 18px;
    border-radius: 999px;

    background: var(--accent);

    box-shadow:
        0 0 0 8px rgba(0,121,107,0.18),
        0 16px 36px rgba(0,0,0,0.22);

    transform: translateY(-50%);
}

/* ИТОГО — слегка выше визуального центра */
.tech-process-total-label{
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    color: rgba(15,31,36,0.58);
    white-space: nowrap;

    position: relative;
}

/* растяжка между лейблом и временем */
.tech-process-total-spacer{
    min-width: 1px;
}

/* ВРЕМЯ — МАКСИМАЛЬНО ВПРАВО */
.tech-process-total-value{
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);

    justify-self: end;
    white-space: nowrap;
}

/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 900px){

    .tech-process-total{
        grid-template-columns: auto 1fr;
        row-gap: 6px;

        padding-left: 40px;
    }

    .tech-process-total::before{
        left: 12px;
    }

    .tech-process-total-value{
        justify-self: start;
        font-size: 20px;
    }

    .tech-process-total-label{
        top: -2px;
    }
}

/* ============================= */
/* REDUCE MOTION                 */
/* ============================= */

@media (prefers-reduced-motion: reduce){
    .tech-process-total{
        transition: none;
    }
}

/* ======================================================
   CATEGORY — YETI³ (WORKSHOP STYLE)
====================================================== */

.category-hero {
    padding: 26px 24px 32px;
    text-align: center;

    background:
        radial-gradient(900px 420px at 50% -120px, rgba(255,255,255,0.12), transparent 65%),
        url("/static/img/stone-texture.png") center / cover no-repeat;

    border-bottom: 1px solid var(--border);
}

.category-hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.category-hero p {
    max-width: 760px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.7;
    color: var(--text-soft);
}


/* ===============================
   FADE-IN
================================ */

.fade-in {
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}


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

@media (max-width: 768px) {

    .category-hero {
        padding: 72px 20px 56px;
    }

    .category-hero h1 {
        font-size: 32px;
    }

    .category-hero p {
        font-size: 16px;
    }

}

