/* Creando estilos CSS para la página PHP */

:root {
    --gema-primary: #2c5aa0;
    --gema-secondary: #f8f9fa;
    --gema-bg: #a68a64;
    --gema-accent: #ffc107;
    --gema-dark: #212529;
    --gema-color-botton: #a68a64;
    --gema-color-text: #a68a64;
}

.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 220px;
}

    /* Efecto Glass */
    .glass-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Calendario ancho solo en pantallas grandes */
    @media (max-width: 992px) {
        #fechaRangoContainer .dropdown-menu {
            width: 100% !important;
            max-width: 100% !important;
        }
    }

    /* Espaciado y centrado del botón en móvil */
    @media (max-width: 768px) {
        .btn-search-mobile {
            width: 100% !important;
            font-size: 0.9rem;
        }
    }

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.whale-section {
    background-color: #ece9e1;
    background-size: cover;
    background-position: center;
    color: white;
}

.footer-dark {
    background-color: var(--gema-dark);
    color: white;
}

.travel-option-card {
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.travel-option-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    padding: 20px;
}

.btn-gema-primary {
    background-color: var(--gema-primary);
    border-color: var(--gema-primary);
    color: white;
}

.btn-gema-primary:hover {
    background-color: #1e3d6f;
    border-color: #1e3d6f;
}

.btn-gema-accent {
    background-color: var(--gema-color-botton);
    border-color: var(--gema-color-botton);
    color: var(--gema-secondary);
}

.btn-gema-accent:hover {
    background-color: var(--gema-color-botton);
    border-color: var(--gema-color-botton);
}

/* Reducido CSS personalizado, usando más clases de Bootstrap */
.bg-travel-dark {
    background-color: #2c3e50;
}

.travel-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-5px);
}

