.allegro-catalog-hero {
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 111, 15, .3), transparent 28%),
        linear-gradient(135deg, #071827 0%, #073e48 56%, #0f7b85 100%);
}

.external-age-gate {
    display: grid;
    min-height: min(68vh, 680px);
    place-items: center;
}

.external-age-gate__card {
    width: min(100%, 680px);
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid rgba(15, 123, 133, 0.2);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 24, 39, 0.12);
    text-align: center;
}

.external-age-gate__mark {
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto 1.25rem;
    place-items: center;
    border: 4px solid #9b244d;
    border-radius: 50%;
    color: #9b244d;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.external-age-gate__card h1 {
    margin: 0.35rem 0 1rem;
}

.external-age-gate__card form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.external-age-gate__card small {
    display: block;
    color: #526271;
}

.external-age-gate__error {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #fff0f3;
    color: #8a173d;
    font-weight: 700;
}

@media (max-width: 560px) {
    .external-age-gate__card form,
    .external-age-gate__card .button {
        width: 100%;
    }
}

.allegro-catalog-hero .page-title-row {
    align-items: center;
}

.allegro-hero-mark {
    display: grid;
    min-width: min(100%, 210px);
    gap: .15rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
    color: #fff;
    text-align: center;
    backdrop-filter: blur(8px);
}

.allegro-hero-mark strong {
    color: #ff9a52;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: -.04em;
}

.allegro-hero-mark small {
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.allegro-catalog-page {
    display: grid;
    gap: 1.25rem;
}

.allegro-disclosure {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(15, 123, 133, .2);
    border-radius: 16px;
    background: linear-gradient(135deg, #effcfa 0%, #f6fbff 100%);
    color: #284759;
    line-height: 1.45;
}

.allegro-disclosure svg {
    width: 30px;
    min-width: 30px;
    fill: none;
    stroke: #0f7b85;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.allegro-catalog-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
    align-items: end;
    gap: .8rem;
}

.allegro-catalog-filters label {
    min-width: 0;
}

.allegro-filter-wide {
    grid-column: span 2;
}

.allegro-filter-actions {
    grid-column: span 2;
}

.allegro-catalog-summary,
.allegro-home-section__header,
.allegro-search-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.allegro-catalog-summary :is(p, h2),
.allegro-home-section__header :is(p, h2),
.allegro-search-section__header :is(p, h2) {
    margin: 0;
}

.allegro-search-notice {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(15, 123, 133, .24);
    border-radius: 16px;
    color: #315365;
    background: linear-gradient(135deg, #eaf9f7, #f5fbfd);
    line-height: 1.45;
}

.allegro-search-notice svg {
    width: 30px;
    min-width: 30px;
    fill: none;
    stroke: #0f7b85;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.allegro-search-notice strong {
    display: block;
    color: #0a5f66;
}

.allegro-search-notice--compact {
    margin-bottom: 1rem;
    padding: .7rem .8rem;
    font-size: .86rem;
}

.allegro-result-group {
    display: grid;
    gap: .8rem;
}

.allegro-result-group + .allegro-result-group {
    margin-top: .45rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(15, 123, 133, .16);
}

.allegro-result-group > h3 {
    margin: 0;
    color: #087168;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .025em;
}

.allegro-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.allegro-product-grid.marketplace-layout-list {
    grid-template-columns: minmax(0, 1fr);
}

.allegro-product-grid.marketplace-layout-list .allegro-product-card__link {
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    grid-template-rows: 1fr;
}

.allegro-product-grid.marketplace-layout-list .allegro-product-card__media {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
    border-right: 1px solid rgba(16, 32, 51, .09);
    border-bottom: 0;
}

.allegro-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 32, 51, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.allegro-product-card:hover,
.allegro-product-card:focus-within {
    border-color: rgba(15, 123, 133, .5);
    box-shadow: 0 20px 45px rgba(16, 32, 51, .13);
    transform: translateY(-2px);
}

.allegro-product-card__link {
    display: grid;
    height: 100%;
    min-width: 0;
    grid-template-rows: auto 1fr;
    color: inherit;
    text-decoration: none;
}

.allegro-product-card__media,
.allegro-detail-media {
    position: relative;
    display: grid;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr);
    place-items: stretch;
    background: linear-gradient(145deg, #f7fafc, #eef5f6);
}

.allegro-product-card__media {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(16, 32, 51, .09);
}

.allegro-product-card__media > img,
.allegro-detail-media > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.allegro-product-card__media > img {
    padding: .45rem;
}

.external-age-preview-note {
    display: block;
    margin-top: .25rem;
    color: #667985;
    font-size: .78rem;
    font-weight: 700;
}

.external-age-product-card {
    border-color: rgba(141, 49, 93, .24);
}

.external-age-product-card__media {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .15), transparent 34%),
        linear-gradient(145deg, #724159, #382331 68%, #241820);
}

.external-age-product-card__visual {
    display: grid;
    min-height: 100%;
    place-content: center;
    justify-items: center;
    gap: .5rem;
    padding: 1rem;
    color: #fff;
    text-align: center;
}

.external-age-product-card__visual strong {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 3px solid currentColor;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
}

.external-age-product-card__visual small {
    max-width: 15ch;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.25;
}

.external-age-product-card .allegro-product-card__detail {
    color: #8d315d;
}

[data-age-locked-search-cards] {
    margin-top: .75rem;
}

.external-age-teaser {
    position: relative;
    display: block;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid rgba(141, 49, 93, .22);
    border-radius: 18px;
    background: #f7edf2;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.external-age-teaser__tiles {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
    filter: blur(15px) saturate(.55);
    transform: scale(1.08);
}

.external-age-teaser__tiles > span {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 36%, rgba(255,255,255,.95) 0 13%, transparent 14%),
        radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.78) 0 25%, transparent 26%),
        linear-gradient(145deg, #b86c91, #63344f 62%, #301a29);
}

