/* Estilos para métodos de pago */
.payment-method-card {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef !important;
}http://localhost/farmaobrera/product-detail.php?id=4

.payment-method-card:hover {
    border-color: var(--primary-color) !important;
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-method-card.border-primary {
    border-color: var(--primary-color) !important;
    background-color: #e3f2fd !important;
}

.payment-method-card i {
    transition: color 0.3s ease;
}

.payment-method-card:hover i {
    color: var(--primary-color) !important;
}


/* Animaciones para totales */
#total-final {
    transition: all 0.3s ease;
}

/* Estilos para página de perfil */
.stat-item {
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.stat-item h4 {
    margin: 0;
    font-weight: bold;
}

/* Estilos para formularios de perfil */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 156, 166, 0.25);
}

/* Estilos para alertas */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d1edff;
    color: #0c5460;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Estilos para tabla de pedidos */
.table-hover tbody tr:hover {
    background-color: rgba(4, 156, 166, 0.1);
}

/* Estilos para página de pedidos */
.order-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-card.status-pending {
    border-left-color: var(--warning-color);
}

.order-card.status-processing {
    border-left-color: var(--info-color);
}

.order-card.status-completed {
    border-left-color: var(--success-color);
}

.order-card.status-cancelled {
    border-left-color: var(--danger-color);
}

/* Estilos para estadísticas de pedidos */
.stats-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card i {
    transition: transform 0.3s ease;
}

.stats-card:hover i {
    transform: scale(1.1);
}

/* Estilos para filtros */
.filter-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
}

/* Estilos para tabla de pedidos */
.table-hover tbody tr {
    transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(4, 156, 166, 0.08);
    transform: scale(1.01);
}

/* Estilos para badges de estado */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
}

/* Estilos para paginación */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: rgba(4, 156, 166, 0.1);
    border-color: var(--primary-color);
}

/* Estilos para página de delivery */
.delivery-option-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.delivery-option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.delivery-option-card .card-body {
    padding: 2rem;
}

.price-display {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Estilos para pasos del proceso */
.step-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Estilos para hero section de delivery */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #027a82 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Estilos para calculadora */
.calculator-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para información de farmacia */
.pharmacy-info-card {
    border-left: 4px solid var(--primary-color);
}

/* Estilos para beneficios */
.benefits-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefits-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.benefits-card i {
    transition: transform 0.3s ease;
}

.benefits-card:hover i {
    transform: scale(1.1);
}

/* Animaciones para iconos */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.delivery-option-card:hover i {
    animation: bounce 1s;
}

/* ===== HEADER RESPONSIVE ORGANIZADO ===== */

/* Estilos base del header */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Iconos de navegación */
.navbar-nav .nav-link i {
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

/* Mensaje de bienvenida */
.welcome-message {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.welcome-message:hover {
    color: white !important;
    transform: scale(1.02);
}

.welcome-message i {
    color: #ffc107;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    75% { transform: rotate(20deg); }
}

/* Badge del carrito */
.cart-item .nav-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Dropdown mejorado */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: rgba(4, 156, 166, 0.1);
    transform: translateX(5px);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 991.98px) {
    /* Estructura del navbar móvil */
    .navbar {
        padding: 0.5rem 0;
        position: relative;
        min-height: 60px;
    }
    
    /* Logo centrado */
    .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }
    
    /* Ocultar elementos desktop */
    .desktop-only,
    .desktop-menu-toggle {
        display: none !important;
    }
    
    
    /* Navegación principal oculta en móvil */
    .navbar-nav.me-auto {
        display: none !important;
    }
    
    /* Buscador desktop oculto */
    .desktop-search {
        display: none !important;
    }
    
    /* Contenedor de elementos móviles - ESQUINAS OPUESTAS */
    .navbar-nav:last-child {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    
    /* Carrito - esquina izquierda */
    .cart-item {
        position: absolute !important;
        left: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 15 !important;
    }
    
    /* Badge del carrito en móvil */
    .cart-item .cart-badge {
        top: -5px !important;
        right: -5px !important;
        font-size: 0.6rem !important;
        min-width: 16px !important;
        height: 16px !important;
    }
    
    .cart-item .nav-link {
        padding: 0.5rem !important;
        border-radius: 50% !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 40px !important;
        min-height: 40px !important;
        position: relative !important;
    }
    
    .cart-item .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }
    
    /* Cuenta - esquina derecha */
    .account-item {
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
    }
    
    /* Dropdown toggle del account */
    .account-item .dropdown-toggle {
        position: relative !important;
        z-index: 21 !important;
    }
    
    .account-item .nav-link {
        padding: 0.5rem !important;
        border-radius: 50% !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .account-item .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }
    
    /* Ocultar otros elementos del navbar-nav */
    .navbar-nav:last-child .nav-item:not(.cart-item):not(.account-item) {
        display: none !important;
    }
    
    /* Dropdown móvil mejorado */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        margin-top: 0.5rem !important;
        position: absolute !important;
        z-index: 1050 !important;
        min-width: 200px !important;
        background-color: white !important;
        border: 1px solid rgba(0, 0, 0, 0.15) !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        padding: 0.5rem 0 !important;
    }
    
    /* Items del dropdown móvil */
    .dropdown-menu .dropdown-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        color: #333 !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .dropdown-menu .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #007bff !important;
    }
    
    .dropdown-menu .dropdown-item i {
        width: 16px !important;
        text-align: center !important;
    }
    
    /* Divider del dropdown */
    .dropdown-menu .dropdown-divider {
        margin: 0.5rem 0 !important;
        border-top: 1px solid #dee2e6 !important;
    }
    
    /* Asegurar que los elementos estén visibles */
    .cart-item,
    .account-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Forzar el colapso del menú en móvil */
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }
    
    /* CSS adicional para asegurar posicionamiento */
    .navbar-nav:last-child {
        width: 100% !important;
    }
    
    .cart-item {
        flex: 0 0 auto !important;
    }
    
    .account-item {
        flex: 0 0 auto !important;
    }
    
    /* Asegurar que el navbar tenga altura suficiente */
    .navbar {
        height: 60px !important;
    }
    
    /* Ajustar padding del body para móvil */
    body {
        padding-top: 70px !important;
    }
    
    /* Asegurar que solo carrito y cuenta estén visibles */
    .navbar-nav:last-child .nav-item {
        display: none !important;
    }
    
    .navbar-nav:last-child .cart-item,
    .navbar-nav:last-child .account-item {
        display: block !important;
    }
}
     
