/* ==========================================================================
   1. CSS SPREMENLJIVKE (:root) IN OSNOVNE PONASTAVITVE
   ========================================================================== */
:root {
    /* Barvna paleta znamke */
    --pn-orange: #f26522;
    --pn-orange-dark: #d85012;
    --pn-orange-light: #fff5ee;
    --pn-orange-tint: #fff8f3;
    --pn-orange-border: #ffd8bf;
    --pn-yellow: #f9b233;
    --pn-yellow-hover: #e5a024;
    --pn-blue: #0284c7;
    --pn-blue-dark: #0369a1;
    --pn-blue-light: #f0f9ff;
    --pn-green: #059669;
    --pn-green-light: #ecfdf5;
    --pn-red: #dc2626;
    --pn-red-light: #fef2f2;

    /* Nevtralne barve in ozadja */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-footer-gray: #e9ecef;
    --bg-footer-dark: #475569;
    --bg-footer-bottom: #1e293b;

    /* Obrobe */
    --border-light: #e2e8f0;
    --border-strong: #cbd5e1;

    /* Besedila */
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    /* Tipografija, razmiki, zaokrožitve in sence */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --sidebar-width: 350px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

/* Dostopnost: vidna fokus obroba ob navigaciji s tipkovnico */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--pn-blue);
    outline-offset: 2px;
}

/* ==========================================================================
   2. ZGORNJA GLAVA (#topbar) IN HITRI SEO ČIPI (.top-chips)
   ========================================================================== */
#topbar {
    background: var(--bg-surface);
    border-bottom: 2px solid var(--pn-orange);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    z-index: 100;
    position: sticky;
    top: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--pn-orange);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.header-logo-box img {
    height: 40px;
    width: auto;
    display: block;
}

.header-contact-box {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
}

.contact-item {
    text-align: right;
}

.contact-item + .contact-item {
    border-left: 1px solid var(--border-light);
    padding-left: 15px;
}

.contact-phone-link {
    display: block;
    color: var(--pn-orange-dark);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.contact-phone-link:hover {
    text-decoration: underline;
}

.contact-brand-title {
    display: block;
    font-size: 13px;
    color: var(--text-title);
    font-weight: 800;
}

.contact-item span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Vrstica hitrih destinacij */
.top-chips {
    padding: 8px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.top-chips-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 4px;
    white-space: nowrap;
}

.chip {
    background: var(--bg-muted);
    color: var(--text-body);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border-light);
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.chip:hover,
.chip.active {
    background: var(--pn-orange);
    color: #ffffff;
    border-color: var(--pn-orange);
}

/* ==========================================================================
   3. GLAVNA POSTAVITEV (#main-wrapper, #sidebar, #content)
   ========================================================================== */
#main-wrapper {
    display: flex;
    flex: 1;
    position: relative;
}

#sidebar {
    width: var(--sidebar-width);
    background: var(--bg-surface);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: margin-left var(--transition-smooth), transform var(--transition-smooth);
    position: relative;
    z-index: 90;
}

#sidebar.collapsed {
    margin-left: calc(var(--sidebar-width) * -1);
}

.sidebar-handle {
    position: absolute;
    top: 24px;
    right: -24px;
    width: 24px;
    height: 52px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-left: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 95;
    color: var(--pn-orange-dark);
    font-size: 12px;
    font-weight: 900;
}

.sidebar-handle:hover {
    background: var(--pn-orange-light);
}

.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.sidebar-mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-close-btn {
    background: var(--bg-muted);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 190;
}

.sidebar-backdrop.active {
    display: block;
}

#content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    min-width: 0;
}

.content-header {
    padding: 14px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.content-header h1 {
    font-size: 18px;
    color: var(--text-title);
}

.content-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.sort-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sort-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.sort-select {
    padding: 6px 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: 13px;
    background: var(--bg-surface);
    color: var(--text-title);
}

.hotel-scroll {
    padding: 18px 20px;
}

/* ==========================================================================
   4. STRANSKI ISKALNIK (incl-search.php) IN DREVESNI MENI REGIJ
   ========================================================================== */
.incl-search-card {
    background: var(--pn-orange-tint);
    border: 1px solid var(--pn-orange-border);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin-bottom: 15px;
}

.incl-search-card h3 {
    font-size: 14px;
    color: var(--pn-orange-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-row {
    margin-bottom: 10px;
}

.s-row-mt {
    margin-top: 8px;
}

.s-row label,
.s-label-flex {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.s-label-flex {
    display: flex;
    justify-content: space-between;
}

.s-label-accent {
    color: var(--pn-orange-dark);
}

.s-label-small {
    font-size: 10px;
}

.s-sub-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.child-age-label {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.s-input,
.s-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: 13px;
    background: var(--bg-surface);
    color: var(--text-title);
}

.s-input:focus,
.s-select:focus {
    border-color: var(--pn-orange);
    box-shadow: 0 0 0 2px rgba(242, 101, 34, 0.15);
    outline: none;
}

.s-select-compact {
    padding: 4px;
    font-size: 11px;
}

.date-split {
    display: flex;
    gap: 8px;
}

.date-split > div {
    flex: 1;
    min-width: 0;
}

.dest-autocomplete-cnt {
    position: relative;
}

.dest-dropdown {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border: 2px solid var(--pn-orange);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    max-height: 260px;
    overflow-y: auto;
}

.dest-dd-item {
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--bg-muted);
}

.dest-dd-item:hover {
    background: var(--pn-orange-light);
}

.dest-dd-item small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
}

.airports-single-line {
    position: relative;
}

.airports-trigger {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.airports-arrow {
    font-size: 10px;
    color: var(--pn-orange-dark);
}

.airports-dropdown-popover {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
    z-index: 2100;
    display: none;
}

.airports-dropdown-popover label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 0;
    cursor: pointer;
    text-transform: none;
    margin: 0;
    font-weight: 500;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 6px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
    margin: 0;
}

.custom-dur-box,
.child-ages-box {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    background: var(--bg-surface);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--pn-orange-border);
}

.custom-dur-box > div,
.child-age-col {
    flex: 1;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-strong);
    margin-top: 4px;
    cursor: pointer;
}

