/* Product information is a fixed tab row. Clip does not create a scrollport. */
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    overflow: hidden !important;
    overflow: clip !important;
    overscroll-behavior: none;
    touch-action: pan-y pinch-zoom !important;
    cursor: default;
    border-bottom: 1px solid #d9e0e9;
    scroll-snap-type: none;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button:nth-child(n) {
    width: auto !important;
    min-width: 0;
    max-width: none;
    min-height: 46px;
    margin: 0;
    padding: 0 4px;
    touch-action: pan-y pinch-zoom !important;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button::after {
    content: none;
    border: 0;
    box-shadow: none;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button[aria-selected="true"]::after {
    content: '';
    right: 4px;
    bottom: 0;
    left: 4px;
    height: 2px;
    background: var(--adria-v2-action, #0042ec);
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info::after {
    display: none !important;
}

/* Pointer navigation must not paint a browser focus ring around the panel. */
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__panel:focus:not(:focus-visible) {
    outline: none;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__panel:focus-visible,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button:focus-visible {
    outline: 2px solid var(--adria-v2-action, #0042ec);
    outline-offset: -3px;
}

@media (max-width: 599px) {
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs {
        grid-template-columns: repeat(5, max-content);
        justify-content: space-between;
        gap: 1px;
        padding-inline: clamp(4px, 2vw, 10px);
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button,
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info__tabs button:nth-child(n) {
        padding-inline: 0;
        font-size: clamp(10px, 3.2vw, 12.5px);
    }
}