/* ===== PRODUCTOS RESPONSIVE ===== */

/* Desktop - 5 productos por línea */
@media (min-width: 1200px) {
    .col-md-3 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

/* Desktop mediano - 4 productos por línea */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .col-md-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* Móvil - 2 productos por línea */
@media (max-width: 991.98px) {
    .col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Ajustar padding de las tarjetas de productos */
    .product-card .card-body {
        padding: 1rem !important;
    }
    
    .product-card .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .product-card .price {
        font-size: 1rem !important;
    }
    
    .product-card .btn {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Pantallas muy pequeñas (móviles pequeños) */
@media (max-width: 576px) {
    /* Productos: mantener 2 por línea pero ajustar más el contenido */
    .col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0.25rem !important;
    }
    
    .product-card .card-body {
        padding: 0.75rem !important;
    }
    
    .product-card .card-title {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }
    
    .product-card .price {
        font-size: 0.9rem !important;
    }
    
    .product-card .btn {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .product-card .card-img-top {
        height: 120px !important;
    }
}

/* ===== BUSCADOR RESPONSIVE ===== */

/* Buscador desktop - en el header */
.desktop-search {
    display: block;
}

.desktop-search .input-group {
    max-width: 350px;
}

.desktop-search .form-control {
    border-radius: 20px 0 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.desktop-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.desktop-search .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

.desktop-search .btn {
    border-radius: 0 20px 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: none;
    transition: all 0.3s ease;
}

.desktop-search .btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.05);
}

/* Buscador móvil - pegado al header */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 0;
}

.search-section .container {
    max-width: 500px;
}

.search-section .input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.search-section .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background: transparent;
}

.search-section .form-control:focus {
    box-shadow: none;
    border: none;
    background: transparent;
}

.search-section .btn {
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, #027a82 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.search-section .btn:hover {
    background: linear-gradient(135deg, #027a82 0%, #025a61 100%);
    transform: scale(1.05);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Móvil - ocultar buscador desktop, mostrar móvil */
@media (max-width: 991.98px) {
    .desktop-search {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .search-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0.5rem 0;
        margin-top: 0;
    }
    
    .search-section .form-control {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-section .btn {
        padding: 0.6rem 1rem;
    }
}

/* Desktop - ocultar buscador móvil, mostrar desktop */
@media (min-width: 992px) {
    .search-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .desktop-search {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

:root {
    --primary-color: #049ca6;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Espacio para el header fijo */
}

/* Header y navegación */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
}

/* ===== ESTILOS GENERALES DEL NAVBAR ===== */

/* Header y navegación */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #049ca6 0%, #037a82 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Feature cards */
.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

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

/* Product cards */
.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card .card-img-top.no-image {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #049ca6 0%, #037a82 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #037a82 0%, #025a61 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 156, 166, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 156, 166, 0.25);
}

.input-group-text {
    border-radius: 8px 0 0 8px;
    border: 2px solid #e9ecef;
    background-color: #f8f9fa;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid var(--primary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--secondary-color);
}

/* Badges */
.badge {
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .product-card .card-img-top {
        height: 150px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #037a82;
}

/* Utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Estilos adicionales para el nuevo color */
.navbar-dark.bg-primary {
    background: linear-gradient(135deg, #049ca6 0%, #037a82 100%) !important;
}

.dropdown-item:hover {
    background-color: rgba(4, 156, 166, 0.1);
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Focus styles */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(4, 156, 166, 0.25);
}

/* Estilos para validación especial de pago móvil */
.payment-approved {
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3) !important;
}

#mobile-validation-message {
    animation: fadeIn 0.3s ease-in;
}

#mobile-validation-message .alert {
    border-left: 4px solid;
    font-weight: 500;
}

#mobile-validation-message .alert-success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

#mobile-validation-message .alert-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animación para el spinner de validación */
.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para campos de pago móvil validados */
.mobile-fields-validated .form-control {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.mobile-fields-validated .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