.external-age-teaser__tiles > span:nth-child(even) {
    background:
        radial-gradient(circle at 52% 34%, rgba(255,255,255,.88) 0 12%, transparent 13%),
        radial-gradient(ellipse at 48% 72%, rgba(255,255,255,.7) 0 27%, transparent 28%),
        linear-gradient(145deg, #8d6680, #412c49 65%, #211827);
}

.external-age-teaser__message {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .45rem;
    padding: 1rem;
    background: rgba(25, 12, 23, .62);
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .75);
}

.external-age-teaser__message strong {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 3px solid currentColor;
    border-radius: 50%;
    font-size: 1.45rem;
    line-height: 1;
}

.external-age-teaser__message span {
    font-size: 1.05rem;
    font-weight: 900;
}

.external-age-teaser__message small {
    font-size: .82rem;
    font-weight: 800;
}

.external-age-teaser:hover,
.external-age-teaser:focus-visible {
    border-color: rgba(141, 49, 93, .55);
    box-shadow: 0 12px 34px rgba(48, 26, 41, .18);
}

.external-age-teaser:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.allegro-product-card__media > img[hidden],
.allegro-detail-media > img[hidden] {
    display: none !important;
}

.allegro-product-card__fallback {
    display: grid;
    min-height: 0;
    place-items: center;
    gap: .45rem;
    padding: 1rem;
    color: #667985;
    text-align: center;
    font-size: .82rem;
    font-weight: 700;
}

.allegro-product-card__fallback[hidden] {
    display: none;
}

.allegro-product-card__fallback svg {
    width: 46px;
    fill: none;
    stroke: #7f959e;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.allegro-product-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .36rem;
    padding: .72rem;
}

.allegro-source-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: .25rem .52rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .03em;
    line-height: 1;
    text-transform: uppercase;
}

.allegro-source-badge {
    background: #fff0e5;
    color: #bb4d06;
}

.allegro-source-badge--media {
    width: 100%;
    min-height: 20px;
    justify-content: flex-start;
    padding: 0 .55rem;
    border: 0;
    border-radius: 0;
    background: #fff7f1;
    box-shadow: none;
    font-size: .58rem;
    letter-spacing: .075em;
}

.allegro-product-card__category,
.allegro-product-card__brand {
    max-width: 100%;
    overflow: hidden;
    color: #647581;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.allegro-product-card__title {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #102033;
    min-height: 2.48em;
    font-size: .92rem;
    line-height: 1.24;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.allegro-product-card__price-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    margin-top: auto;
}

.allegro-product-card__price {
    color: #087168;
    font-size: 1.08rem;
}

.allegro-product-card__feed-price {
    display: grid;
    min-width: 0;
    gap: .05rem;
}

.allegro-product-card__feed-price > span {
    color: #697b86;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.1;
    text-transform: uppercase;
}

.allegro-product-card__feed-price > strong {
    line-height: 1.15;
}

.allegro-product-card__price-row s {
    color: #7b8790;
    font-size: .78rem;
}

.allegro-product-card__price-note {
    color: #526579;
    font-weight: 800;
}

.allegro-product-card__detail {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #0f6e77;
    margin-left: auto;
    font-size: .76rem;
    font-weight: 900;
}

.allegro-pagination {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid rgba(16, 32, 51, .1);
    border-radius: 16px;
    background: #fff;
}

