/* ==========================================================================
   Fiyat Al — teklif oluşturucu
   ========================================================================== */

.quote-hero { padding: calc(var(--header-h) + 56px) 0 36px; position: relative; }
.quote-hero::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    left: -220px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 211, 193, .6), transparent 65%);
    z-index: -1;
}
.quote-hero-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px 56px; align-items: end; margin-top: 18px; }
.quote-hero h1 { font-size: clamp(38px, 5.6vw, 78px); font-weight: 800; letter-spacing: -.04em; line-height: .98; margin-top: 14px; }

/* ---------- Rota (adım göstergesi) ---------- */
.q-route {
    --progress: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}
.q-route::before, .q-route::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 12.5%;
    height: 4px;
    border-radius: 4px;
}
.q-route::before { right: 12.5%; background: repeating-linear-gradient(90deg, rgba(12, 33, 22, .2) 0 12px, transparent 12px 22px); }
.q-route::after { width: calc(75% * var(--progress)); background: var(--ink); transition: width .8s var(--ease); }
.q-stop { position: relative; z-index: 1; display: flex; justify-content: center; }
.q-stop button { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: default; }
.q-stop button:not([disabled]) { cursor: pointer; }
.q-stop-dot {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid rgba(12, 33, 22, .2);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    transition: all .4s var(--ease);
}
.q-stop-dot .ok { display: none; width: 24px; height: 24px; }
.q-stop-label { font-weight: 700; font-size: 14px; color: var(--muted); text-align: center; }
.q-stop.is-current .q-stop-dot { background: var(--lime); border-color: var(--ink); transform: scale(1.12); box-shadow: 0 0 0 8px rgba(216, 243, 106, .35); }
.q-stop.is-current .q-stop-label { color: var(--ink); }
.q-stop.is-done .q-stop-dot { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.q-stop.is-done .n { display: none; }
.q-stop.is-done .ok { display: block; }
.q-stop.is-done .q-stop-label { color: var(--ink); }
.q-route-truck {
    position: absolute;
    top: -14px;
    left: calc(12.5% + 75% * var(--progress));
    transform: translateX(-50%);
    color: var(--ink);
    transition: left .8s var(--ease);
    pointer-events: none;
    z-index: 2;
}
.q-route-truck { top: -40px; }
.q-route-truck .icon { width: 30px; height: 30px; animation: bob 1.2s ease-in-out infinite; }

/* ---------- Yerleşim ---------- */
.quote-app { padding-bottom: 80px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.quote-stage {
    position: relative;
    background: var(--paper);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(22px, 3.4vw, 44px);
    min-height: 560px;
}
.q-panel { animation: panel-in .5s var(--ease); }
.q-panel[hidden] { display: none; }
.q-panel-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.q-panel-head h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 6px; }
.q-step-no {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--ink);
    color: var(--lime);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    transform: rotate(-6deg);
}
.q-subtitle { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); margin: 34px 0 14px; }
.q-subtitle .icon { width: 18px; height: 18px; }

/* ---------- 1: arama ve seçim ---------- */
.q-search {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 10px 6px 22px;
    border-radius: 20px;
    background: var(--cream);
    border: 2px solid transparent;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.q-search:focus-within { border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 5px rgba(216, 243, 106, .5); }
.q-search .icon { width: 24px; height: 24px; }
.q-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 16px 0; font-size: 17px; font-weight: 600; }
.q-search kbd { font: 700 12px var(--font-body); padding: 4px 9px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }

.q-results { display: grid; gap: 8px; margin-top: 14px; }
.q-results:empty { display: none; }
.q-results .search-meta { font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 4px 0; }

.q-code {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 12px 12px 14px;
    border-radius: 18px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.q-code:hover { border-color: var(--ink); }
.q-code.is-added { background: rgba(216, 243, 106, .35); border-color: var(--lime-deep); }
.q-code-tag {
    display: grid;
    place-items: center;
    min-width: 92px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--tone, var(--sky));
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}
.q-code-title { font-weight: 600; font-size: 15px; line-height: 1.4; }
.q-code-title small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 2px; }
.q-code-title mark { background: var(--lime); border-radius: 4px; padding: 0 2px; }
.q-add {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: var(--lime);
    transition: transform .25s var(--ease), background .2s;
}
.q-add:hover { transform: rotate(90deg) scale(1.06); }
.q-add .icon { width: 22px; height: 22px; }
.q-code.is-added .q-add { background: var(--lime-deep); color: var(--ink); }
.q-code.is-added .q-add:hover { background: var(--clay); color: var(--paper); transform: none; }

