/**
 * tienda.css
 * Estilos para la tienda virtual Rizushop
 * Basado en el diseño elegante
 */

/* Animaciones para elementos con fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Clase para scroll suave en toda la página */
html {
    scroll-behavior: smooth;
}

/* Animaciones para elementos con fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --primary-color: #25843b;
    --secondary-color: #8fd9a8;
    --accent-color: #b5e6c5;
    --light-bg: #f0fff5;
    --lighter-purple: #e6f7ec;
    --dark-text: #333333;
    --light-text: #555555;
    --white: #ffffff;
    --green: #75a478;
    --yellow: #ffeb99;
    --shadow: 0 4px 10px rgba(37, 132, 59, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    background-image: linear-gradient(to bottom right, #f3f9f5, #e6f5ec);
    position: relative;
}

/* Decoración de flores de fondo */
body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../img/elementos/flor_pequena.svg'), url('../img/elementos/flor_pequena_lila.svg');
    background-position: 5% 10%, 95% 85%;
    background-repeat: no-repeat;
    background-size: 80px, 100px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin: 0;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Navegación */
.main-nav {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

/* Eliminamos los iconos específicos del botón de inicio */
.nav-item:first-child a::before {
    display: none;
}

/* Iconos header */
.header-icons {
    display: flex;
    gap: 1.5rem;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn i {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.icon-btn:hover i {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    display: none; /* Oculto por defecto */
}

/* HERO */
.hero {
    position: relative;
    background-color: var(--lighter-purple);
    border-radius: 10px;
    margin: 2rem auto;
    padding: 3rem 1rem;
    text-align: center;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: #1e6e31;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 132, 59, 0.3);
}

/* Decoraciones florales del hero */
.floral-left,
.floral-right {
    position: absolute;
    width: 150px;
    height: 300px;
    pointer-events: none;
}

.floral-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.floral-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

/* CATEGORÍAS */
.categories {
    padding: 3rem 0;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background-color: #e6f7ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-decoration: none; /* Quitar subrayado */
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 132, 59, 0.2);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-content {
    padding: 1.5rem;
    text-align: center;
}

.category-content a {
    text-decoration: none;
    color: inherit;
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* PRODUCTOS */
.products {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(37, 132, 59, 0.15);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.badge-destacado {
    background-color: var(--secondary-color);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-category {
    color: var(--light-text);
    font-size: 0.9rem;
}

.product-color,
.product-size {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-size: 0.9rem;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.product-price {
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 0.75rem;
    font-size: 1.2rem;
}

.product-price .price-original {
    text-decoration: line-through;
    color: var(--light-text);
    font-weight: normal;
    font-size: 1rem;
    margin-right: 8px;
}

.product-price .price-mayor {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-weight: normal;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.add-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.add-cart-btn:hover {
    background-color: #1e6e31;
}

.view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.view-details:hover {
    background-color: #e6f7ec;
}

/* DESTACADOS */
.featured {
    padding: 4rem 0;
    background-color: #e6f7ec;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.featured::before,
.featured::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url('../img/elementos/flor_mediana.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.featured::before {
    top: -50px;
    left: -50px;
}

.featured::after {
    bottom: -50px;
    right: -50px;
    transform: rotate(180deg);
}

/* CARRITO */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.cart-overlay.active {
    visibility: visible;
    opacity: 1;
}

.cart-container {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    z-index: 1002;
}

.cart-overlay.active .cart-container {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--light-text);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 500;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: 1px solid #eee;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: #f5f5f5;
}

.quantity-value {
    font-weight: 500;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: var(--primary-color);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.75rem;
}

.cart-empaquetado {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

.cart-total-container {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.75rem 0 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.checkout-btn:hover {
    background-color: #1e6e31;
}

/* WHATSAPP BTN */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* DETALLES DEL PRODUCTO */
.product-detail-container {
    padding: 2rem 0;
}

.product-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-main-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-detail-category {
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.product-detail-price .price-mayor {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: normal;
    margin-top: 0.25rem;
}

/* OPCIONES DE PRODUCTO */
.product-options {
    margin-bottom: 1.5rem;
}

.option-title {
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
    display: block;
}

.color-options,
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.color-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;    /* Cambiado de width fijo a min-width */
    height: 36px;
    padding: 0 10px;    /* Agregado padding horizontal */
    border-radius: 20px; /* Cambiado de 50% a un valor fijo para que sea más ovalado */
    cursor: pointer;
    position: relative;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}

/* Ajuste para las opciones de color con texto */
.color-option span {
    display: inline-block;
    margin: 0 4px;
}

.color-option.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 132, 59, 0.3);
}

.color-option:hover {
    transform: scale(1.1);
}

.size-option {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: var(--dark-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    padding: 0 10px;
}

.size-option.active {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.size-option:hover {
    background-color: var(--lighter-purple);
}

/* Opciones en el carrito */
.cart-item-options {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 4px 0;
}

.cart-item-options span {
    display: inline-block;
    margin-right: 8px;
}

/* Ajustes para colores claros */
.color-option[style*="background-color: white"],
.color-option[style*="background-color: #fff"],
.color-option[style*="background-color: #ffffff"] {
    border: 1px solid #ccc;
}

.color-option::after {
    content: "";
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

.color-option.active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: #f5f5f5;
}

.qty-input {
    width: 50px;
    border: none;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.add-to-cart-btn {
    flex-grow: 1;
    padding: 0 2rem;
}

/* Estilos para indicador de precio mayorista */
.price-mayorista {
    display: inline-block;
    font-size: 0.8em;
    color: #fff;
    background-color: var(--primary-color);
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.cart-item-subtotal {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

/* Estilos para las opciones de producto (color y talla) */
.product-options {
    margin: 20px 0;
}

.option-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-options, .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.color-option, .size-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover, .size-option:hover {
    border-color: var(--primary-color);
}

.color-option.active, .size-option.active {
    border-color: var(--primary-color);
    background-color: rgba(37, 132, 59, 0.1);
    font-weight: 600;
}

.selected-option-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Estilos para las opciones en el carrito */
.cart-item-options {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #666;
}

.item-option {
    background-color: #f8f8f8;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
    font-size: 0.8rem;
}

/* Estilos para el mensaje de promoción mayorista en el carrito */
.cart-mayorista-info {
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    background-color: rgba(37, 132, 59, 0.08);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    text-align: center;
}

.cart-mayorista-info p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* FOOTER */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
    /* Eliminamos el filtro que hacía que el logo se viera blanco */
}

.footer-logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact i {
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* NOTIFICACIONES */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    max-width: 300px;
    text-align: center;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: var(--green);
}

.notification.error {
    background-color: #e74c3c;
}

.notification.warning {
    background-color: #f39c12;
}

/* ESTILOS PARA LA PÁGINA DE TÉRMINOS Y CONDICIONES */
.terms-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background-image: url('../img/elementos/flor_pequena_lila.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
}

.terms-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-color);
}

.term-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e0e0e0;
}

.term-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.term-item h3 {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.term-item p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.terms-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--lighter-purple);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.terms-note p {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.terms-note p:last-child {
    margin-bottom: 0;
    text-align: right;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .terms-section {
        padding: 1.5rem;
    }
    
    .term-item h3 {
        font-size: 1.1rem;
    }
    
    .terms-note {
        padding: 1rem;
    }
}

/* ESTILOS PARA LA PÁGINA DE CÓMO ELEGIR TALLA */
.size-guide-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.size-guide-section::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background-image: url('../img/elementos/flor_pequena_lila.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.size-guide-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.how-to-measure h3,
.size-table h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.size-table h4 {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.measure-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.measure-illustration {
    width: 100%;
    margin-bottom: 1.5rem;
}

.foot-measure-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.step-instructions {
    width: 100%;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-text {
    flex-grow: 1;
}

.step-text p {
    margin: 0;
    color: var(--dark-text);
    line-height: 1.5;
}

.measure-tips {
    background-color: var(--lighter-purple);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.measure-tips h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.measure-tips ul {
    padding-left: 1.5rem;
}

.measure-tips li {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.table-container {
    margin-bottom: 1.5rem;
}

.size-chart {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.size-chart th {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-weight: 600;
}

.size-chart td {
    text-align: center;
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.size-chart tbody tr:nth-child(even) {
    background-color: #f9f3f9;
}

.size-chart tbody tr:hover {
    background-color: var(--lighter-purple);
}

.size-note {
    color: var(--light-text);
    font-size: 0.9rem;
    font-style: italic;
    padding: 0 1rem;
}

.size-note p {
    margin-bottom: 0.5rem;
}

.sizing-faq {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.sizing-faq h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .size-guide-container {
        grid-template-columns: 1fr;
    }
    
    .size-table {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .size-guide-section {
        padding: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 0.5rem;
    }
}

/* RESPONSIVIDAD */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .floral-left,
    .floral-right {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: var(--white);
        z-index: 1000;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 5rem 1.5rem 1.5rem;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-item a {
        display: block;
        padding: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
        order: -1;
    }
    
    .close-menu {
        display: block;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .floral-left,
    .floral-right {
        width: 80px;
        opacity: 0.3;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .add-cart-btn,
    .view-details {
        width: 100%;
        justify-content: center;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .product-main-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        padding: 0.5rem 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        margin-left: 5px;
        padding: 8px;
        position: absolute;
        left: 15px;
    }
    
    .header-icons {
        margin-right: 5px;
        position: absolute;
        right: 15px;
    }
    
    .icon-btn {
        padding: 8px;
    }
    
    .logo {
        margin: 0 auto;
        text-align: center;
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Centrar contenido del footer en móviles */
    .footer-about, .footer-nav, .footer-categories, .footer-contact {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Centrar el logo y nombre de la tienda en el footer */
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-link a:hover {
        padding-left: 0;
    }
    
    .cart-container {
        max-width: 100%;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}