.allegro-pagination__numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.allegro-pagination a,
.allegro-pagination__numbers span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: .35rem .55rem;
    border-radius: 10px;
    color: #174457;
    font-weight: 800;
    text-decoration: none;
}

.allegro-pagination__numbers .is-current {
    background: #0f7b85;
    color: #fff;
}

.allegro-pagination__edge:last-child {
    justify-self: end;
}

.allegro-pagination .is-disabled {
    color: #9aa7ae;
}

.allegro-product-detail {
    display: grid;
    width: min(100%, 1040px);
    gap: .9rem;
    padding-top: clamp(.75rem, 2vw, 1.25rem);
}

.allegro-detail-breadcrumbs {
    min-width: 0;
    font-size: .86rem;
    overflow-wrap: anywhere;
}

.allegro-detail-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    border: 1px solid rgba(16, 32, 51, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 32, 51, .08);
}

.allegro-detail-media {
    height: clamp(340px, 32vw, 400px);
    min-height: 0;
    grid-template-rows: 20px minmax(0, 1fr);
    border-right: 1px solid rgba(16, 32, 51, .09);
}

.allegro-detail-media > img {
    padding: clamp(.65rem, 1.5vw, 1rem);
}

.allegro-detail-summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
    padding: clamp(.9rem, 1.8vw, 1.15rem);
}

.allegro-detail-summary h1 {
    margin: 0;
    color: #0b2233;
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    letter-spacing: -.035em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.allegro-detail-category,
.allegro-detail-brand {
    margin: 0;
    color: #5e727f;
    font-size: .9rem;
    line-height: 1.35;
}

.allegro-detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .55rem;
    padding-block: .15rem;
}

.allegro-detail-price strong {
    color: #087168;
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

.allegro-detail-price s {
    color: #768792;
}

.allegro-detail-availability {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: #376052;
    font-size: .94rem;
    font-weight: 800;
}

.allegro-detail-availability span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1b8a5a;
    box-shadow: 0 0 0 4px rgba(27, 138, 90, .13);
}

.allegro-detail-purchase {
    display: grid;
    width: 100%;
    gap: .55rem;
    margin-top: .35rem;
    padding: .65rem;
    border: 1px solid rgba(255, 111, 15, .22);
    border-radius: 12px;
    background: #fff8f2;
}

.allegro-detail-purchase p {
    margin: 0;
    color: #4f5f69;
    font-size: .78rem;
    line-height: 1.4;
}

.allegro-external-cta {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: .6rem .75rem;
    background: linear-gradient(135deg, #ed5b0c, #ff7a1a) !important;
    font-size: .82rem;
    line-height: 1.15;
    text-align: center;
}

.allegro-external-unavailable {
    padding: .8rem;
    border-radius: 10px;
    background: #f4f5f6;
    color: #687781;
    font-weight: 800;
    text-align: center;
}

.allegro-detail-section,
.allegro-detail-disclaimer {
    padding: clamp(.9rem, 2vw, 1.1rem);
    border: 1px solid rgba(16, 32, 51, .1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 32, 51, .05);
}

.allegro-detail-section :is(.eyebrow, h2),
.allegro-detail-disclaimer p {
    margin-top: 0;
}

.allegro-detail-description {
    margin-bottom: 0;
    color: #344c5c;
    line-height: 1.6;
    white-space: pre-line;
}

.allegro-parameter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border: 1px solid #e1e8eb;
    border-radius: 14px;
}

.allegro-parameter-list > div {
    display: grid;
    grid-template-columns: minmax(110px, .4fr) minmax(0, .6fr);
    gap: .7rem;
    padding: .75rem .9rem;
    border-bottom: 1px solid #e7ecef;
}

.allegro-parameter-list > div:nth-child(odd) {
    border-right: 1px solid #e7ecef;
}

.allegro-parameter-list dt {
    color: #627681;
    font-weight: 700;
}

.allegro-parameter-list dd {
    min-width: 0;
    margin: 0;
    color: #132b3b;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.allegro-detail-disclaimer {
    background: linear-gradient(135deg, #f2fbfa, #f7fbfd);
    color: #49606d;
}

.allegro-detail-disclaimer > strong {
    color: #087168;
}

.allegro-related-products {
    display: grid;
    gap: .8rem;
}

.allegro-related-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.allegro-related-products__header :is(.eyebrow, h2) {
    margin: 0;
}

.allegro-related-products .allegro-related-products__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .65rem;
}

.allegro-related-products__grid > [hidden] {
    display: none !important;
}

.allegro-related-products .allegro-product-card {
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(16, 32, 51, .07);
}

