/**
 * Single Category Booking Widget Styles — Clean & Fully Responsive
 */

/* 1. Main Wrapper */
.elementor-widget-artwine_single_category_booking .aw-single-portal-wrapper {
    font-family: 'Inter', 'Outfit', sans-serif !important;
    color: #1E293B !important;
    max-width: 100% !important;
    margin: 40px auto !important;
    padding: 40px !important;
    background: #FFFFFF !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #F1F5F9 !important;
}

.aw-filter-label {
    margin: 0 !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-portal-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
}

/* 2. Header Text */
.elementor-widget-artwine_single_category_booking .aw-single-portal-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

.elementor-widget-artwine_single_portal_subtitle {
    font-size: 16px !important;
    color: #64748B !important;
    margin-top: 8px !important;
}

/* 3. Filters Row */
.elementor-widget-artwine_single_category_booking .aw-single-filters-row {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-filter-item {
    display: flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    position: relative !important;
    gap: 10px !important;
    transition: all 0.2s ease !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-filter-item:hover {
    border-color: #CBD5E1 !important;
}

.elementor-widget-artwine_single_category_booking .aw-filter-icon {
    color: #94A3B8 !important;
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-select {
    background: transparent !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 0 30px 0 0 !important;
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}

.elementor-widget-artwine_single_category_booking .aw-filter-arrow {
    position: absolute !important;
    right: 16px !important;
    color: #94A3B8 !important;
    font-size: 10px !important;
    pointer-events: none !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-people-controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-people-controls button {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 16px !important;
    color: #475569 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-people-count {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* 4. Calendar Slider */
.elementor-widget-artwine_single_category_booking .aw-single-calendar-section {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-slider-nav {
    background: transparent !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #CBD5E1 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    font-size: 20px !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-days-strip {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    padding: 8px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: smooth !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-days-strip::-webkit-scrollbar {
    display: none !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day {
    flex: 0 0 80px !important;
    height: 110px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.aw-empty-calendar {
    width: 100% !important;
    padding: 40px 20px !important;
    text-align: center !important;
    background: #F8FAFC !important;
    border: 1px dashed #E2E8F0 !important;
    border-radius: 16px !important;
    color: #94A3B8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day.is-disabled {
    background: #F8FAFC !important;
    border-color: #F1F5F9 !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day.is-active {
    border: 2px solid #0F172A !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day .day-name {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day .day-number {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-day .day-month {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
}

.elementor-widget-artwine_single_category_booking .aw-cal-dot {
    width: 6px !important;
    height: 6px !important;
    background: #00A5B5 !important;
    border-radius: 50% !important;
    margin-top: 8px !important;
}

/* 5. Slots */
.elementor-widget-artwine_single_category_booking .aw-single-slots-notice {
    font-size: 14px !important;
    color: #94A3B8 !important;
    margin: 20px 0 !important;
    line-height: 1.5 !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-slots-wrapper {
    display: flex !important;
    gap: 32px !important;
    align-items: flex-start !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-slots-grid {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    flex: 1 !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-pill {
    display: inline-flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-width: 160px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-pill.is-selected {
    border: 1px solid #00A5B5 !important;
    background: #F0F9FA !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-check-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    width: 20px !important;
    height: 20px !important;
    background: #00A5B5 !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    box-shadow: 0px 2px 6px rgba(0, 165, 181, 0.3) !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-pill.is-selected .aw-slot-check-badge {
    display: flex !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-line {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-line i {
    color: #00A5B5 !important;
    font-size: 14px !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-time {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

.elementor-widget-artwine_single_category_booking .aw-slot-stock {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748B !important;
}

/* 5.1 Product Preview - Integrated Horizontal Card */
.aw-single-product-preview {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 15px !important;
    max-width: 100% !important;
    width: auto !important;
    animation: awFadeInUp 0.4s ease forwards !important;
    flex: none !important;
}

@keyframes awFadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.aw-preview-image-wrap {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #F8FAFC !important;
    position: relative !important;
    cursor: zoom-in !important;
}

.aw-preview-image-wrap::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.aw-preview-image-wrap:hover::after {
    opacity: 1;
}

.aw-preview-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 165, 181, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.aw-preview-image-wrap:hover::before {
    opacity: 1;
}

.aw-preview-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.aw-single-product-preview:hover .aw-preview-img {
    transform: scale(1.05) !important;
}

.aw-preview-info {
    padding: 0 10px !important;
    text-align: left !important;
    flex: 1 !important;
}

.aw-preview-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00A5B5 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.05em !important;
}

.aw-preview-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* 7. Modal Lightbox */
.aw-preview-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.aw-preview-modal.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.aw-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1 !important;
}

.aw-modal-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 85% !important;
    max-height: 85% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    transform: scale(0.9);
    animation: awModalScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes awModalScale {
    to { transform: scale(1); }
}

.aw-modal-img {
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}

.aw-modal-close {
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    font-size: 40px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    z-index: 3 !important;
    line-height: 1 !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
}

.aw-modal-close:hover {
    opacity: 1 !important;
}

/* 6. Footer Button */
.elementor-widget-artwine_single_category_booking .aw-single-btn-booking {
    width: 100% !important;
    background: #CBD5E1 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 16px !important;
    height: 56px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: not-allowed !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-artwine_single_category_booking .aw-single-btn-booking:not(:disabled) {
    background: #0F172A !important;
    cursor: pointer !important;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .elementor-widget-artwine_single_category_booking .aw-single-portal-wrapper {
        padding: 30px !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-artwine_single_category_booking .aw-single-portal-wrapper {
        padding: 20px !important;
        margin: 20px auto !important;
        border-radius: 16px !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-portal-title {
        font-size: 26px !important;
        text-align: center !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-filter-item {
        flex: 1 1 calc(50% - 6px) !important;
        height: 48px !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-filter-people {
        flex: 1 1 100% !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-slider-nav {
        display: none !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-cal-day {
        flex: 0 0 74px !important;
        height: 100px !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-slots-grid {
        justify-content: center !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-slot-pill {
        flex: 1 1 calc(50% - 8px) !important;
        min-width: 140px !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-slots-wrapper {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .aw-single-product-preview {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-single-slots-notice {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .elementor-widget-artwine_single_category_booking .aw-single-filter-item {
        flex: 1 1 100% !important;
    }

    .elementor-widget-artwine_single_category_booking .aw-slot-pill {
        flex: 1 1 100% !important;
    }
}