/*
==========================================
  C&O Store - Custom CSS
  Diseño minimalista y moderno
  Bootstrap 5.3+ 
==========================================
*/

/* ==========================================
   1. VARIABLES Y BASE
   ========================================== */

:root {
    /* Colors - C&O Store Branding */
    --primary-color: #f7941d;
    --secondary-color: #aca8a8;
    --dark-color: #000000;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --gray: #aca8a8;
    --success: #28a745;
    --danger: #dc3545;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* ==========================================
   2. NAVBAR
   ========================================== */

.navbar {
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    transition: var(--transition-normal);
}

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

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(247, 148, 29, 0.1);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    transition: var(--transition-normal);
    min-width: 200px;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

/* ==========================================
   3. HERO SECTION
   ========================================== */

.hero-section {
    padding: 3rem 0;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    animation: fadeInUp 0.8s ease;
}

.hero-section p {
    animation: fadeInUp 1s ease;
}

.hero-section .btn {
    animation: fadeInUp 1.2s ease;
}

.hero-section img {
    animation: fadeIn 1.5s ease;
}

.min-vh-75 {
    min-height: 75vh;
}

/* ==========================================
   4. PRODUCT CARDS
   ========================================== */

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    transition: var(--transition-slow);
    object-fit: cover;
    height: 280px;
}

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

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

.product-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   5. BUTTONS
   ========================================== */

.btn {
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition-normal);
    border: none;
}

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