.allegro-related-products .allegro-product-card__media {
    aspect-ratio: 4 / 3;
}

.allegro-related-products .allegro-source-badge--media {
    min-height: 18px;
    padding-inline: .42rem;
    font-size: .5rem;
}

.allegro-related-products .allegro-product-card__media > img {
    padding: .3rem;
}

.allegro-related-products .allegro-product-card__body {
    gap: .25rem;
    padding: .52rem;
}

.allegro-related-products .allegro-product-card__category {
    font-size: .66rem;
}

.allegro-related-products .allegro-product-card__title {
    min-height: 2.4em;
    font-size: .8rem;
    line-height: 1.2;
}

.allegro-related-products .allegro-product-card__price {
    font-size: .9rem;
}

.allegro-related-products .allegro-product-card__feed-price > span {
    font-size: .56rem;
}

.allegro-related-products .allegro-product-card__price-note,
.allegro-related-products .allegro-product-card__detail {
    font-size: .64rem;
}

.allegro-related-products__actions {
    display: grid;
    justify-items: center;
    gap: .35rem;
    padding-top: .2rem;
}

.allegro-related-products__actions[hidden] {
    display: none;
}

.allegro-related-products__load-more {
    min-height: 42px;
    min-width: min(100%, 230px);
    justify-content: center;
    padding: .6rem 1rem;
}

.allegro-related-products__load-more:disabled {
    cursor: default;
    opacity: .72;
}

.allegro-related-products__status {
    margin: 0;
    color: #647581;
    font-size: .72rem;
    text-align: center;
}

.allegro-home-section,
.allegro-search-section {
    margin-top: clamp(1.25rem, 4vw, 2.5rem);
    padding: clamp(1rem, 3vw, 1.4rem);
    border: 1px solid rgba(15, 123, 133, .15);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(241, 251, 250, .95), rgba(248, 251, 253, .95));
}

.allegro-home-section__header,
.allegro-search-section__header {
    margin-bottom: 1rem;
}

.allegro-section-link {
    flex: 0 0 auto;
    color: #0b727b;
    font-weight: 900;
    text-decoration: none;
}

.allegro-search-section .allegro-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.unified-eshop-search__header {
    align-items: flex-start;
}

.unified-eshop-search__header .eyebrow {
    margin-bottom: .2rem;
}

.unified-eshop-search__summary,
.unified-eshop-search__group-note {
    margin: .28rem 0 0;
    color: #587080;
    font-size: .86rem;
}

.unified-eshop-search .allegro-result-group > .unified-eshop-search__group-note {
    margin-top: -.45rem;
}

.unified-eshop-search__age .external-age-teaser {
    min-height: 210px;
}

.unified-eshop-search__page-summary {
    margin: 1.25rem 0 .55rem;
    color: #587080;
    font-size: .82rem;
    font-weight: 700;
}

.unified-eshop-search__pagination {
    padding: .7rem .8rem;
    border-color: rgba(15, 123, 133, .16);
    box-shadow: none;
}

/* The e-shop hub is intentionally denser than full catalogue/search pages. */
body.public-site .eshops-hub > .section {
    padding-block: 32px;
}

body.public-site .eshops-hub > .eshop-product-groups {
    padding-top: 8px;
}

.eshops-hub .section-heading.compact {
    margin-bottom: .85rem;
}

.eshop-catalog-picker .section-heading h2 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.eshop-catalog-picker .section-heading > p {
    font-size: .84rem;
}

.eshop-catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.eshop-catalog-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: .45rem .78rem;
    border: 1px solid rgba(15, 123, 133, .2);
    border-radius: 999px;
    background: #e5f7f4;
    color: #075d64;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.eshop-catalog-chip:nth-child(4n + 2) {
    border-color: rgba(35, 116, 172, .2);
    background: #eaf3fb;
    color: #175d86;
}

.eshop-catalog-chip:nth-child(4n + 3) {
    border-color: rgba(190, 115, 20, .2);
    background: #fff3df;
    color: #8b570d;
}

.eshop-catalog-chip:nth-child(4n) {
    border-color: rgba(130, 81, 160, .2);
    background: #f4ebfa;
    color: #68407e;
}

.eshop-catalog-chip:hover,
.eshop-catalog-chip:focus-visible {
    border-color: currentColor;
    box-shadow: 0 6px 16px rgba(16, 32, 51, .1);
    transform: translateY(-1px);
}

.eshop-catalog-chip:focus-visible {
    outline: 3px solid rgba(15, 123, 133, .2);
    outline-offset: 2px;
}

