.approved-portal {
    --phase-bg: #f1f5fa;
    color: #132d39;
}

#approved-region-form { display: grid; gap: 11px; }
#approved-region-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #c8d1cc;
    border-radius: 7px;
    font-family: inherit;
    font-size: 15px;
}
#approved-region-form button { justify-self: start; }

.approved-cart-icon { width: 24px; height: 24px; object-fit: contain; }
.approved-portal .btn-primary .approved-cart-icon,
.approved-portal .catalog-item__btn img { filter: brightness(0) invert(1); }
.approved-portal #addToCartButton .fa-shopping-cart,
.approved-portal .flying-item .fa-shopping-cart { display: none; }
.approved-portal #addToCartButton::before,
.approved-portal .flying-item::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
    background: url("/resources/portal/img/mini-cart.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
}
.approved-portal .flying-item::before { margin: 6px; }

.approved-portal :is(.catalog__header h1, .product-card__title, .company-page h1, .approved-company-prices h1) {
    font-family: Onest, Arial, sans-serif;
    font-size: clamp(24px, 2.28vw, 31px);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.approved-tabs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-block: 12px 18px; border-bottom: 1px solid #d5dfeb; }
.approved-tabs a { padding: 9px 2px; color: #38536b; text-decoration: none; }
.approved-tabs a[aria-current] { border-bottom: 2px solid #2457c7; color: #2457c7; font-weight: 550; }
.approved-company-prices table { max-width: 100%; }
.approved-portal .ads__search { max-width: 100%; min-width: 0; }
.approved-portal .catalog-item__description { overflow-wrap: anywhere; }

@media (max-width: 767px) {
    .approved-portal .catalog__body:has(> .sidebar):has(> .catalog__content) { grid-template-columns: minmax(0,1fr); }
    .approved-company-prices .content { min-width: 0; overflow-x: auto; }
    .approved-portal .product-card { flex-wrap: wrap; }
}

.approved-portal .product-card--page {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .85fr);
    align-items: start;
    gap: 18px;
    width: 100%;
    margin-inline: 0;
}
.approved-portal .product-card--page > * { grid-area: auto; }
.approved-portal .product-card--page > *,
.approved-portal .approved-company-prices .content {
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.approved-portal .product-card--page .product-card__provider {
    margin: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--phase-line);
    border-radius: 10px;
}
.approved-portal .product-page .similar-products__row > .row { margin-inline: 0; }
.approved-portal .approved-company-prices .content { overflow-x: auto; }
.approved-portal .approved-company-prices .priceRow td:first-child {
    white-space: normal;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .approved-portal .product-card--page { grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
    .approved-portal .product-page .breadcrumbs { min-width: 0; }
    .approved-portal .product-page .product-item__provider { min-width: 0; overflow-wrap: anywhere; }
}