.btn-search-cta {
    width: 100%;
    padding: 10px;
    background: var(--pn-yellow);
    color: #000000;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 12px;
    transition: background var(--transition-fast);
}

.btn-search-cta:hover {
    background: var(--pn-yellow-hover);
}

/* Drevo regij v stranskem traku */
.sidebar-regions-wrap {
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.sidebar-section-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.sidebar-section-heading.is-top {
    color: var(--pn-orange-dark);
}

.sidebar-list {
    list-style: none;
    margin-bottom: 14px;
}

.top-region-item {
    margin-bottom: 4px;
}

.top-region-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    font-size: 12px;
    text-decoration: none;
    color: var(--text-title);
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: background var(--transition-fast);
}

.top-region-link:hover {
    background: #ffedd5;
}

.top-region-badge {
    font-size: 10px;
    background: #f97316;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 10px;
}

.super-region-item {
    margin-bottom: 4px;
    border-bottom: 1px solid var(--bg-muted);
    padding-bottom: 3px;
}

.super-region-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.super-region-link {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    flex: 1;
}

.super-region-link:hover {
    color: var(--pn-orange-dark);
}

.super-region-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.region-count-pill {
    font-size: 10px;
    background: var(--border-light);
    color: #475569;
    padding: 1px 6px;
    border-radius: 10px;
}

.btn-tree-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--pn-orange);
    font-weight: 700;
    padding: 2px 4px;
}

.sub-region-list {
    display: none;
    list-style: none;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid #fed7aa;
    margin-top: 2px;
}

.sub-region-item {
    margin-bottom: 2px;
}

.sub-region-link {
    display: flex;
    justify-content: space-between;
    padding: 3px 4px;
    font-size: 11px;
    text-decoration: none;
    color: #475569;
}

.sub-region-link:hover {
    color: var(--pn-orange-dark);
}

.sub-region-count {
    font-size: 9px;
    color: var(--text-subtle);
}

.all-dest-link {
    display: flex;
    justify-content: space-between;
    padding: 6px;
    font-size: 12px;
    text-decoration: none;
    color: var(--text-body);
}

.all-dest-link.is-active {
    color: var(--pn-orange-dark);
    font-weight: 700;
}

/* ==========================================================================
   5. KARTICE HOTELOV IN MREŽA NA PRVI STRANI (index.php)
   ========================================================================== */
.region-group-section {
    margin-bottom: 35px;
}

.region-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 6px;
}

.region-group-title {
    font-size: 18px;
    color: var(--text-title);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.region-group-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.region-group-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--pn-orange-dark);
    text-decoration: none;
}

.region-group-more:hover {
    text-decoration: underline;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 18px;
}

.hotel-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hotel-img-box {
    position: relative;
    width: 100%;
    height: 195px;
    background: var(--border-light);
}

.hotel-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tag-status {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tag-local {
    background: #10b981;
}

.tag-remote {
    background: var(--pn-yellow);
}

.tag-stars {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fbbf24;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.hotel-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hotel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 3px;
}

.hotel-title a {
    color: inherit;
    text-decoration: none;
}

.hotel-title a:hover {
    color: var(--pn-orange-dark);
}

.hotel-kraj {
    font-size: 12px;
    color: var(--pn-blue);
    margin-bottom: 8px;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rating-pill {
    background: var(--pn-green);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
}

.rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.preview-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    max-height: 48px;
    overflow: hidden;
    margin-bottom: 10px;
}

.price-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: auto;
    border-top: 1px solid var(--bg-muted);
    padding-top: 10px;
    text-align: center;
}

.price-col-label {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.price-link {
    display: block;
    text-decoration: none;
    padding: 5px 6px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 12px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.price-val {
    background: #fff2ea;
    color: var(--pn-orange-dark);
    border: 1px solid var(--pn-orange-border);
}

.price-val:hover {
    background: var(--pn-orange);
    color: #ffffff;
}

.price-val-hotel {
    background: var(--pn-green-light);
    color: var(--pn-green);
    border: 1px solid #a7f3d0;
}

.price-val-hotel:hover {
    background: var(--pn-green);
    color: #ffffff;
}

.price-val-flight {
    background: var(--pn-blue-light);
    color: var(--pn-blue);
    border: 1px solid #bae6fd;
}

.price-val-flight:hover {
    background: var(--pn-blue);
    color: #ffffff;
}

.price-empty {
    font-size: 12px;
    color: var(--border-strong);
    font-weight: 700;
    display: block;
    padding: 5px 0;
}

.empty-state-box {
    background: var(--bg-surface);
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}

.empty-state-text {
    color: var(--text-muted);
    font-size: 15px;
}

.btn-primary-orange {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--pn-orange);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
}

/* ==========================================================================
   6. REZULTATI ISKANJA (iskanje.php), PODROBNOSTI (hotel-podrobnosti.php)
      IN DESTINACIJE (destinacije.php)
   ========================================================================== */
.is-hidden { display: none; }
.mt-sm { margin-top: 6px; }
.mt-md { margin-top: 8px; }
.mb-sm { margin-bottom: 6px; }
.mb-md { margin-bottom: 12px; }
.text-right { text-align: right; }

.hotel-scroll-compact {
    padding: 6px 10px;
}

.content-header-compact {
    padding: 8px 12px;
}

.content-title-sm {
    font-size: 16px;
    margin: 0;
}

.content-meta-xs {
    font-size: 11px;
    color: var(--text-muted);
}

.compact-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.compact-hotel-card {
    display: flex;
    background: var(--bg-surface);
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 8px;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.compact-card-img {
    width: 170px;
    min-width: 170px;
    height: 120px;
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-muted);
    flex-shrink: 0;
}

.compact-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.compact-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px;
    line-height: 1.25;
}