.q-popular { display: flex; flex-wrap: wrap; gap: 10px; }
.q-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    font-weight: 600;
    font-size: 14px;
    max-width: 100%;
    transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.q-chip:hover { transform: translateY(-2px); border-color: var(--ink); }
.q-chip b { padding: 4px 10px; border-radius: 999px; background: var(--tone, var(--sky)); font-weight: 800; font-size: 13px; white-space: nowrap; }
.q-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-chip.is-added { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q-chip.is-added b { background: var(--lime); color: var(--ink); }

.q-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.q-ch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    min-height: 120px;
    border-radius: 20px;
    border: 0;
    background: var(--tone, var(--sky));
    text-align: left;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.q-ch:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.q-ch .no { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.q-ch .nm { font-weight: 700; font-size: 13.5px; line-height: 1.25; margin-top: auto; }
.q-ch .ic { position: absolute; right: 12px; top: 12px; opacity: .8; }
.q-ch .ic .icon { width: 22px; height: 22px; }
.q-ch .cnt { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; }

.q-drawer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px; border-radius: 22px; background: var(--tone, var(--sky)); }
.q-drawer-head .back { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 0; background: var(--paper); font-weight: 700; font-size: 13px; }
.q-drawer-head .back .icon { width: 16px; height: 16px; }
.q-drawer-head h3 { font-size: clamp(20px, 2.2vw, 26px); }
.q-drawer-head small { display: block; font-weight: 600; color: rgba(12, 33, 22, .7); margin-top: 2px; font-size: 13px; }
.q-sub { margin-bottom: 8px; border-radius: 18px; border: 1.5px solid var(--line); overflow: hidden; }
.q-sub > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}
.q-sub > summary::-webkit-details-marker { display: none; }
.q-sub > summary code { font-family: var(--font-display); font-weight: 800; padding: 2px 9px; border-radius: 8px; background: var(--cream); white-space: nowrap; }
.q-sub > summary .t { flex: 1; font-size: 15px; line-height: 1.35; }
.q-sub > summary .icon { transition: transform .3s var(--ease); flex: none; }
.q-sub[open] > summary .icon { transform: rotate(90deg); }
.q-sub[open] > summary { background: var(--cream); }
.q-sub-list { display: grid; gap: 8px; padding: 10px; }

.haz-dot { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(231, 111, 81, .15); color: #b5452a; font-size: 11px; font-weight: 800; vertical-align: 1px; margin-left: 6px; white-space: nowrap; }

/* ---------- 2: atık kartları ---------- */
.q-tip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--sky); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.q-tip .icon { width: 22px; height: 22px; flex: none; }
.q-items { display: grid; gap: 18px; }
.q-item {
    position: relative;
    border-radius: 28px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    overflow: hidden;
}
.q-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--tone, var(--sky)); }
.q-item-head { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 0 28px; }
.q-item-head .q-code-tag { min-width: 0; }
.q-item-head h3 { flex: 1; font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; padding-top: 6px; }
.q-item-remove { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: none; flex: none; transition: background .2s, color .2s, border-color .2s; }
.q-item-remove:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.q-item-remove .icon { width: 18px; height: 18px; }
.q-item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: 20px 20px 22px 28px; }
.q-item-grid .full { grid-column: 1 / -1; }
.q-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

.q-amount { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.q-stepper { display: flex; align-items: center; border-radius: 16px; background: var(--cream); border: 1.5px solid transparent; transition: border-color .2s; }
.q-stepper:focus-within { border-color: var(--ink); }
.q-stepper button { display: grid; place-items: center; width: 40px; height: 48px; border: 0; background: none; border-radius: 14px; }
.q-stepper button:hover { background: rgba(12, 33, 22, .07); }
.q-stepper button .icon { width: 18px; height: 18px; }
.q-stepper input { width: 74px; border: 0; background: none; outline: none; text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 800; -moz-appearance: textfield; }
.q-stepper input::-webkit-outer-spin-button, .q-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q-item.is-invalid .q-stepper { border-color: var(--clay); animation: shake .4s; }

.q-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--cream); }
.q-seg label { position: relative; }
.q-seg input { position: absolute; opacity: 0; pointer-events: none; }
.q-seg span { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; user-select: none; }
.q-seg span:hover { color: var(--ink); }
.q-seg input:checked + span { background: var(--ink); color: var(--lime); }
.q-seg input:focus-visible + span { outline: 3px solid var(--lime-deep); }
.q-seg-lg { display: flex; }
.q-seg-lg label { flex: 1; text-align: center; }
.q-seg-lg span { padding: 14px; }

