.lfp-25303018-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
}

.lfp-25303018-main-col {
    flex: 1 1 100%;
    min-width: 0;
}

.lfp-25303018-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.lfp-25303018-title {
    margin: 0;
    font-size: 2rem;
    font-family: serif;
    font-weight: 400;
}

.lfp-25303018-view-all {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.lfp-25303018-view-all:hover {
    color: #000;
}

/* Products Block */
.lfp-25303018-products-block {
    margin-bottom: 60px;
}

.lfp-25303018-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; /* Updated grid gap to 24px per spec */
}

.lfp-25303018-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #eee; /* Added subtle border for card container */
    border-radius: 12px; /* Added rounded corners similar to reference */
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.lfp-25303018-product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.lfp-25303018-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lfp-25303018-product-image-wrapper {
    position: relative;
    aspect-ratio: 1/1; /* Enforced Square 1:1 Aspect Ratio */
    width: 100%;
    background: #f8f9fa; /* Light grey background for containment */
    overflow: hidden; /* CRITICAL: Clips zoomed images */
    border-bottom: 1px solid #eee;
}

.lfp-25303018-product-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    /* object-fit, transform, and object-position are handled by Elementor controls */
    transition: transform 0.3s ease;
}

.lfp-25303018-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #666;
    font-size: 1rem;
    padding: 0;
    z-index: 10;
}

.lfp-25303018-product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lfp-25303018-product-name {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    /* Removed truncation to allow multi-line names like reference */
}

.lfp-25303018-product-price {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
    margin-top: auto; /* Push to bottom if name is short */
}

.lfp-25303018-product-rating {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.lfp-25303018-stars {
    color: #333;
}

.lfp-25303018-review-count {
    color: #888;
}

/* Posts Block */
.lfp-25303018-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; /* Ensure equal height columns */
}

.lfp-25303018-post-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Stretch to fill container */
}

/* Removed margin offsets for alignment */
.lfp-25303018-post-card-1,
.lfp-25303018-post-card-2 {
    margin-top: 0;
}

.lfp-25303018-post-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.lfp-25303018-post-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lfp-25303018-post-card:hover .lfp-25303018-post-image img {
    transform: scale(1.03);
}

.lfp-25303018-post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Take up remaining space */
}

.lfp-25303018-post-date {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.lfp-25303018-post-title {
    font-size: 18px;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.4;
    font-weight: 500;
}

.lfp-25303018-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1; /* Push the read more link down */
}

.lfp-25303018-read-more {
    font-size: 12px;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: auto; /* Push to bottom */
}

/* Responsive */
@media (max-width: 1024px) {
    .lfp-25303018-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lfp-25303018-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lfp-25303018-products-grid,
    .lfp-25303018-posts-grid {
        grid-template-columns: 1fr;
    }
}