.compact-stars {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 400;
}

.compact-kraj {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.rating-row-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--bg-body);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-muted);
    margin-bottom: 4px;
}

.rating-blue-badge {
    background: var(--pn-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 3px;
    text-align: center;
    line-height: 1.1;
}

.rating-blue-badge small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #bae6fd;
}

.rating-details-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 2px 10px;
    font-size: 10px;
    color: #475569;
}

.flight-info-box {
    font-size: 10px;
    color: var(--text-body);
    background: var(--pn-blue-light);
    border: 1px solid #bae6fd;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flight-info-box b {
    color: var(--pn-blue);
}

.flight-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.flight-badge-stop {
    color: #c2410c;
    font-weight: 700;
    background: #ffedd5;
    padding: 1px 5px;
    border-radius: 3px;
}

.flight-badge-direct {
    color: #15803d;
    font-weight: 700;
    background: #dcfce7;
    padding: 1px 5px;
    border-radius: 3px;
}

.flight-row-times {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    color: #475569;
}

.tag-chip {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    font-weight: 600;
    margin-right: 4px;
    margin-top: 2px;
}

.tag-chip-green {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.tag-chip-red {
    border-color: #fca5a5;
    background: var(--pn-red-light);
    color: #991b1b;
}

.tag-chip-gold {
    border-color: #fde047;
    background: #fefce8;
    color: #854d0e;
    font-weight: 800;
}

.tag-chip-blue {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 800;
}

.compact-card-side {
    width: 170px;
    min-width: 170px;
    border-left: 1px dashed var(--border-light);
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
}

.price-text-sm {
    font-size: 11px;
    color: var(--text-muted);
}

.price-amount {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin: 2px 0;
}

.price-per-person-note {
    font-size: 9px;
    color: var(--text-subtle);
    margin-bottom: 4px;
}

.btn-orange-compact {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff9900;
    color: #ffffff;
    font-weight: 700;
    padding: 6px 0;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 13px;
}

.btn-orange-compact:hover {
    background: #e68a00;
}

.map-toggle-bar {
    width: 100%;
    background: #e0f2fe;
    border: 1px solid #93c5fd;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.map-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--pn-blue-dark);
}

.btn-map-toggle {
    background: var(--pn-blue);
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 11px;
}

.btn-map-toggle:hover {
    background: var(--pn-blue-dark);
}

#mapContainer {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    margin-bottom: 8px;
    display: none;
}

.empty-box-compact {
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-strong);
}

.empty-box-title {
    color: var(--text-title);
    margin-bottom: 4px;
    font-size: 14px;
}

.empty-box-sub {
    color: var(--text-muted);
    font-size: 12px;
}

.debug-box {
    background: var(--text-title);
    color: #38bdf8;
    padding: 10px;
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 11px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 10px;
    border: 1px solid var(--pn-blue);
}

.debug-heading {
    color: #f97316;
    font-weight: 700;
    margin-bottom: 4px;
}

.debug-error {
    color: #ef4444;
    font-weight: 700;
    margin-top: 4px;
}

.debug-details {
    margin-top: 6px;
    cursor: pointer;
}

.debug-summary {
    color: #facc15;
}

.debug-pre {
    white-space: pre-wrap;
    color: var(--border-strong);
    margin-top: 4px;
}

/* Podrobnosti hotela: galerija in vrstice ponudb */
.hotel-stars-inline {
    color: #f59e0b;
}

.airport-list-highlight {
    color: var(--pn-blue);
}

.btn-back-link {
    padding: 5px 12px;
    background: var(--bg-muted);
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-body);
    font-size: 12px;
    font-weight: 700;
}

.btn-back-link:hover {
    background: var(--border-light);
}

.media-container {
    position: relative;
    width: 100%;
    height: 420px;
    background: var(--text-title);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.media-container img,
.media-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-panel-full {
    width: 100%;
    height: 100%;
}

.media-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.media-weather-panel {
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.media-scroll-panel {
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    padding: 20px;
    overflow-y: auto;
}

.media-desc-panel {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-body);
}

.media-badges-stack {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.media-badge {
    background: #f59e0b;
    color: #000000;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.media-badge.is-top-location {
    background: #0284c7;
    color: #ffffff;
}

.media-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    user-select: none;
    z-index: 10;
    transition: background 0.2s;
}

.media-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.nav-prev { left: 15px; }
.nav-next { right: 15px; }

.tabs-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    background: var(--bg-surface);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-body);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    background: var(--bg-muted);
    border-color: var(--text-subtle);
}

.tab-btn.active {
    background: var(--pn-blue);
    color: #ffffff;
    border-color: var(--pn-blue);
}

.ratings-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.ratings-title {
    color: var(--text-title);
    margin-bottom: 10px;
    font-size: 15px;
}

.ratings-meta-text {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
}

.ratings-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.desc-panel-title {
    color: var(--text-title);
    margin-bottom: 8px;
    font-size: 16px;
}

