/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    font-family: 'Roboto', sans-serif; 
    background: #f5f7fa; 
    color: #333; 
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* App Loader */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.app-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.app-loader-content {
    text-align: center;
    color: white;
}

.app-loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.app-loader-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.app-loader-content p {
    font-size: 1rem;
    opacity: 0.9;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar scrollbars en todos los navegadores */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.landing { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.landing::-webkit-scrollbar {
    display: none;
}

/* Banner Section */
.banner-section {
    position: relative;
    height: 60vh;
    min-height: 300px;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    border-radius: 20px;
    transition: opacity 0.5s ease;
}

.banner-img.loading {
    opacity: 0;
}

.banner-img.loaded {
    opacity: 1;
}

/* Banner Placeholder */
.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.8) 25%, 
        rgba(118, 75, 162, 0.8) 50%, 
        rgba(102, 126, 234, 0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.banner-section.image-loaded::before {
    opacity: 0;
    pointer-events: none;
}

.banner-section::after {
    content: '🎯';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.banner-section.image-loaded::after {
    opacity: 0;
    pointer-events: none;
}

.service-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    overflow: hidden;
    z-index: 10;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.service-btn:hover::before {
    left: 100%;
}

.service-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #764ba2 100%);
}

/* Lobby Section */
.lobby-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8f9fa;
}

.lobby-content {
    text-align: center;
    max-width: 600px;
}

.lobby-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.lobby-content p {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.store-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 18px 40px !important;
    background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
    border: none !important;
    border-radius: 50px !important;
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    min-height: 60px;
    text-decoration: none;
    white-space: nowrap;
    overflow: visible;
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4) !important;
    background: linear-gradient(45deg, #00f2fe, #4facfe) !important;
}

.btn-icon {
    font-size: 1.4rem;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

/* Asegurar que el botón store-btn mantenga su contenido visible */
.store-btn .btn-icon {
    font-size: 1.4rem !important;
    display: inline-block !important;
    margin-right: 8px !important;
}

.store-btn span, .store-btn text {
    display: inline !important;
    visibility: visible !important;
}

.edit-btn { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    z-index: 10; 
    background: rgba(0,0,0,0.7); 
    color: #fff; 
    border: none; 
    padding: 10px 15px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-section {
        height: 60vh;
        min-height: 250px;
        margin: 15px;
        border-radius: 15px;
    }
    
    .banner-img {
        border-radius: 15px;
    }
    
    .lobby-section {
        padding: 40px 20px;
    }
    
    .lobby-content h2 {
        font-size: 2rem;
    }
    
    .lobby-content p {
        font-size: 1.1rem;
    }
    
    .service-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        bottom: 15px;
        right: 15px;
    }
    
    .store-btn {
        padding: 15px 30px !important;
        font-size: 1.1rem !important;
        min-width: 180px;
        min-height: 55px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 60vh;
        min-height: 200px;
        margin: 10px;
        border-radius: 12px;
    }
    
    .banner-img {
        border-radius: 12px;
    }
    
    .lobby-content h2 {
        font-size: 1.8rem;
    }
    
    .lobby-content p {
        font-size: 1rem;
    }
    
    .store-btn {
        min-width: 160px !important;
        padding: 12px 25px !important;
        font-size: 1rem !important;
        min-height: 50px;
    }
}

.app { 
    display: none; 
    height: 100vh; 
    background: #f8f9fa;
    overflow: hidden;
}

/* HOME VIEW STYLES */
.home-view {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-view::-webkit-scrollbar {
    display: none;
}

/* Home Banner */
/* Banner Rotativo */
.rotating-banner {
    position: relative;
    height: 200px;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.banner-slide.prev {
    transform: translateX(-100%);
}

.banner-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

#bannerSlide {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 3;
}

.banner-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-btn {
    padding: 8px 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.banner-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    background: white;
    transform: scale(1.2);
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.edit-banner-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Search Section */
.search-section {
    padding: 20px;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-btn {
    padding: 15px 20px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
}

/* Services Section */
.services-section {
    padding: 20px;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-category {
    background: white;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.service-category-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px 25px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 1.2rem;
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
}

.service-category-header .admin-controls {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.service-category-header .edit-service-btn,
.service-category-header .delete-service-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-category-header .edit-service-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.service-category-header .delete-service-btn:hover {
    background: rgba(220, 53, 69, 0.8);
    transform: scale(1.1);
}

.service-items {
    padding: 0;
}

.service-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.service-item-content {
    flex: 1;
}

.service-item-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.service-item-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.service-item-arrow {
    color: #667eea;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-item:hover .service-item-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.admin-controls {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.edit-service-btn, .delete-service-btn {
    background: rgba(0,0,0,0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.edit-service-btn:hover {
    background: rgba(102, 126, 234, 0.8);
}

.delete-service-btn:hover {
    background: rgba(220, 53, 69, 0.8);
}

.availability-btn {
    background: rgba(0,0,0,0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.availability-btn.available {
    background: rgba(40, 167, 69, 0.8);
}

.availability-btn.available:hover {
    background: rgba(40, 167, 69, 1);
    transform: scale(1.1);
}

.availability-btn.unavailable {
    background: rgba(220, 53, 69, 0.8);
}

.availability-btn.unavailable:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

/* Product Unavailable Styles */
.product-unavailable {
    opacity: 0.7;
    background: #f8f9fa !important;
    border-left: 4px solid #dc3545 !important;
}

.product-unavailable:hover {
    background: #f1f3f4 !important;
    transform: translateX(3px) !important;
}

.unavailable-indicator {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
}

/* Add Service Button */
.add-service-item {
    padding: 0;
    border-top: 1px solid #f0f0f0;
}

.add-service-btn {
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0 0 15px 15px;
}

.add-service-btn:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.add-icon {
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-text {
    font-weight: 600;
}

.add-category-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 25px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Back to Lobby */
.back-to-lobby {
    text-align: center;
    padding: 30px 20px;
}

.back-btn {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* CATEGORY VIEW STYLES */
.category-view {
    height: 100vh;
    display: flex;
    background: #f8f9fa;
}

/* Side Menu */
.side-menu {
    position: relative;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 101;
}

.menu-content {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    padding: 70px 0 20px 0;
}

.menu-content.open {
    width: 250px;
    padding: 70px 20px 20px 20px;
}

.menu-content h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.menu-content ul {
    list-style: none;
}

.menu-content li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.menu-content li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Category Content */
.category-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-content::-webkit-scrollbar {
    display: none;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.back-home-btn {
    padding: 8px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.category-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

/* All Categories Scroll */
.all-categories-scroll {
    padding: 20px;
}

.category-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.category-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

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

.clickable-product {
    cursor: pointer;
}

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

.product-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.product-card p {
    font-size: 1rem;
    color: #007bff;
    font-weight: 600;
}

.product-click-hint {
    color: #6c757d !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
}

.add-product-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.add-product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Search Results Styles */
.search-products {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.search-product-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.clear-search-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Delete Product Button */
.delete-product-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    z-index: 5;
}

.delete-product-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

/* Edit Product Button */
.edit-product-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    background: rgba(102, 126, 234, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    z-index: 5;
}

.edit-product-btn:hover {
    background: #667eea;
    transform: scale(1.1);
}

/* Category Image Fallback */
.category-image-container::after {
    content: '📦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}

.category-image-container:has(.category-image:not([style*="display: none"]))::after {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .category-image-container {
        width: 70px;
        height: 70px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .menu-content.open {
        width: 200px;
    }
    
    .search-products {
        grid-template-columns: 1fr;
    }
    
    .home-banner {
        height: 150px;
        margin: 10px;
    }
    
    .home-banner-content h3 {
        font-size: 1.2rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-input:hover {
    border-color: #b8c6ea;
    background: white;
}

.form-input:invalid {
    border-color: #dc3545;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Payment Types Styles */
.payment-type-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.payment-type-name {
    flex: 2;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.payment-type-name:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.payment-type-percentage {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-type-percentage:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.remove-payment-type {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-payment-type:hover {
    background: #c82333;
    transform: scale(1.1);
}

.add-payment-type-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-payment-type-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Image Upload Styles */
.image-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.image-upload-container:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.image-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-input:hover {
    border-color: #667eea;
}

.image-preview {
    margin-top: 15px;
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    border-radius: 8px;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-image-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.image-upload-hint {
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
    font-size: 0.9rem;
}

.image-upload-hint span {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    color: #667eea;
    font-weight: 500;
}

/* Image Upload Container when file is selected */
.image-upload-container:has(.image-preview[style*="block"]) {
    border-color: #28a745;
    background: #f8fff8;
}

.image-upload-container:has(.image-preview[style*="block"]):hover {
    border-color: #20c997;
    background: #f0fff4;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.save-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.cancel-btn {
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Product Highlight Animation */
.product-highlight {
    animation: highlightPulse 2s ease-in-out;
    border: 3px solid #ff6b6b !important;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6) !important;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.8);
    }
}

/* Product Loader */
.product-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.loader-content {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.loader-content p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Image Loading Placeholders */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.image-loading {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.image-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Specific placeholders for different image types */
.banner-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.product-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 0 auto;
}

.home-banner-placeholder {
    width: 100%;
    height: 100%;
    min-height: 150px;
}

/* Loading overlay for images */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.image-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Fade transition for images */
.fade-transition {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Smooth Transitions */
.app {
    transition: opacity 0.3s ease;
}

.landing {
    transition: opacity 0.3s ease;
}

.home-view, .category-view {
    transition: opacity 0.2s ease;
}

/* Enhanced Product Highlight Animation */
.product-highlight {
    animation: enhancedHighlightPulse 3s ease-in-out;
    border: 3px solid #ff6b6b !important;
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.8) !important;
    transform: scale(1.02) !important;
    z-index: 10 !important;
    position: relative !important;
}

@keyframes enhancedHighlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
        border-color: #ff6b6b;
    }
    25% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.9);
        border-color: #ff3b3b;
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(255, 107, 107, 1);
        border-color: #ff1a1a;
    }
    75% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.9);
        border-color: #ff3b3b;
    }
    100% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
        border-color: #ff6b6b;
    }
}

/* PRODUCT DETAIL VIEW STYLES */
.product-detail-view {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-detail-view::-webkit-scrollbar {
    display: none;
}

/* Product Detail Header */
.product-detail-header {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.product-detail-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

/* Product Detail Main */
.product-detail-main {
    flex: 1;
    padding: 30px 20px;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Product Detail Image Section */
.product-detail-image-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 3;
}

.product-detail-image.loading {
    opacity: 0;
}

.product-detail-image.loaded {
    opacity: 1;
}

/* Product Image Placeholder */
.product-detail-image-section::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.1) 25%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(102, 126, 234, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.product-detail-image-section.image-loaded::before {
    opacity: 0;
    pointer-events: none;
}

.product-detail-image-section::after {
    content: '📦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #667eea;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.product-detail-image-section.image-loaded::after {
    opacity: 0;
    pointer-events: none;
}

/* Product Detail Info Section */
.product-detail-info-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-detail-header-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.product-detail-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-detail-category {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Product Detail Description */
.product-detail-description {
    margin-bottom: 30px;
}

.product-detail-description h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Product Offers Section */
.product-offers-section {
    margin-bottom: 30px;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.offers-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.add-offer-btn {
    padding: 8px 15px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-offer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.offers-container {
    display: grid;
    gap: 15px;
}

.offer-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.offer-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.offer-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
}

.percentage-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    width: auto;
    min-width: 32px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.percentage-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Sección de precios */
.offer-prices-section {
    margin: 12px 0;
}

.prices-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 8px;
    padding-left: 2px;
}

.calculated-prices {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px;
    margin: 0;
    animation: slideDown 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0 15px;
    }
    to {
        opacity: 1;
        max-height: 300px;
        padding: 15px;
    }
}

.calculated-prices-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.loading-prices {
    color: #6c757d;
    font-style: italic;
    font-size: 0.8rem;
    text-align: center;
    padding: 4px 0;
}

.prices-list {
    display: grid;
    gap: 4px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    margin-bottom: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.price-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.payment-type {
    font-weight: 600;
    color: #495057;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.calculated-price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.percentage-positive {
    color: #e74c3c !important;
    font-weight: 500;
    font-size: 0.75rem;
}

.percentage-negative {
    color: #27ae60 !important;
    font-weight: 500;
    font-size: 0.75rem;
}

.error-message {
    color: #dc3545;
    font-style: italic;
    text-align: center;
    margin: 0;
}

.offer-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.offer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.request-offer-btn {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.request-offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    background: linear-gradient(45deg, #20c997, #28a745);
}

.offer-admin-controls {
    display: flex;
    gap: 5px;
}

.edit-offer-btn, .delete-offer-btn {
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.edit-offer-btn {
    color: #667eea;
}

.edit-offer-btn:hover {
    background: rgba(102, 126, 234, 0.2);
}

.delete-offer-btn {
    color: #dc3545;
}

.delete-offer-btn:hover {
    background: rgba(220, 53, 69, 0.2);
}

.no-offers {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

/* Product Share Section */
.product-share-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.help-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
}

.help-product-btn:active {
    transform: translateY(0);
}

.help-icon {
    font-size: 1.2rem;
    display: inline-block;
}

.share-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #007bff);
}

.share-product-btn:active {
    transform: translateY(0);
}

.share-icon {
    font-size: 1.2rem;
    display: inline-block;
}

/* Product Detail Actions */
.product-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-detail-actions .contact-btn,
.product-detail-actions .share-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-detail-actions .contact-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.product-detail-actions .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.product-detail-actions .share-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.product-detail-actions .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-detail-header {
        padding: 15px;
    }
    
    .product-detail-header h1 {
        font-size: 1.2rem;
        margin: 0 10px;
    }
    
    .product-detail-main {
        padding: 20px 15px;
    }
    
    .product-detail-image-section,
    .product-detail-info-section {
        padding: 20px;
    }
    
    .product-detail-name {
        font-size: 1.8rem;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .product-detail-actions .contact-btn,
    .product-detail-actions .share-btn {
        min-width: auto;
    }
    
    .help-product-btn,
    .share-product-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-detail-name {
        font-size: 1.5rem;
    }
    
    .back-btn, .edit-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .save-btn, .cancel-btn {
        width: 100%;
    }
    
    .loader-content {
        padding: 20px;
        margin: 20px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #007bff;
    transform: translateX(450px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-show {
    transform: translateX(0);
    opacity: 1;
}

.notification-hide {
    transform: translateX(450px);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    word-wrap: break-word;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #adb5bd;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #6c757d;
}

/* Responsive notifications */
@media (max-width: 480px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .notification-show {
        transform: translateY(0);
    }
    
    .notification-hide {
        transform: translateY(-100px);
    }
    
    .notification-content {
        padding: 14px 16px;
    }
    
    .notification-message {
        font-size: 12px;
    }
}

/* Management Buttons */
.management-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}

.management-btn {
    padding: 12px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.management-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Payment Modal Styles */
.payment-offer-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.payment-offer-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-offer-info p {
    margin: 0;
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-methods-section,
.contract-details-section,
.calculated-prices-section,
.transfer-upload-section {
    margin-bottom: 25px;
}

.payment-methods-section h4,
.contract-details-section h4,
.calculated-prices-section h4,
.transfer-upload-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.payment-method-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.payment-method-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.payment-method-item h5 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-weight: 600;
}

.payment-method-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.4;
}

#contractDetails {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    line-height: 1.6;
    color: #2c3e50;
}

#calculatedPricesPayment {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

/* Transfer Item Styles */
.transfer-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.transfer-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.transfer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.transfer-header h4 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.transfer-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-accepted {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.transfer-details {
    margin-bottom: 15px;
}

.transfer-details p {
    margin: 5px 0;
    color: #2c3e50;
}

.transfer-details strong {
    color: #495057;
}

.user-mention {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    background-color: #e3f2fd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-mention:hover {
    background-color: #bbdefb;
    text-decoration: underline;
}

.transfer-image {
    margin-bottom: 15px;
    text-align: center;
}

.transfer-image img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transfer-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.transfer-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.accept-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.reject-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reject-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Large Modal */
.large-modal {
    max-width: 800px;
    width: 95%;
}

/* Transfer Management Styles */
.transfers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* User transfers header (sin botones de eliminar) */
#userTransfersList .transfers-header {
    justify-content: center;
    text-align: center;
}

.transfers-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.delete-all-btn {
    padding: 8px 15px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.delete-all-btn:hover {
    background: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.transfer-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delete-transfer-btn {
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-transfer-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.no-transfers {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-transfers p {
    margin: 0;
    font-size: 1.1rem;
}

/* Transfer Item Animation */
.transfer-item {
    transition: all 0.3s ease, opacity 0.3s ease;
}

.transfer-item.deleting {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

/* Responsive Management */
@media (max-width: 768px) {
    .management-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .management-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .transfer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transfer-header-actions {
        align-self: flex-end;
    }
    
    .transfer-actions {
        flex-direction: column;
    }
    
    .accept-btn, .reject-btn {
        width: 100%;
    }
    
    .large-modal {
        width: 98%;
        max-height: 90vh;
    }
    
    .transfers-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .transfers-header h4 {
        font-size: 1.1rem;
    }
    
    .delete-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .transfer-header-actions {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
    }
    
    .delete-transfer-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* Rejection Reason Modal Styles */
#rejectionReasonModal .modal-content {
    max-width: 600px;
}

#rejectionReasonModal .modal-header {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

#rejectionReasonModal .form-group label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

#rejectionReasonInput {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

#rejectionReasonInput:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

#rejectionReasonModal .form-help {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 8px 12px;
    color: #856404;
    font-size: 0.9rem;
    margin-top: 10px;
}

#confirmRejectionBtn {
    background: linear-gradient(45deg, #dc3545, #c82333);
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#confirmRejectionBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: linear-gradient(45deg, #c82333, #dc3545);
}

#confirmRejectionBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#cancelRejectionBtn {
    background: #6c757d;
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#cancelRejectionBtn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Rejection Modal */
@media (max-width: 768px) {
    #rejectionReasonModal .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    #rejectionReasonInput {
        min-height: 100px;
    }
    
    #rejectionReasonModal .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    #confirmRejectionBtn,
    #cancelRejectionBtn {
        width: 100%;
        padding: 15px;
    }
}

/* Support Notice Styles */
.support-notice {
    margin: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    border-left: 5px solid #dc3545;
    animation: supportNoticeGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes supportNoticeGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
    }
}

.support-notice-content {
    text-align: center;
    color: white;
}

.support-notice-content p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.support-notice-content strong {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.support-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white !important;
}

.support-link:active {
    transform: translateY(0);
}

/* Support Notice in Modal */
.support-notice-modal {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border-left: 4px solid #fd7e14;
}

.support-notice-modal .support-notice-content {
    text-align: center;
    color: #212529;
}

.support-notice-modal .support-notice-content p {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

.support-notice-modal .support-notice-content strong {
    color: #495057;
    font-weight: 700;
}

.support-notice-modal .support-link {
    background: rgba(33, 37, 41, 0.1);
    color: #495057 !important;
    border: 2px solid rgba(33, 37, 41, 0.2);
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.support-notice-modal .support-link:hover {
    background: rgba(33, 37, 41, 0.2);
    border-color: rgba(33, 37, 41, 0.3);
    color: #212529 !important;
    text-decoration: none;
}

/* Support Notice Pulse Effect */
.support-notice::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff6b6b);
    border-radius: 17px;
    z-index: -1;
    animation: supportPulse 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes supportPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* Support Notice Animation */
.support-notice {
    animation: supportSlideIn 0.6s ease-out, supportNoticeGlow 3s ease-in-out infinite;
}

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

/* Responsive Support Notice */
@media (max-width: 768px) {
    .support-notice {
        margin: 15px;
        padding: 18px;
    }
    
    .support-notice-content p {
        font-size: 0.95rem;
    }
    
    .support-link {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .support-notice-modal {
        padding: 12px;
    }
    
    .support-notice-modal .support-notice-content p {
        font-size: 0.9rem;
    }
    
    .support-notice-modal .support-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .support-notice {
        margin: 10px;
        padding: 15px;
    }
    
    .support-notice-content p {
        font-size: 0.9rem;
    }
    
    .support-link {
        padding: 8px 15px;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .support-notice-modal {
        padding: 10px;
    }
    
    .support-notice-modal .support-notice-content p {
        font-size: 0.85rem;
    }
    
    .support-notice-modal .support-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Transfer Success Notice Styles */
.transfer-success-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.transfer-success-notice.show {
    opacity: 1;
    visibility: visible;
}

.transfer-success-content {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transfer-success-notice.show .transfer-success-content {
    transform: scale(1);
}

.transfer-success-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: successShine 2s ease-in-out infinite;
}

@keyframes successShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.transfer-success-content h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.transfer-success-content p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.transfer-success-content strong {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.support-link-floating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    margin: 15px 0;
}

.support-link-floating:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white !important;
}

.close-floating-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.close-floating-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Responsive Transfer Success Notice */
@media (max-width: 768px) {
    .transfer-success-content {
        padding: 25px;
        max-width: 400px;
    }
    
    .transfer-success-content h3 {
        font-size: 1.3rem;
    }
    
    .transfer-success-content p {
        font-size: 0.9rem;
    }
    
    .support-link-floating {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .transfer-success-content {
        padding: 20px;
        max-width: 350px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .transfer-success-content h3 {
        font-size: 1.2rem;
    }
    
    .transfer-success-content p {
        font-size: 0.85rem;
    }
    
    .support-link-floating {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .close-floating-btn {
        font-size: 0.8rem;
        padding: 8px 20px;
    }
}

/* Help Request and Offer Request Notice Styles */
.help-request-notice, .offer-request-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.help-request-notice.show, .offer-request-notice.show {
    opacity: 1;
    visibility: visible;
}

.help-request-content, .offer-request-content {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.help-request-notice.show .help-request-content,
.offer-request-notice.show .offer-request-content {
    transform: scale(1);
}

/* Privacy Restricted Styles */
.help-request-notice.privacy-restricted .help-request-content,
.offer-request-notice.privacy-restricted .offer-request-content,
.transfer-success-notice.privacy-restricted .transfer-success-content {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: 3px solid #ff5722;
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 15px 35px rgba(255, 87, 34, 0.6);
    }
}

.warning-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: warningBounce 1s ease-in-out infinite;
}

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

.help-request-content h3, .offer-request-content h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.help-request-content p, .offer-request-content p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.help-request-content strong, .offer-request-content strong {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Help and Offer Request Notices */
@media (max-width: 768px) {
    .help-request-content, .offer-request-content {
        padding: 25px;
        max-width: 400px;
    }
    
    .help-request-content h3, .offer-request-content h3 {
        font-size: 1.3rem;
    }
    
    .help-request-content p, .offer-request-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .help-request-content, .offer-request-content {
        padding: 20px;
        max-width: 350px;
    }
    
    .warning-icon {
        font-size: 3rem;
    }
    
    .help-request-content h3, .offer-request-content h3 {
        font-size: 1.2rem;
    }
    
    .help-request-content p, .offer-request-content p {
        font-size: 0.85rem;
    }
}

/* Contador de usuarios */
.user-counter {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.user-counter:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

#userCount {
    font-weight: 700;
}

/* Estilos para la sección de parámetros en el modal de productos */
.parameters-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #f9f9f9;
    margin-top: 10px;
}

.parameters-list {
    margin-bottom: 15px;
    min-height: 40px;
}

.parameter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
}

.parameter-info {
    flex: 1;
}

.parameter-info strong {
    color: #333;
    font-size: 14px;
}

.parameter-info small {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.parameter-actions {
    display: flex;
    gap: 5px;
}

.parameter-actions button {
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.parameter-actions .edit-btn {
    background: #007bff;
    color: white;
}

.parameter-actions .edit-btn:hover {
    background: #0056b3;
}

.parameter-actions .delete-btn {
    background: #dc3545;
    color: white;
}

.parameter-actions .delete-btn:hover {
    background: #c82333;
}

.add-parameter-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
}

.add-parameter-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.empty-parameters {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.empty-parameters p {
    margin: 5px 0;
}

/* Estilos para la sección de cupones */
.coupon-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.coupon-section h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.coupon-input-wrapper input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.validate-coupon-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.validate-coupon-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.validate-coupon-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.coupon-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.coupon-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.coupon-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.coupon-status.loading {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

.coupon-discount-info {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #155724;
}

.coupon-discount-info h5 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
}

.coupon-discount-info .discount-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.coupon-discount-info .original-price,
.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
}

.coupon-discount-info .discounted-price,
.discounted-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #155724;
}

.coupon-discount-info .discount-percentage {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsive para cupones */
@media (max-width: 768px) {
    .coupon-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .validate-coupon-btn {
        width: 100%;
    }
    
    .coupon-discount-info .discount-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}