/* ===== RESET Y ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER (LOGO ARRIBA, LUEGO BARRA DE ACCIÓN) ===== */
header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-row {
    text-align: center;
    padding: 15px 0 5px 0;
}

.logo-img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}

.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.menu-icon {
    font-size: 1.3rem;
    cursor: pointer;
    color: #444;
}

.search-bar-container {
    flex: 1;
    max-width: 450px;
    margin: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar-container i {
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 0.9rem;
}

.search-bar {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.search-bar:focus {
    border-color: #888;
}

.icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #444;
}

.user-greeting {
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
}

.user-greeting.visible {
    display: inline;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #444;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e57373;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
}

/* MENÚ DESPLEGABLE NAV */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1001;
    min-width: 160px;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
}

.nav-menu a {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s;
}

.nav-menu a:hover {
    background-color: #f5f5f5;
}

/* ===== HERO CARRUSEL ===== */
.hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 350px;
    max-height: 550px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* ===== MENSAJE HERO Y NAVEGACIÓN DE CATEGORÍAS ===== */
.hero-message {
    text-align: center;
    padding: 30px 20px 10px 20px;
}

.hero-message h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.hero-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-nav a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.2s;
}

.hero-nav a:hover {
    border-color: #888;
    background-color: #fafafa;
    color: #111;
}

/* ===== CATÁLOGO DE PRODUCTOS ===== */
.product-listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.product-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    text-transform: capitalize;
    color: #333;
    padding: 12px 12px 4px 12px;
}

.product-price {
    font-weight: 600;
    color: #666;
    padding: 0 12px 12px 12px;
}

