/*==========================================================
  Morocco Tours Engine — Premium Thank You / Confirmation Page
==========================================================*/

.mte-thankyou-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    font-family: var(--mte-font, 'Inter', sans-serif);
}

/* ── Hero ─────────────────────────────────────── */
.mte-ty-hero {
    text-align: center;
    padding: 50px 20px 36px;
}

.mte-ty-checkmark {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: var(--mte-primary, #ff5a5f);
}

.mte-ty-checkmark svg {
    width: 100%;
    height: 100%;
}

.mte-ty-title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 800;
    color: var(--mte-text-heading, #111);
    line-height: 1.25;
}

.mte-ty-subtitle {
    margin: 0;
    font-size: 16px;
    color: var(--mte-text-muted, #777);
}

/* ── Reference Badge ──────────────────────────── */
.mte-ty-ref-badge {
    text-align: center;
    display: inline-block;
    background: #f0f0f5;
    border-radius: 100px;
    padding: 10px 28px;
    font-size: 14px;
    color: #555;
    margin: 0 auto 36px;
    width: max-content;
    max-width: 100%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.mte-ty-ref-badge strong {
    color: var(--mte-text-heading, #111);
    font-size: 16px;
}

/* ── Card Grid ────────────────────────────────── */
.mte-ty-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.mte-ty-card {
    background: var(--mte-surface, #fff);
    border: 1px solid #ebebeb;
    border-radius: var(--mte-radius, 12px);
    padding: 22px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mte-ty-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--mte-text-muted, #999);
    font-weight: 600;
    margin-bottom: 14px;
}

/* Tour Card */
.mte-ty-tour-thumb {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 12px;
}

.mte-ty-tour-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--mte-text-heading, #111);
    line-height: 1.35;
    margin-bottom: 10px;
}

.mte-ty-tour-name a {
    color: inherit;
    text-decoration: none;
}

.mte-ty-tour-name a:hover {
    color: var(--mte-primary, #ff5a5f);
}

.mte-ty-tour-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--mte-text-muted, #777);
}

/* Payment Card */
.mte-ty-total {
    font-size: 28px;
    font-weight: 800;
    color: var(--mte-text-heading, #111);
    line-height: 1;
    margin-bottom: 8px;
}

.mte-ty-method {
    font-size: 13px;
    color: var(--mte-text-muted, #777);
    margin-bottom: 16px;
}

.mte-ty-deposit-row {
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: 4px;
}

.mte-ty-deposit-col {
    flex: 1;
}

.mte-ty-dep-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mte-ty-dep-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--mte-text-heading, #111);
}

.mte-ty-dep-now {
    color: #16a34a;
}

/* Guest Card */
.mte-ty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}

.mte-ty-row:last-child {
    border-bottom: none;
}

.mte-ty-row span {
    color: var(--mte-text-muted, #777);
}

.mte-ty-row strong {
    color: var(--mte-text-heading, #111);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

/* ── Next Steps ───────────────────────────────── */
.mte-ty-next-steps {
    background: var(--mte-surface, #fff);
    border: 1px solid #ebebeb;
    border-radius: var(--mte-radius, 12px);
    padding: 28px 28px;
    margin-bottom: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mte-ty-next-steps h3 {
    margin: 0 0 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--mte-text-heading, #111);
}

.mte-ty-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mte-ty-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mte-ty-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mte-primary, #ff5a5f);
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
}

.mte-ty-step-text {
    font-size: 14px;
    color: var(--mte-text-body, #444);
    line-height: 1.5;
    padding-top: 6px;
}

/* ── CTA ──────────────────────────────────────── */
.mte-ty-cta {
    text-align: center;
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 767px) {
    .mte-ty-title {
        font-size: 22px;
    }

    .mte-ty-card-grid {
        grid-template-columns: 1fr;
    }

    .mte-ty-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .mte-ty-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mte-ty-card-tour {
        grid-column: 1 / -1;
    }
}