/**
 * 2010-2026 Webkul / QloApps
 *
 * Módulo de Vitrine de Pacotes e Datas Especiais
 * Estilos próprios da vitrine - isolados e compatíveis com as cores do tema
 */

:root {
    --qlo-pkg-primary: var(--primary-color, #0e7061);
    --qlo-pkg-primary-hover: var(--primary-hover-color, #0a5549);
    --qlo-pkg-accent: var(--accent-color, #d4a373);
    --qlo-pkg-bg: #ffffff;
    --qlo-pkg-surface: #f9fafb;
    --qlo-pkg-border: #e5e7eb;
    --qlo-pkg-text: #1f2937;
    --qlo-pkg-text-muted: #6b7280;
    --qlo-pkg-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --qlo-pkg-shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.12), 0 6px 12px -3px rgba(0, 0, 0, 0.08);
}

.qlo-packages-wrapper {
    margin: 50px 0;
    padding: 20px 0;
    clear: both;
}

.qlo-packages-header {
    margin-bottom: 35px;
}

.qlo-packages-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--qlo-pkg-text);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qlo-packages-subtitle {
    font-size: 15px;
    color: var(--qlo-pkg-text-muted);
    margin: 0 0 15px 0;
}

.qlo-packages-divider {
    width: 60px;
    height: 3px;
    background-color: var(--qlo-pkg-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.qlo-packages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.qlo-pkg-card {
    background: var(--qlo-pkg-bg);
    border: 1px solid var(--qlo-pkg-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--qlo-pkg-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    flex: 0 1 calc(33.333% - 16px);
    min-width: 280px;
    max-width: 380px;
}

@media (max-width: 991px) {
    .qlo-pkg-card {
        flex: 0 1 calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .qlo-pkg-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

.qlo-pkg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--qlo-pkg-shadow-hover);
}

.qlo-pkg-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--qlo-pkg-surface);
    overflow: hidden;
}

.qlo-pkg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.qlo-pkg-card:hover .qlo-pkg-image {
    transform: scale(1.04);
}

.qlo-pkg-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--qlo-pkg-text-muted);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    font-size: 14px;
}

.qlo-pkg-image-placeholder i {
    font-size: 36px;
    margin-bottom: 8px;
    color: var(--qlo-pkg-primary);
}

.qlo-pkg-badge-room {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(17, 24, 39, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.qlo-pkg-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.qlo-pkg-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--qlo-pkg-text);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.qlo-pkg-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--qlo-pkg-primary);
    background: rgba(14, 112, 97, 0.08);
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.qlo-pkg-dates i {
    font-size: 15px;
}

.qlo-pkg-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--qlo-pkg-text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.qlo-pkg-pricing {
    border-top: 1px dashed var(--qlo-pkg-border);
    padding-top: 14px;
    margin-bottom: 16px;
}

.qlo-pkg-price-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--qlo-pkg-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.qlo-pkg-price-value {
    color: var(--qlo-pkg-primary);
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.qlo-pkg-currency {
    font-size: 15px;
}

.qlo-pkg-amount {
    font-size: 24px;
}

.qlo-pkg-action {
    margin-top: auto;
}

.qlo-pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background-color: var(--qlo-pkg-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.qlo-pkg-btn:hover {
    background-color: var(--qlo-pkg-primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.qlo-pkg-btn:active {
    transform: scale(0.98);
}