.travel-card::before {
    content: "";
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.paquetes-bg {
    background-image: url("/placeholder.svg?height=300&width=250");
}

.hoteles-bg {
    background-image: url("/placeholder.svg?height=300&width=250");
}

.tours-bg {
    background-image: url("/placeholder.svg?height=300&width=250");
}

.traslados-bg {
    background-image: url("/placeholder.svg?height=300&width=250");
}

.restaurantes-bg {
    background-image: url("/placeholder.svg?height=300&width=250");
}

/* Tour Cards Styles */
.tour-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.tour-image {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

.duration-badge {
    bottom: -10px;
    left: 15px;
    background-color: #2f4157;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.image-badge {
    top: 15px;
    right: 15px;
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.price-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.price-label {
    font-family: 'DM Sans' !important;
    color: #999;
    font-size: 0.8rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.price-note {
    font-family: 'DM Sans' !important;
    color: #999;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

.location-section {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.location-icon {
    color: #666;
    font-size: 0.9rem;
}

.location-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-tour-detail {
    background-color: var(--gema-color-botton);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 240px;
}

.btn-tour-detail:hover {
    background-color: var(--gema-color-botton);
    transform: translateY(-2px);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tour-image {
        height: 220px;
    }

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

/* Estilos personalizados para la sección de información de viajes */

.travel-info-section {
    background-color: #f8f9fa;
}

.travel-info-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 3rem !important;
    letter-spacing: -0.02em;
}

.travel-card {
    background: linear-gradient(135deg, #b8d4e3 0%, #a8c8d8 100%);
    border: none;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.travel-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.travel-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

.travel-card-subtitle {
    font-weight: 600;
    font-size: 1.2rem;
}

.travel-card-description {
    font-size: 0.95rem;
    color: #34495e;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.travel-card-detail {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-card-footer {
    margin-top: auto;
    text-align: center;
}

.travel-card-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.travel-card-link:hover {
    color: #b8956a;
    text-decoration: none;
}

.travel-card-link i {
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .travel-info-title {
        font-size: 2.2rem;
    }

    .travel-card {
        min-height: 260px;
    }
}

@media (max-width: 991.98px) {
    .travel-info-title {
        font-size: 2rem;
    }

    .travel-card {
        min-height: 240px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .travel-info-title {
        font-size: 1.8rem;
        margin-bottom: 2rem !important;
    }

    .travel-card {
        min-height: 220px;
        padding: 1.5rem 1.2rem;
    }

    .travel-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .travel-info-title {
        font-size: 1.6rem;
    }

    .travel-card {
        min-height: 200px;
        padding: 1.2rem 1rem;
    }

    .travel-card-title {
        font-size: 1.2rem;
    }

    .travel-card-description {
        font-size: 0.9rem;
    }

    .travel-card-detail {
        font-size: 0.95rem;
    }

    /* Estilos específicos para TravelInfo en móvil - una sola tarjeta */
    .travel-info-section .d-flex {
        justify-content: center !important;
    }

    .travel-info-section .col-lg-4 {
        max-width: 300px !important;
        width: 100% !important;
    }
}

.footer-bg {
    background-color: #1e3a5f;
}

.footer-text {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.85rem;
}

.footer-link:hover {
    color: #e0e0e0;
}

.office-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.office-location {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-top: -0.5rem;
}

/* Estilos para el componenete de detail package */
.itinerary-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.75rem;
    overflow: hidden;
}

.itinerary-card .card-header {
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8d7a0 0%, #e6c068 100%);
}

.itinerary-card .card-header:hover {
    background: linear-gradient(135deg, #e6c068 0%, #d4ac56 100%);
}

.day-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.collapse-icon {
    transition: transform 0.3s ease;
}

.collapsed .collapse-icon {
    transform: rotate(-90deg);
}

.timeline {
    position: relative;
    padding-left: 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-icon {
    position: relative;
    z-index: 2;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #e9ecef !important;
    background: white !important;
}

.time-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

.activity-title {
    color: #333;
    font-weight: 600;
}

.activity-description {
    font-size: 0.9rem;
    line-height: 1.4;
}

.image-gallery {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.image-card {
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.gallery-image {
    transition: transform 0.3s ease;
}

.image-card:hover .gallery-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
}

.image-caption {
    font-size: 0.9rem;
    font-weight: 500;
}

.background-gallery-img {
    width: 100%;
    height: 24rem;
    background-size: cover;
    background-position: center;
}

.checkout-btn {
    background: var(--gema-color-botton) !important;
    color: white !important;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
    .background-gallery-img {
        height: 10rem;
    }

    .itinerary-card .card-header {
        padding: 0.75rem 1rem;
    }

    .day-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .location-text {
        font-size: 0.8rem;
    }

    .timeline {
        padding-left: 0.5rem;
    }

    .icon-circle {
        width: 2rem;
        height: 2rem;
    }
}

/* Estilos para filtros de búsqueda */
.search-filters-container {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(166, 138, 100, 0.1);
}

/* Filtros desktop */
.filter-select,
.filter-input {
    border-width: 1.5px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--gema-color-botton);
    box-shadow: 0 0 0 3px rgba(166, 138, 100, 0.1);
    outline: none;
}

.btn-search {
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.btn-search:hover {
    background-color: #8b755a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(166, 138, 100, 0.3);
}

/* Filtros móviles mejorados */
@media (max-width: 767px) {
    .hero-section {
        min-height: 50vh;
    }

    .search-filters-container {
        margin: 0 10px;
        border-radius: 16px !important;
        padding: 20px !important;
    }

    .glass-container {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0px;
        padding: 0px;
        margin: 0px;
    }

    .mobile-filters {
        gap: 8px;
    }

    .filter-select-mobile,
    .filter-input-mobile {
        border-width: 1.5px;
        padding: 14px 12px;
        font-size: 14px;
        font-weight: 500;
        color: var(--gema-color-text);
        background-color: #fff;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .filter-select-mobile:focus,
    .filter-input-mobile:focus {
        border-color: var(--gema-color-botton);
        box-shadow: 0 0 0 3px rgba(166, 138, 100, 0.15);
        outline: none;
        transform: translateY(-1px);
    }

    .filter-select-mobile option {
        padding: 10px;
        font-weight: 500;
    }

    .btn-search-mobile {
        padding: 14px 16px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 4px 12px rgba(166, 138, 100, 0.25);
    }

    .btn-search-mobile:hover {
        background-color: #8b755a !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(166, 138, 100, 0.4);
    }

    .btn-search-mobile i {
        font-size: 16px;
    }

    /* Mejoras visuales adicionales */
    .mobile-filters .col-6 {
        margin-bottom: 8px;
    }

    .mobile-filters small {
        font-size: 11px;
        color: var(--gema-color-botton);
        font-weight: 500;
        margin-top: 4px;
        display: block;
    }

    /* Animaciones para móvil */
    .filter-select-mobile,
    .filter-input-mobile,
    .btn-search-mobile {
        animation: fadeInUp 0.6s ease-out;
    }

    .filter-select-mobile:nth-child(1) {
        animation-delay: 0.1s;
    }

    .filter-select-mobile:nth-child(2) {
        animation-delay: 0.2s;
    }

    .filter-input-mobile:nth-child(1) {
        animation-delay: 0.3s;
    }

    .filter-input-mobile:nth-child(2) {
        animation-delay: 0.4s;
    }

    .btn-search-mobile {
        animation-delay: 0.5s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mejoras para tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .search-filters-container {
        padding: 16px !important;
    }

    .filter-select,
    .filter-input {
        font-size: 13px;
        padding: 10px 14px;
    }

    .btn-search {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ========================================= */
/* ESTILOS DEL SIDEBAR */
/* ========================================= */

/* Header icons */
.header-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-icon:hover {
    transform: scale(1.1);
}

.menu-toggle {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(166, 138, 100, 0.1);
}

.menu-toggle.active {
    background-color: rgba(166, 138, 100, 0.2);
}

.menu-toggle .fas {
    color: var(--gema-color-botton);
    font-size: 18px;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar principal */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar.active {
    right: 0;
}

/* Header del sidebar */
.sidebar-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--gema-color-botton), #8b755a);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-brand {
    font-size: 18px;
    font-weight: 700;
    margin-left: 12px;
    letter-spacing: 0.5px;
}

.btn-close-sidebar {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: rotate(90deg);
}

/* Body del sidebar */
.sidebar-body {
    flex: 1;
    padding: 24px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 138, 100, 0.3) transparent;
}

.sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(166, 138, 100, 0.3);
    border-radius: 2px;
}

/* Sección de usuario */
.user-section {
    padding: 0 24px 16px;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gema-color-botton);
    margin-right: 12px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info .user-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--gema-color-text);
}

.user-info .user-email {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Divisor */
.sidebar-divider {
    margin: 16px 24px;
    border-color: rgba(166, 138, 100, 0.2);
}

/* Navegación */
.sidebar-nav .nav-link {
    padding: 12px 24px;
    color: var(--gema-color-text);
    font-weight: 500;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.sidebar-nav .nav-link:hover {
    background: linear-gradient(90deg, rgba(166, 138, 100, 0.1), transparent);
    color: var(--gema-color-botton);
    transform: translateX(8px);
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    width: 20px;
    color: var(--gema-color-botton);
}

.sidebar-nav .nav-link .fa-chevron-right {
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.sidebar-nav .nav-link:hover .fa-chevron-right {
    transform: translateX(4px);
}

/* Secciones del sidebar */
.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-section-title {
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
}

.sidebar-section .nav-link {
    padding: 10px 24px;
    color: #495057;
    font-weight: 400;
    transition: all 0.3s ease;
}

.sidebar-section .nav-link:hover {
    background: rgba(166, 138, 100, 0.05);
    color: var(--gema-color-botton);
    transform: translateX(4px);
}

.sidebar-section .nav-link.text-danger:hover {
    background: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

/* Badges */
.badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Footer del sidebar */
.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(166, 138, 100, 0.2);
    background: rgba(248, 249, 250, 0.5);
}

.contact-info p {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 11px;
    color: var(--gema-color-botton);
    width: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }

    .sidebar-header {
        padding: 16px 20px;
    }

    .sidebar-body {
        padding: 20px 0;
    }

    .user-section {
        padding: 0 20px 12px;
    }

    .sidebar-divider {
        margin: 12px 20px;
    }

    .sidebar-nav .nav-link {
        padding: 14px 20px;
        font-size: 16px;
    }

    .sidebar-section .nav-link {
        padding: 12px 20px;
    }

    .sidebar-footer {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100vw;
    }
}

/* Animaciones */
@keyframes slideInRight {
    from {
        right: -400px;
    }

    to {
        right: 0;
    }
}

@keyframes slideOutRight {
    from {
        right: 0;
    }

    to {
        right: -400px;
    }
}

/* ========================================= */
/* ESTILOS DEL CHECKOUT TIPO LEVI'S */
/* ========================================= */

/* Contenedor principal del checkout */
.checkout-container {
    min-height: 100vh;
    background-color: #f8f9fa;
    overflow-x: hidden;
    width: 100%;
}

/* Header del checkout */
.checkout-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.checkout-logo img {
    transition: transform 0.2s ease;
}

.checkout-logo:hover img {
    transform: scale(1.05);
}

.checkout-security {
    font-size: 14px;
}

/* Stepper/Progress bar */
.checkout-stepper {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 30px 0;
}

.stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.stepper-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.stepper-text {
    text-align: center;
}

.stepper-title {
    font-weight: 600;
    font-size: 14px;
    color: #495057;
    margin-bottom: 2px;
}

.stepper-subtitle {
    font-size: 12px;
    color: #6c757d;
}

.stepper-line {
    height: 2px;
    background: #e9ecef;
    flex: 1;
    margin: 0 20px;
    position: relative;
    top: -20px;
}

.stepper-item.active .stepper-number {
    background: var(--gema-color-botton);
    color: white;
    border-color: var(--gema-color-botton);
    box-shadow: 0 0 0 3px rgba(166, 138, 100, 0.2);
}

.stepper-item.completed .stepper-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.stepper-item.completed .stepper-number::before {
    content: "✓";
    font-size: 14px;
}

.stepper-item.active .stepper-title,
.stepper-item.completed .stepper-title {
    color: var(--gema-color-botton);
}

/* Contenido principal */
.checkout-main {
    padding: 40px 0;
}

.checkout-step {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}



.step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gema-color-text);
    margin-bottom: 8px;
}

.step-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Formulario del checkout (paso Información) al mismo tamaño que el
   resumen del pedido (.summary-line usa 14px), en vez del tamaño grande
   por defecto de Bootstrap (fs-6 + input-group-lg). */
.checkout-form .form-label {
    font-size: 14px !important;
}

.checkout-form .form-text {
    font-size: 12px;
}

.checkout-form .input-group-lg > .form-control,
.checkout-form .input-group-lg > .form-select,
.checkout-form .input-group-lg > .input-group-text {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
}

/* Items del carrito */
.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: white;
    transition: all 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--gema-color-botton);
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gema-color-text);
}

.item-description {
    color: #6c757d;
    margin-bottom: 8px;
    font-size: 14px;
}

.item-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.item-options .badge {
    font-size: 11px;
    padding: 4px 8px;
}

.item-quantity {
    width: 120px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-controls button {
    width: 32px;
    height: 38px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-controls button:hover {
    background: var(--gema-color-botton);
    color: white;
}

.quantity-controls input {
    width: 56px;
    height: 38px;
    border: none;
    font-size: 14px;
    font-weight: 600;
}

.quantity-controls input:focus {
    box-shadow: none;
    outline: none;
}

.item-price {
    text-align: right;
    width: 120px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--gema-color-text);
}

.price-original {
    font-size: 14px;
    color: #6c757d;
    text-decoration: line-through;
}

.item-remove {
    width: 40px;
    text-align: center;
}

.item-remove button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.item-remove button:hover {
    background: #dc3545;
    color: white;
}

/* Sección de código promocional */
.promo-code-section {
    margin: 30px 0;
}

.promo-code-section .card {
    border-radius: 8px;
}

.promo-code-section .card-title {
    font-size: 16px;
    color: var(--gema-color-text);
}

/* Formularios */
.checkout-form .form-label {
    font-weight: 600;
    color: var(--gema-color-text);
    margin-bottom: 8px;
}

.checkout-form .form-control,
.checkout-form .form-select {
    border-radius: 6px;
    border: 1px solid #e9ecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--gema-color-botton);
    box-shadow: 0 0 0 3px rgba(166, 138, 100, 0.1);
}

/* Métodos de pago */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    position: relative;
}

.payment-card {
    width: 100%;
    padding: 20px;
    text-align: left;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    background: white;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.payment-card:hover {
    border-color: var(--gema-color-botton);
    background: rgba(166, 138, 100, 0.02);
}

.btn-check:checked+.payment-card {
    border-color: var(--gema-color-botton);
    background: rgba(166, 138, 100, 0.05);
    color: var(--gema-color-botton);
}

.payment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Confirmación */
.confirmation-details .alert {
    border-radius: 8px;
    border: none;
    padding: 20px;
}

.terms-section {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Navegación entre pasos */
.step-navigation {
    background: white;
    padding: 25px 30px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
}

.step-navigation button {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Resumen lateral */
.order-summary {
    top: 100px;
}

.order-summary .card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-summary .card-header {
    background: var(--gema-color-botton);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 20px 25px;
    border: none;
}

.order-summary .card-body {
    padding: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-line.total {
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
}

.shipping-info {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.shipping-info h6 {
    color: var(--gema-color-text);
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
}

.info-item i {
    color: var(--gema-color-botton);
    width: 20px;
}

.security-badges {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .stepper-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .stepper-line {
        display: none;
    }

    .stepper-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        width: 100%;
        justify-content: flex-start;
    }

    .stepper-text {
        text-align: left;
    }

    .checkout-main {
        padding: 20px 0;
    }

    .checkout-step {
        padding: 20px;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 24px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .item-image {
        width: 100px;
        height: 100px;
    }

    .item-details {
        text-align: center;
    }

    .item-quantity,
    .item-price {
        width: auto;
    }

    .payment-methods {
        gap: 10px;
    }

    .payment-card {
        padding: 15px;
    }

    .order-summary {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .stepper-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .stepper-title {
        font-size: 13px;
    }

    .stepper-subtitle {
        font-size: 11px;
    }

    .checkout-step {
        padding: 15px;
    }

    .step-title {
        font-size: 20px;
    }

    .cart-item {
        padding: 15px;
    }
}




	/* Layout Grid para Carrito y Resumen */
		.cart-layout-grid {
			display: grid;
			grid-template-columns: 1fr 420px;
			gap: 30px;
			align-items: start;
			max-width: 1400px;
			margin: 0 auto;
			padding: 0 15px;
		}

		/* Contenedor principal del carrito */
		.cart-main-container {
			background: #fff;
			border-radius: 12px;
			padding: 30px;
			box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
			border: 1px solid #e9ecef;
		}

		/* Items con scroll */
		.cart-items-scroll {
			max-height: 450px;
			overflow-y: auto;
			padding-right: 10px;
			margin-bottom: 20px;
		}

		.cart-items-scroll::-webkit-scrollbar {
			width: 6px;
		}

		.cart-items-scroll::-webkit-scrollbar-track {
			background: #f1f1f1;
			border-radius: 3px;
		}

		.cart-items-scroll::-webkit-scrollbar-thumb {
			background: #a68a64;
			border-radius: 3px;
		}

		/* Footer del carrito (cupón + botón) */
		.cart-footer {
			display: flex;
			justify-content: space-between;
			align-items: center;
			gap: 20px;
			padding-top: 20px;
			border-top: 1px solid #e9ecef;
			flex-wrap: wrap;
		}

		.promo-section {
			display: flex;
			flex-direction: column;
			gap: 8px;
			margin: 18px 0;
			padding: 14px 16px;
			background: #f8f5f0;
			border-radius: 10px;
		}

		.promo-label {
			font-size: 0.85rem;
			font-weight: 600;
			color: #495057;
			display: flex;
			align-items: center;
			gap: 8px;
		}

		.promo-input-group {
			display: flex;
			align-items: center;
			gap: 8px;
		}

		.promo-input-group .form-control {
			border-radius: 6px;
			flex: 1;
			min-width: 0;
		}

		.promo-input-group .btn {
			white-space: nowrap;
			flex-shrink: 0;
		}

		/* Resumen sticky */
		.cart-summary-sticky {
			position: sticky;
			top: 100px;
		}



		/* Responsive */
		@media (max-width: 991px) {
			.cart-layout-grid {
				grid-template-columns: 1fr;
				display: flex;
				flex-direction: column;
				padding: 0;
				max-width: 100%;
			}

			/* Orden en móvil: 1-Carrito, 2-Resumen, 3-Footer */
			.cart-main-container {
				order: 1;
				width: 100%;
				border-radius: 12px;
			}

			.cart-summary-sticky {
				order: 2;
				position: static;
				margin-top: 20px;
				width: 100%;
			}

			/* Hacer el resumen más ancho en móvil */
			.cart-summary-sticky .order-summary,
			.cart-summary-sticky > div {
				width: 100% !important;
				max-width: 100% !important;
			}

			.cart-footer-mobile {
				order: 3;
				margin-top: 25px;
				padding: 0;
				background: transparent;
				border: none;
				box-shadow: none;
			}

			/* Ocultar footer del contenedor en móvil */
			.cart-main-container .cart-footer {
				display: none;
			}

			.cart-footer-mobile .cart-footer {
				display: flex;
				flex-direction: column;
				gap: 20px;
				border-top: none;
				padding-top: 0;
				align-items: center;
			}

			.cart-footer-mobile .promo-section {
				width: 100%;
				background: #fff;
				padding: 20px;
				border-radius: 12px;
				box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
				border: 1px solid #e9ecef;
			}

			.cart-footer-mobile .promo-input-group {
				width: 100%;
			}

			.cart-footer-mobile .promo-input-group .form-control {
				flex: 1;
				width: auto;
			}

			/* Botón continuar separado y destacado */
			.cart-footer-mobile .btn-original {
				width: 100%;
				padding: 15px 30px;
				font-size: 1.1rem;
				border-radius: 12px;
				margin-top: 5px;
			}
		}

		/* Ocultar en desktop */
		.cart-footer-mobile {
			display: none;
		}

		@media (max-width: 991px) {
			.cart-footer-mobile {
				display: block;
				width: 100%;
			}
		}

		/* Fix overflow y tamaños en móvil */
		@media (max-width: 576px) {
			/* Contenedor con padding pequeño */
			.checkout-container .container {
				padding: 0 10px;
				max-width: 100%;
			}

			.cart-layout-grid {
				padding: 0;
				margin: 0;
				width: 100%;
			}

			/* Carrito más ancho con padding interno */
			.cart-main-container {
				padding: 18px 15px;
				margin: 0;
				border-radius: 10px;
			}

			/* Resumen más ancho */
			.cart-summary-sticky {
				margin-left: 0;
				margin-right: 0;
			}

			.order-summary {
				border-radius: 10px !important;
			}

			/* Ajustar tamaño del botón continuar */
			.cart-footer-mobile .btn-original {
				padding: 12px 20px;
				font-size: 1rem;
			}

			/* Ajustar promo section */
			.cart-footer-mobile .promo-section {
				padding: 15px;
			}

			.cart-footer-mobile .promo-input-group .form-control {
				min-width: 0;
				flex: 1;
			}

			.cart-footer-mobile .promo-input-group .btn {
				padding: 8px 12px;
				font-size: 0.85rem;
				flex-shrink: 0;
			}
		}
