/* assets/css/public-talent-products.css */
/* 公開商品一覧のスタイル */

.public-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
}

.product-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1em;
    background: #fff;
    text-align: center;
    position: relative;
}

.product-label-wrapper {
    margin-bottom: 0.5em;
}

.product-label {
    display: inline-block;
    color: white;
    padding: 0.3em 0.7em;
    font-size: 0.75em;
    border-radius: 999px;
}

.product-label.downloadable {
    background: #3b82f6;
}

.product-label.physical {
    background: #6b7280;
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.8em;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    margin: 0 0 0.5em;
}

.product-price {
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

.product-status {
    margin-top: 0.4em;
}

.product-status.allowed {
    color: #10b981;
}

.product-status.restricted {
    color: #888;
}

.product-button {
    margin-top: 0.8em;
    display: inline-block;
    color: white;
    padding: 0.4em 1em;
    border-radius: 6px;
    text-decoration: none;
}

.product-button.allowed {
    background: #10b981;
}

.product-button.restricted {
    background: #f43f5e;
    margin-top: 0.6em;
}

/* ページネーション */
.pagination-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 2em;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-block;
    padding: 0.5em 1em;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
}

.pagination-current {
    display: inline-block;
    padding: 0.5em 1em;
    background: #ec4899;
    color: white;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: bold;
}

.pagination-info {
    margin-top: 1em;
    font-size: 0.85em;
    color: #666;
}

