 :root{
            /* Light luxury / editorial */
            --bg-main: #F7F6F3;     /* ivory */
            --bg-soft: #FBFAF8;
            --card-bg: #FFFFFF;

            --text-main:#0F172A;    /* ink */
            --text-muted:#475569;
            --text-soft:#64748B;

            --gold:#C6A76D;
            --gold-soft: rgba(198,167,109,.22);
            --gold-line: rgba(198,167,109,.34);

            --border: rgba(15,23,42,.10);
            --border-strong: rgba(15,23,42,.14);

            --shadow-sm: 0 8px 22px rgba(15,23,42,.08);
            --shadow-lg: 0 26px 70px rgba(15,23,42,.12);

            --radius: 18px;
            --radius-lg: 22px;

            /* --container: 1220px; */
            --container: 1720px;
        }

        *{box-sizing:border-box}
        html,body{height:100%}
        body{
            margin:0;
            font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
            color: var(--text-main);
            background:
                radial-gradient(950px 420px at 18% -5%, rgba(231,211,164,.38), transparent 60%),
                radial-gradient(980px 460px at 92% 10%, rgba(198,167,109,.22), transparent 55%),
                linear-gradient(180deg, #FFFFFF, var(--bg-main));
            overflow-x:hidden;
            background-attachment: fixed;
        }

        a{color:inherit; text-decoration:none}
        .container{max-width:var(--container); margin:0 auto; padding:0 22px}

        /* ===== Topbar ===== */
        .topbar{
            position:sticky; top:0; z-index:60;
            background: rgba(255,255,255,.82);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
        }
        .topbar__inner{
            height:72px;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:16px;
        }
        .brand{
            display:flex; align-items:center; gap:12px;
        }
        .brand__mark{
            width:66px; height:66px; border-radius:12px;
            border:1px solid var(--gold-line);
            box-shadow: 0 10px 22px rgba(198,167,109,.18);
            background-image: url('/img/logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .brand__name{
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:18px;
            line-height:1.1;
        }
        .brand__tag{
            margin-top:2px;
            font-size:12px;
            color: var(--text-soft);
        }

        .nav{
            display:flex; align-items:center; gap:18px;
            font-size:13px;
            color: rgba(15,23,42,.78);
        }
        .nav a:hover{color: rgba(15,23,42,.95)}
        .nav__divider{width:1px; height:16px; background: var(--border)}

        /* ===== Buttons ===== */
        .btn{
            display:inline-flex; align-items:center; justify-content:center;
            padding:10px 14px;
            border-radius:999px;
            border:1px solid var(--border-strong);
            background: #fff;
            color: var(--text-main);
            font-size:12px;
            font-weight:700;
            letter-spacing:.12em;
            text-transform:uppercase;
            box-shadow: 0 10px 26px rgba(15,23,42,.07);
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
        }
        .btn:hover{transform: translateY(-1px); box-shadow: var(--shadow-sm)}
        .btn--primary{
            border-color: var(--gold-line);
            background: linear-gradient(180deg, rgba(231,211,164,.62), rgba(198,167,109,.22));
        }
        .btn--ghost{
            background: transparent;
            box-shadow:none;
        }

        /* ===== Page sections ===== */
        .section{padding: 26px 0 56px;}
        .divider{border-top:1px solid var(--border);}

        /* ===== Hero row (same layout as noir screenshot) ===== */
        .hero{
            padding: 22px 0 18px;
        }
        .heroGrid{
            display:grid;
            grid-template-columns: 1.35fr .65fr;
            gap:18px;
            align-items:stretch;
        }
        .heroCard{
            position:relative;
            border-radius: var(--radius-lg);
            overflow:hidden;
            border:1px solid var(--border);
            box-shadow: var(--shadow-lg);
            min-height: 280px;
            background: #EFE7E1;
        }
        .heroBg{
            position:absolute; inset:0;
            background-image:
                linear-gradient(90deg,
                    rgba(255,255,255,.92) 0%,
                    rgba(255,255,255,.82) 46%,
                    rgba(255,255,255,.55) 66%,
                    rgba(255,255,255,.22) 80%,
                    rgba(255,255,255,0) 92%),
                /* url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2400&q=80'); */
                url('/img/sea.jpg');
            background-size: cover;
            background-position:center;
            transform: scale(1.02);
            filter: saturate(1.02) contrast(1.02);
        }
        .heroContent{
            position:relative;
            padding: 28px 28px 26px;
            display:flex;
            flex-direction:column;
            gap:10px;
            max-width: 66ch;
        }
        .kicker{
            font-size:12px;
            letter-spacing:.18em;
            text-transform:uppercase;
            color: var(--gold);
        }
        .heroTitle{
            margin:0;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:38px;
            line-height:1.05;
            letter-spacing:.01em;
        }
        .heroLead{
            margin:0;
            color: rgba(71,85,105,.92);
            font-size:14px;
            line-height:1.75;
            max-width: 56ch;
        }
        .heroActions{
            display:flex;
            flex-wrap:wrap;
            gap:10px;
            margin-top:6px;
        }

        .sideStack{display:flex; flex-direction:column; gap:14px;}
        .sideCard{
            border-radius: var(--radius);
            border: 1px solid var(--border);
            background: linear-gradient(180deg, #FFFFFF, var(--bg-soft));
            box-shadow: var(--shadow-sm);
            padding: 16px 16px 14px;
        }
        .sideCard h3{
            margin:0 0 8px;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:16px;
        }
        .sideCard p{
            margin:0;
            color: rgba(71,85,105,.90);
            font-size:13px;
            line-height:1.6;
        }
        .pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
        .pill{
            font-size:11px;
            letter-spacing:.10em;
            text-transform:uppercase;
            padding:7px 10px;
            border-radius:999px;
            border:1px solid var(--gold-line);
            background: rgba(255,255,255,.65);
            color: rgba(15,23,42,.88);
        }
        .miniAction{margin-top:12px; display:flex;}
        .miniAction .btn{width:100%; padding:10px 12px; letter-spacing:.14em;}
        .note{
            margin-top:10px;
            font-size:12px;
            color: rgba(100,116,139,.92);
        }

        /* ===== Main layout (filters left + results right) ===== */
        .layout{
            display:grid;
            grid-template-columns: 340px 1fr;
            gap:18px;
            align-items:start;
            margin-top: 14px;
        }

        /* Filters */
        .filters{
            position: sticky;
            top: 92px;
            border-radius: var(--radius);
            border:1px solid var(--border);
            background: #fff;
            box-shadow: var(--shadow-sm);
            overflow:hidden;
        }
        .filtersHead{
            display:flex;
            align-items:center;
            justify-content:space-between;
            padding: 14px 16px;
            border-bottom:1px solid var(--border);
        }
        .filtersHead h3{
            margin:0;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:16px;
        }
        .filtersHead .mode{
            font-size:12px;
            color: rgba(100,116,139,.92);
        }
        .filtersBody{padding: 14px 16px 16px;}

        .field{margin-bottom:12px}
        .label{
            display:flex; align-items:center; justify-content:space-between;
            font-size:11px;
            letter-spacing:.14em;
            text-transform:uppercase;
            color: rgba(198,167,109,.95);
            margin-bottom:8px;
        }
        .label span:last-child{color: rgba(100,116,139,.92); letter-spacing:.10em;}
        .input, .select{
            width:100%;
            border-radius: 14px;
            border:1px solid var(--border);
            background:#fff;
            padding: 12px 12px;
            font-size:13px;
            color: rgba(15,23,42,.92);
            outline:none;
        }
        .input::placeholder{color: rgba(100,116,139,.65)}
        .input:focus, .select:focus{
            border-color: var(--gold-line);
            box-shadow: 0 0 0 4px rgba(198,167,109,.18);
        }
        .rangeRow{display:grid; grid-template-columns:1fr 1fr; gap:10px}

        .filterActions{display:flex; gap:10px; margin-top:10px}
        .btnWide{width:100%}

        .tip{
            margin-top:12px;
            font-size:12px;
            color: rgba(100,116,139,.95);
            line-height:1.55;
        }

        /* Results header */
        .resultsTop{
            display:flex; align-items:flex-end; justify-content:space-between;
            gap:14px; margin-bottom:14px;
        }
        .resultsTitle{
            margin:0;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:20px;
        }
        .resultsMeta{
            margin-top:6px;
            color: rgba(100,116,139,.95);
            font-size:13px;
        }
        .sortRow{display:flex; align-items:center; gap:10px; justify-content:flex-end;}
        .sortRow .select{width:auto; min-width:240px}

        /* Cards grid */
        .grid{
            display:grid;
            grid-template-columns: repeat(3, 1fr);
            gap:14px;
        }
        .grid2{
            display:grid;
            grid-template-columns: repeat(2, 1fr);
            gap:14px;
        }
        .tourCard{
            position:relative;
            border-radius: var(--radius);
            border:1px solid var(--border);
            background: #fff;
            box-shadow: var(--shadow-sm);
            overflow:hidden;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }
        .tourCard:hover{
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(198,167,109,.28);
        }
        .tourCard::before{
            content:"";
            position:absolute; left:0; right:0; top:0; height:3px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            opacity:.55;
        }
        .tourMedia{
            height: 170px;
            background:#F1F5F9;
        }
        .tourMedia img{width:100%; height:100%; object-fit:cover; display:block;}
        .tourBody{padding: 12px 12px 14px;}
        .tourKicker{
            font-size:11px;
            letter-spacing:.18em;
            text-transform:uppercase;
            color: rgba(198,167,109,.95);
            margin-bottom:7px;
        }
        .tourTitle{
            margin:0 0 8px;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:16px;
            line-height:1.2;
        }
        .tourDesc{
            margin:0 0 10px;
            color: rgba(71,85,105,.92);
            font-size:13px;
            line-height:1.6;
            min-height: 44px;
        }
        .metaRow{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px}
        .chip{
            font-size:11px;
            padding:7px 9px;
            border-radius:999px;
            border:1px solid var(--border);
            background: rgba(251,250,248,.85);
            color: rgba(15,23,42,.80);
        }
        .tourBottom{
            display:flex; align-items:center; justify-content:space-between; gap:10px;
        }
        .price{display:flex; flex-direction:column; gap:2px}
        .price strong{font-size:15px; letter-spacing:.01em}
        .price span{font-size:12px; color: rgba(100,116,139,.92)}
        .btnCard{
            padding:10px 12px;
            font-size:11px;
            letter-spacing:.14em;
        }
        .btnCard.btn--ghost{
            border-color: rgba(198,167,109,.22);
            background: rgba(231,211,164,.18);
        }

        /* Pagination */
        .pagination{
            margin-top:18px;
            display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
        }
        .page{
            width:34px; height:34px;
            border-radius:999px;
            display:inline-flex; align-items:center; justify-content:center;
            border:1px solid var(--border);
            background:#fff;
            color: rgba(15,23,42,.82);
            font-size:12px;
            box-shadow: 0 8px 18px rgba(15,23,42,.06);
        }
        .page.is-active{
            border-color: var(--gold-line);
            background: linear-gradient(180deg, rgba(231,211,164,.55), rgba(198,167,109,.18));
            color: rgba(15,23,42,.95);
            font-weight:800;
        }

        /* Request bar */
        .requestWrap{
            padding: 16px 0 64px;
        }
        .requestBar{
            border-radius: var(--radius-lg);
            border:1px solid var(--border);
            background: rgba(255,255,255,.82);
            backdrop-filter: blur(14px);
            box-shadow: var(--shadow-lg);
            overflow:hidden;
        }
        .requestHead{
            padding: 14px 16px;
            border-bottom:1px solid var(--border);
            display:flex; align-items:center; justify-content:space-between; gap:10px;
        }
        .requestHead h3{
            margin:0;
            font-family:"Playfair Display", serif;
            font-weight:600;
            font-size:16px;
        }
        .requestHead .smallRight{font-size:12px; color: rgba(100,116,139,.92);}
        .requestBody{padding: 14px 16px 16px;}
        .requestGrid{
            display:grid;
            grid-template-columns: 1.3fr .9fr .9fr;
            gap: 12px;
            align-items:end;
        }
        .requestGridText{
            /* display:grid; */
            grid-template-columns: 1.3fr .9fr .9fr;
            gap: 12px;
            align-items:end;
        }

        .requestActions{
            display:flex; gap:10px; margin-top:12px; flex-wrap:wrap;
        }

        /* Footer */
        .footer{
            border-top:1px solid var(--border);
            padding: 22px 0 26px;
            color: rgba(100,116,139,.95);
            font-size:12px;
        }
        .footerGrid{
            display:flex; gap:12px; align-items:center; justify-content:space-between;
            flex-wrap:wrap;
        }
        .footerLinks{display:flex; gap:14px; flex-wrap:wrap}
        .footerLinks a{opacity:.9; text-decoration: underline; text-underline-offset:3px}
        .footerLinks a:hover{opacity:1}

        /* Responsive */
        @media (max-width: 1120px){
            .grid{grid-template-columns: repeat(2, 1fr);}
            .heroGrid{grid-template-columns: 1fr;}
        }
        @media (max-width: 920px){
            .layout{grid-template-columns: 1fr;}
            .filters{position:relative; top:auto;}
            .sortRow{justify-content:flex-start}
            .sortRow .select{width:100%}
            .requestGrid{grid-template-columns:1fr}
        }
        @media (max-width: 620px){
            /* .nav{display:none} */
            .heroTitle{font-size:32px}
            .grid{grid-template-columns: 1fr;}
        }




        .login-wrap {
            min-height: 100vh;
            display: flex;
            align-items: center;     /* вертикално */
            justify-content: center; /* хоризонтално */
        }

        .login-box {
            width: 400px;
            height: 300px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(0,0,0,.12);
            padding: 24px;
        }



.nav {
  position: relative; /* важно за absolute менюто */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
    display: flex;
    gap: 18px;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}


/* .mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 9999;

  display: none;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.mobile-menu a:hover {
  background: rgba(0,0,0,.04);
}

.mobile-menu.active {
  display: block;
} */

/* .mobile-menu a {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
} */


@media (max-width: 1024px) {

    /* .nav__links {
        display: none;
    }

    .nav__toggle {
        display: block;
    } */
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }

    /* .mobile-menu.active {
        display: flex;
    } */

}





.nav-item{
  position: relative;
  display: inline-flex; /* да се държи като линк във flex-а */
  align-items: center;
}

/* dropdown */
.dropdown{
  position: absolute;
  top: calc(100% + 10px);
  /* left: 0;               залепено под линка */
  left: -150%;
  z-index: 9999;

  /* width: 520px; */
  width: min(320px, calc(100vw - 24px));
  max-width: min(320px, calc(100vw - 24px));
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);

  opacity: 0;
  visibility: hidden;
  /* transform: translateY(8px); */
  transform: translateX(-50%) translateY(8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none;
}

/* показване */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* “мостче” да не мига */
.has-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:12px;
}

/* вътрешно оформление */
.dropdown__grid{
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dropdown__title{
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 8px;
    color: #111827;
    padding: 1px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    border-color: var(--gold-line);
    background: linear-gradient(180deg, rgba(231,211,164,.62), rgba(198,167,109,.22));

}

.dropdown__a{
  display:block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration:none;
  color:#111827;
}

.dropdown__a:hover{
  background: rgba(0,0,0,.05);
}

.callus{
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    border-color: var(--gold-line);
    background: linear-gradient(180deg, rgba(231,211,164,.62), rgba(198,167,109,.22));
}

.callus_mobile{
    display: none;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    border-color: var(--gold-line);
    background: linear-gradient(180deg, rgba(231,211,164,.62), rgba(198,167,109,.22));
}


@media (max-width: 1024px) {
    .callus{
        display: none;
    }
    .callus_mobile{
        display: block;
    }
}

@media (max-width: 768px) {
    .brand__tag{
        display:  none;
    }
}



/* mobile menu */
.mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 9999;

    width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 18px;

    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    border: 1px solid rgba(0,0,0,.06);

    display: none;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    font-size: 15px;
    color: #1f2937;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #000;
}

.mobile-menu a:not(.btn) {
    padding: 6px 0;
}

.mobile-menu .btn {
    margin-top: 8px;
    text-align: center;
}

.mobile-menu .btn:hover {
    background: rgba(0,0,0,.05);
}








/* 1) container да не прави хоризонтален overflow */
.tours .container{
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 16px;   /* важно за мобилен */
}

/* ако някъде ползваш width:100vw – махни го.
   100vw на мобилен често прави overflow */
.tours, .tours *{
  box-sizing: border-box;
}

/* 2) основният layout: desktop 2 колони, mobile 1 колона */
.tours .layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}