.ratings-header-grid {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.recommendation-big-badge {
    background: var(--pn-green);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.recommendation-big-badge b {
    font-size: 24px;
    display: block;
    line-height: 1;
}

.recommendation-big-badge span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.ratings-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 8px;
}

.rating-cat-card {
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    text-align: center;
}

.rating-cat-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-title);
}

.rating-cat-card span {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.hotel-about-card {
    background: var(--bg-surface);
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.hotel-about-title {
    color: var(--text-title);
    font-size: 14px;
    margin-bottom: 4px;
}

.hotel-about-text {
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
}

.api-debug-card {
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 15px;
}

.api-debug-summary {
    font-weight: 700;
    color: var(--text-title);
    cursor: pointer;
    font-size: 12px;
}

.api-debug-body {
    margin-top: 8px;
}

.api-debug-pre {
    background: var(--text-title);
    color: #38bdf8;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 11px;
    max-height: 360px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 6px;
}

.offers-wrap-box {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 12px;
}

.offers-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.offers-heading {
    color: var(--pn-orange-dark);
    font-size: 15px;
    margin: 0;
}

.offers-count-badge {
    font-size: 11px;
    color: var(--text-muted);
}

.offers-empty-state {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
}

.offers-empty-text {
    font-size: 13px;
    margin: 0;
}

.offers-error-msg {
    font-size: 11px;
    color: #ef4444;
    margin-top: 6px;
    font-family: monospace;
}

.offers-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.offer-row-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-card-row {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 10px;
    display: grid;
    grid-template-columns: 240px 140px 1fr 130px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.offer-card-row:hover {
    border-color: var(--pn-blue);
}

.offer-col-flight,
.offer-col-date {
    font-size: 11px;
    line-height: 1.35;
    border-right: 1px solid var(--bg-muted);
    padding-right: 8px;
}

.offer-flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-airport-title {
    font-size: 12px;
    color: var(--text-title);
}

.offer-carrier-name {
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 2px;
}

.text-muted-inline {
    color: var(--text-muted);
}

.flight-time-line {
    color: var(--text-body);
    font-size: 11px;
    margin-top: 2px;
}

.flight-time-line b {
    color: var(--text-title);
}

.offer-date-from {
    color: #1e293b;
}

.offer-date-to {
    color: var(--text-muted);
    font-size: 10px;
}

.offer-duration-tag {
    font-weight: 700;
    color: var(--pn-green);
    font-size: 10px;
    margin-top: 1px;
}

.offer-col-room {
    font-size: 12px;
    line-height: 1.35;
    padding-right: 6px;
}

.offer-board-title {
    color: var(--pn-orange-dark);
    font-size: 12px;
}

.offer-room-name {
    color: #475569;
    margin-top: 1px;
}

.offer-package-note {
    color: var(--text-subtle);
    font-size: 10px;
}

.offer-col-price {
    text-align: right;
}

.offer-person-price {
    font-size: 10px;
    color: var(--text-muted);
}

.offer-total-price {
    font-size: 15px;
    font-weight: 900;
    color: var(--text-title);
    margin-bottom: 3px;
}

.btn-check-action {
    background: var(--pn-yellow);
    color: #000000;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    display: inline-block;
    transition: background var(--transition-fast);
}

.btn-check-action:hover {
    background: var(--pn-yellow-hover);
}

.btn-reserve-success {
    background: #16a34a;
    color: #ffffff;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 11px;
    display: inline-block;
}

.btn-check-action.is-sold {
    background-color: var(--pn-red);
    color: #ffffff;
}

.btn-check-action.is-error {
    background-color: var(--text-muted);
    color: #ffffff;
}

/* Tabela destinacij (destinacije.php) */
.dest-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.super-region-card {
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.super-region-header {
    background: #fff7ed;
    border-bottom: 2px solid #ffedd5;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.super-region-title {
    font-size: 16px;
    font-weight: 800;
    color: #c2410c;
    margin: 0;
}

.super-region-count {
    font-size: 12px;
    color: #9a3412;
    font-weight: 600;
}

.dest-empty-state {
    text-align: center;
    padding: 30px 10px;
}

.dest-price-val {
    color: var(--pn-green);
    font-size: 14px;
}

.dest-price-unit {
    font-size: 10px;
    color: var(--text-muted);
}

.dest-price-na {
    color: var(--text-subtle);
    font-size: 12px;
}

.dest-table {
    width: 100%;
    border-collapse: collapse;
}

.sea-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
    padding: 4px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.dest-table th {
    background: var(--bg-body);
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.dest-table td {
    padding: 10px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--bg-muted);
    vertical-align: middle;
}

.dest-table tr:hover {
    background: #fafafa;
}

.weather-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.btn-select-dest {
    background: #ff9900;
    color: #ffffff;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
}

.btn-select-dest:hover {
    background: #e68a00;
}

/* ==========================================================================
   7. NOGA SPLETNEGA MESTA (#site-footer)
   ========================================================================== */
#site-footer {
    background: var(--bg-surface);
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: #475569;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

.footer-intro-box {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    background: var(--bg-surface);
    line-height: 1.5;
}

.footer-intro-box h4 {
    color: var(--pn-orange-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-intro-box p {
    font-size: 12px;
    color: #475569;
}

.footer-usp-banner {
    border: 1px solid #f97316;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-surface);
}

.footer-usp-header {
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
}

.footer-usp-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 20px;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 18px;
    flex: 1;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 500;
}

.usp-check {
    color: #f97316;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-partners-box {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.footer-partners-title {
    color: var(--pn-orange-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.partners-logos-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.partner-logo-item {
    font-weight: 800;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-orange { color: var(--pn-orange-dark); }
.partner-blue   { color: var(--pn-blue); }
.partner-green  { color: #16a34a; }
.partner-amber  { color: #d97706; }
.partner-dark   { color: var(--text-title); }
.partner-red    { color: var(--pn-red); }

.footer-accordion-item {
    border: 1px solid #93c5fd;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-surface);
}

.accordion-btn {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: var(--bg-surface);
    border: none;
    cursor: pointer;
    color: #2563eb;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-btn:hover {
    background: var(--bg-body);
}

.accordion-icon {
    background: #f97316;
    color: #ffffff;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.accordion-content {
    display: none;
    padding: 14px 18px;
    font-size: 12px;
    line-height: 1.6;
    color: #475569;
    border-top: 1px solid var(--border-light);
    background: var(--bg-body);
}

.accordion-content.is-open {
    display: block;
}

.footer-main-columns {
    background: var(--bg-footer-gray);
    border-top: 1px solid #dee2e6;
    padding: 30px 20px;
}

.main-columns-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.footer-col h5 {
    font-size: 13px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-col p {
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 12px;
}

.footer-mail-link {
    color: var(--pn-blue);
    font-weight: 600;
    text-decoration: none;
}

.footer-mail-link:hover {
    text-decoration: underline;
}

.phone-badge-cta {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    display: block;
    text-decoration: none;
}

.btn-more-gray {
    display: inline-block;
    background: #4b5563;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.btn-more-gray:hover {
    background: #374151;
}

.footer-dark-bar {
    background: var(--bg-footer-dark);
    color: #ffffff;
    padding: 15px 20px;
    text-align: center;
    font-size: 12px;
}

.footer-dark-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-dark-links a {
    color: var(--bg-body);
    text-decoration: none;
}

.footer-dark-links a:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-btn {
    background: var(--text-subtle);
    color: #1e293b;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.social-btn.social-yt {
    color: #991b1b;
}

.social-btn:hover {
    background: var(--bg-surface);
}

.footer-copyright-bar {
    background: var(--bg-footer-bottom);
    color: var(--text-subtle);
    padding: 12px 20px;
    text-align: center;
    font-size: 11px;
}

/* ==========================================================================
   8. ODZIVNOST (MEDIA QUERIES - TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .offer-card-row {
        grid-template-columns: 1fr 1fr;
    }

    .offer-col-flight,
    .offer-col-date {
        border-right: none;
        border-bottom: 1px solid var(--bg-muted);
        padding-bottom: 6px;
    }
}

@media (max-width: 900px) {
    /* Pretvorba stranskega traku v drsni predal (Off-Canvas Drawer) */
    .mobile-filter-trigger {
        display: inline-flex;
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(350px, 88vw);
        margin-left: 0 !important;
        transform: translateX(-100%);
        z-index: 200;
        box-shadow: var(--shadow-lg);
    }

    #sidebar.mobile-open {
        transform: translateX(0);
    }

    .sidebar-handle {
        display: none;
    }

    .sidebar-mobile-header {
        display: flex;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-columns-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .compact-hotel-card {
        flex-direction: column;
    }

    .compact-card-img {
        width: 100%;
        height: 180px;
    }

    .compact-card-side {
        width: 100%;
        border-left: none;
        border-top: 1px dashed var(--border-light);
        padding-left: 0;
        padding-top: 8px;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .btn-orange-compact {
        width: auto;
        padding: 7px 16px;
    }
}

@media (max-width: 640px) {
    #topbar {
        padding: 8px 12px;
    }

    .header-logo-box img {
        height: 32px;
    }

    .contact-item + .contact-item {
        display: none;
    }

    .top-chips {
        padding: 6px 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hotel-scroll,
    .content-header {
        padding: 12px;
    }

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

    .media-container {
        height: 260px;
    }

    .offer-card-row {
        grid-template-columns: 1fr;
    }

    .offer-col-price {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--bg-muted);
        padding-top: 8px;
    }

    .rating-details-grid {
        grid-template-columns: repeat(2, auto);
    }

    .usp-grid,
    .main-columns-wrap {
        grid-template-columns: 1fr;
    }

    .footer-usp-body {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Odzivni prikaz tabele destinacij na mobilnih telefonih */
@media (max-width: 720px) {
    .dest-container {
        padding: 10px;
    }

    .dest-table-clean,
    .dest-table-clean tbody {
        display: block;
        width: 100%;
    }

    .dest-table-clean tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "name price"
            "climate action";
        gap: 8px 10px;
        align-items: center;
        padding: 12px;
        border-bottom: 1px solid var(--border-light);
    }

    .dest-table-clean td {
        padding: 0;
        border: none;
    }

    .dest-col-name {
        grid-area: name;
        font-size: 14px;
    }

    .dest-col-price {
        grid-area: price;
        text-align: right;
    }

    .dest-col-climate {
        grid-area: climate;
    }

    .dest-col-action {
        grid-area: action;
        text-align: right;
    }
}

/* ==========================================================================
   9. INFO O LETU PREDAL (hotel-podrobnosti.php)
   ========================================================================== */
.offer-flight-links {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-flight-info-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--pn-blue);
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.btn-flight-info-link:hover {
    color: var(--pn-orange-dark);
}

.offer-row-wrapper.drawer-open .offer-card-row {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--pn-orange);
}

.flight-drawer {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-top: 2px solid var(--pn-orange);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 12px 14px;
    margin-top: -5px;
    box-shadow: var(--shadow-sm);
}

.flight-drawer.is-hidden {
    display: none !important;
}

.flight-drawer-notice {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    margin-bottom: 12px;
}

.flight-drawer-disclaimer {
    font-size: 11px;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
}

.flight-drawer-close {
    background: var(--pn-orange);
    color: #ffffff;
    border: none;
    border-radius: 3px;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flight-drawer-close:hover {
    background: var(--pn-orange-dark);
}

.flight-leg-group + .flight-leg-group {
    margin-top: 12px;
}

.flight-leg-heading {
    font-size: 12px;
    color: var(--text-title);
    margin-bottom: 6px;
}

.flight-legs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.flight-legs-table th {
    background: var(--bg-muted);
    color: var(--text-title);
    font-weight: 700;
    text-align: left;
    padding: 6px 10px;
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}

.flight-legs-table td {
    padding: 6px 10px;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.flight-legs-table tbody tr:nth-child(even) {
    background: var(--bg-body);
}

.flight-drawer-empty {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 10px 0;
}

/* ==========================================================================
   10. TRANSFER ZNAČKE IN PREKLOPNIK PRODUKTOV (Paket / Samo hotel / Letalo)
   ========================================================================== */
.offer-package-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.offer-transfer-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

.offer-transfer-badge.is-included {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.offer-transfer-badge.is-excluded {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.search-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: #fde6d8;
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.search-mode-tab {
    border: none;
    background: transparent;
    color: var(--text-body);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 4px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.search-mode-tab:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--pn-orange-dark);
}

.search-mode-tab.active {
    background: #ffffff;
    color: var(--pn-orange-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}



/* ==========================================================================
   11. IKONICE LASTNOSTI HOTELA NA LISTI (iskanje.php)
   ========================================================================== */
.hotel-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.tag-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    cursor: help;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.tag-icon-only:hover {
    transform: scale(1.1);
    border-color: var(--pn-orange);
    background: var(--pn-orange-light);
}

/* ==========================================================================
   12. AI STROKOVNO MNENJE (PLUSI / MINUSI) IN FAQ (hotel-podrobnosti.php)
   ========================================================================== */
.hotel-about-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.transfer-est-pill {
    font-size: 11px;
    background: var(--pn-blue-light);
    color: var(--pn-blue-dark);
    border: 1px solid #bae6fd;
    padding: 3px 8px;
    border-radius: 4px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.pros-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 10px 12px;
}

.cons-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 10px 12px;
}

.pros-title {
    font-size: 12px;
    font-weight: 800;
    color: #166534;
    margin-bottom: 6px;
}

.cons-title {
    font-size: 12px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 6px;
}

.pros-list,
.cons-list {
    margin: 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-body);
}

.pros-list li + li,
.cons-list li + li {
    margin-top: 3px;
}

.hotel-faq-details {
    margin-top: 12px;
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
}

.hotel-faq-summary {
    font-size: 12px;
    font-weight: 700;
    color: var(--pn-blue-dark);
    cursor: pointer;
    user-select: none;
}

.hotel-faq-body {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotel-faq-item {
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
}

.hotel-faq-q {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 2px;
}

.hotel-faq-a {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.45;
}

@media (max-width: 720px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.desc-disclaimer-box {
    margin-top: 14px;
    padding: 9px 12px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--text-subtle);
    border-radius: var(--radius-sm);
    font-size: 11px;
    line-height: 1.45;
    color: var(--text-muted);
}

/* ==========================================================================
   13. TAKOJ ODPRT ISKALNIK NA MOBILNIH NAPRAVAH NA PRVI STRANI (index.php)
   ========================================================================== */
.mobile-regions-toggle-btn {
    display: none;
}

@media (max-width: 900px) {
    #main-wrapper.home-mobile-search-open {
        flex-direction: column;
    }

    #main-wrapper.home-mobile-search-open #sidebar {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        box-shadow: none;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        z-index: 10;
    }

    #main-wrapper.home-mobile-search-open .sidebar-scroll {
        overflow: visible;
        padding: 12px 12px 10px;
    }

    #main-wrapper.home-mobile-search-open .sidebar-mobile-header {
        display: none;
    }

    #main-wrapper.home-mobile-search-open .incl-search-card {
        margin-bottom: 8px;
        padding: 12px;
    }

    #main-wrapper.home-mobile-search-open .mobile-regions-toggle-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: var(--bg-surface);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-md);
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 700;
        color: var(--text-title);
        cursor: pointer;
        margin-bottom: 4px;
    }

    #main-wrapper.home-mobile-search-open .sidebar-regions-wrap.is-mobile-collapsible {
        display: none;
        margin-top: 8px;
    }

    #main-wrapper.home-mobile-search-open .sidebar-regions-wrap.is-mobile-collapsible.is-open {
        display: block;
    }
}

/* ==========================================================================
   14. BANNER ORGANIZATORJEV V NOGI (incl-footer.php)
   ========================================================================== */
.partners-banner-img {
    max-width: 100%;
    height: auto;
    max-height: 82px;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   15. TECHNICAL SEO NAVIGACIJA, DROBTINICE IN KOMPAKTEN PRIKAZ (v2.2)
   ========================================================================== */
.header-main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.header-nav-link {
    text-decoration: none;
    color: var(--text-body);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

.header-nav-link:hover {
    background: var(--pn-orange-light);
    color: var(--pn-orange-dark);
    border-color: var(--pn-orange-border);
}

.header-nav-link.active {
    background: var(--pn-orange);
    color: #ffffff;
}

.breadcrumb-bar {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.breadcrumb-bar a {
    color: var(--pn-blue-dark);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-bar a:hover {
    text-decoration: underline;
}

.hotel-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hotel-mode-pills {
    display: inline-flex;
    background: var(--bg-muted);
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    gap: 3px;
}

.hotel-mode-pill {
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-body);
    padding: 4px 10px;
    border-radius: 4px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hotel-mode-pill:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--pn-orange-dark);
}

.hotel-mode-pill.active {
    background: var(--pn-orange);
    color: #ffffff;
}

/* KOMPAKTNEJŠI PRIKAZ KARTIC HOTELOV (index.php) */
.content-header {
    padding: 10px 16px;
}

.hotel-scroll {
    padding: 12px 16px;
}

.region-group-section {
    margin-bottom: 22px;
}

.region-group-header {
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.region-group-title {
    font-size: 16px;
}

.hotel-grid {
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 12px;
}

.hotel-img-box {
    height: 155px;
}

.tag-rating-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(5, 150, 105, 0.94);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.tag-rating-overlay small {
    font-weight: 500;
    opacity: 0.9;
}

.hotel-body {
    padding: 10px 11px;
}

.hotel-title {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 2px;
}

.hotel-kraj {
    font-size: 11px;
    margin-bottom: 6px;
}

.preview-desc {
    font-size: 11.5px;
    line-height: 1.35;
    max-height: 32px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-grid-3 {
    gap: 5px;
    padding-top: 7px;
}

.price-col-label {
    font-size: 9.5px;
    margin-bottom: 2px;
}

.price-link {
    padding: 4px 4px;
    font-size: 11.5px;
}

.price-empty {
    padding: 4px 0;
    font-size: 11px;
}

/* KOMPAKTNEJŠI PRIKAZ PODROBNOSTI HOTELA IN TERMINOV (hotel-podrobnosti.php & letalo.php) */
.media-container {
    height: 310px;
    margin-bottom: 8px;
}

.tabs-bar {
    padding: 4px;
    gap: 4px;
    margin-bottom: 10px;
}

.tab-btn {
    padding: 5px 11px;
    font-size: 12px;
}

.hotel-about-card {
    padding: 10px 12px;
    margin-bottom: 10px;
}

.offers-wrap-box {
    padding: 10px;
}

.offers-container {
    gap: 5px;
    margin-top: 6px;
}

.offer-card-row {
    padding: 7px 10px;
    grid-template-columns: 235px 130px 1fr 135px;
    gap: 8px;
}

.offer-col-flight,
.offer-col-date {
    line-height: 1.25;
    padding-right: 6px;
}

.flight-time-line {
    font-size: 10.5px;
    margin-top: 1px;
}

.offer-flight-links {
    margin-top: 3px;
}

.offer-col-room {
    font-size: 11.5px;
    line-height: 1.25;
}

.offer-board-title {
    font-size: 11.5px;
}

.offer-col-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
}

.offer-total-price {
    font-size: 14px;
    margin-bottom: 0;
}

.btn-check-action,
.btn-reserve-success {
    padding: 5px 10px;
    font-size: 10.5px;
    white-space: nowrap;
}

/* KOMPAKTNEJŠI REZULTATI ISKANJA IN TABELA DESTINACIJ */
.compact-container {
    gap: 6px;
}

.compact-hotel-card {
    padding: 6px 8px;
    gap: 10px;
}

.compact-card-img {
    width: 145px;
    min-width: 145px;
    height: 100px;
}

.compact-title {
    font-size: 14px;
}

.dest-container {
    padding: 12px;
}

.super-region-card {
    margin-bottom: 14px;
}

.super-region-header {
    padding: 8px 12px;
}

.dest-table td {
    padding: 6px 10px;
    font-size: 12.5px;
}

@media (max-width: 900px) {
    .header-main-nav {
        display: none;
    }

    .media-container {
        height: 230px;
    }

    .offer-col-price {
        justify-content: space-between;
    }
}

/* ==========================================================================
   16. REDNE LETALSKE KARTE + YPSILON BOOKING MAŠINA (redne-letalske-karte.php)
   ========================================================================== */
.regular-flights-page {
    padding: 14px 16px 28px;
}

.rf-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.rf-h1 {
    font-size: 20px;
    color: var(--pn-blue-dark);
    margin: 2px 0 12px;
    font-weight: 800;
}

.rf-search-card {
    border: 1px solid var(--pn-orange-border);
    background: var(--pn-orange-tint);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}

.rf-search-header {
    background: #ffedd5;
    padding: 7px 12px;
    border-bottom: 1px solid var(--pn-orange-border);
    color: var(--pn-orange-dark);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.rf-search-body {
    padding: 12px;
}

.rf-search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
}

.rf-span-2 {
    grid-column: span 2;
}

.rf-carrier-badge.is-ry {
    display: inline-block;
    background: #dbeafe;
    color: #1e3a8a;
    border: 1px solid #93c5fd;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    text-transform: uppercase;
}

.rf-form-group {
    display: flex;
    flex-direction: column;
}

.rf-form-group label {
    font-size: 11px;
    color: var(--text-title);
    margin-bottom: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.rf-form-group input,
.rf-form-group select {
    padding: 7px 9px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #ffffff;
    color: var(--text-title);
}

.rf-search-actions {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed var(--pn-orange-border);
}

.rf-search-notice {
    font-size: 11px;
    color: var(--text-muted);
}

.rf-btn-search {
    background: var(--pn-orange);
    color: #ffffff;
    border: none;
    padding: 9px 24px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

.rf-btn-search:hover {
    background: var(--pn-orange-dark);
}

.rf-dest-pills-box {
    margin-bottom: 14px;
}

.rf-section-subhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rf-section-subhead h2 {
    font-size: 15px;
    color: var(--text-title);
    margin: 0;
}

.rf-reset-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--pn-blue-dark);
    text-decoration: none;
}

.rf-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 8px;
}

.rf-dest-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-title);
    font-size: 12.5px;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.rf-dest-card:hover,
.rf-dest-card.active {
    background: var(--pn-blue-light);
    border-color: var(--pn-blue);
}

.rf-iata-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: var(--border-light);
    color: #475569;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 3px;
}

.rf-dest-price {
    font-size: 11.5px;
    color: var(--pn-green);
    white-space: nowrap;
}

.rf-disclaimer {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    margin-bottom: 12px;
}

.rf-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.rf-filter-btn {
    padding: 4px 9px;
    background: #ffffff;
    color: var(--pn-blue-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 600;
    border: 1px solid var(--pn-blue);
    transition: all var(--transition-fast);
}

.rf-filter-btn:hover,
.rf-filter-btn.active {
    background: var(--pn-blue);
    color: #ffffff;
}

.rf-comp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 16px;
}

.rf-comp-col {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #ffffff;
}

.rf-comp-col h3 {
    background: var(--pn-blue);
    color: #ffffff;
    margin: 0;
    padding: 6px 8px;
    font-size: 11.5px;
    text-align: center;
    text-transform: uppercase;
}

.rf-comp-row {
    padding: 5px 8px;
    border-bottom: 1px solid var(--bg-muted);
    font-size: 11.5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.rf-comp-row:hover {
    background: var(--pn-blue-light);
}

.rf-comp-row.is-empty {
    cursor: default;
    color: var(--text-subtle);
    font-size: 11px;
}

.rf-price-val {
    font-weight: 800;
    color: var(--pn-red);
    font-size: 12.5px;
}

.rf-table-heading {
    color: var(--pn-blue-dark);
    margin: 14px 0 8px;
    font-size: 15px;
    border-bottom: 2px solid var(--pn-blue);
    padding-bottom: 4px;
}

.rf-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.rf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rf-table th {
    background: var(--bg-body);
    padding: 8px 6px;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
    color: var(--pn-blue-dark);
    text-transform: uppercase;
    font-size: 11px;
}

.rf-table td {
    padding: 7px 6px;
    border-bottom: 1px solid var(--bg-muted);
}

.rf-table tr:hover {
    background: var(--pn-blue-light);
}

.rf-price-cell {
    text-align: right;
    font-weight: 800;
    color: var(--pn-red);
    padding-right: 14px;
    font-size: 14px;
    white-space: nowrap;
}

.rf-btn-check {
    background: var(--pn-blue);
    color: #ffffff;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background var(--transition-fast);
}

.rf-btn-check:hover {
    background: var(--pn-blue-dark);
}

#rf-iframe-container {
    display: none;
    margin-top: 18px;
    border-top: 3px solid var(--pn-blue);
    padding-top: 12px;
}

.rf-iframe-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rf-iframe-bar h2 {
    font-size: 16px;
    color: var(--pn-blue-dark);
    margin: 0;
}

@media (max-width: 900px) {
    .rf-search-grid {
        grid-template-columns: 1fr;
    }

    .rf-span-2,
    .rf-search-actions {
        grid-column: span 1;
        flex-direction: column;
        align-items: stretch;
    }

    .rf-comp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rf-comp-grid {
        grid-template-columns: 1fr;
    }
}

.rf-autocomplete-wrap {
    position: relative;
}

.rf-autocomplete-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 2px solid var(--pn-orange);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 2100;
    max-height: 250px;
    overflow-y: auto;
}

.rf-dd-item {
    padding: 7px 10px;
    font-size: 12.5px;
    cursor: pointer;
    border-bottom: 1px solid var(--bg-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rf-dd-item:last-child {
    border-bottom: none;
}

.rf-dd-item:hover {
    background: var(--pn-orange-light);
}

/* ==========================================================================
   17. ENOVRSTNI POTNIKI (redne-letalske-karte) IN RAZČLENITEV CEN (kot na sliki)
   ========================================================================== */
.rf-pax-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
}

@media (max-width: 720px) {
    .rf-pax-row-3 {
        grid-template-columns: 1fr;
    }
}

/* Razčlenitev cene v stolpcu ponudbe (hotel-podrobnosti.php) */
.offer-card-row {
    grid-template-columns: 225px 120px 1fr 225px;
}

.offer-col-price {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    border-left: 1px solid var(--border-light);
    padding-left: 10px;
    text-align: right;
}

.offer-price-breakdown {
    width: 100%;
}

.offer-pp-hero {
    font-size: 18px;
    font-weight: 900;
    color: var(--pn-orange-dark);
    line-height: 1.15;
    margin-bottom: 4px;
}

.offer-pp-hero small {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.offer-breakdown-lines {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.35;
}

.ob-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.offer-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    border-top: 1px solid var(--border-strong);
    margin-top: 4px;
    padding-top: 4px;
    font-size: 12px;
    color: var(--text-title);
}

.offer-total-line strong {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

/* Razčlenitev cene na karticah hotelov (lowcost.php & iskanje.php) */
.compact-card-side {
    width: 205px;
    min-width: 205px;
}

.price-breakdown-box {
    width: 100%;
    text-align: right;
}

.price-pp-hero {
    font-size: 18px;
    font-weight: 900;
    color: var(--pn-orange-dark);
    line-height: 1.15;
    margin-bottom: 4px;
}

.price-pp-hero small {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.price-breakdown-rows {
    font-size: 10.5px;
    color: var(--text-muted);
    line-height: 1.35;
}

.pb-row {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.pb-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    border-top: 1px solid var(--border-strong);
    margin-top: 4px;
    padding-top: 4px;
    font-size: 11.5px;
    color: var(--text-title);
}

.pb-total-line strong {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
}

@media (max-width: 900px) {
    .compact-card-side {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
    }
    .offer-col-price {
        border-left: none;
        padding-left: 0;
    }
}
