/**
* Theme Name: Urna Child
* Description: This is a child theme for Urna
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 2.5.10
* Template: urna
*/


/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */


/* =================================================================== */
/* 1. MAIN PRODUCT CARD CONTAINER
/* =================================================================== */
/* This styles the overall box for each product */

.product-block.grid.v2 {
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 8px; /* Softer, rounded corners */
   
}

/* Add a "lift" effect when the user hovers over the card */
.product-block.grid.v2:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* =================================================================== */
/* 2. PRODUCT IMAGE & HOVER EFFECTS
/* =================================================================== */
/* This section handles the image and the buttons that appear on top */

/* Image zoom effect on hover */
.product-block .image img {
    width: 100%;
    height: auto;
    display: block; /* Removes any extra space below the image */
    transition: transform 0.4s ease;
}

.product-block:hover .image img {
    transform: scale(1.05); /* Zoom in effect */
}

/* Style for the "Sale" and "Hot" badges */
.product-block .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between badges if both are present */
}

.product-block .onsale span {
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1;
}

.product-block .onsale .saled {
    background-color: #d9534f; /* A nice red for sales */
}

.product-block .onsale .featured {
    background-color: #5bc0de; /* A cool blue for featured */
}


/* =================================================================== */
/* 3. ACTION BUTTONS (ADD TO CART, WISHLIST, QUICK VIEW)
/* =================================================================== */
/* These buttons will be hidden by default and appear on hover */


/* Show the buttons on product hover */


/* General styling for all action buttons */


/* Hide the text labels on the buttons to keep it icon-only */



/* =================================================================== */
/* 4. CAPTION AREA (TITLE, STORE, PRICE)
/* =================================================================== */
/* This styles the text content below the image */

.product-block .caption {
    padding: 20px;
}

/* Product Title */
.product-block .caption h3.name a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-block .caption h3.name a:hover {
    color: #d9534f; /* Your theme's primary link color */
}

/* "Sold By" / Store Info */
.product-block .wcfmmp_sold_by_container {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}



.product-block .wcfmmp_sold_by_logo {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}
@media (max-width: 767px) {
    .tbay-show-cart-mobile .product-block:not(.vertical):not(.list) .caption {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin-top: -60px;
    }
	.caption .wcfmmp_sold_by_label {
    display: none;
}
	    .product-block .name {
      font-size:12px;
    }
}
@media (max-width: 767px) {
    .tbay-show-cart-mobile .product-block:not(.vertical):not(.list) {
        
        border-radius: 12% 0% 12% 1%;
    }
}
