/* WAAT Rentals Elementor Grid Styles */

.waat-rentals-grid {
    display: grid;
    /* Grid columns and gap are controlled via Elementor responsive controls */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 900px) {
    .waat-rentals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .waat-rentals-grid {
        grid-template-columns: 1fr !important;
    }
}

.waat-rental-card {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0; /* Prevent grid blowout from long words */
    word-wrap: break-word;
}

.waat-rental-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(252, 163, 17, 0.3);
}

.waat-rental-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.waat-rental-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.waat-rental-card:hover .waat-rental-image {
    transform: scale(1.05);
}

.waat-rental-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
    background: #222;
}

.waat-rental-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.waat-rental-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.3;
}

.waat-rental-desc {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.waat-rental-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fca311 0%, #ffb703 100%);
    color: #000000;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.waat-rental-btn:hover {
    background: linear-gradient(135deg, #e5930e 0%, #faa600 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
    color: #000;
}

/* WAAT Single Product Layout */
.waat-single-product-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.waat-single-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.waat-single-product-gallery {
    background: rgba(30, 30, 30, 0.4);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.waat-single-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.waat-single-product-no-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    background: #111;
    border-radius: 8px;
}

.waat-single-product-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.waat-single-product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.waat-single-product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fca311;
    margin-bottom: 25px;
}

.waat-single-product-excerpt {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 35px;
}

.waat-single-product-cta {
    margin-top: auto;
}

.waat-single-product-description {
    background: rgba(30, 30, 30, 0.4);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.waat-single-product-description-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.waat-single-product-content {
    font-size: 1.05rem;
    color: #bbb;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .waat-single-product-top {
        grid-template-columns: 1fr;
    }
}

/* Swiper overrides for Widget */
.waat-rentals-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px; /* Space for box-shadow */
}
.waat-rentals-carousel .swiper-slide {
    height: auto;
}
.waat-rentals-carousel .swiper-button-next,
.waat-rentals-carousel .swiper-button-prev {
    color: #fca311;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.waat-rentals-carousel .swiper-button-next:after,
.waat-rentals-carousel .swiper-button-prev:after {
    font-size: 18px;
}

.waat-rental-card-price {
    font-size: 1.1rem;
    color: #fca311;
    font-weight: 700;
    margin-bottom: 15px;
}