.eshops-hub .allegro-home-section {
    margin-top: 1rem;
    padding: .9rem;
    border-radius: 18px;
}

.eshops-hub .allegro-home-section__header {
    margin-bottom: .75rem;
}

.eshops-hub .allegro-home-section__header h2 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eshops-hub .allegro-section-link {
    font-size: .82rem;
}

.eshops-hub .allegro-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .72rem;
}

.eshops-hub .allegro-product-card {
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(16, 32, 51, .07);
}

.eshops-hub .allegro-product-card__media {
    aspect-ratio: 16 / 10;
}

.eshops-hub .allegro-product-card__media > img {
    padding: .3rem;
}

.eshops-hub .allegro-product-card__body {
    gap: .25rem;
    padding: .55rem;
}

.eshops-hub .allegro-product-card__category {
    font-size: .68rem;
}

.eshops-hub .allegro-product-card__title {
    min-height: 2.36em;
    font-size: .8rem;
    line-height: 1.18;
}

.eshops-hub .allegro-product-card__price {
    font-size: .94rem;
}

.eshops-hub .allegro-product-card__feed-price > span,
.eshops-hub .allegro-product-card__detail {
    font-size: .62rem;
}

.eshops-hub .external-age-teaser {
    min-height: 205px;
}

body.public-site .container.allegro-product-detail {
    width: min(1040px, calc(100% - 56px));
}

@media (max-width: 1080px) {
    .allegro-catalog-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .allegro-filter-wide,
    .allegro-filter-actions {
        grid-column: span 1;
    }

    .allegro-product-grid,
    .allegro-search-section .allegro-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .allegro-related-products .allegro-related-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .allegro-hero-mark {
        width: 100%;
    }

    .allegro-catalog-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .allegro-filter-wide,
    .allegro-filter-actions {
        grid-column: 1 / -1;
    }

    .allegro-product-grid,
    .allegro-search-section .allegro-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .allegro-related-products .allegro-related-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .allegro-detail-card {
        grid-template-columns: 1fr;
    }

    .allegro-detail-media {
        height: clamp(240px, 55vw, 340px);
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(16, 32, 51, .09);
    }

    .allegro-detail-summary {
        padding: .85rem;
    }

    .allegro-detail-summary h1 {
        font-size: clamp(1.3rem, 5vw, 1.5rem);
    }

    .allegro-parameter-list {
        grid-template-columns: 1fr;
    }

    .allegro-parameter-list > div:nth-child(odd) {
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .allegro-disclosure,
    .allegro-search-notice,
    .allegro-catalog-summary,
    .allegro-home-section__header,
    .allegro-related-products__header,
    .allegro-search-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .allegro-catalog-filters,
    .allegro-product-grid,
    .allegro-search-section .allegro-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .allegro-related-products .allegro-related-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .allegro-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .allegro-pagination__numbers {
        grid-column: 1 / -1;
        grid-row: 1;
        flex-wrap: wrap;
    }

    .allegro-pagination__edge:last-child {
        justify-self: end;
    }

    .allegro-product-grid.marketplace-layout-list .allegro-product-card__link {
        grid-template-columns: minmax(105px, 36%) minmax(0, 1fr);
    }

    .allegro-product-grid.marketplace-layout-list .allegro-product-card__media {
        min-height: 160px;
    }

    .unified-eshop-search {
        padding: .8rem;
        border-radius: 18px;
    }

    body.public-site .unified-eshop-search .affiliate-search-grid.marketplace-listing-grid.marketplace-layout-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__link {
        grid-template-columns: 108px minmax(0, 1fr);
        grid-template-rows: minmax(126px, auto);
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__media {
        height: 100%;
        min-height: 126px;
        aspect-ratio: auto;
        border-right: 1px solid rgba(16, 32, 51, .09);
        border-bottom: 0;
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__body {
        padding: .62rem;
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__title {
        font-size: .84rem;
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__category {
        font-size: .68rem;
    }

    .unified-eshop-search .affiliate-search-grid .allegro-product-card__price {
        font-size: .94rem;
    }

    .allegro-parameter-list > div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}

@media (max-width: 1120px) {
    .eshops-hub .allegro-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .eshops-hub .allegro-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.public-site .container.allegro-product-detail {
        width: min(1040px, calc(100% - 32px));
    }
}

@media (max-width: 700px) {
    .eshops-hub .allegro-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    body.public-site .container.allegro-product-detail {
        width: min(1040px, calc(100% - 24px));
    }
}

@media (max-width: 420px) {
    .eshops-hub .allegro-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .allegro-product-card,
    .eshop-catalog-chip {
        transition: none;
    }
}
