/* ============ KULLANICI MENÜSÜ ============ */
.user-menu{position:relative;display:inline-block}
.user-btn{
  background:#fff;color:#2E1A0F;
  border:1px solid #EBD9C0;border-radius:30px;
  padding:5px 14px 5px 5px;font-size:13px;font-weight:700;
  display:inline-flex;align-items:center;gap:8px;
  cursor:pointer;font-family:inherit;
  transition:background .2s, border-color .2s;
}
.user-btn:hover{border-color:#C2532A;background:#FBEBD9}
.user-btn[aria-expanded="true"]{border-color:#C2532A;background:#FBEBD9}
.user-avatar{
  width:30px;height:30px;border-radius:50%;
  background:linear-gradient(135deg,#C2532A,#D9764B);
  color:#fff;font-size:11px;font-weight:800;letter-spacing:.5px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.user-name{
  font-size:13px;color:#2E1A0F;
  max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.user-btn > i{font-size:10px;color:#C2532A;transition:transform .2s}
.user-btn[aria-expanded="true"] > i{transform:rotate(180deg)}

.user-dropdown{
  position:absolute;top:calc(100% + 6px);right:0;
  background:#fff;border:1px solid #EBD9C0;border-radius:14px;
  box-shadow:0 18px 40px rgba(46,26,15,.18);
  min-width:260px;z-index:80;
  padding:8px;
  animation:userDropIn .2s ease;
}
@keyframes userDropIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}
.user-dropdown[hidden]{display:none}

.ud-header{
  display:flex;align-items:center;gap:12px;
  padding:14px 12px;
  background:linear-gradient(135deg,#FBEBD9,#F5E6C8);
  border-radius:10px;
  margin-bottom:6px;
}
.ud-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#C2532A,#D9764B);
  color:#fff;font-size:14px;font-weight:800;letter-spacing:.5px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  box-shadow:0 4px 12px rgba(194,83,42,.25);
}
.ud-header strong{font-size:14px;color:#2E1A0F;font-weight:800;display:block}
.ud-header small{font-size:11.5px;color:#8B5E3C;display:block;margin-top:2px}

.ud-item{
  background:transparent;border:none;cursor:pointer;
  width:100%;text-align:left;
  padding:11px 14px;border-radius:8px;
  font-family:inherit;font-size:13px;font-weight:600;color:#3E2723;
  display:flex;align-items:center;gap:11px;
  text-decoration:none;
  transition:background .15s, color .15s;
}
.ud-item:hover{background:#FBF7F0;color:#C2532A}
.ud-item > i{font-size:13px;color:#C2532A;width:16px;text-align:center;flex-shrink:0}
.ud-divider{height:1px;background:#EBD9C0;margin:6px 4px}
.ud-logout{color:#B85C3E}
.ud-logout:hover{background:#FDE8EC;color:#B85C3E}
.ud-logout > i{color:#B85C3E}

/* WhatsApp icon button (header) */
.wa-btn{
  width:42px;height:42px;border-radius:50%;
  background:#25d366;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:18px;text-decoration:none;
  transition:background .2s, transform .2s;
}
.wa-btn:hover{background:#1eb858;transform:scale(1.05)}

/* ============ PARA BİRİMİ SEÇİCİ ============ */
.currency-switcher{position:relative;display:inline-block}
.curr-btn{
  background:#FBEBD9;color:#3E2723;
  border:1px solid transparent;border-radius:30px;
  padding:8px 14px;font-size:13px;font-weight:700;
  display:inline-flex;align-items:center;gap:7px;
  cursor:pointer;font-family:inherit;
  transition:background .2s, border-color .2s;
}
.curr-btn:hover{background:#F3D2B5}
.curr-btn[aria-expanded="true"]{
  background:#fff;border-color:#C2532A;
}
.curr-btn .curr-flag{font-size:16px;line-height:1}
.curr-btn .curr-code{letter-spacing:.3px}
.curr-btn > i{font-size:10px;color:#C2532A;transition:transform .2s}
.curr-btn[aria-expanded="true"] > i{transform:rotate(180deg)}

.curr-dropdown{
  position:absolute;top:calc(100% + 6px);right:0;
  background:#fff;border:1px solid #EBD9C0;border-radius:12px;
  box-shadow:0 14px 36px rgba(46,26,15,.16);
  min-width:220px;z-index:60;
  padding:6px;
  display:flex;flex-direction:column;gap:2px;
  animation:currDropIn .2s ease;
}
@keyframes currDropIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}
.curr-dropdown[hidden]{display:none}
.curr-dropdown button{
  background:transparent;border:none;cursor:pointer;
  padding:10px 12px;border-radius:8px;
  display:flex;align-items:center;gap:10px;
  font-family:inherit;text-align:left;width:100%;
  transition:background .15s;
}
.curr-dropdown button:hover{background:#FBF7F0}
.curr-dropdown button.active{background:#FBEBD9}
.curr-dropdown .curr-flag{font-size:20px;line-height:1;flex-shrink:0}
.curr-dropdown .curr-info{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.curr-dropdown .curr-info strong{font-size:13px;color:#2E1A0F;font-weight:700;letter-spacing:.3px}
.curr-dropdown .curr-info small{font-size:11px;color:#8B5E3C}
.curr-dropdown button > i:last-child{color:#1F8C3B;font-size:12px;flex-shrink:0}

/* ============ SEPET İKONU & BADGE ============ */
.cart-btn{
  position:relative;
  width:42px;height:42px;border-radius:50%;
  background:#FBEBD9;color:#C2532A;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:16px;text-decoration:none;
  transition:background .2s, transform .2s;
}
.cart-btn:hover{background:#F3D2B5;transform:scale(1.05)}
.cart-btn-active{background:#C2532A;color:#fff}
.cart-btn-active:hover{background:#A0421F;color:#fff}
.cart-count{
  position:absolute;top:-2px;right:-2px;
  min-width:18px;height:18px;border-radius:9px;padding:0 5px;
  background:#1F8C3B;color:#fff;
  font-size:10px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  border:2px solid #fff;
  line-height:1;
}

/* ============ TOAST ============ */
.cart-toast{
  position:fixed;
  bottom:24px;left:50%;
  transform:translate(-50%, 100px);
  background:#1F8C3B;color:#fff;
  padding:13px 22px;border-radius:30px;
  font-size:14px;font-weight:600;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  display:inline-flex;align-items:center;gap:10px;
  z-index:9999;opacity:0;
  transition:transform .3s ease, opacity .3s ease;
  max-width:90vw;
}
.cart-toast.show{transform:translate(-50%, 0);opacity:1}
.cart-toast-error{background:#B85C3E}

/* ============ CALENDAR ============ */
.cal-wrap{
  background:#FBF7F0;border:1px solid #EBD9C0;border-radius:14px;
  padding:14px;
}
.cal-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;
}
.cal-nav{
  width:32px;height:32px;border-radius:50%;
  background:#fff;border:1px solid #EBD9C0;
  color:#C2532A;font-size:13px;cursor:pointer;
  transition:background .2s;
}
.cal-nav:hover{background:#FBEBD9}
.cal-month{
  font-size:14px;font-weight:700;color:#2E1A0F;
  margin:0;text-transform:capitalize;
}

.cal-dow-row{
  display:grid;grid-template-columns:repeat(7,1fr);gap:4px;
  margin-bottom:6px;
}
.cal-dow{
  text-align:center;
  font-size:10px;font-weight:700;color:#8B5E3C;
  text-transform:uppercase;letter-spacing:.5px;
  padding:6px 0;
}

.cal-grid{
  display:grid;grid-template-columns:repeat(7,1fr);gap:4px;
}
.cal-day{
  aspect-ratio:1;
  background:#fff;border:1px solid #F0E0C7;border-radius:8px;
  padding:4px 2px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;
  cursor:pointer;font-family:inherit;
  transition:border-color .15s, background .15s, transform .15s;
  position:relative;
}
.cal-day:hover:not(:disabled){
  border-color:#C2532A;
  background:#FBEBD9;
  transform:translateY(-1px);
}
.cal-day-empty{
  background:transparent;border-color:transparent;cursor:default;
  pointer-events:none;
}
.cal-day-past{
  background:#F4E8D6;color:#A89484;cursor:not-allowed;
  opacity:.5;
}
.cal-day-past:hover{transform:none;border-color:#F0E0C7;background:#F4E8D6}
.cal-day-today{border-color:#C2532A;border-width:2px}
.cal-day-wknd{background:#FFF6E8}
.cal-day-peak{background:#FFEBE0}
.cal-day-selected{
  background:#C2532A !important;
  border-color:#C2532A !important;
  color:#fff !important;
  box-shadow:0 4px 12px rgba(194,83,42,.32);
}
.cal-day-selected .cal-p{color:#fff}
.cal-d{
  font-size:13px;font-weight:700;color:#2E1A0F;
  line-height:1;
}
.cal-day-past .cal-d{color:#A89484}
.cal-day-selected .cal-d{color:#fff}
.cal-p{
  font-size:9px;font-weight:600;color:#C2532A;
  line-height:1;
  letter-spacing:-.2px;
}

.cal-legend{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:12px;padding-top:10px;
  border-top:1px dashed #EBD9C0;
  font-size:10.5px;color:#6B4226;
}
.cal-legend > span{display:inline-flex;align-items:center;gap:5px}
.cl-dot{
  width:10px;height:10px;border-radius:3px;display:inline-block;
  border:1px solid #EBD9C0;
}
.cl-base{background:#fff}
.cl-wknd{background:#FFF6E8}
.cl-peak{background:#FFEBE0}

/* ============ DBOOK FORM EKLEMELERİ ============ */
.dbook-section{
  display:flex;flex-direction:column;gap:8px;
}
.dbook-section-label{
  font-size:11px;font-weight:700;color:#6B4226;
  text-transform:uppercase;letter-spacing:.5px;
  display:flex;align-items:center;gap:6px;
}
.dbook-section-label i{color:#C2532A;font-size:12px}
.dbook-selected{
  font-size:12px;color:#5F4533;line-height:1.4;
  padding:8px 12px;background:#FFFCF6;border-radius:8px;
  border:1px dashed #EBD9C0;margin-top:10px;
}
.dbook-selected strong{color:#C2532A;font-weight:800}
.dbook-selected i{color:#1F8C3B;margin-right:4px}

/* Collapsible toggle */
.dbook-collapse-toggle{
  width:100%;
  background:#FFFCF6;
  border:1px solid #EBD9C0;
  border-radius:10px;
  padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  cursor:pointer;
  transition:border-color .2s, background .2s;
  font-family:inherit;
}
.dbook-collapse-toggle:hover{
  border-color:#C2532A;
  background:#FBEBD9;
}
.dbook-collapse-toggle.open{
  border-color:#C2532A;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
.dct-left{
  display:flex;align-items:center;gap:10px;min-width:0;flex:1;
}
.dct-left > i{
  color:#C2532A;font-size:16px;flex-shrink:0;
  width:24px;text-align:center;
}
.dct-label{
  display:flex;flex-direction:column;gap:2px;min-width:0;
  align-items:flex-start;
}
.dct-title{
  font-size:10.5px;font-weight:700;color:#8B5E3C;
  text-transform:uppercase;letter-spacing:.5px;line-height:1;
}
.dct-value{
  font-size:13px;font-weight:600;color:#8B5E3C;
  line-height:1.2;
}
.dct-value-active{color:#2E1A0F;font-weight:700}
.dct-chev{
  color:#C2532A;font-size:12px;flex-shrink:0;
  transition:transform .25s;
}
.dbook-collapse-toggle.open .dct-chev{transform:rotate(180deg)}

.dbook-collapse{
  border:1px solid #C2532A;
  border-top:none;
  border-bottom-left-radius:10px;
  border-bottom-right-radius:10px;
  padding:10px;
  background:#FFFCF6;
  animation:dbCollapseIn .25s ease;
}
@keyframes dbCollapseIn{
  from {opacity:0;transform:translateY(-6px)}
  to   {opacity:1;transform:translateY(0)}
}
.dbook-collapse[hidden]{display:none}
.dbook-collapse .cal-wrap{
  background:transparent;border:none;padding:0;
}

.dbook-qty{padding:5px;max-width:160px}

.dbook-promo{
  display:flex;gap:6px;
}
.dbook-promo input{
  flex:1;border:1px solid #EBD9C0;border-radius:8px;
  padding:10px 12px;font-size:13px;color:#2E1A0F;
  font-family:inherit;background:#FFFCF6;
  text-transform:uppercase;letter-spacing:.5px;
  font-weight:600;
}
.dbook-promo input:focus{outline:none;border-color:#C2532A}
.dbook-promo input::placeholder{text-transform:none;letter-spacing:0;font-weight:400}
.dbook-promo button{
  background:#2E1A0F;color:#fff;
  padding:10px 16px;border-radius:8px;
  font-weight:700;font-size:12px;
  border:none;cursor:pointer;
  white-space:nowrap;
  transition:background .2s;
}
.dbook-promo button:hover{background:#3D2516}
.dbook-promo-result{
  font-size:11.5px;line-height:1.4;
  min-height:1em;
}
.dbook-promo-ok{color:#1F8C3B;font-weight:600}
.dbook-promo-err{color:#B85C3E;font-weight:600}

.dbook-row-saved{color:#A89484}
.dbook-row-saved strong{color:#A89484;text-decoration:line-through}

/* ============ SEPET PAGE ============ */
.cart-page{
  padding:104px 0 60px;
  background:#FBF7F0;min-height:100vh;
}

.cart-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:24px;flex-wrap:wrap;gap:12px;
}
.cart-head h1{
  font-size:28px;font-weight:800;color:#2E1A0F;
  letter-spacing:-.5px;
}
.cart-head h1 span{color:#8B5E3C;font-weight:600;font-size:18px;margin-left:6px}
.cart-clear-btn{
  background:transparent;border:1px solid #EBD9C0;
  color:#B85C3E;padding:8px 14px;border-radius:30px;
  font-size:12.5px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px;
  transition:background .2s, border-color .2s;
}
.cart-clear-btn:hover{background:#FDE8EC;border-color:#B85C3E}

.cart-wrap{
  display:grid;grid-template-columns:1fr 380px;gap:24px;
  align-items:start;
}
.cart-items{display:flex;flex-direction:column;gap:12px}

.cart-item{
  background:#fff;border:1px solid #EBD9C0;border-radius:14px;
  padding:14px;
  display:grid;grid-template-columns:120px 1fr auto;gap:16px;
  align-items:center;
  transition:box-shadow .2s;
}
.cart-item:hover{box-shadow:0 8px 18px rgba(46,26,15,.06)}
.ci-img{
  aspect-ratio:4/3;width:120px;
  background:#ddd center/cover no-repeat;
  border-radius:10px;
  display:block;
}
.ci-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.ci-name{
  font-size:15px;font-weight:700;color:#2E1A0F;
  text-decoration:none;line-height:1.35;
}
.ci-name:hover{color:#C2532A}
.ci-meta{
  font-size:12.5px;color:#6B4226;
  display:flex;align-items:center;gap:6px;
}
.ci-meta i{color:#C2532A}
.ci-price-row{
  display:flex;align-items:center;gap:8px;margin-top:4px;
}
.ci-old{font-size:12px;color:#A89484}
.ci-price{font-size:17px;font-weight:800;color:#C2532A;letter-spacing:-.3px}

.ci-actions{
  display:flex;flex-direction:column;align-items:flex-end;gap:8px;
}
.ci-qty{padding:4px}
.ci-qty button{width:28px;height:28px;font-size:14px}
.ci-qty input{width:36px;font-size:13px}
.ci-remove{
  background:transparent;border:none;cursor:pointer;
  color:#B85C3E;font-size:14px;padding:6px;
  border-radius:6px;transition:background .2s;
}
.ci-remove:hover{background:#FDE8EC}

/* Right side */
.cart-side{position:sticky;top:100px}
.cs-card{
  background:#fff;border:1px solid #EBD9C0;border-radius:14px;
  padding:22px;
  box-shadow:0 14px 32px rgba(46,26,15,.06);
}
.cs-card h3{
  font-size:18px;font-weight:800;color:#2E1A0F;
  letter-spacing:-.3px;margin-bottom:16px;
}
.cs-promo{
  padding-bottom:18px;margin-bottom:18px;
  border-bottom:1px dashed #EBD9C0;
}
.cs-promo label{
  display:block;
  font-size:11px;font-weight:700;color:#6B4226;
  text-transform:uppercase;letter-spacing:.5px;
  margin-bottom:6px;
}
.cs-promo-hints{
  font-size:11px;color:#6B4226;margin-top:8px;
  display:flex;flex-wrap:wrap;gap:6px;align-items:center;
}
.cs-promo-hints strong{display:block;width:100%;margin-bottom:4px;color:#8B5E3C}
.cs-hint{
  background:#FBEBD9;color:#C2532A;
  padding:3px 9px;border-radius:30px;
  font-weight:700;font-size:10px;cursor:pointer;
  letter-spacing:.4px;
  transition:background .15s, transform .15s;
}
.cs-hint:hover{background:#F3D2B5;transform:translateY(-1px)}

.cs-summary{
  display:flex;flex-direction:column;gap:8px;
  padding-bottom:18px;margin-bottom:16px;
  border-bottom:1px dashed #EBD9C0;
}
.cs-row{
  display:flex;justify-content:space-between;
  font-size:13.5px;color:#5F4533;
}
.cs-row strong{font-weight:700;color:#2E1A0F}
.cs-saved{color:#A89484}
.cs-saved strong{color:#A89484;text-decoration:line-through}
.cs-promo-row{color:#1F8C3B}
.cs-promo-row strong{color:#1F8C3B}
.cs-total{
  border-top:1px solid #F0E0C7;padding-top:10px;margin-top:4px;
  font-size:16px;
}
.cs-total strong{font-size:22px;color:#C2532A;font-weight:800;letter-spacing:-.5px}

.cs-checkout{
  width:100%;
  background:linear-gradient(135deg,#C2532A,#D9764B);
  color:#fff;padding:14px;border-radius:10px;
  font-weight:700;font-size:14.5px;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin-bottom:8px;
  box-shadow:0 8px 22px rgba(194,83,42,.32);
  transition:transform .2s;
}
.cs-checkout:hover{transform:translateY(-2px)}
.cs-wa{
  display:flex;width:100%;
  background:#25d366;color:#fff;
  padding:13px;border-radius:10px;
  font-weight:700;font-size:14px;
  align-items:center;justify-content:center;gap:8px;
  text-decoration:none;
  transition:background .2s;
}
.cs-wa:hover{background:#1eb858}

.cs-trust{
  margin-top:14px;padding-top:14px;
  border-top:1px dashed #EBD9C0;
  display:flex;flex-direction:column;gap:6px;
  font-size:11.5px;color:#6B4226;
}
.cs-trust div{display:flex;align-items:center;gap:8px}
.cs-trust i{color:#C2532A;width:14px}

/* Empty cart */
.cart-empty{
  background:#fff;border:1px solid #EBD9C0;border-radius:14px;
  padding:60px 30px;text-align:center;
}
.cart-empty-icon{
  width:72px;height:72px;border-radius:50%;
  background:linear-gradient(135deg,#FBEBD9,#F3D2B5);
  color:#C2532A;font-size:30px;
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:16px;
}
.cart-empty h2{font-size:22px;font-weight:800;color:#2E1A0F;margin-bottom:8px}
.cart-empty p{font-size:14px;color:#6B4226;max-width:420px;margin:0 auto 20px;line-height:1.6}

/* Responsive */
@media (max-width:1100px){
  .cart-wrap{grid-template-columns:1fr;gap:18px}
  .cart-side{position:static}
}
@media (max-width:820px){
  .cart-page{padding-top:90px}
  .cart-item{grid-template-columns:90px 1fr;gap:12px;padding:12px}
  .ci-img{width:90px}
  .ci-actions{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .cart-head h1{font-size:22px}
  .dbook-qty{max-width:120px}
}
@media (max-width:520px){
  .cart-item{padding:10px}
  .ci-img{width:80px}
  .ci-name{font-size:13.5px}
  .ci-price{font-size:15px}
}

/* ===== Passenger Info Form (tur detay sayfası) ===== */
.dbook-pax-section{background:#FFF8F2;border:1px dashed #E5B299;border-radius:10px;padding:14px;margin-top:4px}
.dbook-pax-section .dbook-section-label{display:flex;align-items:center;gap:8px;color:#7A2E10;margin:0 0 6px}
.dbook-pax-section .dpx-req{color:#C2532A;font-weight:800}
.dbook-pax-hint{margin:0 0 10px;font-size:12.5px;color:#7A4B3A}
.dbook-pax-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dpx-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.dpx-field label{font-size:12px;font-weight:600;color:#5B3A2A}
.dpx-field input{width:100%;padding:9px 10px;border:1.5px solid #E8D8CB;border-radius:8px;font-size:13.5px;background:#fff;color:#2A1810;transition:border-color .15s,box-shadow .15s}
.dpx-field input:focus{outline:none;border-color:#C2532A;box-shadow:0 0 0 3px rgba(194,83,42,.12)}
.dpx-field input.dpx-error{border-color:#D9534F;background:#FFF5F5;animation:dpxShake .35s}
@keyframes dpxShake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-4px)}
  75%{transform:translateX(4px)}
}
@media (max-width:520px){
  .dbook-pax-grid{grid-template-columns:1fr}
}

/* ===== Pax info in cart / checkout / success ===== */
.ci-pax{margin-top:8px;background:#FBF7F0;border:1px solid #EFE3D3;border-radius:8px;padding:8px 10px}
.ci-pax-head{font-size:12px;font-weight:700;color:#7A2E10;margin-bottom:6px;display:flex;align-items:center;gap:6px}
.ci-pax-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ci-pax-grid > div{display:flex;flex-direction:column;min-width:0}
.ci-pax-grid span{font-size:10.5px;color:#8a6e5c;text-transform:uppercase;letter-spacing:.4px}
.ci-pax-grid strong{font-size:12.5px;color:#2A1810;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:600px){
  .ci-pax-grid{grid-template-columns:1fr}
}

.cks-pax{margin-top:6px;display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:#5B3A2A}
.cks-pax > div{display:inline-flex;align-items:center;gap:5px}
.cks-pax i{color:#C2532A}

/* Sepet/ödeme yolcu listesi */
.ci-pax,.cks-pax{margin:8px 0;padding:8px 10px;background:#F7F2EA;border-radius:8px;font-size:12.5px;color:#5a4a38}
.ci-pax-head{font-weight:600;color:#7a6a55;margin-bottom:4px}
.ci-pax-row,.cks-pax div{padding:1px 0}
