body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #D9D9D9;
    color: #0D0D0D;
    line-height: 1.6;
}

/* Estilo del header*/
header {
    background-color: #D9D9D9;
    color: #0D0D0D;
    text-align: center;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    position: sticky;
    top: 0;
    width: 100%;    
    z-index: 1000;

}
.logo {
    margin-left: 18px;
}
.logo h1 {
    font-style: italic;
    margin: 0;
    font-size: 1.8rem;
    color: #0D0D0D;
}

.logo i {
    color: #33ccffee;
    margin-right: 0.5rem;/
}

nav {
    border: solid #33ccffee 2px;
    border-radius: 5px;
    padding: 0.5rem;
    background-color: #33ccffee;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    padding: 8px 15px;
    border-radius: 3px;
    transition: background-color 0.3s;
    font-weight: 500;
}

nav a:hover {
    background-color: #2bb3e6;
}

nav a.cart-link {
    background-color: rgba(255,255,255,0.2);
    border-radius: 20px;
}

/* Main content */
main {
    min-height: 70vh;
    padding: 2rem 1rem;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #33ccffee, #2bb3e6);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #33ccffee;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.featured-products h2 {
    position: relative;
    display: block;
    margin: 0 auto 2rem auto;
    padding: 0 0 0.5rem 0;
    background: none;
    color: #222;
    font-size: 2rem;
    font-weight: 700;
    border: none;
    border-radius: 0;
    box-shadow: none;
    letter-spacing: 0.5px;
    text-align: center;
    overflow: visible;
}

.featured-products h2::before {
    content: none;
}

.featured-products h2::after {
    content: "";
    display: block;
    margin: 0.5rem auto 0 auto;
    width: 48px;
    height: 3px;
    background: #33ccff;
    border-radius: 2px;
    opacity: 0.7;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0D0D0D;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #33ccffee;
    margin-bottom: 1rem;
}

.add-to-cart {
    background-color: #33ccffee;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #2bb3e6;
}

.add-to-cart:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Features section */
.features {
    margin: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 3rem;
    color: #33ccffee;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #0D0D0D;
}

/* Filters */
.filters {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.filter-btn {
    background-color: white;
    color: #0D0D0D;
    border: 2px solid #33ccffee;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #33ccffee;
    color: white;
}

/* Estilo de la pagina del carrito */
.cart-page {
    max-width: 1000px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    color: #0D0D0D;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background-color: #33ccffee;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.quantity-btn:hover {
    background-color: #2bb3e6;
}

.remove-btn {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: #cc0000;
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.summary-row.total {
    border-top: 2px solid #33ccffee;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.checkout-btn {
    background-color: #33ccffee;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background-color: #2bb3e6;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-cart i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    color: #666;
    margin-bottom: 1rem;
}

/* Estilos de la pagina Acerca de */
.about-page {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section h3 {
    color: #33ccffee;
    margin-bottom: 1rem;
}

.about-section ul {
    list-style: none;
    padding: 0;
}

.about-section li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.about-section li i {
    color: #33ccffee;
    margin-right: 0.5rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #33ccffee;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #33ccffee;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: #0D0D0D;
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* Footer */
footer {
    background-color: #0D0D0D;
    color: white;
    padding: 2rem 1rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #33ccffee;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #33ccffee;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    margin-top: 2rem;
    color: #ccc;
}

/* Diseño Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: inline-block;
        margin: 0.25rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img {
        margin-bottom: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-products h2 {
        font-size: 1.2rem;
        padding-bottom: 0.4rem;
    }
    
    .featured-products h2::after {
        width: 32px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem 0.5rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
}
