/* ============================================
   DEPARTURE CARD - Minimalista con acentos rojos
   ============================================ */

.as-departure-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin: 0.75rem 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.as-departure-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.as-departure-body {
    padding: 1.25rem 1.5rem;
   
}

/* ---------- Contenedor flex principal ---------- */
.as-departure-flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
}

/* ---------- Grupo de fecha (Start / End) ---------- */
.as-date-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    min-width: 100px;
}

.date-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.as-date-text {
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ---------- Flecha entre fechas ---------- */
.as-arrow {
    flex: 0 0 auto;
    color: #d1d5db;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Contenedor de precio ---------- */
.as-price-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.price-currency {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.price-per-person {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ---------- Disponibilidad ---------- */
.spaces-row {
    display: flex;
    justify-content: center;
}

.spaces-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
}

.spaces-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.spaces-available::before {
    background: #10b981;
}

.spaces-low {
    color: #b45309;
}

.spaces-low::before {
    background: #f59e0b;
}

.spaces-sold-out {
    color: #9ca3af;
}

.spaces-sold-out::before {
    background: #d1d5db;
}

/* ---------- Botón de acción ---------- */
.as-action {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

/* Botón principal (Book Now) */
.as-btn-book {
    background: #dc2626;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-block;
}

.as-btn-book:hover {
     text-decoration: none !important;
    background: #ac1313;
    
}

/* Botón WhatsApp (Enquire Now) */
.as-btn-whatsapp {
    background: transparent;
    color: #111827;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.as-btn-whatsapp:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

/* Botones deshabilitados */
.as-btn-disabled,
.as-btn-book:disabled,
.as-btn-whatsapp:disabled {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed !important;
}

.as-btn-disabled:hover,
.as-btn-book:disabled:hover,
.as-btn-whatsapp:disabled:hover {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
}

/* ---------- Info adicional del cobro ---------- */
.as-charge-info {
    display: block;
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    background: #fafafa;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}

.as-charge-info strong {
    color: #6b7280;
}

.as-charge-info img {
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 992px) {
    .as-departure-flex-container {
        gap: 1rem;
    }

    .as-date-group {
        min-width: 85px;
    }

    .as-date-text {
        font-size: 0.88rem;
    }

    .price-amount {
        font-size: 1.3rem;
    }

    .as-btn-book,
    .as-btn-whatsapp {
        font-size: 0.85rem;
        padding: 0.55rem 1.1rem;
    }
}

/* ============================================
   RESPONSIVE - Móvil
   ============================================ */
@media (max-width: 768px) {
    .as-departure-body {
        padding: 1rem;
    }

    .as-departure-flex-container {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }

    .as-date-group {
        flex: 1 1 40%;
    }

    .as-arrow {
        flex: 0 0 auto;
    }

    .as-price-container {
        flex: 1 1 100%;
        order: 4;
        align-items: flex-start;
        text-align: left;
        padding-top: 0.75rem;
        border-top: 1px solid #f3f4f6;
    }

    .price-row {
        justify-content: flex-start;
    }

    .spaces-row {
        justify-content: flex-start;
    }

    .as-action {
        flex: 1 1 100%;
        order: 5;
        justify-content: stretch;
    }

    .as-btn-book,
    .as-btn-whatsapp {
        width: 100%;
        text-align: center;
    }
}