:root {
    --coral-salmon: #ff7a5c;
    --azul-oceano: #2980b9;
    --menta-fresca: #1abc9c;
    --verde-premium: #27ae60;
    --gris-patagonia: #34495e;
    --blanco-pristino: #ffffff;
    --dorado-atardecer: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--blanco-pristino);
    color: var(--gris-patagonia);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--azul-oceano), var(--gris-patagonia));
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--blanco-pristino);
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-bg {
    background-image: url('../Assets/img/SALMOPRIME-64X17.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 160px;
    height: 80px;
    color: transparent; /* Oculta el texto si hay imagen */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--blanco-pristino);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--coral-salmon);
}

/* FALTABA: Estilos para header-actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    background-color: var(--coral-salmon);
    color: var(--blanco-pristino);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e5694e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 122, 92, 0.4);
}

.btn-premium {
    background-color: var(--dorado-atardecer);
}

.btn-premium:hover {
    background-color: #e08e0d;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(41, 128, 185, 0.8), rgba(52, 73, 94, 0.8)), 
                url('../Assets/img/PDP_ChileanSalmon_source1.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    color: var(--blanco-pristino);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.slogan {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slogan-highlight {
    color: var(--coral-salmon);
    position: relative;
    display: inline-block;
}

.slogan-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--dorado-atardecer);
    border-radius: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features */
.features {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--blanco-pristino);
}

.section-title {
    font-size: 2.5rem;
    color: var(--gris-patagonia);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--coral-salmon);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--azul-oceano);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--blanco-pristino);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 2.5rem 1.5rem;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 188, 156, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--menta-fresca);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--azul-oceano);
}

/* Products */
.products {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1519708227418-c8fd9a32b7a2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--azul-oceano);
    background: var(--blanco-pristino);
    color: var(--azul-oceano);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--azul-oceano);
    color: var(--blanco-pristino);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--blanco-pristino);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 150px;
    background: linear-gradient(135deg, var(--coral-salmon), var(--dorado-atardecer));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
}

.product-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
}

.product-info {
    padding: 1.8rem;
}

.product-title {
    font-size: 1.3rem;
    color: var(--gris-patagonia);
    margin-bottom: 0.8rem;
    font-weight: bold;
    line-height: 1.3;
}

.product-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--gris-patagonia);
}

.detail-value {
    color: #666;
}

.species-tag {
    background: var(--menta-fresca);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.quality-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: capitalize;
}

.quality-tag.premium {
    background: var(--dorado-atardecer);
    color: white;
}

.quality-tag.standard {
    background: var(--menta-fresca);
    color: white;
}

.quality-tag.industrial {
    background: var(--gris-patagonia);
    color: white;
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-dot.high {
    background: var(--verde-premium);
}

.stock-dot.medium {
    background: var(--dorado-atardecer);
}

.stock-dot.low {
    background: var(--coral-salmon);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--coral-salmon);
    margin-bottom: 1.2rem;
    text-align: center;
}

.price-unit {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dorado-atardecer);
    color: var(--blanco-pristino);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(45deg, var(--azul-oceano), var(--menta-fresca));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.3);
}

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--blanco-pristino);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, var(--azul-oceano), var(--gris-patagonia));
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.cart-items {
    padding: 1rem;
}

/* FALTABA: Estilos para empty-cart */
.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--coral-salmon);
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-btn {
    background: var(--azul-oceano);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--menta-fresca);
}

.remove-item {
    background: var(--coral-salmon);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    padding: 2rem;
    border-top: 2px solid var(--azul-oceano);
    text-align: center;
    background: linear-gradient(135deg, var(--gris-patagonia), var(--azul-oceano));
    color: white;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--verde-premium), #2ecc71);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

/* Checkout Form */
.checkout-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1002;
    overflow-y: auto;
}

.checkout-form.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--azul-oceano);
    padding-bottom: 1rem;
}

.form-header h2 {
    color: var(--azul-oceano);
    margin: 0;
}

.close-form {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-oceano);
}

.order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-summary h3 {
    color: var(--azul-oceano);
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.order-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--coral-salmon);
    text-align: right;
    margin-top: 1rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(45deg, var(--verde-premium), #2ecc71);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    flex: 1;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1003;
    overflow-y: auto;
}

.admin-panel.active {
    display: block;
}

.admin-content {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 90%;
    border-radius: 15px;
    color: #333;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--azul-oceano);
    padding-bottom: 1rem;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.orders-table th {
    background: var(--azul-oceano);
    color: white;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.pendiente {
    background: #ffc107;
    color: #000;
}

.status.completado {
    background: #28a745;
    color: white;
}

.complete-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 5%;
    background-color: var(--gris-patagonia);
    color: var(--blanco-pristino);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -30px;
    left: -15px;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--menta-fresca);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco-pristino);
    font-weight: bold;
}

.author-info h4 {
    color: var(--coral-salmon);
    margin-bottom: 0.2rem;
}

/* CTA */
.cta {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--azul-oceano), var(--menta-fresca));
    color: var(--blanco-pristino);
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--gris-patagonia);
    color: var(--blanco-pristino);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--coral-salmon);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--blanco-pristino);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--menta-fresca);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--blanco-pristino);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--coral-salmon);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.admin-btn {
    background: var(--azul-oceano);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .slogan {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

}

.quote-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #ddd;
    padding: 10px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    font-size: 14px;
}

.send-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 8px;
    transition: background 0.3s ease;
}
.send-whatsapp:hover {
    background-color: #1ebe5d;
}
.quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: white;
    background-color: #6c757d; /* gris plomo por defecto */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

