.pro2-brand-grid,
.pro2-product-list {
    display: grid;
    gap: 12px;
}

.pro2-brand-item,
.pro2-product-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel-strong);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pro2-brand-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    color: inherit;
    text-align: left;
}

.pro2-brand-item:hover,
.pro2-product-item:hover,
.pro2-catalog-brand-link:hover {
    border-color: var(--border-strong);
}

.pro2-brand-item__logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.pro2-brand-item__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
    filter: none !important;
    mix-blend-mode: normal;
    background: transparent;
}

.pro2-brand-item__logo span {
    font-size: 1.4rem;
    font-weight: 800;
}

.pro2-brand-item__meta strong,
.pro2-product-item__title strong {
    display: block;
    margin-bottom: 4px;
}

.pro2-brand-item__meta span,
.pro2-product-item__meta,
.pro2-empty {
    color: var(--text-soft);
}

.pro2-empty--search {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    padding: 24px 24px 22px;
    border-style: solid;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 62%),
        var(--panel-strong);
    box-shadow: 0 10px 22px rgba(8, 15, 26, 0.05);
    text-align: center;
}

.pro2-empty__eyebrow {
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pro2-empty__title {
    color: var(--text);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.35;
}

.pro2-empty__message {
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 34ch;
}

.pro2-empty__query {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    cursor: pointer;
}

.pro2-empty__query strong {
    color: var(--text);
    font-weight: 700;
}

.pro2-empty__filters {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.pro2-empty__filters-title {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.pro2-empty__filters-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pro2-empty__reset {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pro2-empty__query:hover strong,
.pro2-empty__reset:hover {
    color: var(--text);
}

.pro2-empty__action {
    min-height: 40px;
    margin-top: 2px;
}

.pro2-product-item {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.pro2-product-item.is-selected {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 1px rgba(88, 209, 201, 0.18) inset, 0 12px 30px rgba(7, 17, 31, 0.16);
    transform: translateY(-1px);
}

.pro2-product-item__main {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.pro2-product-item__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    grid-template-areas:
        "title actions"
        "meta actions"
        "badges actions"
        "prices actions";
    gap: 10px 16px;
    min-width: 0;
}

.pro2-product-item__thumb {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    display: grid;
    place-items: center;
    position: relative;
    align-self: start;
    isolation: isolate;
}

.pro2-image-skeleton {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    border-radius: inherit;
    opacity: 1;
    transition: opacity 220ms ease, visibility 220ms ease;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
        linear-gradient(180deg, rgba(79, 208, 191, 0.12), rgba(79, 208, 191, 0.03)),
        var(--skeleton-base);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pro2-image-skeleton.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.pro2-image-skeleton::before {
    content: '';
    position: absolute;
    inset: 14% 12%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
}

.pro2-product-item__thumb img,
.pro2-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
    filter: none !important;
    mix-blend-mode: normal;
    background: rgba(255, 255, 255, 0.02);
    transition: opacity 220ms ease;
}

.pro2-product-item__thumb img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.pro2-image.is-loaded {
    opacity: 1 !important;
}

.pro2-product-item__thumb span {
    font-size: 1.6rem;
    font-weight: 800;
}

.pro2-product-item__title {
    grid-area: title;
    min-width: 0;
}

.pro2-product-item__title strong {
    margin: 0;
    min-width: 0;
}

.pro2-product-item__title strong a {
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.pro2-product-item__meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.92rem;
}

.pro2-product-item__article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 4px;
}

.pro2-product-item__article-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro2-product-item__article-value {
    white-space: nowrap;
}

.pro2-product-item__badges {
    grid-area: badges;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
}

.pro2-product-item__prices {
    grid-area: prices;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: flex-start;
    align-content: flex-start;
}

.pro2-access-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(145, 174, 217, 0.28);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pro2-access-action:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(145, 174, 217, 0.4);
    color: var(--text);
    transform: translateY(-1px);
}

.pro2-access-action:focus-visible {
    outline: none;
    border-color: rgba(88, 209, 201, 0.56);
    box-shadow: 0 0 0 3px rgba(88, 209, 201, 0.14);
}

.pro2-access-action--wholesale {
    border-style: solid;
    border-color: rgba(88, 209, 201, 0.32);
    background: rgba(88, 209, 201, 0.08);
}

.pro2-access-action--stock {
    border-radius: 999px;
    min-height: 28px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.06);
}

.pro2-access-action--cart {
    border-style: solid;
    border-color: rgba(88, 209, 201, 0.34);
    background: rgba(88, 209, 201, 0.1);
}

.pro2-access-action--cart-inline {
    min-width: 44px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    justify-content: center;
}

.pro2-access-action--cart-inline svg {
    width: 18px;
    height: 18px;
}

.pro2-product-item__actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
    align-self: stretch;
}

.pro2-product-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.pro2-product-quick-actions > .pro2-button,
.pro2-product-quick-actions .pro2-selection-action {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    justify-content: center;
}

.pro2-product-quick-action--open .pro2-icon {
    width: 22px;
    height: 22px;
}

.pro2-product-list.is-grid {
    --pro2-grid-min: 260px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--pro2-grid-min), 1fr));
    align-items: stretch;
    gap: 14px;
}