.btn-primary:hover {
    background: #e88516;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

/* Button with icon */
.btn i {
    transition: var(--transition-normal);
}

.btn:hover i {
    transform: translateX(4px);
}

/* ==========================================
   6. CARDS & CONTAINERS
   ========================================== */

.card {
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.rounded-4 {
    border-radius: var(--radius-lg) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ==========================================
   7. PROMOTIONAL BANNERS
   ========================================== */

.promo-banner {
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.promo-banner:hover::before {
    top: 100%;
}

/* ==========================================
   8. FEATURES SECTION
   ========================================== */

.feature-box {
    transition: var(--transition-normal);
    border-radius: var(--radius-md);
}

.feature-box:hover {
    background-color: var(--light-color);
    transform: translateY(-4px);
}

.icon-box {
    transition: var(--transition-normal);
}

.feature-box:hover .icon-box i {
    transform: scale(1.1);
}

/* ==========================================
   9. FOOTER
   ========================================== */

/* Asegurar que el footer ocupe todo el ancho */
footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

footer .container-fluid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Texto en footer - colores claros sobre fondo oscuro */
footer .text-muted {
    color: #b8b8b8 !important;
}

footer p,
footer li,
footer span {
    color: #e0e0e0;
}

footer a {
    color: #ffffff !important;
    transition: var(--transition-normal);
}

footer a:hover {
    color: #ffffff !important;
    opacity: 0.8;
    transform: translateX(4px);
}

.social-links a {
    transition: var(--transition-normal);
    color: #000000 !important;
}

.social-links a:hover {
    transform: translateY(-4px);
    color: #ffffff !important;
    opacity: 0.8;
}

/* ==========================================
   10. PAGE HEADER
   ========================================== */

.page-header {
    padding: 3rem 0;
}

.page-header h1 {
    animation: fadeInUp 0.6s ease;
}

/* ==========================================
   11. CATALOG & FILTERS
   ========================================== */

.filter-box {
    position: sticky;
    top: 100px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

/* ==========================================
   12. PRODUCT DETAIL PAGE
   ========================================== */

.product-image-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.product-thumbnail:hover,
.product-thumbnail.active-thumbnail {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Color Options */
.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.color-option:hover,
.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Quantity Selector */
.quantity-selector input {
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm);
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   13. CART PAGE
   ========================================== */

.cart-item {
    transition: var(--transition-normal);
}

.cart-item:hover {
    transform: translateX(4px);
}

.quantity-selector-small button {
    padding: 0.25rem 0.5rem;
}

/* ==========================================
   14. CHECKOUT PAGE
   ========================================== */

.checkout-steps {
    position: relative;
    display: flex;
    align-items: center;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.step.active .step-circle {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e9ecef;
    margin: 0 1rem;
}

.step.active + .step-line {
    background-color: var(--primary-color);
}

/* ==========================================
   15. CONTACT PAGE
   ========================================== */

.contact-card {
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateX(8px);
}

.contact-card .icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 450px;
}

/* Accordion Custom Styles */
.accordion-button {
    font-weight: 600;
    border-radius: var(--radius-lg) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.25);
}

/* ==========================================
   16. ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   17. UTILITIES
   ========================================== */

.cursor-pointer {
    cursor: pointer;
}

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

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

/* Badge */
.badge {
    padding: 0.35rem 0.65rem;
    border-radius: 2rem;
}

/* ==========================================
   18. RESPONSIVE DESIGN
   ========================================== */

/* Tablets */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        display: none;
    }
    
    .product-card img {
        height: 250px;
    }
    
    .filter-box {
        position: static;
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .product-card img {
        height: 220px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex: 1 1 40%;
        margin-bottom: 1rem;
    }
    
    .step-line {
        display: none;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .promo-banner {
        padding: 2rem !important;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================
   19. LOADING & TRANSITIONS
   ========================================== */

/* Smooth Page Transitions */
.page-transition {
    animation: fadeIn 0.5s ease;
}

/* Loading Spinner (optional) */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   20. CUSTOM SCROLLBAR
   ========================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e88516;
}

/* ==========================================
   21. PRINT STYLES
   ========================================== */

@media print {
    .navbar,
    .footer,
    .btn,
    .promo-banner {
        display: none !important;
    }
}

/* ==========================================
   22. CATEGORÍAS
   ========================================== */

/* Category Cards */
.category-card {
    transition: var(--transition-normal);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-card .category-image {
    transition: var(--transition-normal);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover .category-image {
    background-color: rgba(247, 148, 29, 0.15) !important;
}

.category-card .btn {
    transition: var(--transition-normal);
}

.category-card:hover .btn {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Banner de descuento */
.discount-banner {
    animation: pulse-banner 2s ease-in-out infinite;
}

@keyframes pulse-banner {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* ==========================================
   23. REVIEWS Y COMENTARIOS
   ========================================== */

/* Star Rating System */
.star-rating {
    display: flex;
    align-items: center;
}

.star-rating-btn {
    font-size: 1.5rem;
    color: #dee2e6;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-right: 0.25rem;
}

.star-rating-btn:hover,
.star-rating-btn.active {
    color: #ffc107;
    transform: scale(1.1);
}

.star-rating-btn.active {
    color: #ffc107;
}

/* Review Items */
.review-item {
    transition: var(--transition-normal);
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-item .badge {
    font-size: 0.75rem;
}

/* Review Form */
#review-form {
    transition: var(--transition-normal);
}

#review-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

/* Helpful buttons */
.btn-outline-secondary:hover {
    background-color: var(--light-color);
    border-color: var(--gray);
    transform: translateY(-1px);
}

/* Rating display */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-summary .stars {
    color: #ffc107;
}

.rating-summary .rating-number {
    font-size: 1.25rem;
    font-weight: 600;
}

.rating-summary .rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Review submission success */
.review-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

.review-success.show {
    display: block;
    animation: slideInDown 0.5s ease;
}

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

/* Reviews Carousel */
#reviewsCarousel {
    position: relative;
    padding: 2rem 0;
}

#reviewsCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    transition: var(--transition-normal);
}

#reviewsCarousel .carousel-control-prev:hover,
#reviewsCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#reviewsCarousel .carousel-control-prev {
    left: -25px;
}

#reviewsCarousel .carousel-control-next {
    right: -25px;
}

#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

#reviewsCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#reviewsCarousel .carousel-indicators button {
    border: none;
    opacity: 0.3;
    transition: var(--transition-fast);
}

#reviewsCarousel .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

#reviewsCarousel .carousel-indicators button:hover {
    opacity: 0.7;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    #reviewsCarousel .carousel-control-prev,
    #reviewsCarousel .carousel-control-next {
        display: none;
    }
    
    #reviewsCarousel .carousel-indicators {
        bottom: -30px;
    }
}

/* ==========================================
   24. BRANDS SECTION
   ========================================== */

.brand-item {
    transition: var(--transition-normal);
}

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

.brand-item .bg-white {
    transition: var(--transition-normal);
    border: 2px solid #e9ecef !important;
}

.brand-item:hover .bg-white {
    border-color: var(--primary-color) !important;
    background-color: rgba(247, 148, 29, 0.05) !important;
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.15);
}

.brand-item img {
    transition: var(--transition-normal);
    opacity: 0.7;
}

.brand-item:hover img {
    filter: grayscale(0%) !important;
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================
   25. PRODUCT CARDS ORGANIZED BUTTONS
   ========================================== */

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

.product-card .btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
    transition: var(--transition-normal);
}

.product-card .btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(247, 148, 29, 0.1);
    transform: scale(1.1);
}

