* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f7f5;
    color: #333;
    overflow-x: hidden;
}

/* Anuncio superior */
.top-announcement {
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header principal */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

/* Logo y marca */
.header-brand {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9c27b0;
}

.brand-text h1 {
    font-size: 28px;
    color: #2d0363;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 12px;
    color: #9c27b0;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Navegación */
.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu li a:hover {
    color: #9c27b0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9c27b0;
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Iconos de navegación */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    color: #444;
    font-size: 20px;
    transition: color 0.3s;
}

.icon-link:hover {
    color: #9c27b0;
}

/* Contenedor del carrito */
.cart-container {
    position: relative;
}

.cart-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #444;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.cart-btn:hover {
    color: #9c27b0;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #9c27b0;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Menú desplegable del carrito */
.cart-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-dropdown.show {
    display: block;
}

.cart-header {
    text-align: center;
    margin-bottom: 20px;
}

.cart-large-icon {
    font-size: 40px;
    color: #9c27b0;
    margin-bottom: 10px;
}

.cart-header h3 {
    color: #2d0363;
    font-size: 20px;
}

.cart-empty {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 16px;
    line-height: 1.5;
}

.cart-divider {
    border: none;
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
}

.cart-verifications {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verification-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verification-item i {
    color: #4caf50;
    font-size: 18px;
}

.verification-item span {
    color: #555;
    font-size: 14px;
}

/* Botón hamburguesa */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #444;
    cursor: pointer;
    transition: color 0.3s;
}

.hamburger-btn:hover {
    color: #9c27b0;
}

/* Menú hamburguesa */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.4s ease;
}

.hamburger-menu.active {
    right: 0;
}

.hamburger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.hamburger-header h2 {
    color: #2d0363;
    font-size: 24px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.close-menu-btn:hover {
    color: #9c27b0;
}

.top-products {
    margin-bottom: 30px;
}

.top-products h3 {
    color: #444;
    margin-bottom: 15px;
    font-size: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.product-item {
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.product-item p {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.hamburger-nav ul {
    list-style: none;
    margin-bottom: 30px;
}

.hamburger-nav ul li {
    margin-bottom: 15px;
}

.hamburger-nav ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #444;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.hamburger-nav ul li a:hover {
    color: #9c27b0;
}

.hamburger-nav ul li a i {
    width: 25px;
    color: #9c27b0;
}

.hamburger-cta {
    background-color: #f8f4ff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.try-btn {
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 15px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.try-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.hamburger-cta p {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* Contenido principal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(157, 39, 176, 0.05) 0%, rgba(103, 58, 183, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-text h2 {
    font-size: 36px;
    color: #2d0363;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.hero-image {
    flex: 1;
    height: 300px;
    border-radius: 15px;
    background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
    z-index: 1;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature {
    text-align: center;
    padding: 25px 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 36px;
    color: #9c27b0;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 16px;
    color: #444;
}

/* Responsividad */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .hero-text h2 {
        font-size: 32px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 15px 5%;
    }
    
    .nav-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .hero-image {
        width: 100%;
        height: 250px;
    }
    
    .hamburger-menu {
        max-width: 100%;
    }
    
    .cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 20px 20px 0 0;
        animation: slideUp 0.3s ease;
    }
    
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 10px;
    }
    
    .top-announcement p {
        font-size: 12px;
        padding: 8px 5px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .product-item img {
        height: 80px;
    }
}

/* ... (Mantener todo el CSS anterior) ... */

/* Sección de productos */
.products-section {
    padding: 80px 5% 60px;
    background-color: #f9f7f5;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2d0363;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjetas de productos */
.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image.front {
    opacity: 1;
    z-index: 1;
}

.product-image.back {
    opacity: 0;
    z-index: 0;
}

.product-card:hover .product-image.front {
    opacity: 0;
}

.product-card:hover .product-image.back {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 22px;
    color: #2d0363;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-details {
    margin-bottom: 20px;
}

.product-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.product-benefit i {
    color: #4caf50;
    font-size: 16px;
}

.product-benefit span {
    color: #555;
    font-size: 14px;
}

.product-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #2d0363;
}

.old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

/* Botón personalizado */
.add-to-cart-btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: #000;
    background-image: none;
    color: #fff;
    cursor: pointer;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
        Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 100%;
    line-height: 1.5;
    margin: 0;
    -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
    padding: 0;
    border-width: 1px;
    padding: 1rem 2rem;
    position: relative;
    text-transform: uppercase;
    width: 100%;
    border: none;
    font-weight: 900;
}

.add-to-cart-btn:disabled {
    cursor: default;
}

.add-to-cart-btn:-moz-focusring {
    outline: auto;
}

.add-to-cart-btn svg {
    display: block;
    vertical-align: middle;
}

.add-to-cart-btn [hidden] {
    display: none;
}

.add-to-cart-btn:before {
    --progress: 100%;
    background: #fff;
    -webkit-clip-path: polygon(
        100% 0,
        var(--progress) var(--progress),
        0 100%,
        100% 100%
    );
    clip-path: polygon(
        100% 0,
        var(--progress) var(--progress),
        0 100%,
        100% 100%
    );
    content: "";
    inset: 0;
    position: absolute;
    transition: -webkit-clip-path 0.2s ease;
    transition: clip-path 0.2s ease;
    transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease;
}

.add-to-cart-btn:hover:before {
    --progress: 0%;
}

.add-to-cart-btn .text-container {
    display: block;
    overflow: hidden;
    position: relative;
}

.add-to-cart-btn .text {
    display: block;
    font-weight: 900;
    mix-blend-mode: difference;
    position: relative;
}

.add-to-cart-btn:hover .text {
    -webkit-animation: move-up-alternate 0.3s ease forwards;
    animation: move-up-alternate 0.3s ease forwards;
}

@-webkit-keyframes move-up-alternate {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(80%);
    }

    51% {
        transform: translateY(-80%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes move-up-alternate {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(80%);
    }

    51% {
        transform: translateY(-80%);
    }

    to {
        transform: translateY(0);
    }
}

/* Actualización del carrito */
.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-price {
    color: #9c27b0;
    font-weight: 700;
    font-size: 16px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #ff5252;
}

.cart-summary {
    padding: 15px 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

/* Sección informativa */
.info-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, rgba(157, 39, 176, 0.05) 0%, rgba(103, 58, 183, 0.05) 100%);
    margin-top: 60px;
    border-radius: 20px;
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    font-size: 32px;
    color: #2d0363;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    background-color: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-10px);
}

.info-item i {
    font-size: 40px;
    color: #9c27b0;
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 20px;
    color: #2d0363;
    margin-bottom: 15px;
}

.info-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* Responsividad para productos */
@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .product-image-container {
        height: 250px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 60px 20px 40px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .price {
        font-size: 24px;
    }
}