/* "You may also like" small list widget — content-product-small.php */
.product_list_widget li.saam-product-small {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.product_list_widget li.saam-product-small:last-child {
    margin-bottom: 0;
}

.product_list_widget .saam-product-small .product-card {
    width: 100%;
}

/* Default WooCommerce loop item (content-product.php) — cross-sells, [products] shortcode, up-sells grid... */
.saam-product-col .product-card {
    width: 100%;
}

/* Product grid — wraps .product-card items on archive/shop page */
.saam-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 28px 24px;
    margin: 24px 0;
}

.saam-product-grid .product-card {
    width: auto;
}

@media (max-width: 549px) {
    .saam-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 12px;
    }
}

/* Product Card — [saam_product_card] */
.product-card,
.product-card * {
    box-sizing: border-box;
}

.product-card {
    width: 260px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 12px;
    border: 1px solid #eaeaea;
    font-family: Arial, Helvetica, sans-serif;
}

.product-image-container {
    display: flex !important;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    height: 220px;
    overflow: hidden;
}

.product-discount-badge {
    display: flex;
    flex: none;
    width: 38%;
    align-items: center;
    justify-content: center;
    background-color: #e91c6a;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.product-image-container .product-image {
    flex: 1;
    min-height: 0;
}

.product-image {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.product-info {
    padding-top: 12px;
}

.product-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #888888;
}

.product-meta strong {
    color: #333333;
}

.product-title {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
    text-transform: uppercase;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.price-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.original-price {
    font-size: 12px;
    color: #888888;
    text-decoration: line-through;
}

.product-card .product-image-container {
    min-height: 348px;
    overflow: visible !important;
}

.blog-home .post-item {
    padding-bottom: 0;
}

.price-right {
    display: flex;
    align-items: baseline;
    color: #e60000;
    font-weight: bold;
    line-height: 1;
}

.current-price {
    font-size: 30px;
    letter-spacing: -1px;
}

.currency {
    margin-left: 4px;
    font-size: 14px;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #e6126f;
    color: #ffffff !important;
    border: none;
    padding: 10px 0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover,
.add-to-cart-btn:focus {
    background-color: #c80d5d;
    color: #ffffff !important;
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .product-card .product-image-container {
        min-height: auto !important;
        height: auto !important;
    }



}