/* Fix for duplicate product titles */

/* Hide any duplicate titles in overlays */
.product-card .overlay-title,
.product-card-ultimate .overlay-title,
.image-overlay .overlay-title,
.overlay-content h3,
.overlay-content .overlay-title {
    display: none !important;
}

/* Ensure only one title is shown in card content */
.product-card .card-title,
.product-card-ultimate .card-title {
    display: block;
}

/* Remove any pseudo-elements that might duplicate text */
.product-card .card-title::before,
.product-card .card-title::after,
.product-card-ultimate .card-title::before,
.product-card-ultimate .card-title::after,
.product-name::before,
.product-name::after {
    content: none !important;
    display: none !important;
}

/* Fix overlay content positioning */
.image-overlay .overlay-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Make sure description is properly styled in overlay */
.overlay-description {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Ensure card content has proper structure */
.product-card-ultimate .card-content {
    position: relative;
    z-index: 1;
}

/* Hide any additional title elements that might exist */
.product-card-ultimate .product-title,
.product-card-ultimate .item-title,
.product-card .product-title,
.product-card .item-title {
    display: none !important;
}

/* Only show the main card-title */
.product-card-ultimate h3.card-title,
.product-card h3.product-name {
    display: block !important;
}