/* ================= RESULTS ================= */
.results-meta {
    font-family: var(--font-base);
    font-weight: 350;
    font-size: 22px;
    color: var(--grey-dark);

    margin:20px;
    text-align: center;
}

/* ===== RESTAURANT CARD ===== */

.restaurant-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* ===== HERO ===== */

.restaurant-hero {
    display: flex;
    position: relative;
    min-height: 70px;
    overflow: hidden;
    justify-content: space-between;
    background: var(--orange);
}

.restaurant-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    flex: 1;

    border-bottom: 2px solid var(--grey-main);

    padding: 16px 16px 8px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.restaurant-name.text-card-large{
    font-family: var(--font-base);
    font-weight: 350;
    font-size: 22px;
    color: var(--white);
    padding-right: 100px;
}

.restaurant-address.text-card-base{
    font-family: var(--font-base);
    font-weight: 300;
    font-size: 14px;
    color: var(--white);
}

/* ===== HERO CAROUSEL CONTROLS ===== */

.hero-carousel-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 5;
}


/* ===== BODY LAYOUT ===== */

.comparison-wrapper {
    height: 217px;
    display: flex;
    gap: 8px;
    align-items: stretch;
}


/* ===== FIXED LEFT COLUMN ===== */

.comparison-fixed {
    text-decoration: none;
    color: inherit;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
}

.fixed-spacer {
    height: 0; /* už nepotřebujeme header obrázky */
}

.fixed-service-row {
    text-decoration: none;
    color: inherit;
    background: #fafafa;
    border-radius: 12px;
    padding: 4px;
    padding-left: 12px;
    font-size: 13px;
    display: flex;
    gap: 6px;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.fixed-service-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.fixed-service-row.wolt {
    text-decoration: none;
    color: inherit;
    background: #eef5ff;
    border: 2px solid #d5e6ff;
    }

.fixed-service-row.foodora {
    text-decoration: none;
    color: inherit;
    background: #fff0f3;
    border: 2px solid #ffd7df;
    }

.fixed-service-row.bolt {
    text-decoration: none;
    color: inherit;
    background: #f0fff4;
    border: 2px solid #d7ffe2;
    }

.service-name {
    text-decoration: none;
    color: inherit;
    font-family: var(--font-base);
    font-weight: 300;
    font-size: 14px;
    color: var(--black);

    min-width: 80px;
}

.service-meta {
    text-decoration: none;
    color: inherit;
    font-family: var(--font-base);
    font-weight: 300;
    font-size: 12px;
    color: var(--grey-dark);

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.icon-img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

.meta-item {
    margin-right: 14px;
    white-space: nowrap;
}

/* ===== CAROUSEL RIGHT SIDE ===== */

.comparison-carousel-search {
    display: flex;
    min-width: 0;
}

.comparison-carousel-search .carousel-viewport-search {
    flex: 1;
    height: auto;
    width: calc(3 * 260px + 2 * 8px);
    overflow: hidden;
    padding-top: 8px;
    padding-bottom: 8px;
    touch-action: pan-y;
}

.comparison-carousel-search .carousel-row-search {
    overflow: visible;
    display: flex;
    transition: transform 0.45s ease;
    height: 100%;
}

.carousel-page {
    overflow: visible;
    display: grid;

    grid-template-columns: repeat(3, 260px);
    grid-template-rows: repeat(2, 1fr);

    gap: 8px;

    min-width: calc(3 * 260px + 2 * 8px);
    flex-shrink: 0;
}

.link-btn.best-price {
    border: 1.5px solid #2ecc71;
}

.link-btn.best-price .link-price {
    color: #27ae60;
    font-weight: 400;
}

.link-btn.best-price .link-site {
    color: #27ae60;
    font-weight: 400;
}

.ad-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background: #fff8e6;
    border: 2px dashed #ffb84d;
}

.ad-content {
    height: 100%;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 12px;
    color: #999;
}
