.ProductShow {
    position: relative;
}

.category-product-loading {
    position: absolute;
    top: 12px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    box-sizing: border-box;
    max-width: calc(100% - 24px);
    padding: 9px 14px;
    border: 1px solid #dce6e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .12);
    color: #334c42;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.category-product-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 7px;
    border: 2px solid #d8e8df;
    border-top-color: #398761;
    border-radius: 50%;
    vertical-align: middle;
    animation: category-product-spin .8s linear infinite;
}

.category-product-loading-error {
    color: #9b3636;
    border-color: #efd6d6;
    white-space: normal;
}

.category-product-loading-error .category-product-loading-spinner {
    display: none;
}

.category-product-empty {
    grid-column: 1 / -1;
    box-sizing: border-box;
    min-height: 190px;
    padding: 28px 16px;
    border: 1px solid #e8ecea;
    border-radius: 8px;
    background: #fafcfb;
    color: #596961;
    text-align: center;
}

.category-product-empty strong,
.category-product-empty span {
    display: block;
}

.category-product-empty strong {
    margin: 8px 0;
    color: #344b40;
}

.category-product-empty-icon {
    color: #8bad9b;
    font-size: 32px;
    line-height: 1;
}

@keyframes category-product-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .category-product-loading-spinner { animation: none; }
}
