/* Store directory and promotion pages use the same panels as groups. */
.gfc .gfc-content .gfc-shop-toolbar {
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
}

.gfc .gfc-shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gfc .gfc-shop-tabs > .gfc-button {
    margin: 0;
    text-align: center;
}

.gfc .gfc-content .gfc-shop-list > :is(.gfc-promotion, .gfc-shop-card) {
    --gfc-shop-cover-size: clamp(88px, 10vw, 124px);
    display: grid;
    grid-template-columns: var(--gfc-shop-cover-size) minmax(0, 1fr) clamp(130px, 16vw, 185px);
    grid-template-areas: "media copy actions";
    align-items: center;
    gap: 12px clamp(14px, 2.4vw, 26px);
}

.gfc .gfc-content .gfc-results-section .gfc-shop-list > article + article {
    border-top-color: var(--gfc-subtle);
}

.gfc .gfc-content .gfc-shop-list > article > .gfc-news-media {
    grid-area: media;
    align-self: center;
    width: var(--gfc-shop-cover-size);
    height: var(--gfc-shop-cover-size);
    margin: 0;
}

.gfc .gfc-content .gfc-shop-list > article > :is(.gfc-promotion-main, .gfc-card-copy) {
    grid-area: copy;
    min-width: 0;
}

.gfc .gfc-content .gfc-shop-list :is(.gfc-promotion-copy, .gfc-card-copy) {
    display: grid;
    gap: 5px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gfc .gfc-content .gfc-shop-list :is(.gfc-promotion-copy, .gfc-card-copy) > h3 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(18px, 1.75vw, 24px);
    font-weight: inherit;
    line-height: 1.25;
}

.gfc .gfc-content .gfc-shop-list :is(.gfc-promotion-copy, .gfc-card-copy) > p {
    margin: 0;
    line-height: 1.45;
}

.gfc .gfc-promotion-byline a {
    color: var(--gfc-accent);
    text-decoration: underline;
}

.gfc .gfc-content .gfc-shop-list .gfc-promotion-actions {
    grid-area: actions;
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.gfc .gfc-content .gfc-shop-list .gfc-shop-card > .gfc-button {
    grid-area: actions;
    justify-self: stretch;
    width: auto;
}

.gfc .gfc-content .gfc-shop-list :is(.gfc-promotion-actions, .gfc-shop-card) > .gfc-button {
    min-width: 0;
    margin: 0;
    padding: 9px 12px;
    font-size: .9rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.gfc .gfc-content .gfc-shop-list .gfc-promotion-main > .gfc-discount {
    width: fit-content;
    max-width: 100%;
    gap: 6px 12px;
    margin: 10px 0 0;
    padding: 6px 9px;
    border: 1px solid var(--gfc-line);
    border-radius: 6px;
}

.gfc .gfc-content .gfc-shop-list .gfc-discount > code {
    max-width: 100%;
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--gfc-line);
    font-size: .95rem;
    white-space: normal;
}

.gfc .gfc-content .gfc-shop-list .gfc-discount > :is(.gfc-button, button) {
    margin: 0;
    padding: 7px 10px;
    font-size: .875rem;
}

.gfc .gfc-discount [data-gfc-copy-status]:empty {
    display: none;
}

.gfc .gfc-content .gfc-shop-list .gfc-discount [data-gfc-copy-status] {
    flex-basis: 100%;
}

.gfc .gfc-content .gfc-promotion-summary {
    --gfc-shop-cover-size: clamp(96px, 14vw, 164px);
    display: grid;
    grid-template-columns: var(--gfc-shop-cover-size) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 2vw, 22px);
}

.gfc .gfc-content .gfc-promotion-summary > .gfc-news-media {
    width: var(--gfc-shop-cover-size);
    height: var(--gfc-shop-cover-size);
    margin: 0;
}

.gfc .gfc-content .gfc-promotion-summary .gfc-promotion-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gfc .gfc-content .gfc-promotion-summary .gfc-promotion-copy > .gfc-meta {
    margin: 0 0 5px;
}

.gfc .gfc-content .gfc-promotion-summary .gfc-publication-body {
    margin-top: 10px;
}

.gfc .gfc-content .gfc-promotion-shop .gfc-shop-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gfc .gfc-content .gfc-shop-profile > .gfc-news-media {
    align-self: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    margin: 0;
}

.gfc .gfc-content .gfc-shop-profile-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gfc .gfc-content .gfc-shop-profile-info > h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: inherit;
}

.gfc .gfc-content .gfc-shop-profile-info > .gfc-actions {
    margin: 0;
}

.gfc .gfc-content .gfc-promotion-products > .gfc-products {
    gap: 0 16px;
}

.gfc .gfc-content .gfc-products > .gfc-product {
    display: block;
    min-width: 0;
    padding: 8px 0;
}

.gfc .gfc-content .gfc-promotion-products .gfc-product:nth-child(n+3) {
    border-top: 1px solid var(--gfc-subtle);
}

.gfc .gfc-content .gfc-products .gfc-product > .gfc-product-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    text-decoration: none;
    font-weight: inherit;
}

.gfc .gfc-content .gfc-product-link > .gfc-product-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin: 0;
    border: 1px solid var(--gfc-subtle);
    border-radius: 8px;
    object-fit: cover;
}

.gfc .gfc-content .gfc-product-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gfc .gfc-content .gfc-product-copy > h3 {
    margin: 0 0 4px;
    color: var(--gfc-accent);
    font-family: inherit;
    font-size: 1rem;
    font-weight: inherit;
    text-decoration: underline;
}

.gfc .gfc-content .gfc-product-link:hover .gfc-product-copy > h3 {
    color: var(--gfc-alt);
}

.gfc .gfc-content .gfc-product-copy > .gfc-meta {
    margin: 0;
}

@media (max-width: 720px) {
    .gfc .gfc-shop-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gfc .gfc-content .gfc-shop-list > :is(.gfc-promotion, .gfc-shop-card) {
        --gfc-shop-cover-size: clamp(66px, 22vw, 98px);
        grid-template-columns: var(--gfc-shop-cover-size) minmax(0, 1fr);
        grid-template-areas: "media copy";
        gap: 10px 12px;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion-main {
        display: contents;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion-copy {
        grid-area: copy;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion-main > .gfc-discount {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion > .gfc-promotion-actions,
    .gfc .gfc-content .gfc-shop-list .gfc-shop-card > .gfc-button {
        grid-area: auto / 1 / auto / -1;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gfc .gfc-content .gfc-shop-list .gfc-promotion-actions > .gfc-button:only-child {
        grid-column: 1 / -1;
    }

    .gfc .gfc-content .gfc-promotion-summary {
        --gfc-shop-cover-size: clamp(68px, 23vw, 112px);
    }

    .gfc .gfc-content .gfc-promotion-products > .gfc-products {
        grid-template-columns: minmax(0, 1fr);
    }

    .gfc .gfc-content .gfc-promotion-products .gfc-product + .gfc-product {
        border-top: 1px solid var(--gfc-subtle);
    }
}