.product-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-normal);
}

.product-card .btn-primary:hover {
    background-color: #e6851a;
    border-color: #e6851a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.3);
}

.product-card .flex-grow-1 {
    min-height: 2.5rem;
}

/* ==========================================
   26. ÚLTIMOS PRODUCTOS BUSCADOS
   ========================================== */

.product-card .position-relative .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

.product-card .position-relative:hover .badge {
    animation-play-state: paused;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
}

/* Botón "Ver más productos buscados" */
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.3);
}

/* ==========================================
   27. NAVBAR IMPROVEMENTS
   ========================================== */

.navbar {
    transition: var(--transition-normal);
    z-index: 1030;
}

.navbar-brand {
    transition: var(--transition-normal);
}

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

.navbar-nav .nav-link {
    transition: var(--transition-normal);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(247, 148, 29, 0.1);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    background-color: rgba(247, 148, 29, 0.15);
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search Box Improvements */
.search-box .input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.search-box .form-control {
    border-color: #dee2e6;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

/* Cart Badge */
#cart-count {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    line-height: 1;
}

/* Offcanvas Improvements */
.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-body .input-group {
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0.25rem 0;
    }
    
    .d-flex.align-items-center.gap-2.gap-lg-3 {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box .form-control {
        min-width: auto !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .navbar-brand .bg-primary {
        width: 30px !important;
        height: 30px !important;
    }
    
    .navbar-brand .bg-primary span {
        font-size: 0.8rem !important;
    }
}

/* ==========================================
   28. PROFILE NAVIGATION IMPROVEMENTS
   ========================================== */

.nav-link-custom {
    display: block;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    background-color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.nav-link-custom:hover {
    background-color: rgba(247, 148, 29, 0.1);
    border-color: rgba(247, 148, 29, 0.3);
    transform: translateX(5px);
    text-decoration: none;
}

.nav-link-custom.active {
    background-color: rgba(247, 148, 29, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.2);
}

.nav-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: var(--transition-normal);
}

.nav-link-custom:hover .nav-icon {
    transform: scale(1.1);
}

.nav-link-custom.active .nav-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-content {
    flex-grow: 1;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.nav-subtitle {
    display: block;
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.2;
}

.nav-link-custom:hover .nav-title {
    color: var(--primary-color);
}

.nav-link-custom.active .nav-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* Background colors for nav icons */
.bg-primary-light {
    background-color: rgba(247, 148, 29, 0.1);
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-info-light {
    background-color: rgba(13, 202, 240, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
}

.bg-dark-light {
    background-color: rgba(33, 37, 41, 0.1);
}

/* Badge improvements */
.nav-link-custom .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    animation: pulse-badge 2s infinite;
}

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

.nav-link-custom:hover .badge {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link-custom {
        padding: 0.75rem;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .nav-title {
        font-size: 0.9rem;
    }
    
    .nav-subtitle {
        font-size: 0.75rem;
    }
}

/* ==========================================
   30. PAYMENT MODAL STYLES
   ========================================== */

.modal-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), #e6851a) !important;
}

.card-type-option .btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.card-type-option .btn {
    transition: var(--transition-normal);
    border-radius: var(--radius-md);
    padding: 0.75rem;
}

.card-type-option .btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.modal-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

.modal-body .input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.modal-body .form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.modal-body .form-text {
    color: var(--gray);
    font-size: 0.8rem;
}

.modal-body .alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: #0c5460;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.modal-footer .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Payment method cards */
.payment-method-card {
    transition: var(--transition-normal);
    border-radius: var(--radius-md);
}

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

.payment-method-card.border-primary {
    border-color: var(--primary-color) !important;
    background-color: rgba(247, 148, 29, 0.05);
}

/* ==========================================
   32. HERO SECTIONS STYLES
   ========================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-section.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), #e6851a, #d97706);
}

.hero-content h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .lead {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Hero Stats */
.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.stat-item {
    flex: 1;
}

.stat-number {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hero Actions */
.hero-actions .btn {
    border-radius: var(--radius-lg);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.hero-actions .btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.hero-actions .btn-light:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.hero-actions .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Products Animation */
.floating-products {
    position: relative;
    height: 300px;
}

.product-float {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.product-float img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.product-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.product-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.product-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 3s;
}

.product-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Contact Visual */
.contact-visual {
    position: relative;
    height: 300px;
}

.contact-icon-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.floating-icons {
    position: relative;
    height: 100%;
    width: 100%;
}

.icon-float {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-float i {
    font-size: 1.5rem;
}

.icon-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* Hero Features */
.hero-features .feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
}

.hero-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .floating-products,
    .contact-visual {
        height: 200px;
        margin-top: 2rem;
    }
    
    .product-float img {
        width: 60px;
        height: 60px;
    }
    
    .icon-float {
        width: 50px;
        height: 50px;
    }
    
    .icon-float i {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   33. BRANDING ADICIONAL C&O STORE
   ========================================== */

/* Enlaces con color de marca (excepto footer) */
a:not(footer a):hover {
    color: var(--primary-color) !important;
}

/* Texto destacado en naranja */
.text-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Bordes con color de marca */
.border-primary {
    border-color: var(--primary-color) !important;
}

/* Backgrounds con color de marca */
.bg-primary-light {
    background-color: rgba(247, 148, 29, 0.1) !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #f7941d 0%, #e88516 100%);
}

/* Botón especial estilo C&O */
.btn-co-special {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.btn-co-special:hover {
    background: #e88516;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
    color: white;
}

/* Separadores con color de marca */
hr.hr-primary {
    border-top: 2px solid var(--primary-color);
    opacity: 1;
}

/* Lista con bullets naranjas */
ul.list-primary {
    list-style: none;
    padding-left: 0;
}

ul.list-primary li::before {
    content: "●";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 0.5em;
}

/* Tags/Badges estilo C&O */
.tag-co {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

/* Overlay naranja para imágenes */
.img-overlay-orange::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 148, 29, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-overlay-orange:hover::after {
    opacity: 1;
}

/* Spinner de carga con color de marca */
.spinner-co {
    border: 3px solid rgba(247, 148, 29, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

/* Inputs con estilo C&O */
.input-co {
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input-co:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
    outline: none;
}

/* Efectos de hover para cards */
.card-hover-orange {
    transition: all 0.3s ease;
}

.card-hover-orange:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(247, 148, 29, 0.2);
}

/* Texto con gradiente naranja */
.text-gradient-orange {
    background: linear-gradient(135deg, #f7941d 0%, #e88516 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Borde animado naranja */
.border-animated {
    position: relative;
    overflow: hidden;
}

.border-animated::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.border-animated:hover::before {
    width: 100%;
}

/* Contador circular estilo C&O */
.counter-circle {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Ribbon/Banner estilo C&O */
.ribbon-co {
    position: absolute;
    top: 10px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ribbon-co::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    border-left: 5px solid #e88516;
    border-bottom: 5px solid transparent;
}

/* Mejoras adicionales para elementos específicos */
.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

/* Paginación con estilo C&O */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

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

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

/* Select estilizado */
select.select-co {
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f7941d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.select-co:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ==========================================
   SOCIAL MEDIA ICONS
   ========================================== */

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid #dee2e6;
    background: #ffffff;
    color: #000000 !important;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.social-btn.twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.social-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-btn.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    transition: all var(--transition-normal);
}

.social-btn:hover svg {
    transform: scale(1.1);
}

/* Footer social buttons */
footer .social-btn {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

footer .social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

footer .social-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

footer .social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

footer .social-btn.twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

footer .social-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

footer .social-btn.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

/* Admin Tables - Minimalist Design */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: transparent !important;
    border-top: none;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #6c757d;
    padding: 1rem 0.75rem;
}

.table tbody td {
    padding: 1.25rem 0.75rem;
    border-top: 1px solid #f8f9fa;
    vertical-align: middle;
    color: #212529;
    font-size: 0.9rem;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table tbody tr:first-child td {
    border-top: none;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty state styling */
.table tbody tr td[colspan] {
    border: none;
    padding: 3rem 1rem;
}

.table tbody tr td[colspan] i {
    transition: transform 0.3s ease;
}

.table tbody tr:hover td[colspan] i {
    transform: scale(1.1);
}

/* Badge styling for status - Más redondeados y colores suaves */
.badge {
    padding: 0.35rem 0.85rem;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 1rem;
    border: none;
}

/* Colores suaves para badges */
.badge.bg-success {
    background-color: #d1f2eb !important;
    color: #0d7377 !important;
}

.badge.bg-danger {
    background-color: #fadbd8 !important;
    color: #922b21 !important;
}

.badge.bg-secondary {
    background-color: #eaecee !important;
    color: #5d6d7e !important;
}

.badge.bg-warning {
    background-color: #fef9e7 !important;
    color: #856404 !important;
}

.badge.bg-info {
    background-color: #d6eaf8 !important;
    color: #154360 !important;
}

/* Action buttons - Más redondeados y colores suaves */
.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 0.75rem;
    border-width: 1.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Botones outline con colores suaves */
.btn-outline-primary {
    border-color: #f0b27a;
    color: #d68910;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #fef5e7;
    border-color: #f7941d;
    color: #d68910;
    transform: translateY(-1px);
}

.btn-outline-danger {
    border-color: #f1948a;
    color: #c0392b;
    background-color: transparent;
}

.btn-outline-danger:hover {
    background-color: #fadbd8;
    border-color: #e74c3c;
    color: #c0392b;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-color: #bdc3c7;
    color: #7f8c8d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #ecf0f1;
    border-color: #95a5a6;
    color: #5d6d7e;
    transform: translateY(-1px);
}

/* Table responsive improvements */
.table-responsive {
    border-radius: 0.5rem;
}

/* Card improvements */
.card {
    border-radius: 1rem;
    overflow: hidden;
}

.card-body {
    padding: 0;
}

/* Code elements - más redondeados */
code {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
}

/* Delete Confirmation Modal Styles */
#deleteConfirmModal .modal-content {
    border-radius: 1rem;
}

#deleteConfirmModal .modal-body {
    padding: 2.5rem 2rem;
}

#deleteConfirmModal .bg-danger.bg-opacity-10 {
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

#deleteConfirmModal .bg-primary.bg-opacity-5 {
    background-color: rgba(247, 148, 29, 0.05) !important;
    border-color: rgba(247, 148, 29, 0.1) !important;
}

/* Quitar fondos grises de los modales */
.modal-content {
    background-color: #ffffff !important;
}

.modal-header {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
}

.modal-footer {
    background-color: transparent !important;
}

.modal-body {
    background-color: #ffffff !important;
}

/* Asegurar que los botones de cierre funcionen correctamente */
.btn-close {
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto !important;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close:focus {
    opacity: 1;
    box-shadow: 0 0 0 0.25rem rgba(247, 148, 29, 0.25);
}

/* Input group text sin gris */
.input-group-text {
    background-color: #fef5e7 !important;
    border-color: #f0b27a !important;
    color: #d68910 !important;
}

/* Asegurar que bg-primary bg-opacity-5 se vea bien en modales */
.bg-primary.bg-opacity-5 {
    background-color: rgba(247, 148, 29, 0.05) !important;
}

/* Eliminar cualquier fondo gris en tablas dentro de modales */
.modal .table thead.bg-light,
.modal .bg-light {
    background-color: rgba(247, 148, 29, 0.05) !important;
}

/* Form controls sin bordes grises fuertes */
.form-control:focus,
.form-select:focus {
    border-color: #f7941d;
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.15);
}

.form-control,
.form-select {
    border-color: #e9ecef;
}

#deleteConfirmModal .btn-danger {
    transition: all 0.2s ease;
}

#deleteConfirmModal .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

#deleteConfirmModal .btn-outline-secondary:hover {
    background-color: #f8f9fa;
}

/* Dashboard Stats Cards - Diseño estético mejorado */
.stat-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    cursor: pointer;
    overflow: hidden;
}

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

.stat-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-card:hover .stat-gradient {
    opacity: 1;
}

/* Gradientes con diferentes tonos del color primario */
.bg-gradient-primary-1 {
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.05) 0%, rgba(247, 148, 29, 0.15) 100%);
}

.bg-gradient-primary-2 {
    background: linear-gradient(135deg, rgba(230, 133, 26, 0.05) 0%, rgba(230, 133, 26, 0.15) 100%);
}

.bg-gradient-primary-3 {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, rgba(217, 119, 6, 0.15) 100%);
}

/* Variaciones de opacidad para iconos */
.stat-card-1 .stat-icon-box {
    background-color: rgba(247, 148, 29, 0.1) !important;
}

.stat-card-2 .stat-icon-box {
    background-color: rgba(247, 148, 29, 0.15) !important;
}

.stat-card-3 .stat-icon-box {
    background-color: rgba(247, 148, 29, 0.2) !important;
}

.stat-icon-box {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.stat-decorative-icon {
    transition: all 0.3s ease;
    z-index: 0;
}

.stat-card:hover .stat-decorative-icon {
    transform: scale(1.2) rotate(-10deg);
    opacity: 0.15 !important;
}

/* Números grandes y destacados */
.stat-card h2 {
    font-weight: 700;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.stat-card:hover h2 {
    transform: scale(1.05);
}

/* Todos los números en tonos del color primario */
.stat-card h2 {
    color: var(--primary-color) !important;
}

.stat-card-1 h2 {
    color: #f7941d !important;
}

.stat-card-2 h2 {
    color: #e6851a !important;
}

.stat-card-3 h2 {
    color: #d97706 !important;
}

/* Welcome Card mejorada */
.welcome-card {
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(247, 148, 29, 0.1);
}

.welcome-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(247, 148, 29, 0.2);
}

.welcome-icon {
    transition: all 0.5s ease;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.welcome-card:hover .welcome-icon {
    animation: float-icon 1.5s ease-in-out infinite;
    transform: scale(1.1);
}

/* Responsive adjustments para stats */
@media (max-width: 768px) {
    .stat-card h2 {
        font-size: 2rem !important;
    }

    .stat-icon-box {
        padding: 1rem !important;
    }

    .stat-decorative-icon {
        font-size: 2rem !important;
    }

    .welcome-icon {
        font-size: 3rem !important;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0;
    height: 65px;
}

.mobile-nav {
    height: 100%;
    padding: 0;
    margin: 0;
}

.mobile-nav .nav-item {
    flex: 1;
    height: 100%;
}

.mobile-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    height: 100%;
    border: none;
    background: transparent;
    color: #6c757d;
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.mobile-nav .nav-link i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.mobile-nav .nav-link .nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
}

.mobile-nav .nav-link:hover {
    background-color: rgba(247, 148, 29, 0.05);
    color: var(--primary-color);
}

.mobile-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(247, 148, 29, 0.1);
}

.mobile-nav .nav-link.active i {
    transform: scale(1.1);
}

.mobile-nav .nav-link.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

/* Asegurar que el contenido no quede tapado por el nav móvil */
@media (max-width: 767.98px) {
    .main-content {
        padding-bottom: 85px !important;
    }

    /* Ocultar sidebar en móvil */
    .sidebar {
        display: none !important;
    }
}

/* Ajustar padding del main en móvil */
@media (max-width: 767.98px) {
    main.main-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .container-fluid > .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Navbar hover y active 100% redondeados */
.navbar-nav .nav-link {
    border-radius: 50rem !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(247, 148, 29, 0.1) !important;
    color: var(--primary-color) !important;
    border-radius: 50rem !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(247, 148, 29, 0.15) !important;
    color: var(--primary-color) !important;
    border-radius: 50rem !important;
}

/* Dropdown toggle también redondeado */
.navbar-nav .nav-link.dropdown-toggle {
    border-radius: 50rem !important;
}

.navbar-nav .nav-link.dropdown-toggle:hover,
.navbar-nav .nav-link.dropdown-toggle:focus {
    border-radius: 50rem !important;
}

.navbar-nav .dropdown-menu {
    border-radius: 1rem !important;
    border: 1px solid rgba(247, 148, 29, 0.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    border-radius: 0.5rem !important;
    margin: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: rgba(247, 148, 29, 0.1) !important;
    color: var(--primary-color) !important;
    border-radius: 0.5rem !important;
}

.navbar-nav .dropdown-item:first-child {
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item:last-child {
    margin-bottom: 0.5rem;
}

/* ==========================================
   END OF STYLESHEET
   ========================================== */

