.tr-layout {
    display: grid;
    grid-template-columns: 1fr 268px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.2rem 4rem;
}

.tr-layout .tr-page {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem 0 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.tr-sidebar {
    position: sticky;
    top: 80px;
    width: 268px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #dce4ed transparent;
}
.tr-sidebar::-webkit-scrollbar { width: 4px; }
.tr-sidebar::-webkit-scrollbar-track { background: transparent; }
.tr-sidebar::-webkit-scrollbar-thumb { background: #dce4ed; border-radius: 2px; }

.tr-sidebar-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9aa5b4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #f4f6f9;
    padding: 6px 0 8px;
    z-index: 2;
}
.tr-sidebar-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dce4ed;
}
.tr-sidebar-title i { color: #e8552a; font-size: 0.65rem; }

.tr-sb-group {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9aa5b4;
    margin-top: 10px;
    margin-bottom: 2px;
    padding-left: 2px;
}

.tr-sb-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dce4ed;
    border-left: 3px solid #dce4ed;
    border-radius: 8px;
    padding: 9px 11px;
    text-decoration: none !important;
    color: #1a2740 !important;
    box-shadow: 0 1px 4px rgba(26,39,64,0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
.tr-sb-card:hover {
    border-left-color: #e8552a;
    box-shadow: 0 4px 14px rgba(26,39,64,0.10);
    transform: translateX(2px);
    text-decoration: none !important;
}
.tr-sb-card.is-active {
    border-left-color: #e8552a;
    background: rgba(232,85,42,0.03);
}
.tr-sb-card.is-unavailable {
    opacity: 0.6;
    pointer-events: none;
}

.tr-sb-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}
.tr-sb-img-placeholder {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #f4f6f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dce4ed;
    font-size: 1.2rem;
}

.tr-sb-content { flex: 1; min-width: 0; }

.tr-sb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.tr-sb-season {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 2px 6px;
    border-radius: 20px;
}
.tr-sb-season.allseason { background: rgba(5,150,105,0.10); color: #059669; }
.tr-sb-season.winter    { background: rgba(37,99,235,0.09); color: #2563eb; }
.tr-sb-season.zomer     { background: rgba(232,85,42,0.10); color: #e8552a; }

.tr-sb-year { font-size: 0.65rem; font-weight: 700; color: #9aa5b4; }
.tr-sb-card.is-active .tr-sb-year { color: #e8552a; }

.tr-sb-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: #1a2740;
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tr-sb-price { display: flex; align-items: baseline; gap: 3px; }
.tr-sb-price-from { font-size: 0.6rem; color: #9aa5b4; font-weight: 600; text-transform: uppercase; }
.tr-sb-price-val {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #e8552a;
}

.tr-sb-unavailable { font-size: 0.62rem; color: #9aa5b4; display: flex; align-items: center; gap: 4px; }
.tr-sb-unavailable i { color: #dce4ed; font-size: 0.6rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .tr-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem 3rem;
    }
    .tr-layout .tr-page { padding: 0; }
    .tr-sidebar {
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 1.5rem;
        padding-bottom: 1rem;
        border-top: 1px solid #dce4ed;
        padding-top: 1.2rem;
    }
    .tr-sidebar-title { width: 100%; position: static; }
    .tr-sb-group { width: 100%; margin-top: 8px; }
    .tr-sb-card { flex: 1 1 200px; max-width: calc(50% - 4px); }
}

@media (max-width: 480px) {
    .tr-sb-card { flex: 1 1 100%; max-width: 100%; }
}