/* header style*/

div#headerID {
    background: #091826;
    margin-bottom: 50px;
}
.e-con-full, .e-con>.e-con-inner {
    padding-block-end: 10px;
    padding-block-start: 10px;
}

.flex-viewport {
    margin-bottom: 10px;
}
img {
    max-height: 500px;
}

.price {
    display: none !important;
}
/* Container for Related Products */
.related.products {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

/* Related Products Heading */
.related.products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}


/* Image Styling */
.related.products ul.products li.product img {
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Title Styling */
.related.products ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif;
    font-size: 20px !important;
    color: #1a1a1a !important;
    text-transform: uppercase;
    padding: 0 !important;
}

/* Hide Standard Buttons in Related */
.related.products .button,
.related.products .price {
    display: block; /* Keep price visible if you want it like the shortcode */
    font-size: 16px;
    margin-bottom: 15px;
}

/* Add the Book Now style to Related Product links */
.related.products ul.products li.product .button.add_to_cart_button {
    background: #1a1a1a !important;
    color: #fff !important;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}

/* Styling the Related Products Excerpt with Ellipsis */
.luxury-description-loop {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 10px 0 0 0;
    
    /* Ellipsis Logic */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show exactly 3 lines then add dots */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em; /* Keeps the cards aligned even with short text */
}

/* Designing the CTA to match your reference image */
.related.products .luxury-loop-cta {
    background-color: #eeeef2 !important; /* Light grey background */
    color: #1a1a1a !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 0 !important;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
    border: none !important;
    transition: 0.3s ease;
}

.related.products .luxury-loop-cta:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Ensure the title matches your brand typography */
.related.products .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    margin-bottom: 5px !important;
        text-align: left;
}