/* много важно при grid/flex overflow */
.tours .layout > *{
  min-width: 0;
}

/* 3) grid с картите */
.tours .grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tours .tourCard{
  min-width: 0;
}

/* 4) Mobile: всичко става на 1 колона + картите са 1/2 колони */
@media (max-width: 900px){
  .tours .layout{
    grid-template-columns: 1fr;
  }

  .tours aside{
    order: 2; /* ако искаш филтрите да са под резултатите */
  }

  .tours .grid{
    grid-template-columns: 1fr;
  }
}

/* Optional: на малко по-широк мобилен може 2 колони */
@media (min-width: 520px) and (max-width: 900px){
  .tours .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}






.resultsTop{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.resultsTitle{
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
}

.resultsMeta{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(15,23,42,.65);
}

.sortRow{
  flex: 0 0 auto;
}

.sortRow .select{
  min-width: 260px;
}

/* Mobile */
@media (max-width: 620px){
  .resultsTop{
    flex-direction: column;
    align-items: stretch; /* да се разпъва */
  }

  .sortRow .select{
    width: 100%;
    min-width: 0; /* важно */
  }

  .resultsTitle{
    font-size: 20px;
  }
}


@media (max-width: 620px){
  .sortRow .select{
    padding: 10px 12px;
  }
}








html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