.q-packs { display: flex; flex-wrap: wrap; gap: 8px; }
.q-pack { position: relative; }
.q-pack input { position: absolute; opacity: 0; pointer-events: none; }
.q-pack span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 92px;
    padding: 12px 6px 10px;
    border-radius: 16px;
    border: 1.5px solid var(--line);
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.q-pack span .icon { width: 28px; height: 28px; }
.q-pack span:hover { border-color: var(--ink); transform: translateY(-2px); }
.q-pack input:checked + span { background: var(--lime); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.q-pack input:focus-visible + span { outline: 3px solid var(--lime-deep); }

/* Polaroid foto alanı */
.q-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 110px;
    justify-content: center;
    padding: 18px;
    border-radius: 22px;
    border: 2px dashed rgba(12, 33, 22, .25);
    background:
        radial-gradient(circle at 1px 1px, rgba(12, 33, 22, .12) 1px, transparent 0) 0 0 / 16px 16px,
        var(--cream);
    transition: border-color .2s, background-color .2s;
}
.q-drop.is-over { border-color: var(--ink); background-color: rgba(216, 243, 106, .4); }
.q-drop-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px;
    border: 0;
    background: none;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
}
.q-drop-cta .cam {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--ink);
    color: var(--lime);
    flex: none;
    transition: transform .3s var(--ease);
}
.q-drop-cta:hover .cam { transform: rotate(-8deg) scale(1.06); }
.q-drop-cta .cam .icon { width: 30px; height: 30px; }
.q-drop-cta u { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.q-drop-cta small { display: block; font-size: 12px; margin-top: 2px; }
.q-photos { display: flex; flex-wrap: wrap; gap: 18px 16px; padding: 4px 4px 2px; }
.q-photos:empty { display: none; }
.q-polaroid {
    --rot: -3deg;
    position: relative;
    width: 108px;
    padding: 7px 7px 26px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 20px -6px rgba(12, 33, 22, .4);
    transform: rotate(var(--rot));
    animation: drop-in .45s var(--ease);
    transition: transform .25s var(--ease);
}
.q-polaroid:nth-child(even) { --rot: 3deg; }
.q-polaroid:nth-child(3n) { --rot: -1deg; }
.q-polaroid:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.q-polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: var(--sand); }
.q-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.q-polaroid .rm {
    position: absolute;
    top: -9px;
    right: -9px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    transition: opacity .2s;
}
.q-polaroid:hover .rm, .q-polaroid:focus-within .rm { opacity: 1; }
.q-polaroid .rm .icon { width: 14px; height: 14px; }
.q-polaroid.is-loading img { animation: pulse 1s ease-in-out infinite; }
@media (hover: none) { .q-polaroid .rm { opacity: 1; } }

.q-note { width: 100%; border-radius: 16px; border: 1.5px solid transparent; background: var(--cream); padding: 14px 16px; outline: none; resize: vertical; min-height: 54px; font-weight: 500; }
.q-note:focus { border-color: var(--ink); background: var(--paper); }

/* ---------- 3: konum ---------- */
.q-toggles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.q-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.q-toggle-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1.5px solid var(--line);
    font-weight: 700;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.q-toggle-card > .icon { width: 26px; height: 26px; }
.q-toggle-card > span { flex: 1; }
.q-toggle-card:hover { border-color: var(--ink); }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(12, 33, 22, .15); transition: background .25s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.q-toggle input:checked + .q-toggle-card { background: rgba(216, 243, 106, .4); border-color: var(--ink); }
.q-toggle input:checked + .q-toggle-card .switch { background: var(--ink); }
.q-toggle input:checked + .q-toggle-card .switch::after { transform: translateX(18px); background: var(--lime); }
.q-toggle input:focus-visible + .q-toggle-card { outline: 3px solid var(--lime-deep); }

/* ---------- 4: iletişim + bilet ---------- */
.q-final { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.q-check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px 0; }
.q-check input { position: absolute; opacity: 0; }
.q-check .box { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; border: 2px solid var(--ink); color: transparent; transition: background .2s, color .2s; }
.q-check .box .icon { width: 16px; height: 16px; }
.q-check input:checked + .box { background: var(--lime); color: var(--ink); }
.q-check input:focus-visible + .box { outline: 3px solid var(--lime-deep); }
.q-check.is-invalid .box { border-color: var(--clay); animation: shake .4s; }