.pro2-product-list.is-grid > .pro2-empty {
    grid-column: 1 / -1;
    justify-self: stretch;
}

.pro2-product-list.is-grid .pro2-product-item {
    min-width: 0;
    max-width: none;
    padding: 12px;
    gap: 10px;
}

.pro2-product-list.is-grid .pro2-product-item__main {
    grid-template-columns: 1fr;
    gap: 12px;
}

.pro2-product-list.is-grid .pro2-product-item__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 240px;
    border-radius: 16px;
    min-height: 0;
    overflow: hidden;
    align-self: start;
}

.pro2-product-list.is-grid .pro2-product-item__thumb img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.pro2-product-list.is-grid .pro2-product-item__body {
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "meta"
        "badges"
        "prices"
        "actions";
    gap: 8px;
}

.pro2-product-list.is-grid .pro2-product-item__title strong a {
    -webkit-line-clamp: 3;
}

.pro2-product-list.is-grid .pro2-product-item__meta {
    gap: 6px 10px;
    font-size: 0.86rem;
}

.pro2-product-list.is-grid .pro2-product-item__badges {
    gap: 6px;
}

.pro2-product-list.is-grid .pro2-inline-badge {
    min-height: 24px;
    padding: 0 9px;
    font-size: 0.72rem;
}

.pro2-product-list.is-grid .pro2-inline-badge--stock .pro2-inline-badge__label {
    min-width: 0;
}

.pro2-product-list.is-grid .pro2-inline-badge--stock {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.pro2-product-list.is-grid .pro2-inline-badge--stock .pro2-inline-badge__leader {
    position: relative;
    display: block;
    min-width: 0;
    height: 1em;
}

.pro2-product-list.is-grid .pro2-inline-badge--stock .pro2-inline-badge__leader::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 3px);
    border-bottom: 1px dotted color-mix(in srgb, var(--text-soft) 44%, transparent);
}

.pro2-product-list.is-grid .pro2-product-item__prices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.pro2-product-list.is-grid .pro2-price-chip {
    grid-template-columns: minmax(0, 1fr) max-content;
    padding: 7px 9px;
    min-width: 0;
    gap: 7px;
}

.pro2-product-list.is-grid .pro2-price-chip__code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    line-height: 1.1;
}

.pro2-product-list.is-grid .pro2-price-chip strong {
    font-size: 0.9rem;
    white-space: nowrap;
}

.pro2-product-list.is-grid .pro2-price-chip--primary strong {
    font-size: 1rem;
}

.pro2-product-list.is-grid .pro2-product-item__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
}

.pro2-product-list.is-table .pro2-product-item__prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    align-content: flex-start;
}

