/**
 * WABooking Products Styles
 */

/* Products Grid */
.wabooking-products-wrapper {
    margin: 30px 0;
}

.wabooking-products-grid {
    display: grid;
    gap: 30px;
    margin-top: 20px;
}

.wabooking-grid-1-cols {
    grid-template-columns: 1fr;
}

.wabooking-grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.wabooking-grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.wabooking-grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .wabooking-grid-3-cols,
    .wabooking-grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wabooking-grid-2-cols,
    .wabooking-grid-3-cols,
    .wabooking-grid-4-cols {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.wabooking-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wabooking-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Product Image */
.wabooking-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.wabooking-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wabooking-product-card:hover .wabooking-product-image img {
    transform: scale(1.05);
}

.wabooking-product-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #6EC1E4 0%, #6EC1E4 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(110, 193, 228, 0.3);
}

/* Product Content */
.wabooking-product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wabooking-product-subtitle {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.wabooking-product-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.wabooking-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wabooking-product-title a:hover {
    color: #6EC1E4;
}

.wabooking-product-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wabooking-product-excerpt p {
    margin: 0;
}

/* Product Meta */
.wabooking-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.wabooking-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.wabooking-meta-item .dashicons {
    color: #6EC1E4;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Product Duration */
.wabooking-product-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.wabooking-product-duration .dashicons {
    color: #6EC1E4;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Product Price */
.wabooking-product-price {
    margin: 15px 0;
}

.wabooking-price-sale {
    font-size: 24px;
    font-weight: 700;
    color: #6EC1E4;
    display: block;
}

.wabooking-price-regular {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.wabooking-price-current {
    font-size: 24px;
    font-weight: 700;
    color: #6EC1E4;
    display: block;
}

/* Product Actions */
.wabooking-product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.wabooking-product-booking-btn {
    flex: 1;
    background: linear-gradient(135deg, #6EC1E4 0%, #6EC1E4 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(110, 193, 228, 0.3);
}

.wabooking-product-booking-btn:hover {
    background: linear-gradient(135deg, #6EC1E4 0%, #6EC1E4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 193, 228, 0.4);
}

.wabooking-product-details-btn {
    flex: 1;
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wabooking-product-details-btn:hover {
    border-color: #6EC1E4;
    color: #6EC1E4;
}

/* No Products */
.wabooking-no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.wabooking-no-products p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Single Product */
.wabooking-single-product {
    max-width: 1200px;
    margin: 0 auto;
}

.wabooking-product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .wabooking-product-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.wabooking-product-gallery {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.wabooking-product-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.wabooking-product-info {
    display: flex;
    flex-direction: column;
}

.wabooking-product-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.wabooking-product-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.wabooking-product-price-section {
    margin: 20px 0;
}

.wabooking-price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wabooking-price-save {
    background: #eef8fd;
    color: #388e3c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Product Description & Features */
.wabooking-product-description {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.wabooking-product-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.wabooking-product-features {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
}

.wabooking-product-features h3,
.wabooking-inclusions h3,
.wabooking-exclusions h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.wabooking-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wabooking-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wabooking-features-list li:last-child {
    border-bottom: none;
}

.wabooking-features-list .dashicons {
    color: #6EC1E4;
    flex-shrink: 0;
}

/* Inclusions & Exclusions */
.wabooking-product-inclusions-exclusions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .wabooking-product-inclusions-exclusions {
        grid-template-columns: 1fr;
    }
}

.wabooking-inclusions,
.wabooking-exclusions {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
}

.wabooking-inclusions ul,
.wabooking-exclusions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wabooking-inclusions li,
.wabooking-exclusions li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wabooking-inclusions li:last-child,
.wabooking-exclusions li:last-child {
    border-bottom: none;
}

.wabooking-inclusions .dashicons {
    color: #6EC1E4;
}

.wabooking-exclusions .dashicons {
    color: #f44336;
}

/* Booking Section */
.wabooking-product-booking-section {
    background: linear-gradient(135deg, #f2f9fd 0%, #eef8fd 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.wabooking-booking-form-wrapper h2 {
    font-size: 28px;
    margin: 0 0 30px 0;
    color: #333;
}

/* Product Style Variants */
.wabooking-product-style-featured {
    border: 3px solid #6EC1E4;
}

.wabooking-product-style-minimal {
    box-shadow: none;
    border: 1px solid #eee;
}