.q-ticket {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transform: rotate(1.2deg);
    box-shadow: var(--shadow-lg);
    -webkit-mask: radial-gradient(circle 12px at 0 58px, transparent 98%, #000) 0 0 / 51% 100% no-repeat,
                  radial-gradient(circle 12px at 100% 58px, transparent 98%, #000) 100% 0 / 51% 100% no-repeat;
            mask: radial-gradient(circle 12px at 0 58px, transparent 98%, #000) 0 0 / 51% 100% no-repeat,
                  radial-gradient(circle 12px at 100% 58px, transparent 98%, #000) 100% 0 / 51% 100% no-repeat;
}
.q-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px; height: 58px; border-bottom: 2px dashed rgba(255, 253, 248, .25); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.q-ticket-head span { display: inline-flex; align-items: center; gap: 8px; }
.q-ticket-head b { color: rgba(255, 253, 248, .6); font-weight: 700; letter-spacing: 0; }
.q-ticket-body { padding: 18px 22px 22px; display: grid; gap: 10px; font-size: 14px; }
.q-ticket-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 253, 248, .1); }
.q-ticket-row span { color: rgba(255, 253, 248, .65); }
.q-ticket-row strong { text-align: right; }
.q-ticket-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.q-ticket-codes span { padding: 4px 10px; border-radius: 999px; background: rgba(216, 243, 106, .15); color: var(--lime); font-weight: 700; font-size: 12px; }
.q-ticket-barcode { height: 40px; margin-top: 6px; background: repeating-linear-gradient(90deg, var(--paper) 0 2px, transparent 2px 4px, var(--paper) 4px 7px, transparent 7px 9px, var(--paper) 9px 10px, transparent 10px 14px); opacity: .8; border-radius: 4px; }

/* ---------- Navigasyon ---------- */
.q-nav { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1.5px solid var(--line); }
.q-nav .q-next { margin-left: auto; }
.q-error { flex: 1; color: #b5452a; font-weight: 700; font-size: 14px; }
.q-error:empty { display: none; }
.q-nav[hidden] { display: none; }
.q-progress { position: relative; height: 12px; margin-top: 22px; border-radius: 999px; background: var(--cream); overflow: visible; }
.q-progress > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--lime-deep); transition: width .3s; }
.q-progress > i { position: absolute; top: -26px; left: 0; transform: translateX(-50%); color: var(--ink); transition: left .3s; }
.q-progress > i .icon { width: 28px; height: 28px; animation: bob .6s ease-in-out infinite; }

/* ---------- Başarılı ---------- */
.q-success { text-align: center; padding: 20px 0; }
.q-success h2 { font-size: clamp(32px, 4vw, 52px); margin: 10px 0 14px; }
.q-success .lead { max-width: 52ch; margin: 0 auto; }
.q-success-art { max-width: 420px; margin: 0 auto; overflow: hidden; }
.q-success-art .drive-off { animation: drive-off 1.8s .3s var(--ease) both; }
.q-success-art .road { animation: road 1s linear infinite; }
.q-ref { display: inline-flex; flex-direction: column; gap: 4px; margin: 28px 0 30px; padding: 16px 28px; border-radius: 20px; background: var(--lime); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.q-ref small { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.q-ref strong { font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; }
.q-success .btn-ghost { color: var(--ink); }

/* ---------- Konteyner (sağ panel) ---------- */
.quote-bin {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}
.bin-toggle { display: none; }
.bin-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bin-head h2 { font-size: 22px; }
.bin-level { padding: 4px 12px; border-radius: 999px; background: rgba(216, 243, 106, .15); color: var(--lime); font-weight: 800; font-size: 13px; white-space: nowrap; }
.bin-svg { width: 100%; margin: 14px 0 8px; overflow: visible; }
.bin-svg.is-bump { animation: bump .5s var(--ease); }
.bin-layer { transition: y .6s var(--ease), height .6s var(--ease); }
.bin-empty { font-size: 14px; text-align: center; color: rgba(255, 253, 248, .6) !important; }
.bin-list { display: grid; gap: 6px; max-height: 300px; overflow-x: hidden; overflow-y: auto; margin: 6px -6px 0; padding: 0 6px; }
.bin-list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 14px; background: rgba(255, 253, 248, .06); font-size: 13px; animation: drop-in .4s var(--ease); }
.bin-list li i { width: 10px; height: 10px; border-radius: 3px; background: var(--tone, var(--sky)); flex: none; }
.bin-list li b { font-family: var(--font-display); white-space: nowrap; }
.bin-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 253, 248, .7); }
.bin-list li .cam-count { display: inline-flex; align-items: center; gap: 3px; color: var(--lime); font-weight: 800; font-size: 12px; }
.bin-list li .cam-count .icon { width: 13px; height: 13px; }
.bin-list li button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: rgba(255, 253, 248, .5); flex: none; }
.bin-list li button:hover { background: var(--clay); color: var(--paper); }
.bin-list li button .icon { width: 14px; height: 14px; }
.bin-stats { display: flex; gap: 8px; margin-top: 14px; }
.bin-stats:empty { display: none; }
.bin-stats span { flex: 1; padding: 10px; border-radius: 14px; background: rgba(255, 253, 248, .06); text-align: center; font-size: 12px; color: rgba(255, 253, 248, .6); }
.bin-stats b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--lime); }

