938 lines
20 KiB
CSS
938 lines
20 KiB
CSS
/* ============================================
|
|
VARIABLES Y RESET
|
|
============================================ */
|
|
.flight-details {
|
|
--primary: #2563eb;
|
|
--primary-dark: #1d4ed8;
|
|
--primary-light: #3b82f6;
|
|
--primary-bg: #eff6ff;
|
|
--secondary: #64748b;
|
|
--success: #10b981;
|
|
--danger: #ef4444;
|
|
--danger-dark: #dc2626;
|
|
--warning: #f59e0b;
|
|
--dark: #1e293b;
|
|
--light: #f8fafc;
|
|
--gray-50: #f9fafb;
|
|
--gray-100: #f3f4f6;
|
|
--gray-200: #e5e7eb;
|
|
--gray-300: #d1d5db;
|
|
--border: #e2e8f0;
|
|
|
|
/* Sombras */
|
|
--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
|
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
|
|
/* Bordes */
|
|
--radius-sm: 6px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--radius-xl: 16px;
|
|
--radius-2xl: 20px;
|
|
|
|
/* Transiciones */
|
|
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
--transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
--transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* ============================================
|
|
LAYOUT PRINCIPAL
|
|
============================================ */
|
|
.flight-details {
|
|
padding: 120px 0 80px;
|
|
background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.flight-details .container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.flight-details {
|
|
padding: 100px 0 60px;
|
|
}
|
|
.flight-details .container {
|
|
padding: 0 16px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
GRID
|
|
============================================ */
|
|
.flight-details .details-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 380px;
|
|
gap: 32px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.flight-details .details-grid {
|
|
grid-template-columns: 1fr 340px;
|
|
gap: 24px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.flight-details .details-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 32px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
TARJETA PRINCIPAL
|
|
============================================ */
|
|
.flight-details .main-card {
|
|
background: white;
|
|
border-radius: var(--radius-2xl);
|
|
box-shadow: var(--shadow-xl);
|
|
overflow: hidden;
|
|
transition: var(--transition-base);
|
|
}
|
|
|
|
.flight-details .main-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-2xl);
|
|
}
|
|
|
|
.flight-details .card-body {
|
|
padding: 32px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.flight-details .card-body {
|
|
padding: 24px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
HEADER DEL VUELO
|
|
============================================ */
|
|
.flight-details .flight-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 2px solid var(--gray-200);
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
.flight-details .flight-title {
|
|
flex: 1;
|
|
}
|
|
|
|
.flight-details .flight-title h1 {
|
|
font-size: clamp(24px, 5vw, 32px);
|
|
color: var(--dark);
|
|
margin-bottom: 12px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.flight-details .flight-title .subtitle {
|
|
font-size: 16px;
|
|
color: var(--secondary);
|
|
margin-bottom: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.flight-details .badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 16px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
|
color: white;
|
|
border-radius: 50px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
/* ============================================
|
|
CAJA DE PRECIO
|
|
============================================ */
|
|
.flight-details .price-box {
|
|
text-align: right;
|
|
background: linear-gradient(135deg, #fef3c7, #fde68a);
|
|
padding: 16px 24px;
|
|
border-radius: var(--radius-xl);
|
|
position: relative;
|
|
min-width: 160px;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.flight-details .price-box {
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.flight-details .price-badge {
|
|
position: absolute;
|
|
top: -10px;
|
|
right: 16px;
|
|
background: var(--danger);
|
|
color: white;
|
|
padding: 4px 12px;
|
|
border-radius: 50px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
.flight-details .price-old {
|
|
text-decoration: line-through;
|
|
color: var(--secondary);
|
|
font-size: 14px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.flight-details .price-current {
|
|
font-size: 36px;
|
|
font-weight: 800;
|
|
color: var(--primary-dark);
|
|
line-height: 1;
|
|
}
|
|
|
|
.flight-details .price-label {
|
|
font-size: 12px;
|
|
color: var(--secondary);
|
|
margin-top: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ============================================
|
|
META INFO
|
|
============================================ */
|
|
.flight-details .meta-info {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.flight-details .meta-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 20px;
|
|
background: var(--gray-50);
|
|
border-radius: 50px;
|
|
font-size: 14px;
|
|
color: var(--secondary);
|
|
font-weight: 500;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.flight-details .meta-item:hover {
|
|
background: var(--gray-100);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.flight-details .meta-item i {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.flight-details .rating {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 20px;
|
|
background: var(--gray-50);
|
|
border-radius: 50px;
|
|
}
|
|
|
|
.flight-details .stars {
|
|
color: #fbbf24;
|
|
font-size: 13px;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.flight-details .rating-value {
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
}
|
|
|
|
/* ============================================
|
|
GALERÍA
|
|
============================================ */
|
|
.flight-details .gallery-section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.flight-details .main-swiper {
|
|
border-radius: var(--radius-xl);
|
|
overflow: hidden;
|
|
margin-bottom: 16px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.flight-details .main-swiper .swiper-slide {
|
|
aspect-ratio: 16/9;
|
|
background: var(--gray-200);
|
|
position: relative;
|
|
}
|
|
|
|
.flight-details .main-swiper .swiper-slide img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.flight-details .main-swiper .swiper-slide:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.flight-details .thumbs-swiper {
|
|
margin-top: 16px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.flight-details .thumbs-swiper .swiper-slide {
|
|
width: 100px;
|
|
height: 70px;
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
transition: all var(--transition-fast);
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.flight-details .thumbs-swiper .swiper-slide-thumb-active {
|
|
opacity: 1;
|
|
border-color: var(--primary);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.flight-details .thumbs-swiper .swiper-slide:hover {
|
|
opacity: 0.9;
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.flight-details .thumbs-swiper .swiper-slide img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Botones de navegación */
|
|
.flight-details .swiper-button-next,
|
|
.flight-details .swiper-button-prev {
|
|
color: white;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.flight-details .swiper-button-next:hover,
|
|
.flight-details .swiper-button-prev:hover {
|
|
background: var(--primary);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.flight-details .swiper-button-next:after,
|
|
.flight-details .swiper-button-prev:after {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.flight-details .swiper-pagination-bullet {
|
|
background: white;
|
|
opacity: 0.8;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.flight-details .swiper-pagination-bullet-active {
|
|
background: var(--primary);
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* ============================================
|
|
SECCIONES DE CONTENIDO
|
|
============================================ */
|
|
.flight-details .section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.flight-details .section-title {
|
|
font-size: 24px;
|
|
color: var(--dark);
|
|
margin-bottom: 20px;
|
|
padding-left: 16px;
|
|
border-left: 4px solid var(--primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.flight-details .section-title {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
.flight-details .section-subtitle {
|
|
font-size: 20px;
|
|
color: var(--dark);
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.flight-details .section-subtitle i {
|
|
color: var(--success);
|
|
}
|
|
|
|
.flight-details .description {
|
|
color: var(--secondary);
|
|
line-height: 1.8;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.flight-details .description p {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* ============================================
|
|
LISTA DE INCLUYE
|
|
============================================ */
|
|
.flight-details .includes-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 12px;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.flight-details .includes-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: linear-gradient(135deg, var(--gray-50), white);
|
|
border-radius: var(--radius-lg);
|
|
color: var(--secondary);
|
|
transition: all var(--transition-fast);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.flight-details .includes-list li:hover {
|
|
transform: translateX(6px);
|
|
border-color: var(--primary-light);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.flight-details .includes-list li i {
|
|
color: var(--success);
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* ============================================
|
|
NOTA DESTACADA
|
|
============================================ */
|
|
.flight-details .note {
|
|
padding: 20px 24px;
|
|
background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
|
|
border-radius: var(--radius-lg);
|
|
color: var(--primary-dark);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
border-left: 4px solid var(--primary);
|
|
}
|
|
|
|
.flight-details .note i {
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* ============================================
|
|
SIDEBAR
|
|
============================================ */
|
|
.flight-details .sidebar {
|
|
position: sticky;
|
|
top: 100px;
|
|
height: fit-content;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.flight-details .sidebar {
|
|
position: static;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.flight-details .sidebar-card {
|
|
background: white;
|
|
border-radius: var(--radius-2xl);
|
|
box-shadow: var(--shadow-lg);
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
transition: var(--transition-base);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.flight-details .sidebar-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
.flight-details .card-title {
|
|
font-size: 20px;
|
|
color: var(--dark);
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.flight-details .card-title i {
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* ============================================
|
|
FORMULARIO
|
|
============================================ */
|
|
.flight-details .form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.flight-details .form-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
color: var(--dark);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.flight-details .form-group label i {
|
|
color: var(--primary);
|
|
width: 16px;
|
|
}
|
|
|
|
.flight-details .form-control {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-lg);
|
|
font-size: 14px;
|
|
transition: all var(--transition-fast);
|
|
font-family: inherit;
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
.flight-details .form-control:hover {
|
|
border-color: var(--gray-300);
|
|
}
|
|
|
|
.flight-details .form-control:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
background: white;
|
|
box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.flight-details .form-control.error {
|
|
border-color: var(--danger);
|
|
background: #fef2f2;
|
|
}
|
|
|
|
.flight-details .error-message {
|
|
color: var(--danger);
|
|
font-size: 12px;
|
|
margin-top: 6px;
|
|
display: none;
|
|
animation: slideDown 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.flight-details .error-message.show {
|
|
display: block;
|
|
}
|
|
|
|
/* Estilos para intl-tel-input */
|
|
.flight-details .iti {
|
|
width: 100%;
|
|
}
|
|
|
|
.flight-details .iti__flag-container {
|
|
padding: 2px;
|
|
}
|
|
|
|
.flight-details .iti__selected-flag {
|
|
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
background: var(--gray-100);
|
|
}
|
|
|
|
.flight-details .iti__country-list {
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* ============================================
|
|
BOTONES
|
|
============================================ */
|
|
.flight-details .btn-primary {
|
|
width: 100%;
|
|
padding: 14px 20px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--radius-lg);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.flight-details .btn-primary::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.2),
|
|
transparent
|
|
);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.flight-details .btn-primary:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.flight-details .btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.flight-details .btn-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.flight-details .btn-primary:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.flight-details .btn-secondary {
|
|
width: 100%;
|
|
padding: 14px 20px;
|
|
background: white;
|
|
color: var(--primary);
|
|
border: 2px solid var(--primary);
|
|
border-radius: var(--radius-lg);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.flight-details .btn-secondary:hover {
|
|
background: var(--primary);
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.flight-details .info-text {
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: var(--secondary);
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* ============================================
|
|
LISTA DE INFORMACIÓN
|
|
============================================ */
|
|
.flight-details .info-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.flight-details .info-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
color: var(--secondary);
|
|
font-size: 14px;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.flight-details .info-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.flight-details .info-list li:hover {
|
|
transform: translateX(6px);
|
|
color: var(--dark);
|
|
}
|
|
|
|
.flight-details .info-list li i {
|
|
color: var(--primary);
|
|
width: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ============================================
|
|
BOTONES DE COMPARTIR
|
|
============================================ */
|
|
.share-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.share-btn {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.share-btn.facebook {
|
|
background: #1877f2;
|
|
color: white;
|
|
}
|
|
|
|
.share-btn.twitter {
|
|
background: #1da1f2;
|
|
color: white;
|
|
}
|
|
|
|
.share-btn.whatsapp {
|
|
background: #25d366;
|
|
color: white;
|
|
}
|
|
|
|
.share-btn.copy {
|
|
background: var(--secondary);
|
|
color: white;
|
|
}
|
|
|
|
.share-btn:hover {
|
|
transform: translateY(-3px) scale(1.05);
|
|
}
|
|
|
|
.share-btn:active {
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
|
|
/* ============================================
|
|
LOADING SPINNER
|
|
============================================ */
|
|
.flight-details .btn-loading {
|
|
position: relative;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.flight-details .btn-loading span {
|
|
opacity: 0;
|
|
}
|
|
|
|
.flight-details .btn-loading::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 22px;
|
|
height: 22px;
|
|
border: 2px solid white;
|
|
border-radius: 50%;
|
|
border-top-color: transparent;
|
|
animation: spin 0.6s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: translate(-50%, -50%) rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
ALERTAS
|
|
============================================ */
|
|
.flight-details .alert {
|
|
background: white;
|
|
padding: 60px 40px;
|
|
border-radius: var(--radius-2xl);
|
|
text-align: center;
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
.flight-details .alert i {
|
|
font-size: 64px;
|
|
color: var(--warning);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.flight-details .alert h3 {
|
|
margin-bottom: 16px;
|
|
color: var(--dark);
|
|
font-size: 28px;
|
|
}
|
|
|
|
.flight-details .alert p {
|
|
margin-bottom: 24px;
|
|
color: var(--secondary);
|
|
}
|
|
|
|
/* ============================================
|
|
ANIMACIONES
|
|
============================================ */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.flight-details .main-card,
|
|
.flight-details .sidebar-card {
|
|
animation: fadeIn 0.5s ease-out;
|
|
}
|
|
|
|
.flight-details .sidebar-card:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.flight-details .sidebar-card:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
/* ============================================
|
|
RESPONSIVE
|
|
============================================ */
|
|
@media (max-width: 768px) {
|
|
.flight-details .includes-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.flight-details .sidebar-card {
|
|
padding: 20px;
|
|
}
|
|
|
|
.flight-details .swiper-button-next,
|
|
.flight-details .swiper-button-prev {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
.flight-details .thumbs-swiper .swiper-slide {
|
|
width: 80px;
|
|
height: 56px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.flight-details .flight-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flight-details .price-box {
|
|
width: 100%;
|
|
}
|
|
|
|
.flight-details .meta-info {
|
|
gap: 8px;
|
|
}
|
|
|
|
.flight-details .meta-item,
|
|
.flight-details .rating {
|
|
padding: 6px 14px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
PRINT STYLES
|
|
============================================ */
|
|
@media print {
|
|
.flight-details .sidebar,
|
|
.flight-details .swiper-button-next,
|
|
.flight-details .swiper-button-prev,
|
|
.flight-details .share-card {
|
|
display: none;
|
|
}
|
|
|
|
.flight-details {
|
|
padding: 20px;
|
|
}
|
|
|
|
.flight-details .main-card {
|
|
box-shadow: none;
|
|
}
|
|
}
|