
        :root {
            --color-primary: #F8BBD0;
            --color-secondary: #C8E6C9;
            --color-accent: #FFCCBC;
            --color-dark: #5D4037;
            --color-light: #FFF9C4;
            --color-text: #3E2723;
            --color-background: #FFFBFA;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--color-background);
            color: var(--color-text);
            line-height: 1.6;
        }
        
        /* Header */
        header {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
            padding: 1rem 2rem;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px; /* espacio entre logo y texto */
        }

        .logo-img {
            width: 170px;   /* ajusta según tu necesidad */
            height: auto;
            border-radius: 8px; /* opcional si quieres esquinas redondeadas */
        }

        /*
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            color: var(--color-dark);
            margin-left: 10px;
        }
        
        .logo-icon {
            font-size: 2rem;
            color: var(--color-dark);
        }
        */
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 1.5rem;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--color-dark);
            font-weight: 500;
            padding: 0.5rem;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        nav ul li a:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }
        
        .cart-icon {
            position: relative;
            cursor: pointer;
            font-size: 1.5rem;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--color-accent);
            color: var(--color-dark);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.8rem;
            font-weight: bold;
        }
        
        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23F8BBD0"/><path d="M0 0L100 100" stroke="%23C8E6C9" stroke-width="2"/><path d="M100 0L0 100" stroke="%23C8E6C9" stroke-width="2"/></svg>');
            background-size: cover;
            color: white;
            text-align: center;
            padding: 4rem 2rem;
            border-radius: 10px;
            margin-bottom: 2rem;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* Products */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
        }
        
        .product-image {
            height: 200px;
            background-color: var(--color-light);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3rem;
        }
        
        .product-info {
            padding: 1.5rem;
        }
        
        .product-info h3 {
            margin-bottom: 0.5rem;
            color: var(--color-dark);
        }
        
        .product-info p {
            color: #666;
            margin-bottom: 1rem;
        }
        
        .product-price {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--color-dark);
            margin-bottom: 1rem;
        }
        
        .add-to-cart {
            background-color: var(--color-primary);
            color: var(--color-dark);
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
            width: 100%;
        }
        
        .add-to-cart:hover {
            background-color: var(--color-accent);
        }
        
        /* Cart Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }
        
        .close {
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .cart-items {
            margin-bottom: 1.5rem;
        }
        
        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            border-bottom: 1px solid #eee;
        }
        
        .item-info {
            flex: 2;
        }
        
        .item-price {
            flex: 1;
            text-align: right;
        }
        
        .item-quantity {
            display: flex;
            align-items: center;
            margin: 0 1rem;
        }
        
        .quantity-btn {
            background-color: #eee;
            border: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
        }
        
        .quantity {
            margin: 0 0.5rem;
        }
        
        .cart-total {
            font-size: 1.2rem;
            font-weight: bold;
            text-align: right;
            margin-bottom: 1.5rem;
        }
        
        .checkout-btn {
            background-color: var(--color-secondary);
            color: var(--color-dark);
            border: none;
            padding: 1rem 2rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            transition: background-color 0.3s ease;
        }
        
        .checkout-btn:hover {
            background-color: var(--color-accent);
        }
        
        /* Login Form */
        .login-form {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: var(--shadow);
            max-width: 400px;
            margin: 2rem auto;
        }
        
        .login-form h2 {
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--color-dark);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-group input {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        .login-btn {
            background-color: var(--color-primary);
            color: var(--color-dark);
            border: none;
            padding: 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            transition: background-color 0.3s ease;
        }
        
        .login-btn:hover {
            background-color: var(--color-accent);
        }
        
        /* Footer */
        footer {
            background-color: var(--color-dark);
            color: white;
            padding: 2rem;
            text-align: center;
            margin-top: 3rem;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .social-icons {
            margin: 1rem 0;
        }
        
        .social-icons a {
            color: white;
            margin: 0 0.5rem;
            font-size: 1.5rem;
        }
        
        /* Invoice Styles */
        .invoice-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .invoice-content {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .invoice-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--color-dark);
        }
        
        .invoice-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
        }
        
        .invoice-items {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 2rem;
        }
        
        .invoice-items th, .invoice-items td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .invoice-items th {
            background-color: var(--color-primary);
            color: var(--color-dark);
        }
        
        .invoice-total {
            text-align: right;
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 2rem;
        }
        
        .invoice-buttons {
            display: flex;
            justify-content: space-between;
        }
        
        .print-btn, .close-invoice-btn {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .print-btn {
            background-color: var(--color-secondary);
            color: var(--color-dark);
        }
        
        .close-invoice-btn {
            background-color: var(--color-primary);
            color: var(--color-dark);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                padding: 1rem;
            }
            
            nav ul {
                margin-top: 1rem;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            
            .invoice-details {
                flex-direction: column;
            }
            
            .invoice-details > div {
                margin-bottom: 1rem;
            }
            
            .invoice-buttons {
                flex-direction: column;
                gap: 1rem;
            }
            
            .print-btn, .close-invoice-btn {
                width: 100%;
            }
        }
        
        @media print {
            body * {
                visibility: hidden;
            }
            .invoice-content, .invoice-content * {
                visibility: visible;
            }
            .invoice-content {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                max-width: 100%;
                padding: 20px;
                box-shadow: none;
            }
            .invoice-buttons {
                display: none;
            }
        }