/* Uçan parça */
.fly-dot {
    position: fixed;
    z-index: 200;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 7px;
    background: var(--lime);
    border: 2px solid var(--ink);
    pointer-events: none;
}

/* Bildirim */
.q-toast {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 150;
    width: fit-content;
    margin-inline: auto;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateY(calc(100% + 40px));
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
}
.q-toast.is-show { transform: none; visibility: visible; }

@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) rotate(var(--rot, 0deg)) scale(.9); } }
@keyframes bump { 30% { transform: scale(1.04, .96); } 60% { transform: scale(.98, 1.03); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes drive-off { 0% { transform: translateX(-120%); } 70% { transform: translateX(8%); } 85% { transform: translateX(-2%); } 100% { transform: translateX(0); } }
@keyframes road { to { stroke-dashoffset: -24; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .quote-layout { grid-template-columns: minmax(0, 1fr); }
    .quote-bin {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 40;
        padding: 10px;
        border-radius: 26px;
        max-height: calc(100vh - 120px);
        overflow: auto;
    }
    .bin-toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 10px 6px 6px; border: 0; background: none; color: var(--paper); text-align: left; }
    .bin-toggle > span:nth-child(2) { flex: 1; }
    .bin-toggle .chev { transition: transform .3s var(--ease); transform: rotate(180deg); }
    .bin-mini { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--lime); color: var(--ink); }
    .bin-mini b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--clay); color: var(--paper); font-size: 12px; }
    .bin-body { display: none; padding: 14px 10px 6px; }
    .quote-bin.is-open .bin-body { display: block; }
    .quote-bin.is-open .bin-toggle .chev { transform: none; }
    .bin-svg { max-width: 260px; margin-inline: auto; }
    .quote-app { padding-bottom: 120px; }
    .q-final { grid-template-columns: 1fr; }
    .q-ticket { transform: none; }
    .page-quote .site-footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
    .quote-hero-row { grid-template-columns: 1fr; }
    .q-stop-label { font-size: 11px; }
    .q-stop-dot { width: 44px; height: 44px; font-size: 16px; }
    .q-route::before, .q-route::after { top: 20px; }
    .q-panel-head { gap: 14px; }
    .q-step-no { width: 46px; height: 46px; font-size: 18px; border-radius: 14px; }
    .q-search kbd { display: none; }
    .q-code { grid-template-columns: 1fr auto; gap: 8px 10px; }
    .q-code-tag { justify-self: start; min-width: 0; padding: 5px 10px; font-size: 14px; }
    .q-code-title { grid-column: 1 / -1; grid-row: 2; }
    .q-code .q-add { grid-row: 1; grid-column: 2; width: 40px; height: 40px; }
    .q-item-grid { grid-template-columns: 1fr; }
    .q-item-head { padding-left: 22px; flex-wrap: wrap; }
    .q-item-grid { padding-left: 22px; }
    .q-toggles { grid-template-columns: 1fr; }
    .q-seg-lg { display: grid; grid-template-columns: 1fr 1fr; }
    .q-pack span { width: 80px; }
    .q-polaroid { width: 92px; }
    .q-nav { flex-wrap: wrap; }
    .q-nav .q-next { width: 100%; justify-content: space-between; margin-left: 0; }
    .q-error { order: -1; flex-basis: 100%; }
}
