/* Ohrid Tours — делови за туристичка агенција врз дизајнот на SmartFlow (styles.css + shop.css).
   Истите токени: --ink, --muted, --line, --blue, --pink, --wash. */

/* ---------- Header: лого + име, јазици ---------- */
.tours-site .site-header .brand { gap: 10px; font-size: 1.35rem; white-space: nowrap; }
.tours-site .site-header .brand img { width: 40px; height: 40px; }
.lang-pills { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; gap: 2px; background: #fff; }
.lang-pills a { display: flex; padding: 5px 6px; border-radius: 7px; line-height: 1; opacity: .55; transition: opacity .2s, background .2s; }
.lang-pills a:hover { opacity: 1; }
.lang-pills a.active { background: linear-gradient(100deg, var(--blue), var(--pink)); opacity: 1; }
.lang-pills svg { width: 24px; height: 16px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.mega-cat-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover !important; mix-blend-mode: normal !important; }
.mega-thumb.tour-thumb { padding: 0; overflow: hidden; }
.mega-thumb.tour-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero со фотографија ---------- */
.tour-hero { grid-template-columns: 1.02fr .98fr; }
.hero-photo { position: relative; aspect-ratio: 4 / 4.3; border-radius: 34px; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; box-shadow: 0 34px 80px rgba(14, 30, 50, .18); }
.hero-photo:before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 38px; background: linear-gradient(135deg, var(--blue), var(--pink)); opacity: .16; z-index: -1; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-radius: 16px; box-shadow: 0 18px 40px rgba(12, 24, 40, .16); border: 1px solid rgba(255, 255, 255, .8); }
.hero-badge i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--blue), var(--pink)) border-box; }
.hero-badge i img { width: 26px; height: 26px; }
.hero-badge b { display: block; font-size: 1.15rem; letter-spacing: -.03em; }
.hero-badge small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.hb-0 { left: -28px; top: 12%; }
.hb-1 { right: -22px; top: 46%; }
.hb-2 { left: 9%; bottom: -24px; }

/* ---------- Категории (плочки со слика) ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.cat-tile { position: relative; min-height: 340px; border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat-tile:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 16, 24, 0) 35%, rgba(11, 16, 24, .82)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span { display: grid; gap: 6px; padding: 24px; }
.cat-tile small { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9be4ff; }
.cat-tile b { font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.05; }
.cat-tile em { font-style: normal; font-size: .86rem; color: rgba(255, 255, 255, .82); line-height: 1.45; }

/* ---------- Картичка за тура ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tour-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7eaf0; border-radius: 22px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tour-card:hover { transform: translateY(-6px); border-color: #f5a7d2; box-shadow: 0 24px 45px rgba(20, 30, 45, .1); }
.tour-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash); }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tc-cat { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #167ba9; }
.tour-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.tour-card-body h3 { margin: 0; font-size: 1.32rem; letter-spacing: -.03em; line-height: 1.15; }
.tc-desc { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; font-weight: 700; color: #3c4757; }
.tc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tc-meta img { width: 18px; height: 18px; }
.tour-card .pc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.tour-card .pc-foot strong { font-size: 1.35rem; letter-spacing: -.03em; }
.tour-card .pc-foot small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.tour-card .pc-foot b { color: var(--pink); }

/* ---------- Категорија (интро) ---------- */
.cat-intro img { width: 150px; height: 150px; border-radius: 22px; object-fit: cover; }

