/* ==========================================================================
   TOP-TRIP — Public pages (home, about, contact, legal, login, status pages)
   ========================================================================== */

/* ---------- HOME HERO ---------- */
.home-hero {
    position: relative;
    min-height: min(100svh, 920px);
    display: flex; align-items: center;
    padding: calc(var(--tt-header-h) + 40px) 0 90px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 35%, rgba(212, 168, 67, .10), transparent 45%),
        var(--tt-bg);
    isolation: isolate;
}
.home-hero-media {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(62vw, 1050px);
    z-index: -1;
}
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.home-hero-media::before {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--tt-bg) 0%, rgba(7, 9, 11, .55) 22%, rgba(7, 9, 11, 0) 50%),
        linear-gradient(0deg, var(--tt-bg) 0%, rgba(7, 9, 11, 0) 25%);
}
.home-hero-inner { position: relative; }
.home-hero-copy { max-width: 600px; }
.home-hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 24px; }
.home-hero .tt-lead { max-width: 520px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.home-hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 38px 0 0; padding: 0; list-style: none; }
.home-hero-points li { display: inline-flex; align-items: center; gap: 9px; color: var(--tt-text-2); font-size: 14px; font-weight: 500; }
.home-hero-points i { color: var(--tt-gold); }
.home-scroll {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    color: var(--tt-gold); font-size: 20px; animation: tt-bob 1.8s ease-in-out infinite;
}
@keyframes tt-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
    .home-hero { align-items: flex-end; min-height: 100svh; padding-bottom: 80px; }
    .home-hero-media { width: 100%; height: 62%; bottom: auto; }
    .home-hero-media::before { background: linear-gradient(0deg, var(--tt-bg) 2%, rgba(7, 9, 11, .2) 55%, rgba(7, 9, 11, .5) 100%); }
    .home-hero-copy { max-width: none; }
    .home-hero h1 { font-size: clamp(36px, 9vw, 52px); }
}
@media (max-width: 480px) {
    .home-hero-actions { display: grid; grid-template-columns: 1fr; }
    .home-scroll { display: none; }
}

/* ---------- TRUST BAR ---------- */
.home-trust { border-top: 1px solid var(--tt-line); border-bottom: 1px solid var(--tt-line); background: var(--tt-bg-2); }
.home-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-trust-grid > div { display: flex; align-items: center; gap: 14px; padding: 26px 22px; }
.home-trust-grid > div + div { border-left: 1px solid var(--tt-line); }
.home-trust-grid i { color: var(--tt-gold); font-size: 22px; width: 28px; text-align: center; }
.home-trust-grid strong { display: block; font-family: var(--tt-font-head); font-size: 15px; }
.home-trust-grid span { color: var(--tt-muted); font-size: 13px; }
@media (max-width: 960px) {
    .home-trust-grid { grid-template-columns: 1fr 1fr; }
    .home-trust-grid > div:nth-child(3) { border-left: 0; }
    .home-trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--tt-line); }
}
@media (max-width: 520px) {
    .home-trust-grid > div { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 12px; }
    .home-trust-grid span { font-size: 12px; }
}

