/* Ensure the Recently Viewed Products section is styled properly */
.rvp-container {
    margin: 20px 0;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.rvp-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.rvp-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.rvp-products li {
    text-align: left;
}

.rvp-products img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.rvp-products img:hover {
    transform: scale(1.05);
}

.rvp-products .rvp-product-title {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 5px;
}

.rvp-products .rvp-product-title:hover {
    color: #0073aa;
}

/* Fallback styling for simple layout so it looks clean inside My Account and any page */
.rvp-simple-layout ul,
.rvp-simple-layout li {
    list-style: none !important;
}

.rvp-simple-layout ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.rvp-simple-layout a {
    text-decoration: none !important;
}

.rvp-simple-layout a:hover {
    text-decoration: none !important;
}


.rvp-product-image:hover + .rvp-product-info {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.rvp-product-info {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 5px 5px 0px;
    transition: opacity 0.3s ease-in-out;
}

.product a:hover .rvp-product-info {
    opacity: 1;
}

.product:hover .rvp-product-info {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}


/* Sidebar widget styling */
.widget_rvp_widget {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.widget_rvp_widget .rvp-title {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
}

/* My Account tab styling */
.woocommerce-MyAccount-content .rvp-container {
    padding: 20px;
}

.woocommerce-MyAccount-content .rvp-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: left;
}

/* Widget Styling */
.rvp-recently-viewed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rvp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rvp-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit;
    width: 100%;
}

.rvp-thumbnail {
    flex-shrink: 0;
}

.rvp-thumbnail img {
    width: 50px;
    height: auto;
    border-radius: 5px;
    display: block;
}

.rvp-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.rvp-recently-viewed-list .rvp-item  .rvp-link .rvp-info {
	margin-left:10px !important;
	}


.rvp-name {
color:#111111 !important;
    font-weight: normal;
    margin-bottom: 2px;
	font-family: 'Fjalla One', sans-serif !important;
	letter-spacing: .2px;	
	text-transform:none !important;
}

/*
.rvp-show-all a {
font-weight: normal;
	font-family: 'Fjalla One', sans-serif !important;
	letter-spacing: .2px;
	font-size:15px;
	text-decoration:none !important;
	text-transform:uppercase !important;
	}
*/

.rvp-price {
    font-size: 12px;
    color: #111;
}
/* Default styles for product name and price in widget */
.rvp-recently-viewed-list .rvp-item .rvp-link .rvp-info .rvp-name {
    color: inherit; /* Ensure the name inherits the color */
    text-decoration: none !important; /* No underline by default */
	font-size:15px;
}

.rvp-recently-viewed-list .rvp-item .rvp-link .rvp-info .rvp-price {
    color: inherit; /* Keep the price color as is */
    text-decoration: none !important; /* No underline by default */
}

/* On hover: */
.rvp-recently-viewed-list .rvp-item .rvp-link:hover .rvp-info .rvp-name {
    color: #0058a8; /* Change name color on hover */
}

.rvp-recently-viewed-list .rvp-item .rvp-link:hover .rvp-info .rvp-price {
    color: inherit; /* Price stays the same on hover */
}

/* Styling for product image (optional) */
.rvp-recently-viewed-list .rvp-item .rvp-link .rvp-thumbnail {
    transition: transform 0.3s ease-in-out; /* Optional hover animation for the image */
}

.rvp-recently-viewed-list .rvp-item .rvp-link:hover .rvp-thumbnail {
    transform: scale(1.05); /* Slightly enlarge image on hover */
}

}



/*Product Rating*/
.rvp-product-rating {
    font-size: 11px !important;
    color: #111; /* Customize yellow color for stars */
}
.rvp-product-rating .review-count {
    font-size: 11px !important;
    color: #111 !important;/* Customize yellow color for stars */
}

.rvp-product-rating .star {
    font-size: 16px !important;
}

.rvp-product-rating .star.full {
    color: #ee9e13 !important;
}

.rvp-product-rating .star.empty {
    color: #e1e1e1 !important; /* Light gray for empty stars */
}

.rvp-product-rating .star.half {
    color: #ee9e13 !important;
}

/* Ensure widget items display as a row for guests */
body:not(.logged-in) .rvp-recently-viewed-list .rvp-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* Make sure the info block is stacked vertically */
body:not(.logged-in) .rvp-recently-viewed-list .rvp-item .rvp-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Adjust product name font size for guests */
body:not(.logged-in) .rvp-recently-viewed-list .rvp-item .rvp-link .rvp-info .rvp-name {
    font-size: 15px;
}

