* {
    box-sizing: border-box !important;
}

.pagination-container {
    margin-top: 3rem;
}

.content-portada {
    width: 100%;
    height: 400px;
    display: inline-flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.content-portada a {
    width: 100%;
    height: 100%;
}

.img-portada {
    max-width: 100%;
    height: 100%;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==================== SEARCH STYLES ==================== */
#search {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #4CAF50;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

#search:focus {
    outline: none;
    border-color: #45a049;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
}

#search::placeholder {
    color: #888;
    opacity: 1;
}

.input-group {
    max-width: 500px;
    margin: 1.5rem auto;
    position: relative;
    width: 100%;
}

#btnSearch {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #4CAF50 !important;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

#btnSearch:hover {
    background: #45a049 !important;
    transform: translateY(-50%) scale(1.05);
}

#btnSearch i {
    font-size: 1rem;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove default input group styles */
.input-group-append {
    position: static;
}

.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    padding-right: 50px;
    /* Space for the search icon */
}

/* Dark mode support */
.section--dark input,
.section--dark textarea,
.section--dark .form-control {
    color: #333 !important;
    background-color: #fff !important;
}

.btn svg {
    margin: 0 !important;
    color: white !important;
    padding: 0 !important;
}

#contetBoletos {
    width: 100%;
    min-width: 100%;
    justify-content: space-between;
    align-items: center;
    vertical-align: center;
    text-align: center;
    margin: 0 !important;
    display: inline-flex !important;
}

#contentShoppingCart {
    width: 100%;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between !important;

}

#table_shopping {
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    color: white;
    margin-top: 1.5rem !important;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#table_shopping thead th {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.2rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #4CAF50;
    text-align: center;
}

#table_shopping tbody td,
#table_shopping tbody th {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1rem;
    vertical-align: middle;
    text-align: center;
    font-size: 1.1rem;
}

#table_shopping tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.text-succes {
    color: #4CAF50 !important;
    font-weight: bold;
}

/* ==================== NAVBAR LOGO STYLES ==================== */
/* ==================== NAVBAR LOGO STYLES ==================== */

/* Logo Frame - Marco decorativo circular */
/* Logo Frame - Marco decorativo circular */
.logo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    /* Reducido de 120px */
    height: 80px;
    /* Reducido de 120px */
    border-radius: 50%;
    padding: 3px;
    /* Reducido para maximizar imagen */
    background: linear-gradient(135deg, #4CAF50, #FFD700, #ff416c, #4CAF50);
    background-size: 300% 300%;
    animation: gradient-rotate 4s ease infinite;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #FFD700, #4CAF50, #ff416c, #FFD700);
    background-size: 300% 300%;
    animation: gradient-rotate 4s ease infinite reverse;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
}

@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.navbar-brand:hover .logo-frame {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(76, 175, 80, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
}

.navbar-brand:hover .logo-frame::before {
    opacity: 1;
}

.logo-navbar {
    max-height: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Cambiado a cover para llenar todo */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-radius: 50%;
    background: #1a1e23;
    padding: 0;
    /* Removido padding para llenar marco */
    cursor: pointer !important;
}

.logo-navbar:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
}

.navbar-brand {
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
}

@media (max-width: 991px) {
    .logo-frame {
        width: 70px;
        /* Reducido mobile */
        height: 70px;
        /* Reducido mobile */
    }

    .logo-navbar {
        max-height: 100% !important;
        max-width: 100% !important;
    }

    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0 !important;
    }

    /* Center the logo in the header on mobile */
    .navbar-brand img {
        margin: 0 auto;
    }
}

#contetBoletos div {
    width: 100%;
    flex-wrap: wrap !important;
    justify-content: center !important;
    vertical-align: center;
    display: inline-flex;
}

.content-all-iamgenes {
    width: 100%;
    justify-content: center;
}

.img-miniatura {
    height: 80px;
    margin: 3px;
    background-repeat: no-repeat;
    background-size: 100%;
    box-sizing: border-box;
    object-fit: cover;

}