/* ---------- SERVICES ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
    padding: 30px 26px;
    background: linear-gradient(165deg, var(--tt-surface-2), var(--tt-surface));
    border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg);
    transition: transform .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--tt-gold-line); }
.service-card h3 { margin: 22px 0 10px; font-size: 19px; }
.service-card p { color: var(--tt-text-2); font-size: 15px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- STEPS ---------- */
.home-steps { background: linear-gradient(180deg, var(--tt-bg-2), var(--tt-bg)); border-top: 1px solid var(--tt-line); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps-grid li { position: relative; padding: 32px 24px 28px; border-top: 2px solid var(--tt-gold-line); }
.steps-grid li::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--tt-gold); }
.step-no { position: absolute; top: 20px; right: 20px; color: rgba(212, 168, 67, .22); font-family: var(--tt-font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.steps-grid i { color: var(--tt-gold); font-size: 26px; }
.steps-grid h3 { margin: 20px 0 10px; font-size: 19px; }
.steps-grid p { color: var(--tt-text-2); font-size: 15px; }
@media (max-width: 1000px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- FLEET ---------- */
.home-fleet { background: var(--tt-bg); }
.fleet-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.fleet-media { position: relative; border-radius: var(--tt-radius-xl); overflow: hidden; border: 1px solid var(--tt-gold-line); box-shadow: var(--tt-shadow); }
.fleet-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fleet-copy h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 18px; }
.fleet-list { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.fleet-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); }
.fleet-list i { width: 42px; height: 42px; display: grid; place-items: center; color: var(--tt-gold-light); background: var(--tt-gold-soft); border-radius: 10px; }
.fleet-list strong { display: block; font-family: var(--tt-font-head); }
.fleet-list span { color: var(--tt-muted); font-size: 14px; }
@media (max-width: 900px) { .fleet-layout { grid-template-columns: 1fr; } }

/* ---------- WHY ---------- */
.home-why { background: radial-gradient(ellipse at 50% 100%, rgba(212, 168, 67, .08), transparent 60%), var(--tt-bg-2); border-top: 1px solid var(--tt-line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--tt-line); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); overflow: hidden; }
.why-item { padding: 34px 28px; background: var(--tt-bg-2); }
.why-item i { color: var(--tt-gold); font-size: 24px; }
.why-item h3 { margin: 18px 0 10px; font-size: 18px; }
.why-item p { color: var(--tt-text-2); font-size: 15px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BAND ---------- */
.home-cta { padding: 0 0 clamp(70px, 9vw, 110px); background: var(--tt-bg-2); }
.home-cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--tt-gold-line); border-radius: var(--tt-radius-xl);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(212, 168, 67, .18), transparent 55%),
        linear-gradient(135deg, #12161a, #0a0d10);
    box-shadow: var(--tt-shadow);
}
.home-cta h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 12px; }
@media (max-width: 800px) { .home-cta-inner { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-intro h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.about-intro p + p { margin-top: 16px; }
.about-intro p { color: var(--tt-text-2); line-height: 1.8; }
.about-media { border-radius: var(--tt-radius-xl); overflow: hidden; border: 1px solid var(--tt-gold-line); box-shadow: var(--tt-shadow); }
.about-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 80px); }
.stat { padding: 28px 20px; text-align: center; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); }
.stat strong { display: block; font-family: var(--tt-font-head); font-size: 34px; font-weight: 800; }
.stat span { color: var(--tt-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 30px 26px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); }
.value-card h3 { margin: 20px 0 10px; font-size: 19px; }
.value-card p { color: var(--tt-text-2); font-size: 15px; }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } .stat-grid { grid-template-columns: 1fr 1fr; } .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
a.contact-card:hover { border-color: var(--tt-gold-line); transform: translateX(4px); }
.contact-card span { display: block; color: var(--tt-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contact-map { height: 250px; border-radius: var(--tt-radius-lg); overflow: hidden; border: 1px solid var(--tt-line); background: var(--tt-surface); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85) brightness(.9); }
.contact-form { padding: clamp(24px, 4vw, 38px); }
.contact-form h2 { font-size: 26px; margin-bottom: 8px; }
.contact-form > p { color: var(--tt-text-2); margin-bottom: 26px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-2 .full { grid-column: 1 / -1; }
.contact-form .tt-btn { margin-top: 22px; }
.contact-note { margin-top: 14px; color: var(--tt-muted); font-size: 13px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   LEGAL
   ========================================================================== */
.legal { max-width: 820px; }
.legal h2 { margin: 40px 0 14px; font-size: 22px; }
.legal p, .legal li { color: var(--tt-text-2); line-height: 1.8; }
.legal .todo { display: inline-block; padding: 2px 8px; color: #111; background: var(--tt-gold-light); border-radius: 6px; font-size: 13px; font-weight: 700; }

/* ==========================================================================
   AUTH (admin login, reset password)
   ========================================================================== */
.auth-card { width: min(470px, 100%); padding: clamp(30px, 5vw, 46px); border-color: var(--tt-gold-line); background: rgba(10, 13, 16, .94); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.auth-card .auth-logo { height: 52px; width: auto; margin: 0 auto 26px; }
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head .tt-kicker { justify-content: center; }
.auth-head .tt-kicker::before { display: none; }
.auth-head h1 { font-size: clamp(26px, 4vw, 32px); }
.auth-head p { margin-top: 10px; color: var(--tt-text-2); font-size: 15px; }
.auth-card form { display: grid; gap: 18px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--tt-gold); }
.pw-toggle:hover { background: var(--tt-gold-soft); }
.auth-foot { margin-top: 22px; text-align: center; color: var(--tt-muted); font-size: 13px; }
.auth-foot a { color: var(--tt-gold-light); text-decoration: none; }
.login-message { display: none; }
.login-message.error, .login-message.success { display: block; }
.reset-message:empty { display: none; }

/* ==========================================================================
   STATUS CARD PAGES (booking success, booking details)
   ========================================================================== */
.status-card { width: min(760px, 100%); overflow: hidden; }
.status-card-head { padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 44px) 26px; text-align: center; }
.status-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; font-size: 32px; color: #111; background: var(--tt-gold-gradient); box-shadow: 0 0 0 10px rgba(212, 168, 67, .1), 0 16px 34px rgba(212, 168, 67, .25); }
.status-icon.error { color: #fff; background: #b8323a; box-shadow: 0 0 0 10px var(--tt-red-soft); }
.status-card-head h1 { font-size: clamp(28px, 4.4vw, 38px); margin-bottom: 12px; }
.status-card-head p { color: var(--tt-text-2); max-width: 520px; margin-inline: auto; }
.ref-box { margin: 26px auto 0; max-width: 420px; padding: 18px 20px; border: 1px dashed var(--tt-gold-line); border-radius: var(--tt-radius); background: var(--tt-gold-soft); text-align: center; }
.ref-box span { display: block; color: var(--tt-muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ref-box strong { display: block; margin-top: 6px; font-family: var(--tt-font-head); font-size: 24px; letter-spacing: .06em; color: var(--tt-gold-light); overflow-wrap: anywhere; }
.detail-list { margin: 0 clamp(18px, 4vw, 40px); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); overflow: hidden; }
.detail-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 15px 20px; border-bottom: 1px solid var(--tt-line); background: rgba(255, 255, 255, .015); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list span { color: var(--tt-muted); font-size: 14px; }
.detail-list strong { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.detail-list .gold { color: var(--tt-gold-light); font-family: var(--tt-font-head); font-size: 18px; }
.detail-list .ok { color: var(--tt-green); }
.detail-list .small { color: var(--tt-text-2); font-size: 13px; font-weight: 500; }
.status-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(22px, 4vw, 34px) clamp(18px, 4vw, 40px) clamp(26px, 4vw, 40px); }
@media (max-width: 600px) {
    .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
    .detail-list strong { text-align: left; }
    .status-actions { grid-template-columns: 1fr; }
}

/* ---------- Booking details (customer) ---------- */
.bd-shell { width: min(1000px, 100% - 2 * var(--tt-gutter)); margin: 0 auto; padding: 44px 0 80px; }
.bd-card { overflow: hidden; }
.bd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 36px); border-bottom: 1px solid var(--tt-line); }
.bd-head h1 { font-size: clamp(26px, 4vw, 36px); }
.bd-head p.sub { margin-top: 8px; color: var(--tt-text-2); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill-green { color: var(--tt-green); background: var(--tt-green-soft); }
.pill-gold { color: var(--tt-gold-light); background: var(--tt-gold-soft); }
.bd-ref { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--tt-line); }
.bd-ref > div { padding: 22px clamp(20px, 4vw, 36px); }
.bd-ref > div + div { border-left: 1px solid var(--tt-line); }
.bd-ref span, .bd-box .label, .ride-code span { display: block; color: var(--tt-muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.bd-ref strong { font-family: var(--tt-font-head); font-size: 20px; color: var(--tt-gold-light); overflow-wrap: anywhere; }
.ride-code { display: flex; align-items: center; gap: 20px; margin: clamp(20px, 4vw, 30px) clamp(20px, 4vw, 36px) 0; padding: 22px; border: 1px solid var(--tt-gold-line); border-radius: var(--tt-radius-lg); background: linear-gradient(135deg, rgba(212, 168, 67, .14), rgba(212, 168, 67, .03)); }
.ride-code .tt-icon-box { width: 60px; height: 60px; color: #111; background: var(--tt-gold-gradient); border: 0; }
.ride-code strong { display: block; font-family: var(--tt-font-head); font-size: 36px; letter-spacing: .32em; color: var(--tt-gold-light); }
.ride-code p { margin-top: 6px; color: var(--tt-text-2); font-size: 14px; }
.bd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: clamp(20px, 4vw, 30px) clamp(20px, 4vw, 36px); }
.bd-box { padding: 18px 20px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); }
.bd-box .label i { margin-right: 6px; color: var(--tt-gold); }
.bd-box strong { display: block; line-height: 1.5; font-weight: 600; }
.bd-box .gold-text { color: var(--tt-gold-light); font-family: var(--tt-font-head); font-size: 20px; }
.bd-box .success-text { color: var(--tt-green); }
.bd-driver { padding: 0 clamp(20px, 4vw, 36px) clamp(20px, 4vw, 30px); }
.bd-driver-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.bd-driver-head h2 { font-size: 20px; }
.driver-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); }
.driver-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--tt-gold); background: var(--tt-gold-soft); font-size: 20px; }
.driver-info strong, .driver-info span { display: block; }
.driver-info span { margin-top: 5px; color: var(--tt-text-2); font-size: 14px; }
.driver-actions { display: flex; gap: 8px; }
.action-btn.disabled { opacity: .4; pointer-events: none; }
.bd-actions { display: flex; justify-content: flex-end; gap: 12px; padding: 22px clamp(20px, 4vw, 36px) clamp(24px, 4vw, 34px); border-top: 1px solid var(--tt-line); }
.hidden { display: none !important; }
.state-card { width: min(560px, 100%); margin: 60px auto; padding: 60px 30px; text-align: center; }
.state-card h1 { font-size: 26px; margin-bottom: 10px; }
.state-card p { color: var(--tt-text-2); margin-bottom: 24px; }
@media (max-width: 700px) {
    .bd-head { flex-direction: column; }
    .bd-ref, .bd-grid { grid-template-columns: 1fr; }
    .bd-ref > div + div { border-left: 0; border-top: 1px solid var(--tt-line); }
    .driver-card { grid-template-columns: auto 1fr; }
    .driver-actions { grid-column: 1 / -1; }
    .driver-actions > * { flex: 1; }
    .bd-actions { flex-direction: column-reverse; }
    .ride-code { flex-direction: column; text-align: center; }
    .ride-code strong { font-size: 30px; }
}

