/* Mobile-isolated baseline snapshot. Source: assets/css/destinations.css */
/* =========================================================
   BUNGALOVTR DESTINATIONS v5 - LOCKED
   Popular compact + Accordion sidebar + Bungalow results
   Sadece Destinasyonlar sayfasında yüklenir.
========================================================= */
.dest-page{background:#f7faf6;color:#263229}
.dest-shell{width:min(calc(100% - 48px),1180px);margin-inline:auto}
.dest-section{padding:38px 0}
.dest-kicker{display:block;margin:0 0 5px;color:#668064;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.dest-section-head{margin-bottom:16px}
.dest-section-head h1,.dest-section-head h2{margin:0;font-size:27px;line-height:1.12;font-weight:600;letter-spacing:-.025em;color:#243128}

/* Compact featured destinations - DO NOT REMOVE */
.dest-popular{background:#fff;border-bottom:1px solid #e7ece5;padding:32px 0 34px}
.dest-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dest-feature-card{position:relative;height:152px;overflow:hidden;border-radius:13px;background:#dfe6dd;box-shadow:0 5px 15px rgba(28,45,31,.055)}
.dest-feature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.dest-feature-card:hover img{transform:scale(1.025)}
.dest-feature-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,15,8,.02) 32%,rgba(7,19,10,.78) 100%)}
.dest-feature-card__body{position:absolute;left:12px;right:12px;bottom:10px;color:#fff}
.dest-feature-card__body>small{display:block;margin-bottom:1px;font-size:9px;opacity:.82}
.dest-feature-card strong{display:block;font-size:16px;line-height:1.08;font-weight:650}
.dest-feature-card em{display:flex;align-items:center;gap:4px;margin-top:5px;font-size:9px;font-style:normal;font-weight:650}

/* Main directory */
.dest-directory{background:#f4f7f2;padding:42px 0 56px}
.dest-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:28px;align-items:start}

/* Sidebar */
.dest-sidebar{position:sticky;top:88px;overflow:hidden;border:1px solid #dce5da;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(31,48,33,.045)}
.dest-sidebar__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px 12px}
.dest-sidebar__head strong{font-size:17px;font-weight:650;color:#27342b}
.dest-sidebar__head span{font-size:12px;color:#7d887f;white-space:nowrap}
.dest-sidebar__search{height:40px;margin:0 12px 12px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #dfe6dd;border-radius:9px;background:#fafcf9}
.dest-sidebar__search span{font-size:14px;color:#769074}
.dest-sidebar__search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:#2d382f}
.dest-sidebar__all{min-height:40px;padding:0 15px;border-top:1px solid #edf1ec;border-bottom:1px solid #edf1ec;display:flex;align-items:center;justify-content:space-between;color:#4c5b4f;font-size:14px;font-weight:600}
.dest-sidebar__all b{min-width:24px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#eef4ed;color:#59725b;font-size:10px}
.dest-sidebar__all:hover,.dest-sidebar__all.is-active{background:#edf5ec;color:#245f36}

.dest-accordions{padding:6px 0 9px}
.dest-accordion{border-bottom:1px solid #eef2ed}
.dest-accordion:last-child{border-bottom:0}
.dest-accordion summary{min-height:42px;padding:0 15px;list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#4d5a50;font-size:14px;font-weight:650}
.dest-accordion summary::-webkit-details-marker{display:none}
.dest-accordion summary:after{content:'+';margin-left:auto;color:#6f856d;font-size:15px;font-weight:400}
.dest-accordion[open] summary:after{content:'−'}
.dest-accordion summary>b{order:2;min-width:20px;height:20px;border-radius:999px;display:grid;place-items:center;background:#f0f4ef;color:#7b8a7c;font-size:10px;font-weight:650}
.dest-accordion__list{padding:0 8px 8px}
.dest-accordion__list a{min-height:42px;padding:6px 8px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#536057}
.dest-accordion__list a:hover,.dest-accordion__list a.is-active{background:#eef6ed;color:#215d33}
.dest-accordion__list a>span{min-width:0}
.dest-accordion__list strong{display:block;font-size:13px;font-weight:650;line-height:1.2}
.dest-accordion__list small{display:block;margin-top:2px;color:#919992;font-size:10.5px}
.dest-accordion__list a>b{flex:0 0 auto;min-width:21px;height:19px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#f1f4f0;color:#7a897c;font-size:10px;font-weight:650}
.dest-accordion__list a.is-active>b{background:#fff;color:#28623a}
.dest-accordion__list a.is-search-hidden{display:none}

/* Results */
.dest-results{min-width:0}
.dest-results__head{min-height:54px;margin-bottom:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.dest-results__head h2{margin:0;font-size:26px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:#26342a}
.dest-results__count{padding:7px 10px;border:1px solid #dce5da;border-radius:999px;background:#fff;color:#667269;font-size:10px;font-weight:650;white-space:nowrap}

.dest-bungalow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dest-bungalow-grid .bungalow-card{width:100%;min-width:0}
.dest-bungalow-grid .bungalow-card-media{aspect-ratio:1.62/1}
.dest-bungalow-grid .bungalow-card h3{font-size:16px}
.dest-bungalow-grid .bungalow-card-body{min-height:112px}

.dest-empty{padding:40px 24px;border:1px dashed #d3ded2;border-radius:14px;background:#fff;text-align:center;color:#6d786f}
.dest-empty strong{display:block;margin-bottom:7px;color:#2c3a30;font-size:17px}
.dest-empty p{margin:0 0 12px;font-size:12px}
.dest-empty a{color:#3e744b;font-size:12px;font-weight:650}

.dest-pagination{margin-top:24px}
.dest-pagination ul{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0}
.dest-pagination a,.dest-pagination span{min-width:34px;height:34px;padding:0 9px;border:1px solid #dbe4da;border-radius:8px;background:#fff;display:grid;place-items:center;color:#4c5d50;font-size:11px}
.dest-pagination .current{background:#356c43;border-color:#356c43;color:#fff}

@media(max-width:1020px){
  .dest-shell{width:min(calc(100% - 36px),1180px)}
  .dest-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dest-feature-card{height:140px}
  .dest-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}
  .dest-bungalow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .dest-shell{width:calc(100% - 24px)}
  .dest-section{padding:30px 0}
  .dest-popular{padding:26px 0 28px}
  .dest-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .dest-feature-card{height:135px}
  .dest-layout{grid-template-columns:1fr;gap:18px}
  .dest-sidebar{position:static}
  .dest-results__head h2{font-size:23px}
  .dest-bungalow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
}
@media(max-width:520px){
  .dest-feature-card{height:125px}
  .dest-bungalow-grid{grid-template-columns:1fr}
}

/* =========================================================
   BungalovTR Mobile Destinations Polish v22
   Mobile-only visual refinement. No new behavior.
========================================================= */
@media (max-width: 820px) {
  .dest-page {
    background: #f6f8f4;
  }

  .dest-shell {
    width: calc(100% - 20px) !important;
  }

  .dest-popular {
    padding: 18px 0 20px !important;
  }

  .dest-section-head {
    margin-bottom: 12px !important;
  }

  .dest-kicker {
    margin-bottom: 4px !important;
    font-size: 9px !important;
    letter-spacing: .075em !important;
  }

  .dest-section-head h1,
  .dest-section-head h2 {
    font-size: 21px !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
  }

  .dest-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dest-feature-card {
    height: auto !important;
    aspect-ratio: 1.27 / 1 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 16px rgba(28, 45, 31, .065) !important;
  }

  .dest-feature-card__body {
    left: 10px !important;
    right: 10px !important;
    bottom: 9px !important;
  }

  .dest-feature-card__body > small {
    font-size: 9px !important;
  }

  .dest-feature-card strong {
    font-size: 15px !important;
  }

  .dest-feature-card em {
    margin-top: 4px !important;
    font-size: 9px !important;
  }

  .dest-directory {
    padding: 18px 0 30px !important;
  }

  .dest-layout {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .dest-sidebar {
    position: static !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 16px rgba(31, 48, 33, .045) !important;
  }

  .dest-sidebar__head {
    padding: 13px 13px 10px !important;
  }

  .dest-sidebar__head strong {
    font-size: 15px !important;
  }

  .dest-sidebar__head span {
    font-size: 10px !important;
  }

  .dest-sidebar__search {
    height: 42px !important;
    margin: 0 10px 10px !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
  }

  .dest-sidebar__search input {
    font-size: 13px !important;
  }

  .dest-sidebar__all {
    min-height: 43px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  .dest-accordions {
    padding: 3px 0 7px !important;
  }

  .dest-accordion summary {
    min-height: 42px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  .dest-accordion__list {
    padding: 0 7px 7px !important;
  }

  .dest-accordion__list a {
    min-height: 42px !important;
    padding: 6px 8px !important;
  }

  .dest-accordion__list strong {
    font-size: 12.5px !important;
  }

  .dest-accordion__list small {
    font-size: 10px !important;
  }

  .dest-results__head {
    min-height: 0 !important;
    margin: 1px 0 11px !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .dest-results__head h2 {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }

  .dest-results__count {
    padding: 6px 9px !important;
    font-size: 9px !important;
    border-radius: 999px !important;
  }

  .dest-bungalow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dest-bungalow-grid .bungalow-card {
    border-radius: 13px !important;
    overflow: hidden !important;
  }

  .dest-bungalow-grid .bungalow-card-media {
    aspect-ratio: 1.28 / 1 !important;
  }

  .dest-bungalow-grid .bungalow-card-body {
    min-height: 0 !important;
    padding: 8px !important;
  }

  .dest-bungalow-grid .bungalow-card h3 {
    margin-bottom: 3px !important;
    font-size: 11.5px !important;
    line-height: 1.22 !important;
  }

  .dest-empty {
    padding: 26px 18px !important;
    border-radius: 14px !important;
  }

  .dest-empty strong {
    font-size: 15px !important;
  }

  .dest-empty p,
  .dest-empty a {
    font-size: 11px !important;
  }

  .dest-pagination {
    margin-top: 18px !important;
  }

  .dest-pagination ul {
    gap: 5px !important;
  }

  .dest-pagination a,
  .dest-pagination span {
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 380px) {
  .dest-shell {
    width: calc(100% - 16px) !important;
  }

  .dest-feature-grid,
  .dest-bungalow-grid {
    gap: 7px !important;
  }

  .dest-feature-card strong {
    font-size: 14px !important;
  }
}

/* =========================================================
   BungalovTR Mobile Destinations Filter Sheet v23
   Mobile-only. Mirrors the compact Bungalovlar filter pattern.
========================================================= */
@media (max-width: 820px) {
  html.dest-filter-lock,
  html.dest-filter-lock body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .dest-mobile-filter-button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0 14px;
    border: 1px solid #dbe6dc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(29, 62, 42, .045);
    color: #214d3b;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .dest-mobile-filter-button__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2c754c;
  }

  .dest-mobile-filter-button__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .dest-mobile-filter-button__count {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8f3ea;
    color: #24794d;
    font-size: 10px;
    font-weight: 700;
  }

  .dest-sidebar {
    position: fixed !important;
    z-index: 1202 !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    top: auto !important;
    width: auto !important;
    max-height: min(72vh, 620px) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dce5da !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(15, 34, 23, .20) !important;
    transform: translateY(calc(100% + 28px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .24s ease, opacity .2s ease, visibility .2s ease !important;
  }

  .dest-sidebar.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dest-sidebar::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: #d9e1da;
  }

  .dest-sidebar__scroll {
    max-height: calc(min(72vh, 620px) - 12px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .dest-sidebar__head {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 54px;
    padding: 10px 12px 9px !important;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #edf1ed;
    backdrop-filter: blur(8px);
  }

  .dest-sidebar__head-text {
    min-width: 0;
    display: grid;
    gap: 1px;
  }

  .dest-sidebar__close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f1;
    color: #4d5e53;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .dest-sidebar__search {
    margin-top: 10px !important;
  }

  .dest-accordions {
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }

  .dest-mobile-filter-backdrop {
    position: fixed;
    z-index: 1201;
    inset: 0;
    display: block;
    background: rgba(12, 27, 19, .34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .dest-mobile-filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Selected destination detail uses a single column and the same visual hierarchy on mobile. */
.dest-directory--selected .dest-layout{grid-template-columns:1fr}
.dest-results__head h1{margin:0;font-size:26px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:#26342a}
@media(max-width:820px){.dest-results__head h1{font-size:23px}}
