/*
 * Template — single transport
 *
 * Layout for the page the theme has taken over from Elementor, plus the
 * gallery thumbnails (which share the hero with the colour switcher).
 */

.tr-transport { padding-block: 28px 56px; }

.tr-transport__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .tr-transport__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ── Media ── */

.tr-transport__hero {
    margin: 0;
    background: #f6f6f6;
    border-radius: 4px;
    overflow: hidden;
}

.tr-transport__hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tr-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block-start: 12px;
}

.tr-gallery__thumb {
    width: 84px;
    height: 84px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.tr-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.tr-gallery__thumb:hover     { border-color: rgba(0, 0, 0, 0.25); }
.tr-gallery__thumb.is-active { border-color: var(--tr-brand); }

.tr-gallery__thumb:focus-visible {
    outline: 2px solid var(--tr-brand);
    outline-offset: 2px;
}

/* ── Detail ── */

.tr-transport__title {
    font-family: var(--tr-font-ka-head), var(--tr-font-display);
    font-size: 30px;
    line-height: 1.2;
    color: var(--tr-text-strong);
}

.tr-transport__lede {
    margin-block-start: 12px;
    color: var(--tr-text);
}

.tr-transport__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-block-start: 18px;
}

.tr-transport__price-now {
    font-family: var(--tr-font-display);
    font-size: 32px;
    line-height: 1;
    color: var(--tr-text-strong);
}

.tr-transport__price.is-on-sale .tr-transport__price-now { color: var(--tr-brand-sale); }

.tr-transport__price-was {
    font-size: 18px;
    color: var(--tr-text);
    text-decoration: line-through;
}

/* ── Highlight tiles ── */

.tr-transport__tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-block-start: 24px;
}

@media (max-width: 600px) {
    .tr-transport__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tr-transport__tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: #f6f6f6;
    border-radius: 4px;
    text-align: center;
}

.tr-transport__tile-value {
    font-family: var(--tr-font-display);
    font-size: 20px;
    line-height: 1.1;
    color: var(--tr-text-strong);
}

.tr-transport__tile-label {
    font-size: 12px;
    line-height: 1.3;
    color: var(--tr-text);
}

.tr-transport__content { margin-block-start: 36px; }