/* message variants used by legacy scripts (login / reset) */
.login-message.error, .reset-message.error { color: #ffd0d3; background: var(--tt-red-soft); border: 1px solid rgba(236, 95, 103, .4); padding: 12px 14px; border-radius: var(--tt-radius); font-size: 14px; }
.login-message.success, .reset-message.success { color: #cff5df; background: var(--tt-green-soft); border: 1px solid rgba(60, 196, 124, .4); padding: 12px 14px; border-radius: var(--tt-radius); font-size: 14px; }

/* ==========================================================================
   RECEIPT VERIFICATION (quittung)
   ========================================================================== */
.receipt-shell { width: min(1000px, 100% - 2 * var(--tt-gutter)); margin: 0 auto; padding: 44px 0 80px; }
.receipt-paper { overflow: hidden; color: #17191c; background: #fbfaf7; border-radius: var(--tt-radius-xl); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(135deg, #fff, #f6f0e0); border-bottom: 1px solid #ece6d6; }
.receipt-head img { height: 46px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.receipt-head .tt-kicker { color: #9a6f15; }
.receipt-head .tt-kicker::before { background: #c79a38; }
.receipt-head h1 { font-size: clamp(26px, 4vw, 36px); color: #111; }
.receipt-head p { margin-top: 6px; color: #666; }
.receipt-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #127a45; background: #e5f6ec; border: 1px solid #bfe6cf; font-weight: 800; white-space: nowrap; }
.receipt-banner { display: flex; gap: 14px; align-items: center; margin: 24px clamp(20px, 4vw, 40px) 0; padding: 16px 18px; color: #145e37; background: #effaf4; border: 1px solid #cceedd; border-radius: 14px; }
.receipt-banner i { font-size: 26px; }
.receipt-banner span { display: block; color: #5a7a69; font-size: 13px; }
.receipt-section { padding: 26px clamp(20px, 4vw, 40px); border-bottom: 1px solid #eee9dd; }
.receipt-section h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 18px; color: #111; }
.receipt-section h2 i { color: #b0841a; }
.receipt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.receipt-grid > div { min-width: 0; padding: 14px 16px; background: #fff; border: 1px solid #ece8dd; border-radius: 12px; }
.receipt-grid .wide { grid-column: span 2; }
.receipt-grid span { display: block; margin-bottom: 5px; color: #7b7b7b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.receipt-grid strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.receipt-grid .amount { font-family: var(--tt-font-head); font-size: 24px; color: #9a6f0a; }
.receipt-grid .paid { color: #169958; }
.receipt-company { display: flex; gap: 16px; align-items: flex-start; }
.receipt-company .mark { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: #15181b; color: var(--tt-gold-light); }
.receipt-company strong { display: block; font-size: 18px; }
.receipt-company p { margin-top: 4px; color: #666; font-size: 14px; }
.receipt-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px clamp(20px, 4vw, 40px); color: #cfcfcf; background: #0d1013; }
.receipt-foot strong { color: var(--tt-gold-light); font-family: var(--tt-font-head); font-size: 20px; }
.receipt-foot p { max-width: 520px; color: #9a9a9a; font-size: 12px; }
.receipt-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 800px) {
    .receipt-head { flex-direction: column; }
    .receipt-grid { grid-template-columns: 1fr 1fr; }
    .receipt-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .receipt-grid { grid-template-columns: 1fr; } .receipt-grid .wide { grid-column: auto; } }
@media print {
    body { background: #fff; }
    .tt-header, .tt-footer, .receipt-actions { display: none !important; }
    .tt-main { padding: 0; }
    .receipt-shell { width: 100%; padding: 0; }
    .receipt-paper { box-shadow: none; border-radius: 0; }
}