.card-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.card-quantity-control button {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.card-quantity-control button:hover {
    background-color: #eee;
}

.card-quantity-display {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== SECCIÓN NOSOTROS (MISIÓN Y VISIÓN) ===== */
.about-section {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 50px 20px;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.about-item {
    flex: 1;
    min-width: 280px;
}

.about-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
}

.about-item p {
    color: #555;
    font-size: 0.95rem;
}

/* ===== UBICACIÓN ===== */
.ubicacion-img-full {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== BURBUJAS FLOTANTES ===== */
.float-bubbles {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-bubbles a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.float-bubbles a:hover {
    transform: scale(1.1);
}

.whatsapp-float { background-color: #25d366; }
.telegram-float { background-color: #0088cc; }
.instagram-float { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ===== PIE DE PÁGINA ===== */
.footer {
    text-align: center;
    padding: 25px;
    background-color: #111;
    color: #888;
    font-size: 0.85rem;
}

/* ===== PANEL LATERAL DEL CARRITO ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: flex-end;
    z-index: 2000;
}

.cart-overlay.active {
    display: flex;
}

.cart-panel {
    width: 100%;
    max-width: 380px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.2rem;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty-msg {
    text-align: center;
    color: #888;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

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

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

.cart-item-name {
    font-size: 0.9rem;
    text-transform: capitalize;
    font-weight: 500;
}

.cart-item-price {
    font-size: 0.85rem;
    color: #666;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cart-item-quantity button {
    background: #eee;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    cursor: pointer;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e57373;
    cursor: pointer;
    font-size: 1rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.cart-checkout-btn {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.cart-checkout-btn:hover {
    background-color: #111;
}

/* ===== MODAL Y FORMULARIOS DE USUARIO ===== */
.user-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.user-modal-overlay.active {
    display: flex;
}

.user-modal {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 12px;
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #888;
}

.modal-floral-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-floral-header img {
    max-height: 50px;
    margin-bottom: 8px;
}

.modal-floral-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.modal-floral-header p {
    font-size: 0.8rem;
    color: #777;
}

.user-form {
    display: none;
}

.user-form.active {
    display: block;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #444;
}

.input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
}

.input-group input:focus {
    border-color: #555;
}

.error-msg {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: none;
}

.success-msg {
    color: #388e3c;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: none;
}

.user-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.form-link {
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.back-link-wrapper {
    text-align: center;
    margin-top: 15px;
}

.user-info-box {
    display: none;
    text-align: center;
    padding: 10px 0;
}

.user-info-box.active {
    display: block;
}

.user-avatar-circle {
    width: 60px;
    height: 60px;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 auto 10px auto;
}

.user-welcome {
    font-size: 1.1rem;
    font-weight: 600;
}

.user-email-display {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}

.logout-btn {
    padding: 8px 16px;
    background-color: #e57373;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            background: #faf9f7;
            color: #333;
        }

         /* Estilos para el pie de página */
        .footer {
            background-color: #fff;
            padding: 1.5rem 1rem;
            text-align: center;
            border-top: 1px solid #f0e8dd;
            margin-top: 2rem;
        }
        .footer p {
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            color: #666;
            margin: 0;
            letter-spacing: 0.3px;
        }

        /* ===== HEADER (dos filas: logo arriba, barra abajo) ===== */
        header {
            background: #ffffff;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem 2rem 0.6rem;
        }

        .logo-row {
            width: 100%;
            display: flex;
            justify-content: left;
            margin-bottom: 0.8rem;
        }

        .logo img {
            display: block;
            height: auto;
            max-height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .action-row {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            position: relative;
        }

        .menu-icon {
            font-size: 2rem;
            cursor: pointer;
            color: #5a4a3a;
            transition: color 0.2s;
            flex-shrink: 0;
        }
        .menu-icon:hover {
            color: #a84551;
        }

        /* Barra de búsqueda */
        .search-bar-container {
            flex: 1;
            max-width: 500px;
            position: relative;
            margin: 0 0.5rem;
        }

        .search-bar-container i {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: #8b7a6b;
            font-size: 1.2rem;
        }

        .search-bar {
            width: 100%;
            padding: 0.8rem 1.2rem 0.8rem 3rem;
            border: 1px solid #ddd4c8;
            border-radius: 30px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            background: #faf9f7;
            transition: all 0.3s;
        }
        .search-bar:focus {
            outline: none;
            border-color: #a84551;
            box-shadow: 0 0 0 3px rgba(192, 96, 107, 0.1);
            background: #fff;
        }

        /* Iconos derecha */
        .icons {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            font-size: 1.6rem;
            color: #4b3b2b;
            flex-shrink: 0;
        }

        .icons .user-icon-wrapper {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .user-greeting {
            font-size: 0.9rem;
            font-weight: 600;
            color: #444;
            display: none;
            white-space: nowrap;
        }
        .user-greeting.visible {
            display: inline;
        }

        .cart-icon {
            position: relative;
            cursor: pointer;
        }
        .cart-badge {
            position: absolute;
            top: -8px;
            right: -10px;
            background: #a84551;
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

                /* Estilos para los controles de cantidad en las tarjetas */
        .card-quantity-control {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            margin-top: 0.5rem;
        }
        .card-quantity-control button {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #ddd4c8;
            background: #fff;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            color: #4b3b2b;
            user-select: none;
        }
        .card-quantity-control button:hover {
            background: #a84551;
            color: white;
            border-color: #a84551;
        }
        .card-quantity-display {
            font-weight: 600;
            font-size: 1rem;
            min-width: 28px;
            text-align: center;
            color: #4b3b2b;
        }
        /* Ajuste para que el contenedor de la imagen de ubicación ocupe todo el ancho */
        .ubicacion-img-full {
            width: 50%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Menú desplegable */
        .nav-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #ffffff;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            padding: 1.5rem 2rem;
            flex-wrap: wrap;
            gap: 1rem;
            z-index: 99;
            border-top: 1px solid #f0e8dd;
        }

        .nav-menu.active {
            display: flex;
        }

        .nav-menu a {
            color: #4b3b2b;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            padding: 0.6rem 1.4rem;
            border-radius: 8px;
            transition: all 0.2s;
            background: transparent;
        }
        .nav-menu a:hover {
            background: #f9f3ed;
            color: #a84551;
        }

        /* ===== HERO CARRUSEL ===== */
        .hero {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        .carousel-container {
            position: relative;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.7);
            border: none;
            font-size: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            color: #4b3b2b;
            transition: 0.2s;
            z-index: 2;
        }
        .prev-btn {
            left: 20px;
        }
        .next-btn {
            right: 20px;
        }
        .carousel-btn:hover {
            background: rgba(255, 255, 255, 0.9);
        }

        /* ===== SECCIÓN DE MENSAJE DEBAJO DEL CARRUSEL ===== */
        .hero-message {
            max-width: 900px;
            margin: 2rem auto 0;
            text-align: center;
            padding: 2rem 1.5rem;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        }

        .hero-message h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2.8rem;
            color: #3e2f1f;
            margin-bottom: 1.5rem;
        }

        .hero-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
            margin-bottom: 1.8rem;
        }

        .hero-nav a {
            background: #f5ede3;
            color: #5a4a3a;
            padding: 0.6rem 1.4rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.5rem;
            transition: all 0.2s;
        }
        .hero-nav a:hover {
            background: #e2cfbc;
            color: #a84551;
        }

        .cta-button {
            background: #a84551;
            color: white;
            padding: 0.9rem 2.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            display: inline-block;
            transition: background 0.3s;
            box-shadow: 0 4px 10px rgba(192, 96, 107, 0.3);
        }

        /* ===== CATÁLOGO ===== */
        .product-listing-container {
            max-width: 1300px;
            margin: 3rem auto;
            padding: 0 2rem;
        }

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

        .product-link {
            text-decoration: none;
            color: inherit;
        }

        .product-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 16px rgba(0,0,0,0.05);
            transition: transform 0.25s, box-shadow 0.25s;
            text-align: center;
            padding: 1.2rem;
        }
        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        }

        .product-image-container {
            width: 100%;
            height: 220px;
            overflow: hidden;
            border-radius: 12px;
            margin-bottom: 1rem;
        }

        .product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-name {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 600;
            margin: 0.5rem 0;
            color: #3e2f1f;
        }

        .product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: #a84551;
        }

        /* ===== SECCIÓN MISIÓN/VISIÓN ===== */
        .about-section {
            background: #fff;
            padding: 3rem 2rem;
        }

        .about-container {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }

        .about-item {
            flex: 1 1 280px;
            background: #fdf8f4;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        }

        .about-item h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #a84551;
            margin-bottom: 1rem;
        }

        .about-item p {
            font-size: 1.1rem;
            line-height: 2.0;
            color: #4b3b2b;
        }

        /* ===== MODAL DE USUARIO (grande) ===== */
        .user-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(6px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            font-family: 'Inter', sans-serif;
        }

        .user-modal-overlay.active {
            display: flex;
        }

        .user-modal {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
            width: 94%;
            max-width: 540px;
            padding: 2.8rem 2.2rem 2.2rem;
            position: relative;
            animation: fbFadeIn 0.3s ease;
            border: 1px solid rgba(0,0,0,0.08);
        }

        @keyframes fbFadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        .modal-close-btn {
            position: absolute;
            top: 16px;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #606770;
            transition: color 0.2s;
            line-height: 1;
            opacity: 0.7;
        }
        .modal-close-btn:hover {
            color: #c94b6c;
            opacity: 1;
        }

        .modal-floral-header {
            text-align: center;
            margin-bottom: 26px;
        }
        .modal-floral-header img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #f1e4d1;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
        .modal-floral-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #4b3b2b;
            margin: 12px 0 4px;
            font-weight: 700;
        }
        .modal-floral-header p {
            font-size: 16px;
            color: #808080;
            margin: 0 0 6px;
        }

        .user-form {
            display: none;
            flex-direction: column;
            gap: 18px;
        }
        .user-form.active {
            display: flex;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .input-group label {
            font-size: 15px;
            font-weight: 600;
            color: #4b4f56;
        }
        .input-group input {
            padding: 16px 18px;
            border: 1px solid #dde1e6;
            border-radius: 10px;
            font-size: 17px;
            transition: 0.2s;
            font-family: 'Inter', sans-serif;
            background: #f9fafb;
        }
        .input-group input:focus {
            outline: none;
            border-color: #a84551;
            box-shadow: 0 0 0 3px rgba(192, 96, 107, 0.15);
            background: #fff;
        }

        .user-submit-btn {
            background: #a84551;
            color: white;
            border: none;
            padding: 16px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 19px;
            cursor: pointer;
            transition: background 0.25s;
            letter-spacing: 0.4px;
            margin-top: 8px;
            font-family: 'Inter', sans-serif;
        }
        .user-submit-btn:hover {
            background: #a04b54;
        }

        .form-links {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            margin-top: 6px;
            font-size: 16px;
        }
        .form-link {
            color: #a84551;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
            background: none;
            border: none;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
        }
        .form-link:hover {
            text-decoration: underline;
        }

        .error-msg {
            color: #be3747;
            font-size: 15px;
            display: none;
            margin-top: -6px;
            font-weight: 500;
        }
        .success-msg {
            color: #2e7d32;
            font-size: 15px;
            display: none;
            margin-top: -6px;
            font-weight: 500;
        }

        .back-link-wrapper {
            text-align: center;
            margin-top: 8px;
        }

        /* Panel sesión iniciada */
        .user-info-box {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            padding: 1rem 0 0;
        }
        .user-info-box.active {
            display: flex;
        }
        .user-avatar-circle {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: #fbe9e7;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 42px;
            color: #a84551;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
            border: 3px solid #f1d5d5;
        }
        .user-welcome {
            font-weight: 600;
            font-size: 22px;
            color: #333;
            margin: 4px 0 0;
        }
        .user-email-display {
            font-size: 17px;
            color: #777;
            margin-top: -8px;
        }
        .logout-btn {
            background: none;
            border: 2px solid #e6c0c4;
            color: #a0444d;
            padding: 12px 28px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            transition: 0.2s;
            margin-top: 8px;
            font-family: 'Inter', sans-serif;
        }
        .logout-btn:hover {
            background: #fdf2f3;
            border-color: #a84551;
            color: #822a30;
        }

        /* Burbujas flotantes */
/* Contenedor fijo en esquina inferior derecha */
.float-bubbles {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;          /* espacio entre burbujas */
    z-index: 1000;
}

/* Estilo base para todas las burbujas */
.float-bubbles a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-bubbles a:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(0,0,0,0.4);
}

/* Colores distintivos */
.whatsapp-float {
    background-color: #25D366;   /* verde WhatsApp */
}

.telegram-float {
    background-color: #0088cc;   /* azul Telegram */
}

.instagram-float {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    /* Gradiente oficial de Instagram; si prefieres color sólido usa #E1306C */
}

        /* Responsive */
        @media (max-width: 768px) {
            .action-row {
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.8rem;
            }
            .search-bar-container {
                order: 1;
                max-width: 100%;
                flex: 1 1 100%;
            }
            .icons {
                order: 2;
                justify-content: center;
            }
            .menu-icon {
                order: 0;
            }
            .hero-message h1 {
                font-size: 2rem;
            }
        }

        /* ========== ESTILOS GENERALES (se asume que style.css tiene la base) ========== */
        body {
            font-family: 'Inter', sans-serif;
            background: #faf9f7;
        }
        /* ========== CARRITO ========== */
        .cart-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4);
            backdrop-filter: blur(4px);
            z-index: 10000;
            justify-content: flex-end;
        }
        .cart-overlay.active {
            display: flex;
        }
        .cart-panel {
            background: #fff;
            width: 100%;
            max-width: 420px;
            height: 100%;
            padding: 2rem;
            box-shadow: -8px 0 30px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            animation: slideInRight 0.3s ease;
        }
        @keyframes slideInRight {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }
        .cart-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #3e2f1f;
        }
        .cart-close-btn {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: #606770;
            cursor: pointer;
        }
        .cart-items {
            flex: 1;
            overflow-y: auto;
            margin-bottom: 1.5rem;
        }
        .cart-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid #f0e8dd;
        }
        .cart-item-img {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
        }
        .cart-item-info {
            flex: 1;
        }
        .cart-item-name {
            font-weight: 600;
            font-size: 1rem;
            color: #3e2f1f;
        }
        .cart-item-price {
            color: #a84551;
            font-weight: 600;
            font-size: 0.95rem;
        }
        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.3rem;
        }
        .cart-item-quantity button {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1px solid #ddd4c8;
            background: #fff;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-item-remove {
            background: none;
            border: none;
            color: #c0392b;
            font-size: 1.2rem;
            cursor: pointer;
            margin-left: 0.5rem;
        }
        .cart-footer {
            border-top: 2px solid #f0e8dd;
            padding-top: 1.5rem;
        }
        .cart-total {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
        }
        .cart-checkout-btn {
            width: 100%;
            padding: 0.9rem;
            background: #a84551;
            color: white;
            border: none;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background 0.3s;
        }
        .cart-checkout-btn:hover {
            background: #a04b54;
        }
        .cart-empty-msg {
            text-align: center;
            color: #888;
            margin-top: 3rem;
        }
        /* ========== BOTÓN AÑADIR EN TARJETAS ========== */
        .product-card {
            position: relative;
        }
        .add-to-cart-btn {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: #a84551;
            color: white;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, background 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        .add-to-cart-btn:hover {
            background: #a04b54;
            transform: scale(1.1);
        }

/* =======================================================
   NUEVAS REGLAS (AL FINAL PARA QUE SOBRESCRIBAN A LAS ANTIGUAS)
   ======================================================= */
.card-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.card-quantity-control button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd4c8;
    background-color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4b3b2b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-quantity-control button:hover {
    background-color: #a84551;
    color: white;
    border-color: #a84551;
}

.card-quantity-display {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    min-width: 20px;
    text-align: center;
}