/* ==================== WHATSAPP BUTTON ==================== */
.btn-whatsapp {
    width: 60px;
    height: 60px;
    position: fixed;
    z-index: 1000;
    border-radius: 50%;
    background: #25d366 !important;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    -webkit-animation: pulse 1.5s infinite;
    animation: pulse 1.5s infinite;
    border: none;
    cursor: pointer;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    -webkit-animation: none;
    animation: none;
}

.btn-whatsapp i {
    color: white !important;
    text-align: center;
    font-size: 20pt;
}

@-webkit-keyframes pulse {
    to {
        -webkit-box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}

@keyframes pulse {
    to {
        -webkit-box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}

.btn-shopping {
    width: 65px;
    height: 65px;
    display: none;
    justify-content: center;
    align-items: center;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    position: fixed;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-shopping 2s infinite;
}

.btn-shopping:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 75, 43, 0.5);
    animation: none;
}

.btn-shopping i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.btn-shopping:hover i {
    transform: rotate(-10deg) scale(1.1);
}

@keyframes pulse-shopping {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 75, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    pointer-events: auto;
}

/* Social Icons Container */
.social-icons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Base button styles */
.social-icon,
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.social-icon:active {
    transform: scale(0.95);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Ripple effect */
.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
}

.social-icon:active::after {
    transform: scale(2);
    opacity: 0;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .social-icons-container {
        bottom: 70px;
        /* Adjust based on your shopping cart button */
        right: 15px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    /* Ensure touch targets are large enough */
    .social-icon::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}

.modal .btn {
    height: 40px;
    font-size: 11pt;
    padding: 1rem;
}

@-webkit-keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(212, 90, 90, 0.54);
    }

    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(232, 85, 130, 0.65);
    }
}

/* ==================== PRICE BADGE STYLES ==================== */
.price-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 15px;
    padding: 20px 40px;
    display: inline-block;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.price-badge::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: 0.5s;
}

.price-badge:hover::before {
    left: 100%;
}

.price-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.price-badge .currency {
    font-size: 1.8rem;
    font-weight: 300;
    vertical-align: top;
    margin-right: 5px;
    color: #4CAF50;
}

.price-badge .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    line-height: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.price-badge .currency-code {
    font-size: 1rem;
    font-weight: 700;
    color: #888;
    margin-left: 5px;
    vertical-align: bottom;
    margin-bottom: 10px;
    display: inline-block;
}

.price-badge .per-ticket {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    margin-top: 5px;
    color: #ddd;
    font-weight: 600;
}

/* ==================== PAGINATION STYLES ==================== */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 5px;
    align-items: center;
    margin: 0 !important;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    margin-left: 0;
    line-height: 1;
    color: #fff !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
}

.page-link:hover {
    z-index: 2;
    color: #fff !important;
    background-color: rgba(76, 175, 80, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff !important;
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transform: scale(1.1);
}

.page-item.disabled .page-link {
    color: rgba(255, 255, 255, 0.3) !important;
    pointer-events: none;
    background-color: transparent !important;
    border-color: transparent !important;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.page-link i {
    font-size: 0.9rem;
}

/* ==================== PROGRESS HEADER STYLES ==================== */
.progress-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.progress-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.15), transparent);
    transition: 0.6s;
}

.progress-header:hover::before {
    left: 100%;
}

.progress-header:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.4);
}

.progress-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.progress-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.progress-icon i {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: trophy-shine 2s ease-in-out infinite;
}

@keyframes trophy-shine {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

.progress-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
}

.progress-percentage {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.percentage-value {
    font-size: 3rem;
    font-weight: 800;
    color: #4CAF50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
    line-height: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: count-pulse 2s ease-in-out infinite;
}

@keyframes count-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.percentage-symbol {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    opacity: 0.9;
}

.percentage-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .progress-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .progress-icon {
        width: 70px;
        height: 70px;
    }

    .progress-icon i {
        font-size: 2rem;
    }

    .progress-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .percentage-value {
        font-size: 2.5rem;
    }

    .percentage-symbol {
        font-size: 1.5rem;
    }

    .percentage-label {
        font-size: 1rem;
    }

    .progress-percentage {
        justify-content: center;
    }
}