.product-page {
    margin: 30px auto;
    padding: 0 24px 40px;
}

.product-form {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.product-form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
}

.product-form input[type="text"] {
    margin-top: 6px;
    padding: 10px 12px;
    min-width: 260px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 15px;
}

.product-form button {
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.product-summary {
    margin: 0 0 20px 0;
    color: #475569;
    font-size: 15px;
}

.folder-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    margin-bottom: 30px;
    padding: 20px 22px;
}

.folder-section h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #1f2933;
}

.folder-count {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.image-card__preview {
    width: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
}

.image-card img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.image-card span {
    margin-top: 10px;
    font-size: 12px;
    color: #3d4852;
    text-align: center;
    word-break: break-word;
}

.empty-state {
    margin-top: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 16px;
}
