/* Ten plik dotyczy wyłącznie dolnego modułu Go4Taste Ads
   na stronie single-recipe.html (sekcja g4t-ads-strip). */

.g4t-ads-strip {
    padding-top: 24px;
}

.g4t-ads-strip .g4t-ads {
    grid-template-columns: 1fr;
}

.g4t-ads-strip .g4t-ads__track {
    grid-auto-columns: 180px;
}

.g4t-ads-strip .g4t-ads__nav {
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.g4t-ads-strip__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.g4t-ads-strip__text {
    min-width: 0;
}

.g4t-ads-strip__nav-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.g4t-ads-strip__brand-row {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.g4t-ads-strip__brand {
    color: var(--c-meta);
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.19rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.g4t-ads-strip__promo-badge {
    background: transparent;
    border: 1px solid var(--c-accent);
    border-radius: 4px;
    color: var(--c-accent);
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 3px 7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.g4t-ads-strip__top .g4t-ads-strip__title {
    color: var(--c-heading);
    font-family: var(--font-head);
    font-size: 1.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.15;
    margin-bottom: 2px;
    text-transform: none;
}

.g4t-ads-strip__desc {
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 0.96rem;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 640px) {
    .g4t-ads-strip {
        padding-top: 20px;
    }

    .g4t-ads-strip__brand {
        font-size: 0.78rem;
    }

    .g4t-ads-strip__title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .g4t-ads-strip__desc {
        font-size: 0.9rem;
    }
}

/* ── Product card – horizontal layout ─────────────────────── */
.g4t-ads-strip .g4t-product-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    width: 180px;
    max-width: 180px;
}

.g4t-ads-strip .g4t-product-card__link {
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

.g4t-ads-strip .g4t-product-card__figure {
    aspect-ratio: 1 / 1;
    background: #ebebeb;
    flex: none;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}

.g4t-ads-strip .g4t-product-card__image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.g4t-ads-strip .g4t-product-card__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 12px 14px;
}

.g4t-ads-strip .g4t-product-card__top {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.g4t-ads-strip .g4t-product-card__title {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g4t-ads-strip .g4t-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
}

.g4t-ads-strip .g4t-product-card__price {
    color: var(--c-heading);
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 400;
    margin-bottom: 0;
    flex-grow: 0;
}

.g4t-ads-strip .g4t-product-card__cta {
    align-items: center;
    background: transparent;
    border: 1px solid #515151;
    border-radius: 50%;
    color: #515151;
    display: flex;
    flex-shrink: 0;
    height: 32px;
    justify-content: center;
    letter-spacing: 0;
    padding: 0;
    text-align: center;
    text-transform: none;
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
    width: 32px;
}

.g4t-ads-strip .g4t-product-card__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.g4t-ads-strip .g4t-product-card__link:hover .g4t-product-card__cta {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

.g4t-ads-strip .g4t-product-card__link:hover .g4t-product-card__title {
    color: var(--c-heading);
}
