/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colores principales */
:root {
    --primary-pink: #ff69b4;
    --dark-pink: #d44d8c;
    --light-pink: #ffb6c1;
    --gold: #d4af37;
    --white: #ffffff;
    --black: #333333;
    --gray: #f8f8f8;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
}

.logo h1 a {
    color: var(--white);
    text-decoration: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
}

.cart-link {
    background: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Botones */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-pink), var(--dark-pink));
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,105,180,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-pink);
    padding: 10px 25px;
    border: 2px solid var(--primary-pink);
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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

/* Featured Sections */
.featured-sections {
    padding: 4rem 0;
    background: var(--gray);
}

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

.section-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.section-card h3 {
    padding: 1rem;
    color: var(--primary-pink);
    font-size: 1.3rem;
}

.section-card p {
    padding: 0 1rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-card .btn-secondary {
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about h2 {
    text-align: center;
    color: var(--primary-pink);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-pink);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Products Grid */
.products-section {
    padding: 4rem 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-info p {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark-pink);
    margin-bottom: 1rem;
}

/* Courses Section */
.courses-section {
    padding: 4rem 0;
}

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

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.course-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.course-content li {
    margin-bottom: 0.5rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-pink);
    margin-bottom: 1rem;
    text-align: center;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: var(--gray);
}

.gallery-section h2 {
    text-align: center;
    color: var(--primary-pink);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    text-align: left;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Cart Section */
.cart-section {
    padding: 4rem 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: bold;
    color: var(--dark-pink);
}

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

.quantity-btn {
    background: var(--light-pink);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.cart-summary {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.cart-summary h3 {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: none;
    color: var(--dark-pink);
}

.continue-shopping {
    text-align: center;
    margin-top: 1rem;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-text h2 {
    color: var(--primary-pink);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.legal-text h3 {
    color: var(--dark-pink);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 1rem;
    z-index: 1001;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--light-pink);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-pink), #c13584);
    color: var(--white);
    padding: 3rem 0 1rem 0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-slider {
        height: 50vh;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 0.5rem;
    }

    .cart-item-details {
        grid-column: 1 / -1;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slide-content {
        left: 5%;
        bottom: 10%;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .products-grid,
    .courses-grid,
    .section-grid {
        grid-template-columns: 1fr;
    }
}
/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav ul {
        transition: all 0.3s ease;
    }
    
    .nav ul.show {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
        padding: 1rem;
        gap: 1rem;
        z-index: 1000;
    }
}

/* Loading states */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-products p {
    margin-bottom: 1rem;
}

/* Placeholder images */
.placeholder-image {
    border-radius: 10px;
    font-weight: bold;
}

/* Error states */
.error-message {
    background: #ff4757;
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}

/* Success states */
.success-message {
    background: #2ed573;
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}