/* "Mening safarim" trip planner */
.trip-planner-section { position:relative; background:linear-gradient(180deg,#fff, var(--cream,#FDFAF4)); }
.tp-shell { width:min(1160px, calc(100% - 40px)); margin:0 auto; padding:84px 0; }
.tp-heading { max-width:720px; margin:0 auto 34px; text-align:center; }
.tp-kicker { display:inline-flex; align-items:center; gap:12px; margin:0; color:var(--burgundy-soft,#7A0000); font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.tp-kicker::before, .tp-kicker::after { content:""; width:30px; height:1px; background:var(--gold,#C9A84C); }
.tp-heading h2 { margin:12px 0 10px; color:var(--burgundy,#A50000); font-family:"Playfair Display",Georgia,serif; font-size:clamp(30px,4.2vw,48px); line-height:1.08; letter-spacing:-.02em; }
.tp-heading p { margin:0; color:var(--muted,#796864); }

.tp-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:28px; align-items:start; }
.tp-controls { display:grid; gap:4px; padding:22px; border:1px solid var(--line,#E8D5A0); border-radius:22px; background:#fff; box-shadow:0 18px 44px rgba(94,21,22,.08); }
.tp-field { display:grid; grid-template-columns:32px 1fr; gap:12px; padding:12px 0; border-bottom:1px dashed var(--line,#E8D5A0); }
.tp-field:last-child { border-bottom:0; }
.tp-controls, .tp-result, .tp-field > div { min-width:0; }
.tp-step { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--burgundy,#A50000); color:#fff; font-weight:800; font-size:14px; }
.tp-field h3 { margin:4px 0 10px; color:var(--burgundy-deep,#5E1516); font-size:15px; }
.tp-chips { display:flex; flex-wrap:wrap; gap:7px; }
.tp-chips button { display:grid; justify-items:start; gap:1px; min-height:44px; padding:7px 14px; border:1px solid var(--line,#E8D5A0); border-radius:14px; background:var(--cream,#FDFAF4); color:var(--burgundy,#A50000); font:700 14px "DM Sans",system-ui,sans-serif; text-align:left; cursor:pointer; transition:background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.tp-chips button small { color:var(--muted,#796864); font-size:11px; font-weight:600; }
.tp-chips button:hover:not(:disabled) { transform:translateY(-1px); border-color:var(--gold,#C9A84C); }
.tp-chips button[aria-pressed="true"] { background:var(--burgundy,#A50000); border-color:var(--burgundy,#A50000); color:#fff; box-shadow:0 8px 18px rgba(165,0,0,.22); }
.tp-chips button[aria-pressed="true"] small { color:rgba(255,255,255,.8); }
.tp-chips button:disabled { opacity:.45; cursor:not-allowed; text-decoration:line-through; }
.tp-dates { max-height:172px; overflow:auto; padding:2px; }
.tp-hint { margin:8px 0 0; color:var(--muted,#796864); font-size:12px; }
.tp-guests { display:inline-flex; align-items:center; gap:4px; padding:4px; border:1px solid var(--line,#E8D5A0); border-radius:26px; background:var(--cream,#FDFAF4); }
.tp-guests button { width:44px; height:44px; border:0; border-radius:50%; background:#fff; color:var(--burgundy,#A50000); font-size:20px; font-weight:700; cursor:pointer; box-shadow:0 2px 6px rgba(94,21,22,.1); }
.tp-guests output { min-width:84px; text-align:center; font-weight:800; color:var(--burgundy-deep,#5E1516); }

.tp-result { position:sticky; top:96px; }
.tp-pass { position:relative; padding:22px 24px; border-radius:22px; background:linear-gradient(135deg,#5E1516,#8a1f20); color:#fff; box-shadow:0 26px 60px rgba(94,21,22,.28); overflow:hidden; }
.tp-pass::before { content:""; position:absolute; inset:0; background-image:var(--pattern,none); background-size:84px; opacity:.08; pointer-events:none; }
.tp-pass-top { position:relative; display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:center; }
.tp-lbl { display:block; color:rgba(255,255,255,.6); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.tp-pass strong { display:block; color:var(--gold-light,#E8C97A); font-family:"Playfair Display",Georgia,serif; font-size:clamp(24px,2.6vw,32px); line-height:1.15; }
.tp-pass small { color:rgba(255,255,255,.75); font-size:12px; }
.tp-right { text-align:right; }
.tp-pass-line { position:relative; display:flex; align-items:center; gap:8px; }
.tp-pass-line i { flex:1; height:0; border-top:2px dashed rgba(232,201,122,.5); }
.tp-pass-line span { color:var(--gold-light,#E8C97A); font-size:20px; }
.tp-pass-line em { position:absolute; left:50%; top:100%; transform:translateX(-50%); margin-top:4px; font-style:normal; font-size:12px; color:rgba(255,255,255,.7); white-space:nowrap; }
.tp-pass-meta { position:relative; display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.tp-pass-meta span { padding:6px 12px; border-radius:16px; background:rgba(255,255,255,.1); font-size:13px; }
.tp-left b { color:var(--gold-light,#E8C97A); }
.tp-total { position:relative; display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-top:16px; padding-top:14px; border-top:1px dashed rgba(232,201,122,.4); }
.tp-total span { color:rgba(255,255,255,.75); font-size:13px; }
.tp-total strong { font-size:26px; }

.tp-days { position:relative; display:grid; gap:0; margin:18px 0 0; padding:6px 0 0; list-style:none; }
.tp-days li { position:relative; display:grid; grid-template-columns:44px 1fr; gap:14px; padding:0 0 16px; }
.tp-days li::before { content:""; position:absolute; left:21px; top:44px; bottom:0; width:2px; background:linear-gradient(var(--gold,#C9A84C), rgba(201,168,76,.15)); }
.tp-days li:last-child::before { display:none; }
.tp-ico { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--line,#E8D5A0); border-radius:50%; background:#fff; font-size:19px; box-shadow:0 6px 14px rgba(94,21,22,.08); }
.tp-when { color:#856316; font-size:12px; font-weight:800; letter-spacing:.04em; }
.tp-days h4 { margin:2px 0 4px; color:var(--burgundy-deep,#5E1516); font-size:17px; }
.tp-days h4 em { margin-left:6px; padding:2px 8px; border-radius:10px; background:var(--cream-deep,#F7F2E8); color:var(--burgundy,#A50000); font-size:11px; font-style:normal; font-weight:700; vertical-align:middle; }
.tp-days p { margin:0; color:var(--muted,#796864); font-size:14px; line-height:1.55; }
.tp-result.is-anim .tp-days li { animation:tp-in .5s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--i) * 70ms); }
.tp-result.is-anim .tp-pass { animation:tp-pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tp-in { from { opacity:0; transform:translateY(10px); } }
@keyframes tp-pop { from { opacity:.6; transform:scale(.985); } }

.tp-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:4px; }
.tp-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border:1px solid var(--burgundy,#A50000); border-radius:26px; background:#fff; color:var(--burgundy,#A50000); font:700 14px "DM Sans",system-ui,sans-serif; text-decoration:none; cursor:pointer; transition:transform .2s, background .2s, box-shadow .2s; }
.tp-btn:hover { transform:translateY(-1px); }
.tp-btn.primary { flex:1; background:var(--burgundy,#A50000); color:#fff; box-shadow:0 10px 22px rgba(165,0,0,.22); }
.tp-btn.primary:hover { background:var(--burgundy-soft,#7A0000); }
.tp-note { margin:10px 0 0; color:var(--muted,#796864); font-size:12px; }
.tp-empty { padding:40px; border:1px dashed var(--line,#E8D5A0); border-radius:18px; text-align:center; color:var(--muted,#796864); }

@media (max-width:860px) {
  .tp-shell { width:min(100% - 24px, 760px); padding:64px 0; }
  .tp-grid { grid-template-columns:minmax(0,1fr); }
  .tp-pass strong { font-size:22px; }
  .tp-pass-line span { font-size:16px; }
  .tp-controls { padding:14px 16px; }
  .tp-result { position:static; }
  .tp-dates { flex-wrap:nowrap; max-height:none; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory; }
  .tp-dates button { flex:0 0 auto; scroll-snap-align:start; }
  .tp-pass { padding:18px; }
  .tp-pass-top { gap:10px; }
  .tp-actions .tp-btn { flex:1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .tp-result.is-anim .tp-days li, .tp-result.is-anim .tp-pass { animation:none; } .tp-chips button, .tp-btn { transition:none; } }
