/* =========================================================
   PRIBERT TOOLS - CLEAN PRODUCT CARDS
   NO GREY PANELS
   ========================================================= */


/* PRODUCT CARD */

.product-miniature {
    background: #ffffff !important;
    border: 2px solid #e4e4e4 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}


/* BLUE HOVER FRAME */

.product-miniature:hover {
    border-color: #0066cc !important;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.15) !important;
    transform: translateY(-3px);
}


/* IMAGE AREA */

.product-miniature .thumbnail-container {
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
}


/* IMAGE */

.product-miniature .thumbnail-container img {
    background: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.product-miniature:hover .thumbnail-container img {
    transform: scale(1.03);
}


/* =========================================================
   FORCE REMOVE ALL GREY FROM PRODUCT INFORMATION
   ========================================================= */

.product-miniature .product-description,
.product-miniature .product-meta,
.product-miniature .product-price-and-shipping,
.product-miniature .product-title,
.product-miniature .product-title a {
    background: #ffffff !important;
    background-color: #ffffff !important;
}


/* PRODUCT DESCRIPTION */

.product-miniature .product-description {
    padding: 12px 5px !important;
    margin-top: 10px !important;
    text-align: center !important;
    border: none !important;
    box-shadow: none !important;
}


/* PRODUCT NAME */

.product-miniature .product-title,
.product-miniature .product-title a {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    display: block !important;
    width: 100% !important;
    text-align: center !important;
}


/* PRICE */

.product-miniature .product-price-and-shipping {
    text-align: center !important;
    margin-top: 8px !important;
    padding: 0 !important;
}


/* CURRENT PRICE */

.product-miniature .price {
    color: #0066cc !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: transparent !important;
}


/* OLD PRICE */

.product-miniature .regular-price {
    color: #888888 !important;
    font-size: 13px !important;
    text-decoration: line-through !important;
    background: transparent !important;
}


/* SALE LABEL */

.product-miniature .product-flag.on-sale {
    background: #0066cc !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}


/* DISCOUNT LABEL */

.product-miniature .product-flag.discount {
    background: #f39d72 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}


/* WISHLIST HEART */

.product-miniature .wishlist-button-add {
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}


/* MOBILE */

@media (max-width: 767px) {

    .product-miniature {
        padding: 10px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
    }

    .product-miniature .product-title,
    .product-miniature .product-title a {
        font-size: 15px !important;
    }

    .product-miniature .price {
        font-size: 23px !important;
    }

}lor: #ffffff !important;
    border-radius: 4px !important;
}


/* ---------------------------------------------------------
   WISHLIST HEART
   --------------------------------------------------------- */

.product-miniature .wishlist-button-add {
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}


/* ---------------------------------------------------------
   MOBILE RESPONSIVE FIX
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .product-miniature {
        border-radius: 12px !important;
        margin-bottom: 20px !important;
    }

    .product-miniature .product-description {
        padding: 14px 10px !important;
        min-height: 95px !important;
    }

    .product-miniature .product-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }

    .product-miniature .price {
        font-size: 23px !important;
    }

}


/* ---------------------------------------------------------
   TABLET / DESKTOP
   --------------------------------------------------------- */

@media (min-width: 768px) {

    .product-miniature .product-description {
        min-height: 100px !important;
    }

}t-title {
    display: block !important;
    height: auto !important;
    min-height: 45px !important;
    max-height: none !important;

    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    line-clamp: unset !important;
}

.product-miniature .product-title a {
    display: block !important;
    height: auto !important;
    max-height: none !important;

    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    line-clamp: unset !important;

    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}/* =========================================
   REDUCE EXCESSIVE PRODUCT CARD WHITE SPACE
   ========================================= */

.product-miniature {
    height: auto !important;
    min-height: 0 !important;
}

.product-miniature .thumbnail-container {
    height: auto !important;
    min-height: 0 !important;
}

.product-miniature .thumbnail-top {
    height: auto !important;
    min-height: 0 !important;
}

.product-miniature .thumbnail-container img {
    max-height: 260px;
    width: auto;
    object-fit: contain;
}

/* Reduce spacing below image */
.product-miniature .product-description {
    padding-top: 5px !important;
}

/* Mobile-specific improvements */
@media (max-width: 767px) {

    .product-miniature {
        padding: 10px !important;
        margin-bottom: 15px !important;
    }

    .product-miniature .thumbnail-container img {
        max-height: 220px;
    }

    .product-miniature .product-title {
        font-size: 15px !important;
        line-height: 1.35 !important;
        margin-top: 5px !important;
    }

}/* =========================================
   PRIBERT TOOLS - FORCE FULL PRODUCT TITLES
   FINAL OVERRIDE
   ========================================= */

/* Remove all title truncation rules */
.products .product-miniature h3.product-title,
.products .product-miniature h3.product-title a,
.product-miniature h3.product-title,
.product-miniature h3.product-title a {
    display: block !important;

    height: auto !important;
    min-height: 45px !important;
    max-height: none !important;

    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    line-clamp: unset !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Make sure the title container itself isn't restricting height */
.product-miniature .product-description {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Remove any hidden overflow from product information */
.product-miniature .product-meta {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}