/* =============================================
   WC Reservas Pro - Public Calendar Styles
   ============================================= */

.wrap-calendario-pro {
    font-family: inherit;
    margin: 24px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #edf0f3;
    overflow: hidden;
}

.wcrp-public-calendar {
    padding: 12px;
}

.wcrp-public-calendar .fc .fc-timegrid-slots tr:last-child td {
    border-bottom: none !important;
}

.wcrp-public-calendar .fc .fc-col-header-cell {
    background: #f8f9fa;
    font-weight: 600;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid #e9ecef;
}

.wcrp-public-calendar .fc .fc-day-today {
    background: #fffbf0 !important;
}

.wcrp-public-calendar .fc .fc-day-today .fc-col-header-cell-cushion {
    color: #1a73e8;
    font-weight: 700;
}

.wcrp-public-calendar .fc .fc-button-primary {
    background-color: #1a73e8 !important;
    border-color: #1a73e8 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    transition: background 0.2s !important;
}

.wcrp-public-calendar .fc .fc-button-primary:hover {
    background-color: #1557b0 !important;
    border-color: #1557b0 !important;
}

.wcrp-public-calendar .fc .fc-button-primary.fc-button-active {
    background-color: #0d47a1 !important;
}

.wcrp-public-calendar .fc .fc-toolbar-title {
    font-size: 17px !important;
    font-weight: 600 !important;
}

.wcrp-public-calendar .fc-event {
    border: none !important;
    border-radius: 5px !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}

.wcrp-public-calendar .fc-event:hover {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

/* ====== TOOLTIP ====== */
#wcrp-tooltip {
    display: none;
    position: absolute;
    z-index: 99999;
    width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    pointer-events: none;
    font-family: inherit;
    border: 1px solid #edf0f3;
}

.wcrp-tt-img img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.wcrp-tt-body {
    padding: 12px 14px;
}

.wcrp-tt-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 7px;
    line-height: 1.3;
}

.wcrp-tt-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.wcrp-tt-price-normal {
    font-size: 16px;
    font-weight: 700;
    color: #2a9d8f;
}

.wcrp-tt-price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.wcrp-tt-price-sale {
    font-size: 16px;
    font-weight: 700;
    color: #e63946;
}

.wcrp-tt-sku {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.wcrp-tt-cupos {
    font-size: 11px;
    color: #555;
    background: #f0f4f8;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 640px) {
    .wrap-calendario-pro {
        border-radius: 6px;
        margin: 10px 0;
    }

    .wcrp-public-calendar .fc .fc-toolbar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .wcrp-public-calendar .fc .fc-toolbar-title {
        font-size: 14px !important;
    }

    #wcrp-tooltip {
        width: 180px;
    }
}