/* Container for all products */
.ron-products-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to a new line */
    margin: 0 -15px; /* Creates negative margin to counteract item padding */
}

/* Individual product item styling */
.ron-product-item {
    padding: 0 15px; /* Adds space between items */
    box-sizing: border-box;
    width: 100%; /* Default to full width for mobile */
}

/* 2-Column Layout */
.ron-products-columns-2 .ron-product-item {
    width: 50%;
}

/* 3-Column Layout */
.ron-products-columns-3 .ron-product-item {
    width: 33.333%;
}

/* 4-Column Layout */
.ron-products-columns-4 .ron-product-item {
    width: 25%;
}

/* 5-Column Layout */
.ron-products-columns-5 .ron-product-item {
    width: 20%;
}

/* 6-Column Layout */
.ron-products-columns-6 .ron-product-item {
    width: 16.666%;
}
/* --- Single Product Page Styles --- */

.ron-single-product {
    margin-bottom: 40px;
}

/* Two-column layout using Flexbox */
.ron-product-details-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    align-items: flex-start;
    gap: 30px; /* Space between the left and right columns */
}
.ron_product_item{padding: 10px;margin-bottom:15px;
    box-shadow: 2px 2px 6px #ccc;border:1px solid #ddd;}

/* Left column (image) */
.ron-product-media {
    flex: 0 0 45%; /* Fixed width for the image container */
    max-width: 45%;
    position: relative; /* Needed for absolute positioning of children if any */
}

/* Right column (content) */
.ron-product-content {
    flex: 1; /* Takes up the remaining space */
}

/* Featured Image with Zoom Effect */
.ron-product-image-zoom-container {
    overflow: hidden; /* This is essential to clip the zoomed image */
    cursor: zoom-in;
}

.ron-product-featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out; /* Smooth transition for the zoom */
}

.ron-product-image-zoom-container:hover .ron-product-featured-image {
    transform: scale(1.1); /* Zooms the image to 110% of its size */
}

/* Product Description */
.ron-product-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Catalog Button Styling */
.ron-download-pdf-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.ron-download-pdf-btn:hover {
    background-color: #005bb5;
}

/* Button Icon */
.ron-btn-icon::before {
    content: '↓'; /* A simple download arrow icon */
    margin-right: 8px;
    font-size: 1.2em;
}
.ron-product-image img{width:100%;height:auto;}
/* Responsive adjustments */
@media (max-width: 768px) {
    .ron-product-details-wrapper {
        flex-direction: column; /* Stacks the columns vertically */
    }

    .ron-product-media,
    .ron-product-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .ron-products-wrapper {
        display: block; /* Stack items vertically on smaller screens */
        margin: 0;
    }
    .ron-product-item {
        width: 100% !important;
        padding: 0;
    }
}
