.guide-modal-lock {
    overflow: hidden;
}

.guide-panel {
    display: none !important;
    height: 0;
    overflow: hidden;
}

.guide-panel.is-open {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 4vw, 34px);
    height: auto;
    overflow: visible;
}

.guide-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.guide-panel-inner {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    width: min(1000px, 96vw);
    height: min(620px, 88vh);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.guide-panel:not(.is-open) {
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.guide-header {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ed 100%);
    border-bottom: 1px solid #f1ecdf;
    padding: 18px 22px;
    margin: 0;
    flex: 0 0 auto;
}

.guide-header-top {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 12px;
}

.guide-header-subtitle {
    font-size: 12px;
    line-height: 1.35;
    color: #161616;
    margin: 0 0 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
}

.guide-header-subtitle-accent {
    color: #21346f;
}

.guide-back,
.guide-close {
    border: none;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.guide-back {
    background: #21346f;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(33, 52, 111, 0.18);
}

.guide-back:disabled {
    opacity: 0.35;
    cursor: default;
}

.guide-close {
    background: #f2f4f8;
    color: #172244;
}

.guide-back svg,
.guide-close svg {
    width: 18px;
    height: 18px;
}

.guide-divider {
    display: none;
}

.guide-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.guide-progress-bar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #1a1a1a;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    color: #21346f;
}

.guide-progress-bar.is-active {
    background: #21346f;
    border-color: #21346f;
    color: #ffffff;
}

.guide-progress-bar.is-done {
    border-color: #21346f;
    color: #21346f;
}

.guide-progress-text {
    display: none;
}

.guide-step-wrap {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 22px 94px;
    overflow-y: auto;
    overflow-x: hidden;
}

.guide-step {
    display: none;
}

.guide-step.is-active {
    display: grid;
    align-content: start;
}

.guide-question {
    font-size: 22px;
    line-height: 1.18;
    color: #050505;
    font-weight: 800;
    margin: 0 0 6px;
}

.guide-hint {
    font-size: 13px;
    line-height: 1.45;
    color: #667085;
    margin: 0 0 18px;
}

.guide-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.guide-option,
.guide-result-card {
    width: 100%;
    min-width: 0;
    text-align: left;
    border: 1px solid rgba(33, 52, 111, 0.14);
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.guide-option {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-option:hover,
.guide-option:focus-visible,
.guide-result-card:hover,
.guide-result-card:focus-visible {
    border-color: #21346f;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 36, 79, 0.12);
}

.guide-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #21346f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
    transition: background 0.18s ease;
}

.guide-option-icon:empty {
    display: none;
}

.guide-option-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.guide-option:hover .guide-option-icon,
.guide-option:focus-visible .guide-option-icon {
    background: #f07922;
}

.guide-option-title {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    margin-bottom: 2px;
    font-weight: 800;
    color: #3750A4;
}

.guide-result-title {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    margin-bottom: 2px;
    font-weight: 800;
    color: #3750A4;
}

.guide-option-sub,
.guide-result-meta {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: #6f7890;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.guide-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.guide-result-card {
    display: grid;
    align-content: start;
    gap: 8px;
    border-color: #d8d8d8;
    border-radius: 4px;
    padding: 0 0 10px;
    overflow: hidden;
}

.tz-nvq-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    grid-column: 1 / -1;
}

.tz-nvq-chip {
    background: #fff;
    border: 1.5px solid #e5dfce;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    color: var(--tz-navy);
    text-decoration: none;
    display: inline-block;
}

.guide-result-copy {
    min-width: 0;
}

.guide-result-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 8px 10px 0;
}

.guide-result-date-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-result-price {
    font-size: 14px;
    line-height: 1.35;
    color: #f07922;
    font-weight: 800;
    white-space: nowrap;
}

.guide-result-date {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #000000;
    font-weight: 500;
}

.guide-result-delivery-type {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #000000;
    font-weight: 500;
}

.guide-result-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 2px 10px 0;
}

.guide-result-type {
    display: inline-flex;
    align-items: center;
    background: #008000;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.guide-result-divider {
    display: block;
    height: 1px;
    background: #8e8e8e;
    margin: 0 0 2px;
}

.guide-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 10px;
}

.guide-result-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

.guide-result-action-primary {
    background: #f07922;
}

.guide-result-action-secondary {
    background: #3452ad;
}

.guide-result-intro {
    font-size: 14px;
    line-height: 1.5;
    color: #303030;
    margin: 0 0 18px;
}

.guide-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: fixed;
    z-index: 2147483647;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(1000px, 96vw);
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px 22px;
    margin: 0 0 20px;
    box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
    pointer-events: auto;
}

.guide-cta {
    width: 100%;
    border: 1.5px solid #000000;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.guide-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.guide-cta-secondary {
    background: #ffffff;
}

.guide-panel .guide-header-subtitle {
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: #161616 !important;
    margin: 0 0 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.guide-panel .guide-question {
    font-size: 22px !important;
    line-height: 1.18 !important;
    color: #050505 !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
}

.guide-panel .guide-hint {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #667085 !important;
    margin: 0 0 18px !important;
}

.guide-panel .guide-result-intro {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #303030 !important;
    margin: 0 0 18px !important;
}

.guide-options-search {
    display: block;
}

.guide-search {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.guide-search-inline {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.guide-search-box {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(33, 52, 111, 0.18);
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 12px;
}

.guide-search-icon {
    color: #21346f;
    display: flex;
}

.guide-search-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.guide-search-box input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 15px;
    line-height: 1.4;
    color: #111827;
}

.guide-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.guide-search-note {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.5;
    color: #475467;
    background: #f7f9fc;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    padding: 12px 14px;
}

.guide-search-result {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(33, 52, 111, 0.14);
    border-radius: 10px;
    background: #ffffff;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
}

.guide-search-result:hover,
.guide-search-result:focus-visible {
    border-color: #21346f;
    box-shadow: 0 8px 20px rgba(20, 36, 79, 0.1);
}

@media screen and (max-width: 900px) {
    .guide-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 620px) {
    .guide-panel.is-open {
        padding: 10px;
    }

    .guide-panel-inner {
        width: 94vw;
        height: 86vh;
        border-radius: 14px;
    }

    .guide-step-wrap {
        padding-bottom: 148px;
    }

    .guide-header-top {
        grid-template-columns: 38px 1fr 38px;
        gap: 8px;
    }

    .guide-back,
    .guide-close {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .guide-progress-bar {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .guide-question {
        font-size: 18px;
    }

    .guide-options {
        grid-template-columns: 1fr;
    }

    .guide-result-card {
        display: grid;
    }

    .guide-result-price {
        white-space: normal;
    }

    .guide-results {
        grid-template-columns: 1fr;
    }

    .guide-search-results {
        grid-template-columns: 1fr;
    }

    .guide-cta-row {
        grid-template-columns: 1fr;
        width: 94vw;
        bottom: 0;
        border-radius: 18px;
        padding: 10px;
    }
}
