/* Tripivo design system — kolor głowny #347D80 (z logo) */
:root {
    --primary: #347D80; --primary-600: #266467; --primary-50: #E6F1F1;
    --secondary: #4FA5A8; --accent: #4FA5A8; --accent-600: #266467;
    --bg: #F8FAFC; --surface: #FFFFFF;
    --text: #1F2937; --muted: #6B7280;
    --border: #E5E7EB; --border-soft: #EEF2F6;
    --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
    --shadow-md: 0 4px 12px rgba(16,24,40,.06), 0 2px 4px rgba(16,24,40,.04);
    --shadow-lg: 0 20px 40px -12px rgba(16,24,40,.12), 0 6px 16px rgba(16,24,40,.06);
    --radius: 14px; --radius-lg: 20px; --radius-xl: 28px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
  body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.55;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;            /* safety net dla 390px overflow z AUDIT P0 #2 */
    max-width: 100vw;
  }
  img, svg, video, picture { max-width: 100%; height: auto; }
  @media (max-width: 575.98px) {
    .container, .container-fluid { padding-left: 14px; padding-right: 14px; }
    h1 { font-size: clamp(1.55rem, 7vw, 2rem) !important; }
    .search-card, .auth-card, .hero-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow-wrap: break-word; }
  }
  body.no-scroll { overflow: hidden; }
  a { color: var(--primary); text-decoration: none; }
  a:hover { color: var(--primary-600); }
  h1, h2, h3, h4, h5 { letter-spacing: -.02em; color: var(--text); margin: 0; }
  h1 { font-weight: 800; } h2 { font-weight: 700; }
  .text-muted-2 { color: var(--muted) !important; }

  section { padding: 80px 0; }
  @media (max-width: 768px) { section { padding: 56px 0; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; color: var(--primary);
    background: var(--primary-50); padding: 6px 12px; border-radius: 999px;
  }

  /* Buttons */
  .btn { border-radius: 12px; font-weight: 600; padding: 10px 18px;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
  .btn-lg { padding: 13px 22px; font-size: 1rem; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--primary); border-color: var(--primary); box-shadow: 0 1px 2px rgba(10,102,194,.2); }
  .btn-primary:hover, .btn-primary:focus { background: var(--primary-600); border-color: var(--primary-600); box-shadow: 0 6px 16px rgba(10,102,194,.25); }
  .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
  .btn-accent:hover, .btn-accent:focus { background: var(--accent-600); border-color: var(--accent-600); color: #fff; box-shadow: 0 6px 16px rgba(0,168,107,.25); }
  .btn-outline-soft { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
  .btn-outline-soft:hover { background: #fff; border-color: #d1d5db; color: var(--text); box-shadow: var(--shadow-sm); }
  .btn-ghost { background: transparent; color: var(--text); border: 0; }
  .btn-ghost:hover { color: var(--primary); background: var(--bg); }

  /* Navbar */
  .nav-tripovo {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .nav-tripovo.scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 1px 0 rgba(16,24,40,.02), 0 6px 16px -10px rgba(16,24,40,.1); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--text); }
  .brand .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; }
  .brand .dot { color: var(--accent); }
  .nav-links { display: none; gap: 4px; }
  .nav-links a { color: var(--text); font-weight: 500; padding: 8px 14px; border-radius: 10px; }
  .nav-links a:hover { background: var(--bg); color: var(--primary); }
  .nav-actions { display: none; align-items: center; gap: 8px; }
  .compact-search {
    display: none; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 999px; padding: 5px 5px 5px 18px;
    box-shadow: var(--shadow-sm); flex: 0 1 420px; margin: 0 auto;
  }
  .compact-search input { border: 0; outline: 0; background: transparent; font-size: .92rem; flex: 1; min-width: 0; }
  .compact-search button { border-radius: 999px; padding: 8px 14px; font-size: .9rem; }
  .nav-tripovo.scrolled .compact-search { display: flex; }
  @media (max-width: 991.98px) { .nav-tripovo.scrolled .compact-search { display: none; } }
  @media (min-width: 992px) {
    .nav-links { display: inline-flex; }
    .nav-actions { display: inline-flex; }
  }
  .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--border); background: #fff;
    color: var(--text); font-size: 1.25rem;
    transition: background-color .15s ease;
  }
  .hamburger:hover { background: var(--bg); }
  @media (min-width: 992px) { .hamburger { display: none; } }

  /* Mobile full-screen menu */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 1060;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    display: flex; flex-direction: column;
    visibility: hidden;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
  .mm-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border-soft);
  }
  .mm-close {
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--border); background: #fff;
    color: var(--text); font-size: 1.5rem; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .mm-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
  .mm-search {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 14px; padding: 12px 14px; margin: 12px 0 18px;
  }
  .mm-search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 1rem; }
  .mm-section-title {
    font-size: .72rem; font-weight: 700; color: var(--muted);
    letter-spacing: .08em; text-transform: uppercase;
    margin: 18px 4px 10px;
  }
  .mm-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 14px;
    font-weight: 600; color: var(--text); font-size: 1.05rem;
    transition: background-color .15s ease;
  }
  .mm-link:hover, .mm-link:active { background: var(--bg); color: var(--text); }
  .mm-link i { color: var(--muted); font-size: 1.1rem; }
  .mm-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
  .mm-cat {
    border-radius: 14px; padding: 16px 14px;
    color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.25;
    min-height: 76px; display: flex; align-items: flex-end;
  }
  .mm-cat.c1 { background: #FFE4E6; color: #9F1239; }
  .mm-cat.c2 { background: #DBEAFE; color: #1D4ED8; }
  .mm-cat.c3 { background: #DCFCE7; color: #047857; }
  .mm-cat.c4 { background: #FEF3C7; color: #92400E; }
  .mm-cat.c5 { background: #EDE9FE; color: #6D28D9; }
  .mm-cat.c6 { background: #FCE7F3; color: #BE185D; }
  .mm-foot {
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-soft);
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    background: #fff;
  }

  /* Hero */
  .hero {
    position: relative; padding: 90px 0 70px;
    background:
      radial-gradient(1100px 500px at 12% 0%, rgba(52,125,128,.10), transparent 60%),
      radial-gradient(900px 500px at 100% 10%, rgba(199,126,44,.06), transparent 55%),
      linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    overflow: hidden;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    pointer-events: none;
  }
  .hero .container { position: relative; z-index: 2; }

  /* Slideshow tła pod hero — subtelny crossfade 4 zdjęć */
  .hero-slideshow { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    animation: heroSlideFade 32s infinite;
    filter: blur(2px) saturate(.7);
    transform: scale(1.05);
  }
  .hero-slide-1 { animation-delay:  0s; }
  .hero-slide-2 { animation-delay:  8s; }
  .hero-slide-3 { animation-delay: 16s; }
  .hero-slide-4 { animation-delay: 24s; }
  @keyframes heroSlideFade {
    0%   { opacity: 0; }
    6%   { opacity: 0.22; }
    25%  { opacity: 0.22; }
    31%  { opacity: 0; }
    100% { opacity: 0; }
  }
  .hero-slideshow-veil {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.85) 100%),
      radial-gradient(ellipse at center, rgba(255,255,255,.5) 0%, rgba(255,255,255,.9) 70%);
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none; opacity: 0; }
  }
  .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
  .hero .lead { color: var(--muted); font-size: 1.075rem; max-width: 600px; margin: 0 auto 1.75rem; }

  /* Search bar — robust */
  .search-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    padding: 10px; max-width: 980px; margin: 0 auto;
  }
  .search-row { display: flex; gap: 6px; align-items: stretch; }
  .search-fields { display: flex; gap: 6px; flex: 1; min-width: 0; }
  .search-field {
    flex: 1 1 0; min-width: 0;
    padding: 12px 16px; border-radius: 18px;
    cursor: pointer; transition: background-color .15s ease;
    text-align: left; position: relative;
  }
  .search-field + .search-field::before {
    content: ""; position: absolute; left: -3px; top: 14%; bottom: 14%;
    width: 1px; background: #D1D5DB;
  }
  .search-field:hover { background: var(--bg); }
  .search-field:hover + .search-field::before,
  .search-field:hover::before { background: transparent; }
  .search-field label {
    display: block; font-size: .7rem; font-weight: 700; color: var(--text);
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; cursor: pointer;
  }
  .search-field .control {
    border: 0; outline: 0; background: transparent;
    font-size: .98rem; color: var(--text);
    width: 100%; padding: 0; appearance: none; cursor: pointer;
  }
  .search-field .control::placeholder { color: var(--muted); }
  .search-cta {
    flex: 0 0 auto; border-radius: 18px;
    padding: 0 24px; min-width: 130px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600;
  }
  @media (max-width: 991.98px) {
    .search-row { flex-direction: column; gap: 8px; }
    .search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; flex: none; }
    .search-field {
      background: #fff; border: 1px solid var(--border); padding: 12px 14px;
    }
    .search-field + .search-field::before { display: none; }
    .search-field:hover { background: var(--bg); border-color: #9CA3AF; }
    .search-cta { width: 100%; padding: 14px 22px; min-height: 52px; }
  }
  @media (max-width: 575.98px) {
    .search-fields { grid-template-columns: 1fr; }
  }

  .quick-tags { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .quick-tag {
    background: #fff; border: 1px solid var(--border);
    color: var(--text); font-size: .85rem; font-weight: 500;
    padding: 7px 14px; border-radius: 999px; transition: all .15s ease;
  }
  .quick-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

  .hero-trust {
    display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
    color: var(--muted); font-size: .9rem; margin-top: 22px;
  }
  .hero-trust .item { display: inline-flex; align-items: center; gap: 8px; }
  .hero-trust .item i { color: var(--accent); }

  /* Stats */
  .stats {
    background: #fff; border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft); padding: 36px 0;
  }
  .stat-num {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
    letter-spacing: -.02em; color: var(--text); line-height: 1; margin-bottom: 6px;
  }
  .stat-num .accent { color: var(--accent); }
  .stat-label { color: var(--muted); font-size: .92rem; }

  /* Section heading */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.65rem, 2.8vw, 2.15rem); margin-bottom: 8px; }
  .section-head p { color: var(--muted); font-size: 1rem; margin: 0; }

  /* Category cards — pastel, no icons */
  .cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px 22px; min-height: 150px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none; overflow: hidden; isolation: isolate;
  }
  .cat-card::after {
    content: ""; position: absolute; right: -40px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: rgba(255,255,255,.45); z-index: -1;
    transition: transform .35s ease;
  }
  .cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .cat-card:hover::after { transform: scale(1.25); }
  .cat-card .cat-tag {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; opacity: .7;
  }
  .cat-card .cat-title { font-size: 1.2rem; font-weight: 700; line-height: 1.2; margin: 12px 0 0; }
  .cat-card .cat-meta { font-size: .85rem; opacity: .75; margin-top: 4px; }
  .cat-card .cat-arrow {
    align-self: flex-end;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.7);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .2s ease;
  }
  .cat-card:hover .cat-arrow { transform: translate(2px,-2px); }
  .cat-1 { background: #FFE4E6; color: #9F1239; }
  .cat-2 { background: #DBEAFE; color: #1D4ED8; }
  .cat-3 { background: #DCFCE7; color: #047857; }
  .cat-4 { background: #FEF3C7; color: #92400E; }
  .cat-5 { background: #EDE9FE; color: #6D28D9; }
  .cat-6 { background: #FCE7F3; color: #BE185D; }
  .cat-7 { background: #CFFAFE; color: #0E7490; }
  .cat-8 { background: #E2E8F0; color: #334155; }

  /* Product cards */
  .product-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%; display: flex; flex-direction: column;
  }
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6dee7; }
  .product-media { position: relative; aspect-ratio: 2528 / 1217; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border-soft); }
  .product-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .5s ease; }
  .product-card:hover .product-media img { transform: scale(1.02); }
  .product-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
    color: var(--text); font-size: .75rem; font-weight: 600;
    padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
  }
  .product-fav {
    position: absolute; top: 10px; right: 10px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.95);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--muted); cursor: pointer; box-shadow: var(--shadow-sm);
    transition: color .15s ease, transform .15s ease;
  }
  .product-fav:hover { color: #E11D48; transform: scale(1.05); }
  .product-body {
    padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px;
  }
  .product-meta {
    display: flex; align-items: center; gap: 6px;
    color: var(--muted); font-size: .82rem; min-height: 20px;
  }
  .product-meta i { color: var(--primary); font-size: .9rem; }
  .product-card h5 {
    font-size: 1.02rem; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    /* reserve exactly 2 lines so cards align */
    min-height: calc(1.02rem * 1.35 * 2);
  }
  .product-rating { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text); }
  .product-rating .stars { color: #F59E0B; letter-spacing: 1px; }
  .product-rating .count { color: var(--muted); }
  .product-foot {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 14px; border-top: 1px solid var(--border-soft);
  }
  .product-price .from { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  .product-price .amount { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }

  /* Occasions */
  .occ-card {
    position: relative; border-radius: var(--radius-lg);
    padding: 28px; overflow: hidden; min-height: 180px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
  }
  .occ-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .occ-card h6 { font-weight: 700; font-size: 1.15rem; margin: 0; }
  .occ-card p { font-size: .88rem; opacity: .8; margin: 6px 0 0; }
  .occ-card .occ-cta {
    align-self: flex-start; margin-top: 14px;
    font-weight: 600; font-size: .9rem;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .occ-1 { background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%); color: #9F1239; }
  .occ-2 { background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%); color: #1D4ED8; }
  .occ-3 { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); color: #92400E; }
  .occ-4 { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%); color: #6D28D9; }
  .occ-5 { background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%); color: #047857; }
  .occ-6 { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%); color: #BE185D; }

  /* How it works */
  .step-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px;
    height: 100%; transition: box-shadow .2s ease, transform .2s ease;
  }
  .step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .step-num {
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--primary-50); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; margin-bottom: 14px;
  }
  .step-card h5 { font-weight: 600; margin-bottom: 6px; font-size: 1.05rem; }
  .step-card p { color: var(--muted); margin: 0; font-size: .94rem; }

  /* Cities */
  .city-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4 / 5; display: block; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.7) 100%); }
  .city-card .label { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 1; }
  .city-card .label .name { font-weight: 700; font-size: 1.1rem; }
  .city-card .label .count { font-size: .85rem; opacity: .9; }
  .city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .city-card:hover img { transform: scale(1.07); }

  /* Why us */
  .feature {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; height: 100%;
  }
  .feature .ftnum {
    display: inline-block; font-weight: 800; font-size: 2rem;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 12px; line-height: 1;
  }
  .feature h5 { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
  .feature p { color: var(--muted); font-size: .94rem; margin: 0; }

  /* Reviews */
  .review-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px;
    height: 100%; display: flex; flex-direction: column;
  }
  .review-card .stars { color: #F59E0B; font-size: .95rem; margin-bottom: 12px; }
  .review-card blockquote { font-size: 1rem; line-height: 1.6; color: var(--text); margin: 0 0 18px; flex: 1; }
  .reviewer { display: flex; align-items: center; gap: 12px; }
  .reviewer .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-50); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 600;
  }
  .reviewer .who strong { display: block; font-weight: 600; font-size: .95rem; }
  .reviewer .who span { color: var(--muted); font-size: .82rem; }

  /* B2B banner */
  .b2b-banner {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  }
  .b2b-banner h4 { margin: 0 0 4px; font-weight: 600; font-size: 1.15rem; }
  .b2b-banner p { color: var(--muted); margin: 0; }
  .b2b-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: #DCFCE7; color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
  }

  /* FAQ */
  .faq .accordion-item {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 10px; overflow: hidden;
  }
  .faq .accordion-button {
    background: #fff; color: var(--text); font-weight: 600;
    padding: 18px 20px; border-radius: var(--radius) !important;
    box-shadow: none !important;
  }
  .faq .accordion-button:not(.collapsed) { background: var(--bg); color: var(--text); }
  .faq .accordion-button:focus { border-color: transparent; }
  .faq .accordion-body { padding: 0 20px 20px; color: var(--muted); }

  /* Newsletter */
  .newsletter-card {
    background: linear-gradient(135deg, #266467 0%, #347D80 60%, #4FA5A8 100%);
    border-radius: var(--radius-xl); color: #fff;
    padding: 56px 40px; position: relative; overflow: hidden;
  }
  .newsletter-card::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(500px 200px at 90% 0%, rgba(255,255,255,.18), transparent 60%),
      radial-gradient(500px 250px at 0% 100%, rgba(199,126,44,.25), transparent 60%);
    pointer-events: none;
  }
  .newsletter-card h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
  .newsletter-card p { color: rgba(255,255,255,.85); margin: 0 0 22px; font-size: 1rem; }
  .newsletter-form {
    display: flex; gap: 8px; max-width: 540px;
    background: #fff; padding: 6px;
    border-radius: 999px; box-shadow: var(--shadow-md);
  }
  .newsletter-form input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    padding: 12px 18px; font-size: 1rem; color: var(--text);
  }
  .newsletter-form .btn { border-radius: 999px; padding: 12px 22px; }
  @media (max-width: 575.98px) {
    .newsletter-form { flex-direction: column; border-radius: 18px; }
    .newsletter-form input { padding: 14px 16px; }
    .newsletter-form .btn { border-radius: 14px; }
  }

  /* Footer */
  footer { background: #0F172A; color: #CBD5E1; padding: 64px 0 24px; }
  footer h6 { color: #fff; font-weight: 600; margin-bottom: 16px; font-size: .95rem; }
  footer ul { list-style: none; padding: 0; margin: 0; }
  footer ul li { margin-bottom: 10px; }
  footer a { color: #CBD5E1; font-size: .92rem; }
  footer a:hover { color: #fff; }
  .footer-brand { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
  .footer-brand .dot { color: var(--accent); }
  .footer-bottom {
    border-top: 1px solid #1E293B; margin-top: 40px; padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; color: #94A3B8; font-size: .85rem;
  }
  .social-icons { display: flex; gap: 8px; }
  .social-icons a {
    width: 36px; height: 36px; border-radius: 10px;
    background: #1E293B; color: #CBD5E1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color .2s ease, color .2s ease;
  }
  .social-icons a:hover { background: var(--primary); color: #fff; }

  /* Reveal — zawsze widoczne (animacja opcjonalna w JS), żeby content nie znikał gdy JS się wolniej ładuje */
  .reveal { opacity: 1; transform: translateY(14px); transition: transform .5s ease; }
  .reveal.in { transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .product-media img, .city-card img { transition: none; }
    .mobile-menu { transition: none; }
  }

/* =========================================================
   Tripivo — strony dynamiczne (PDP, listing, cart, panel)
   ========================================================= */
.breadcrumb-tripovo {
    list-style: none; padding: 12px 0; margin: 0; display: flex; gap: 8px;
    font-size: .85rem; color: var(--muted); flex-wrap: wrap;
}
.breadcrumb-tripovo li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb-tripovo li + li::before { content: "/"; color: #cbd5e1; }
.breadcrumb-tripovo a { color: var(--muted); }
.breadcrumb-tripovo a:hover { color: var(--primary); }
.breadcrumb-tripovo li.active { color: var(--text); font-weight: 500; }

.page-head { padding: 28px 0 16px; background: #fff; border-bottom: 1px solid var(--border-soft); }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 0; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 760px; }

.filter-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.filter-card .form-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.filter-card .form-control, .filter-card .form-select { border-radius: 12px; }

.empty-state { background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 48px 24px; text-align: center; color: var(--muted); }

/* PDP */
.pdp-gallery .pdp-main {
    background: #f4f6fa; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
}
.pdp-gallery .pdp-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.pdp-thumbs button {
    border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden; background: #f4f6fa;
    aspect-ratio: 1 / 1; cursor: pointer;
}
.pdp-thumbs button.active { border-color: var(--primary); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-side {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.pdp-side .price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.pdp-side .price .compare { font-size: .9rem; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.pdp-side .badge-soft { background: var(--primary-50); color: var(--primary); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .78rem; }
.pdp-includes { list-style: none; padding: 0; margin: 0; }
.pdp-includes li { padding: 8px 0; border-bottom: 1px solid var(--border-soft); display: flex; gap: 10px; align-items: flex-start; }
.pdp-includes li:last-child { border-bottom: 0; }
.pdp-includes li i { color: var(--accent); margin-top: 2px; }

/* Cart */
.cart-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; display: flex; gap: 16px; }
.cart-item img { width: 110px; height: 90px; object-fit: cover; border-radius: 12px; background: #eef2f6; }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.cart-summary .row-line { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary .row-line.total { font-weight: 700; font-size: 1.18rem; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px; }

/* Voucher PDF preview / success */
.voucher-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-md); text-align: center;
}
.voucher-card .voucher-code {
    font-family: 'Inter', monospace; font-size: 1.6rem; font-weight: 800;
    letter-spacing: .12em; padding: 14px 22px; background: var(--bg);
    border: 2px dashed var(--primary); border-radius: 14px; display: inline-block;
}

/* Forms */
.form-tripovo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.form-tripovo .form-control, .form-tripovo .form-select { border-radius: 12px; padding: 12px 14px; }
.form-tripovo .form-label { font-weight: 600; font-size: .9rem; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--bg); }
@media (max-width: 991.98px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: #0F172A; color: #cbd5e1; padding: 20px 14px; }
.admin-side .brand { color: #fff; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #cbd5e1; border-radius: 10px; margin-bottom: 2px; font-weight: 500; }
.admin-side a.active, .admin-side a:hover { background: #1E293B; color: #fff; }
.admin-side .group { font-size: .72rem; color: #64748b; text-transform: uppercase; letter-spacing: .08em; margin: 18px 12px 6px; }
.admin-main { padding: 24px 28px; }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 14px; }
.admin-table td { padding: 12px 14px; border-top: 1px solid var(--border-soft); vertical-align: middle; }
.admin-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.admin-stat .num { font-size: 1.7rem; font-weight: 800; }
.admin-stat .label { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* Status pills */
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pill-success { background: #DCFCE7; color: #047857; }
.pill-warn    { background: #FEF3C7; color: #92400E; }
.pill-danger  { background: #FFE4E6; color: #9F1239; }
.pill-info    { background: #DBEAFE; color: #1D4ED8; }
.pill-muted   { background: #E2E8F0; color: #334155; }

/* Brand mark with logo */
.brand .mark.logo { background: transparent; padding: 0; overflow: hidden; }
.brand .mark.logo img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   2026-05 — REDESIGN: kolor z logo, full-image cards,
   logo zamiast tekstu, brak ikonek poza dozwolonymi
   ========================================================= */

/* Brand z prawdziwym logo zamiast napisu */
.brand-logo {
  display: inline-flex; align-items: center; height: 44px;
  text-decoration: none;
}
.brand-logo img { height: 44px; width: auto; display: block; }
@media (max-width: 575.98px) { .brand-logo img { height: 38px; } }

/* Ukryj kropkę i tekst kiedy mamy obraz */
.brand .text-mark { display: inline-flex; align-items: center; gap: 8px; }

/* Karty produktów: w grid 2 kolumny na desktop, voucher w pełni widoczny */
.product-card .product-media {
  background: #fff;
}
.product-card h5 { min-height: auto; }

/* Listing/home — col-lg-6 (2 kolumny) zamiast col-lg-3 */
.row-vouchers > [class*='col-'] { display: flex; }
.row-vouchers .product-card { width: 100%; }

/* Eyebrow accent */
.eyebrow.accent { background: rgba(199,126,44,.12); color: var(--accent-600); }

/* Hero — usuwamy ikonki pod heroem ale zostawiamy jeden bezpiecznik (shield) */
.hero-trust .item i { display: none; }
.hero-trust .item.allow-icon i { display: inline; }

/* Quick tags — bez ikonek */
.quick-tag i { display: none; }

/* Categories — czysty tekst, bez ikon */
.cat-card .cat-arrow { display: none; }
.cat-card { min-height: 110px; padding: 22px 20px; }

/* Sekcja stats bez accent kolorystyki LinkedIn-ish */
.stat-num .accent { color: var(--primary); }

/* Footer — zostawiamy ikonki TYLKO w social-icons i security badge */
footer p i, footer ul i { display: none; }

/* Reseter dla menu mobilnego (chcemy tylko strzałki >>>, nie ikony obok) */
.mm-link i.nav-icon { display: none; }

/* Print styles for voucher PDF / browser print */
@media print {
  .nav-tripovo, .mobile-menu, footer, .breadcrumb-tripovo, .alert { display: none !important; }
  body { background: #fff !important; }
  .voucher-card { box-shadow: none !important; border: 2px solid var(--primary) !important; }
}

/* =========================================================
   2026-05 — KRYTYCZNE FIXY (logo size, nav layout)
   ========================================================= */
.brand-logo { height: 32px; }
.brand-logo img { height: 32px; }
@media (min-width: 992px) { .brand-logo, .brand-logo img { height: 36px; } }
@media (max-width: 575.98px) { .brand-logo, .brand-logo img { height: 28px; } }

.nav-tripovo .nav-inner { padding: 10px 0; gap: 14px; }
.nav-links { gap: 2px; flex-wrap: nowrap; }
.nav-links a { white-space: nowrap; padding: 8px 12px; font-size: .92rem; }
.nav-actions { gap: 6px; flex-wrap: nowrap; }
.nav-actions .btn { white-space: nowrap; padding: 8px 14px; font-size: .9rem; }
.nav-actions .btn-primary { padding: 8px 16px; }

/* Footer logo: kolorowy PNG TRIPiVO — bez filtrów żeby zachować oryginalne kolory.
   Białe paddle wokół logo (w _logo.php przy $logoDark=true) zapewnia kontrast na ciemnym tle stopki. */
footer .brand-logo { height: auto; }
footer .brand-logo img { height: 40px; opacity: 1; filter: none; }

/* =========================================================
   PDP — long description ("lej wody") + Leaflet map
   ========================================================= */
.pdp-longdesc-section { padding: 80px 0; }
@media (max-width: 768px) { .pdp-longdesc-section { padding: 56px 0; } }

.pdp-longdesc-wrap { max-width: 920px; margin: 0 auto; }

.pdp-longdesc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}
.pdp-longdesc h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 10px;
  letter-spacing: -.01em;
}
.pdp-longdesc h3:first-child { margin-top: 0; }
.pdp-longdesc p {
  color: #374151;
  margin: 0 0 14px;
}
.pdp-longdesc p:last-child { margin-bottom: 0; }

.pdp-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 768px) { .pdp-extra-grid { grid-template-columns: 1fr; } }

.pdp-extra-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.pdp-extra-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.pdp-extra-card p {
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   MAPA v2.0 — Bootstrap row + col + h-100, kompletne nowe style
   Twardy Limit wysokości na .map-block-row (480px desktop / 360 mobile)
   Obie karty: h-100 (Bootstrap), zawsze identyczna wysokość, BEZ scrolla
   ========================================================= */
.map-block { padding: 56px 0; background: var(--bg); }
@media (max-width: 768px) { .map-block { padding: 40px 0; } }

/* Bootstrap row z col-* — desktop wymuszamy explicit 480px na obu kartach.
   Mobile = naturalne wysokości (mapa 360px, lista naturalna). */
@media (min-width: 992px) {
  .map-block-card,
  .map-block-side { height: 480px !important; }
  .map-block-map  { height: 480px !important; }
}

.map-block-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

.map-block-map {
  width: 100%;
  background: #eef2f6;
  z-index: 0;
}
@media (max-width: 991.98px) { .map-block-map { height: 360px; } }

.map-block-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  overflow: hidden;
  width: 100%;
}
.map-block-side-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}
.map-block-side-head h3 { font-size: .98rem; font-weight: 700; }
.map-block-side-meta {
  font-size: .72rem; font-weight: 600;
  background: var(--primary-50); color: var(--primary);
  padding: 3px 8px; border-radius: 999px;
}

.map-block-poi-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
  /* na mobile lista naturalna, na desktop ograniczona wysokością parent */
}

.map-block-poi {
  display: flex; gap: 10px; align-items: center;
  padding: 7px 9px;
  width: 100%; min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease;
}
.map-block-poi:hover {
  background: var(--bg);
  border-color: var(--border-soft);
}
.map-block-poi.is-active {
  background: var(--primary-50);
  border-color: var(--primary);
}

.map-block-poi-num {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .72rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.map-block-poi.is-active .map-block-poi-num { background: var(--primary); }

.map-block-poi-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.map-block-poi-row {
  display: flex; justify-content: space-between; gap: 6px;
  align-items: baseline;
}
.map-block-poi-row strong {
  font-size: .85rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.map-block-poi-dist {
  flex: 0 0 auto;
  font-size: .68rem; font-weight: 700;
  background: var(--primary); color: #fff;
  padding: 1px 7px; border-radius: 999px;
  white-space: nowrap;
}
.map-block-poi-desc {
  font-size: .76rem; color: var(--muted); line-height: 1.3;
  margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Leaflet — własne markery */
.tv-mk { background: transparent !important; border: 0 !important; }
.tv-mk-pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transform: rotate(-45deg);
}
.tv-mk-star {
  color: #fff; font-weight: 700; font-size: .9rem;
  transform: rotate(45deg);
}
.tv-mk-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: .78rem;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

/* Leaflet popup */
.leaflet-popup-content-wrapper { border-radius: 10px !important; }
.leaflet-popup-content {
  font-family: 'Inter', sans-serif; font-size: .85rem;
  margin: 10px 12px !important;
}

/* =========================================================
   "Pokaż na mapie" — żółty quick-tag CTA na home (hero)
   ========================================================= */
.quick-tag-map {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #78350F;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quick-tag-map:hover {
  background: #FDE68A;
  border-color: #F59E0B;
  color: #78350F;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.quick-tag-map .quick-tag-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F59E0B;
  color: #fff;
  font-size: .55rem;
  line-height: 1;
}

/* =========================================================
   Strona /mapa — mapa Polski + Booking-style markers
   ========================================================= */
.map-page-section { padding: 32px 0 64px; background: var(--bg); }
.map-page-row { min-height: 720px; }
@media (max-width: 991.98px) { .map-page-row { min-height: auto; } }

#mapPoland {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #eef2f6;
  overflow: hidden;
  z-index: 0;
}
@media (max-width: 991.98px) { #mapPoland { min-height: 480px; } }

/* Sidebar z listą obiektów */
.map-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.map-sidebar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.map-venue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-venue-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  color: var(--text);
}
.map-venue-card:hover, .map-venue-card.is-active {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--text);
  transform: translateX(3px);
}
.map-venue-card .map-venue-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
}
.map-venue-card .map-venue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-venue-card .map-venue-meta {
  flex: 1;
  min-width: 0;
}
.map-venue-card .map-venue-name {
  font-weight: 700;
  font-size: .95rem;
  margin: 0;
}
.map-venue-card .map-venue-loc {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}
.map-venue-card .map-venue-count {
  font-size: .72rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* =========================================================
   /mapa — Booking-style price-piny + popup card nad pinem
   Wąski marker (cena), bogaty popup z foto + CTA pojawia się NAD pinem
   ========================================================= */
.bk-pin-wrap { background: transparent !important; border: 0 !important; }

.bk-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  position: relative;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
/* Strzałka pod pinem (jak Booking) */
.bk-pin::after {
  content: "";
  position: absolute;
  bottom: -7px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary);
  width: 0; height: 0;
}
.bk-pin::before {
  content: "";
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
  width: 0; height: 0;
  z-index: 1;
}
.bk-pin:hover, .bk-pin-wrap.is-open .bk-pin {
  transform: translateY(-2px) scale(1.06);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  z-index: 1000;
}
.bk-pin:hover::before, .bk-pin-wrap.is-open .bk-pin::before {
  border-top-color: var(--primary);
}

/* Popup-card nad pinem (Booking-style) */
.bk-popup-wrap .leaflet-popup-content-wrapper {
  padding: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.bk-popup-wrap .leaflet-popup-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 260px !important;
  font-family: 'Inter', sans-serif;
}
.bk-popup-wrap .leaflet-popup-tip {
  box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
}
.bk-popup-wrap .leaflet-popup-close-button {
  color: #fff !important;
  background: rgba(0,0,0,.4) !important;
  border-radius: 50% !important;
  width: 26px !important; height: 26px !important;
  font-size: 18px !important;
  line-height: 24px !important;
  text-align: center !important;
  top: 8px !important; right: 8px !important;
  font-weight: 600;
  z-index: 5;
}
.bk-popup-wrap .leaflet-popup-close-button:hover {
  background: rgba(0,0,0,.6) !important;
}

.bk-card { display: block; }
.bk-card-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eef2f6;
  text-decoration: none;
}
.bk-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.bk-card-photo:hover img { transform: scale(1.05); }
.bk-card-type {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.bk-card-body {
  padding: 12px 14px 14px;
}
.bk-card-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 0 4px !important;
  line-height: 1.25;
}
.bk-card-loc {
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 4px !important;
}
.bk-card-meta {
  font-size: .82rem;
  color: var(--text);
  margin: 0 0 10px !important;
}
.bk-card-meta strong { color: var(--primary); }
.bk-card-actions { display: flex; gap: 6px; }
.bk-btn {
  flex: 1;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.bk-btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.bk-btn-primary:hover {
  background: var(--primary-600);
  color: #fff !important;
}

/* ============================================================
 * MOBILE OVERFLOW GUARDS — globalne i punktowe poprawki
 * dla viewportów <= 575.98px (małe telefony, np. 390px)
 * ============================================================ */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 575.98px) {
  body { -webkit-text-size-adjust: 100%; }
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; max-width: 100%; }
  /* nie pozwól żadnemu elementowi blokowemu wystawać szerzej niż viewport */
  main, section, header, footer, .hero, .stats, .row { max-width: 100%; }
  /* tabele — zezwól scrollować lokalnie zamiast rozszerzać stronę */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

  /* HERO — mniejszy h1 + word-break, by nigdy nie wycinał */
  .hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.1rem);
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero h1 br { display: none; } /* wymusza pełen flow tekstu */
  .hero .lead { font-size: .98rem; }

  /* SEARCH — zawsze pełna szerokość */
  .search-card { width: 100%; max-width: 100%; }
  .search-row, .search-fields { min-width: 0; }

  /* QUICK-TAGS — mniejszy padding, mniejszy font, by mieściły się 2-3 w wierszu */
  .quick-tags { gap: 6px; }
  .quick-tag { font-size: .78rem; padding: 6px 11px; }

  /* HERO TRUST — wrap z mniejszym fontem */
  .hero-trust { gap: 12px; row-gap: 8px; font-size: .82rem; }
  .hero-trust .item { white-space: normal; }

  /* STATS — 2 kolumny zamiast 4 (zachowuje col-6 z home.php) + mniejszy font */
  .stats { padding: 28px 0; }
  .stats .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
  .stat-num { font-size: clamp(1.4rem, 6vw, 1.7rem); white-space: nowrap; }
  .stat-label { font-size: .8rem; line-height: 1.3; word-wrap: break-word; overflow-wrap: anywhere; }

  /* CATEGORY CARDS — większy padding (był 32px), mniejszy tytuł, no overflow */
  .cat-card { padding: 22px 18px; min-height: 130px; }
  .cat-title { font-size: 1rem; word-wrap: break-word; overflow-wrap: anywhere; }
  .cat-tag { font-size: .7rem; }

  /* SECTION HEADINGS */
  .section-head h2 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); word-wrap: break-word; }

  /* ALERTS / FORMS — pełna szerokość wewnątrz containera */
  .alert, .form-control, .form-select, .btn { max-width: 100%; }
  input, select, textarea { max-width: 100%; }

  /* CMS PROSE — break long links */
  .cms-prose { word-wrap: break-word; overflow-wrap: anywhere; }
  .cms-prose pre, .cms-prose code { white-space: pre-wrap; word-break: break-word; }

  /* FOOTER — overflow protection */
  footer { padding-left: 0; padding-right: 0; }
  .footer-bottom { font-size: .78rem; }
}

