/* ==========================================================================
   ELEGANT PRODUCT CARD 
   ========================================================================== */
#manufacturing-products .nav-pills .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    background-color: #f1f1f1;
    border-radius: 50px;
    padding: 12px 30px;
    margin: 0 5px;
    transition: all 0.3s ease;
    opacity: 1 !important; /* This forces the inactive tabs to be visible */
}

/* Style for the currently active tab */
#manufacturing-products .nav-pills .nav-link.active,
#manufacturing-products .nav-pills .show > .nav-link {
    background-color: var(--brand-primary, #ec73fc) !important; /* Use brand color */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover effect for inactive tabs */
#manufacturing-products .nav-pills .nav-link:not(.active):hover {
    background-color: #e0e0e0;
    color: #333;
}

#manufacturing-products .tab-content {
    padding-top: 2rem;
}

#manufacturing-products .nav-pills .nav-link {
    opacity: 1 !important; /* Force the tabs to be visible on page load */
}

/* .product-card-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1 / 1; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.product-card-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-card-image-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.product-card-v2:hover .product-card-image-background {
    transform: scale(1.1);
}

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    padding: 1.5rem; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    transform: translateY(calc(100% - 80px)); 
    transition: transform 0.4s ease-out;
}

.product-card-v2:hover .product-card-overlay {
    transform: translateY(0);
}

.product-card-overlay .overlay-content {
    flex-shrink: 0;
}

.product-card-overlay .product-category {
    font-size: 11px; 
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.product-card-v2:hover .product-category {
    opacity: 1;
    transform: translateY(0);
}

.product-card-overlay .product-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem; 
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.product-card-overlay .product-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px; 
    color: var(--brand-primary, #ec73fc);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.product-card-v2:hover .product-cta {
    opacity: 1;
    transform: translateY(0);
} */

/* ==========================================================================
   MODERN PRODUCT CARD STYLES (V3)
   ========================================================================== */

/* This targets the link that wraps the card content */
.product-card-modern a.card-link {
    text-decoration: none;
    color: inherit; 
    display: block;
    height: 100%;
}

/* Main card container styling */
.product-card-modern {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Elegant hover effect */
.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Image styling - controls the height */
.product-card-modern .card-img-top {
    height: 240px; 
    object-fit: contain; 
}

.product-card-modern .card-body {
    padding: 1.25rem;
}

/* Title styling */
.product-card-modern .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
}

/* Category text styling */
.product-card-modern .card-text.small {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Styling for the CTA button */
.product-card-modern .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Enhances the button on card hover for a more interactive feel */
.product-card-modern:hover .btn {
    background-color: var(--bs-primary);
    color: #fff;
}

.product-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--brand-primary, #ec73fc); 
    text-decoration: none;
    transition: color 0.3s ease;
}