.product-description img {
    width: 80%; /* Adjust based on container */
    max-width: 125px; /* Prevents it from being too large */
    height: auto; /* Keep aspect ratio */
}
/* Make product description images smaller */
.controlled-image {
    max-width: 300px; /* You can adjust this number */
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* main product image card */
.card.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 8px;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease;
}

.card.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card.product-card .card-img-top {
    height: 160px;
    object-fit: contain;
    padding: 8px;
    background-color: #fff;
}

.card.product-card .card-body {
    flex-grow: 1;
    padding: 0.75rem;
    font-size: 14px;
    
}

.card.product-card .card-title {
    color: var(--color-text-main);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card.product-card .btn {
    font-size: 12px;
    padding: 4px 10px;
}
/* Section spacing */
.product-meta-section {
    padding-top: 0.5rem;
}

/* Section label styling (same philosophy as form labels) */
.product-meta-section .section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Improve tag spacing */
.product-meta-section .badge {
    font-weight: 500;
    padding: 0.5em 0.65em;
    border-radius: 0.4rem;
}

/* Optional: soften secondary button */
.product-meta-section .btn-secondary {
    border-radius: 0.4rem;
}

/* Optional: cleaner outline button */
.product-meta-section .btn-outline-success {
    border-radius: 0.4rem;
}
#variantTableContainer img {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.category-pill {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    background: #eee;
    color: #333;
    transition: all 0.2s ease;
}

.category-pill:hover {
    background: #ddd;
}

.category-pill.active {
    background: #000;
    color: #fff;
}