/* ---------- Страница за тура ---------- */
.tour-main { padding: 0 !important; overflow: hidden; aspect-ratio: 4 / 3 !important; }
.tour-main img { object-fit: cover !important; }
.tour-thumbs button { padding: 0 !important; overflow: hidden; }
.tour-thumbs button img { object-fit: cover !important; }
.tour-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tour-facts li { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.tour-facts img { width: 30px; height: 30px; flex-shrink: 0; }
.tour-facts small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tour-facts b { font-size: .92rem; }
.pd-price strong small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.date-list { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 230px; overflow-y: auto; }
.date-list legend, .date-pick > span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #167ba9; margin-bottom: 10px; display: block; }
.date-opt { position: relative; cursor: pointer; }
.date-opt input { position: absolute; opacity: 0; }
.date-opt span { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.date-opt b { font-size: .92rem; }
.date-opt small { font-size: .72rem; color: #28a662; font-weight: 700; }
.date-opt input:checked + span { border-color: var(--pink); background: #fff4fa; box-shadow: 0 0 0 1px var(--pink); }
.date-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.date-opt.disabled { cursor: not-allowed; opacity: .5; }
.date-opt.disabled small { color: var(--pink); }
.date-pick input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; }
.pax { display: grid; gap: 10px; }
.pax-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pax-row span { display: grid; }
.pax-row small { color: var(--muted); font-size: .8rem; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.book-total span { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); }
.book-total strong { font-size: 2rem; letter-spacing: -.05em; }
.book-widget .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.book-widget .wa-btn { border: 1px solid #25d366; color: #128c4a; background: #fff; }
.book-widget .cs-note { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.tour-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; margin-top: 70px; }
.tour-sections .pd-desc { grid-column: 1 / -1; max-width: 860px; }
.tour-sections .pd-desc p:not(.eyebrow) { color: #3c4757; line-height: 1.8; font-size: 1.04rem; }
.program ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.program li { position: relative; padding: 0 0 22px 46px; counter-increment: step; display: grid; gap: 3px; }
.program li:before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--pink)); }
.program li:after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.program li:last-child:after { display: none; }
.program b { font-size: .98rem; }
.program span { color: var(--muted); line-height: 1.6; font-size: .94rem; }
.inc-exc { display: grid; gap: 22px; align-content: start; }
.inc-exc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.inc-exc li { padding-left: 28px; position: relative; line-height: 1.5; font-size: .95rem; }
.inc-exc .yes li:before { content: "✓"; position: absolute; left: 0; color: #28a662; font-weight: 800; }
.inc-exc .no li:before { content: "✕"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.tour-map { grid-column: 1 / -1; }
.tour-map iframe { width: 100%; height: 340px; border: 0; border-radius: 22px; background: var(--wash); }
.contact-map { padding-top: 0; }

/* ---------- Резервација (преглед) ---------- */
.book-summary img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.book-summary h3 { margin: 0 0 6px; }
.form-row-2 label { min-width: 0; }

/* ---------- Рецензии ---------- */
.reviews { background: var(--wash); }
.rating-box { display: grid; justify-items: end; gap: 2px; }
.rating-box strong { font-size: 3.4rem; letter-spacing: -.06em; line-height: 1; }
.rating-box small { color: var(--muted); font-weight: 600; }
.stars { color: #ffb400; letter-spacing: 2px; font-size: 1rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.review { margin: 0; padding: 26px; background: #fff; border-radius: 20px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; box-shadow: 0 12px 34px rgba(14, 28, 47, .05); }
.review blockquote { margin: 0; color: #3c4757; line-height: 1.7; font-size: .98rem; }
.review figcaption { display: grid; }
.review figcaption small { color: var(--muted); }

/* ---------- WhatsApp плутачко копче ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px rgba(37, 211, 102, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 1100px) {
  .tour-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .cat-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1050px) {
  .tour-hero { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; margin: 10px 18px 30px; }
  .lang-pills { margin-right: 4px; }
}
@media (max-width: 700px) {
  .tours-site .site-header .brand span { font-size: 1.05rem; }
  .tours-site .site-header .brand img { width: 32px; height: 32px; }
  .lang-pills a { padding: 4px 5px; }
  .lang-pills svg { width: 21px; height: 14px; }
  .tour-grid, .review-grid, .cat-tiles, .tour-sections, .tour-facts { grid-template-columns: 1fr; }
  .cat-tile { min-height: 240px; }
  .hero-photo { margin: 10px 8px 34px; }
  .hb-0 { left: -6px; top: 8%; } .hb-1 { right: -6px; top: auto; bottom: 34%; } .hb-2 { left: 6%; bottom: -26px; }
  .hero-badge { padding: 8px 12px 8px 8px; } .hero-badge i { width: 34px; height: 34px; } .hero-badge b { font-size: .98rem; }
  .rating-box { justify-items: start; margin-top: 18px; }
  .tour-sections { margin-top: 44px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
