/* Components: shop product card sizing and spacing. */

/* تنظیمات کارت محصول در ویترین */
.shop-product-card .product-info {
    justify-content: flex-start;
    gap: 0;
}

.shop-product-card .shop-product-price {
    font-size: 0.84rem;
    margin: -2px 0 0 !important;
    line-height: 1.2;
    display: block;
    min-height: 34px;
    order: 1;
}

.shop-product-card .product-info h3 {
    margin: 0 !important;
    line-height: 1.2 !important;
    order: 0;
}

.shop-product-card .shop-product-store {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1px;
    line-height: 1.2;
    order: 2;
}

#shop-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.shop-load-more-sentinel {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px 20px;
    color: #64748b;
    font-size: 0.9rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    /* Appending a page before this element must not keep it pinned inside the
       viewport; otherwise IntersectionObserver immediately requests again. */
    overflow-anchor: none;
}

.shop-load-more-sentinel:disabled {
    cursor: wait;
    opacity: 0.72;
}

.shop-load-more-sentinel.is-auto-load {
    cursor: default;
}

.shop-load-more-spinner {
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
