/* CALCULATOR */
.calc-wrap { background: linear-gradient(135deg, #0f1e4a 0%, #1a2b5e 100%); border-radius: 20px; padding: 40px 36px; position: relative; overflow: hidden; }
.calc-wrap::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(204,27,43,0.12); pointer-events: none; }
@media (max-width: 600px) { .calc-wrap { padding: 28px 20px; } }
.calc-label { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.calc-label span { color: var(--red); }
.calc-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1.25; }
.calc-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 28px; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; position: relative; }
@media (max-width: 560px) { .calc-inputs { grid-template-columns: 1fr; } }
.calc-input-wrap { position: relative; }
.calc-input-wrap label { display: block; font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.calc-input-wrap input { width: 100%; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 13px 16px 13px 42px; color: #fff; font-size: 0.93rem; outline: none; transition: border-color .2s, background .2s; box-sizing: border-box; }
.calc-input-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.calc-input-wrap input:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.12); }
.calc-input-icon { position: absolute; left: 14px; bottom: 13px; pointer-events: none; }
.calc-input-icon svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.calc-swap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--red); border: 2px solid #0f1e4a; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: background .2s; }
.calc-swap:hover { background: #a51522; }
.calc-swap svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .calc-swap { display: none; } }
.calc-addons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.calc-addon-toggle { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 100px; padding: 6px 14px; cursor: pointer; transition: all .2s; user-select: none; }
.calc-addon-toggle input { display: none; }
.calc-addon-toggle span { font-size: 0.8rem; color: rgba(255,255,255,0.7); font-weight: 600; }
.calc-addon-toggle .cao-price { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.calc-addon-toggle.active { background: rgba(204,27,43,0.25); border-color: rgba(204,27,43,0.6); }
.calc-addon-toggle.active span { color: #ff8a93; }
.calc-btn { width: 100%; background: var(--red); border: none; border-radius: 10px; padding: 15px; color: #fff; font-size: 1rem; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s, transform .1s; margin-bottom: 16px; }
.calc-btn:hover { background: #a51522; }
.calc-btn:active { transform: scale(0.98); }
.calc-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.calc-btn.loading { opacity: 0.7; pointer-events: none; }
.calc-result { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px 24px; display: none; }
.calc-result.visible { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cr-route { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.cr-route svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2; flex-shrink: 0; }
.cr-stats { display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.cr-stat .cs-val { font-size: 1.1rem; font-weight: 800; color: #fff; }
.cr-stat .cs-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.cr-breakdown { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 14px; line-height: 1.6; }
.cr-breakdown span { color: rgba(255,255,255,0.75); }
.cr-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; flex-wrap: wrap; gap: 8px; }
.cr-total-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 600; }
.cr-total-price { font-size: 2rem; font-weight: 900; color: #fff; }
.cr-total-price small { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 400; margin-left: 6px; }
.cr-order-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #fff; color: var(--navy); border-radius: 10px; padding: 13px; font-size: 0.95rem; font-weight: 800; text-decoration: none; margin-top: 12px; transition: background .2s; }
.cr-order-btn:hover { background: #f0f4ff; }
.cr-order-btn svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.calc-error { background: rgba(204,27,43,0.15); border: 1px solid rgba(204,27,43,0.35); border-radius: 10px; padding: 12px 16px; font-size: 0.85rem; color: #ff8a93; display: none; margin-top: 12px; }
.calc-error.visible { display: block; }

/* AUTOCOMPLETE DROPDOWN */
.ac-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #1e3070; border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px; margin-top: 4px; z-index: 100; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.ac-item { padding: 11px 16px; font-size: 0.85rem; color: rgba(255,255,255,0.85); cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background .15s; }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.focused { background: rgba(255,255,255,0.1); }
.ac-item strong { color: #fff; }
.cr-note { font-size: 0.8rem; color: #ffd0d4; margin-top: 10px; }
.ac-dropdown:empty { display: none; }