.pro2-product-list.is-table .pro2-product-item__article {
    display: inline-flex;
    grid-template-columns: none;
    align-items: baseline;
    gap: 6px;
    width: auto;
    max-width: 100%;
    padding-right: 0;
}

.pro2-product-list.is-table .pro2-product-item__article-label,
.pro2-product-list.is-table .pro2-product-item__article-value {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.pro2-product-list.is-table .pro2-price-chip {
    width: auto;
    max-width: 100%;
}

.pro2-product-list.is-table .pro2-inline-badge--stock {
    width: auto;
    max-width: 100%;
}

.pro2-pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.pro2-load-more {
    display: flex;
    justify-content: stretch;
    margin-top: 18px;
    width: 100%;
}

.pro2-load-more__button {
    width: 100%;
}

.pro2-page-button,
.pro2-page-gap {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
}

.pro2-page-button {
    cursor: pointer;
}

.pro2-page-button.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
    color: var(--accent-contrast);
    font-weight: 800;
}

.pro2-empty,
.pro2-error {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed var(--border);
}

.pro2-error {
    color: var(--error-text);
    border-style: solid;
    border-color: var(--error-border);
    background: var(--error-panel-bg);
}

.pro2-product-item--skeleton {
    pointer-events: none;
}

.pro2-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--skeleton-base);
}

.pro2-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
    animation: pro2-skeleton 1.25s ease infinite;
}

.pro2-skeleton--title {
    height: 28px;
    width: min(70%, 420px);
    margin-bottom: 12px;
}

.pro2-skeleton--meta {
    height: 16px;
    width: 100%;
    margin-bottom: 10px;
}

.pro2-skeleton--meta.short {
    width: 68%;
    margin-bottom: 14px;
}

.pro2-live-skeleton-chip {
    display: block;
    width: 100%;
    max-width: 210px;
    height: 36px;
    border-radius: 12px;
}

.pro2-live-skeleton-chip--short {
    width: clamp(120px, 78%, 170px);
}

.pro2-live-skeleton-badge {
    display: inline-flex;
    flex: 0 1 auto;
    width: clamp(96px, 62%, 120px);
    max-width: 100%;
    height: 28px;
    border-radius: 999px;
}

.pro2-live-skeleton-badge--short {
    width: clamp(112px, 82%, 180px);
}

.pro2-live-skeleton-line {
    display: block;
    width: 100%;
    height: 18px;
    border-radius: 10px;
}

.pro2-live-skeleton-line--short {
    width: 62%;
}

.pro2-live-skeleton-stack {
    display: grid;
    gap: 10px;
    width: 100%;
}

.pro2-filter--skeleton {
    pointer-events: none;
}

.pro2-filter-title-skeleton {
    display: block;
    width: 42%;
    height: 18px;
    border-radius: 999px;
}

.pro2-filter-chip-skeleton {
    display: inline-flex;
    width: 118px;
    height: 38px;
    border-radius: 999px;
}

.pro2-filter-chip-skeleton--short {
    width: 84px;
}

.pro2-price-filter-skeleton {
    display: grid;
    gap: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border);
}

.pro2-price-filter-skeleton:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pro2-price-filter-skeleton__title {
    display: block;
    width: 36%;
    height: 16px;
    border-radius: 999px;
}

.pro2-price-filter-skeleton__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pro2-price-filter-skeleton__field {
    display: grid;
    gap: 8px;
}

.pro2-price-filter-skeleton__label {
    display: block;
    width: 60%;
    height: 14px;
    border-radius: 999px;
}

.pro2-price-filter-skeleton__input {
    display: block;
    width: 100%;
    height: 48px;
    border-radius: 16px;
}

.pro2-sidebar-loading-fill {
    display: grid;
    gap: var(--pro2-sidebar-loading-gap, 18px);
    align-content: start;
    min-height: 100%;
}

.pro2-locked {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.pro2-locked__card {
    width: min(620px, 100%);
    padding: 36px;
    text-align: center;
}

.pro2-locked__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
