@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import 'variables.css';

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-size: 0.95rem;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-borde);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    z-index: 1050;
    position: sticky;
    top: 0;
}

.navbar > .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.navbar-brand .brand-title {
    font-family: var(--font-title);
    font-size: 1.9rem;
    color: var(--color-principal);
}

.navbar-brand .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gris);
    margin-top: 2px;
}

/* Collapse como flex row */
.navbar-collapse {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 1 !important;
    flex-wrap: nowrap !important;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: var(--color-texto) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-boton) !important;
    background: rgba(244,92,147,0.08);
}

.navbar-toggler {
    display: none;
    border: none;
    padding: 0.4rem;
    margin-left: auto;
    background: transparent;
}

.navbar-toggler:focus { box-shadow: none; }

/* Iconos header */
.header-icons {
    display: flex !important;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
    margin-right: 3rem;
}

.header-icons a {
    color: var(--color-texto);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
}

.header-icons a:hover {
    background: rgba(244,92,147,0.1);
    color: var(--color-boton);
}

.header-icons .cart-icon { position: relative; }

.header-icons .cart-count {
    position: absolute;
    top: -3px; right: -3px;
    width: 16px; height: 16px;
    line-height: 16px;
    font-size: 0.6rem;
    border-radius: 50%;
    background: var(--color-boton);
    color: #fff;
    text-align: center;
    font-weight: 700;
}

/* Search dropdown */
.search-wrapper { position: relative; }

.search-dropdown {
    position: absolute;
    right: 0; top: calc(100% + 8px);
    width: 260px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 0.75rem;
    display: none;
    z-index: 1100;
}

.search-dropdown.active { display: block; }

.search-dropdown input {
    width: 100%;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.7rem 1rem;
    outline: none;
    font-size: 0.88rem;
}

.search-dropdown input:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.15);
}

/* ── BOTONES ── */
.btn-primary-custom {
    background: var(--color-boton);
    color: #fff !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 8px 20px rgba(244,92,147,0.28);
}

.btn-primary-custom:hover {
    background: var(--color-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(244,92,147,0.35);
}

.btn-primary-custom:disabled {
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.btn-outline-pink {
    color: var(--color-boton);
    border: 1.5px solid var(--color-boton);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    background: transparent;
    transition: background var(--transition), color var(--transition);
}

.btn-outline-pink:hover {
    background: var(--color-boton);
    color: #fff;
}

.btn-outline-primary {
    color: var(--color-boton);
    border-color: var(--color-borde);
    border-radius: var(--radius-pill);
}

.btn-outline-primary:hover {
    background: var(--color-boton);
    border-color: var(--color-boton);
    color: #fff;
}

/* ── HERO ── */
.hero-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Imagen de fondo a pantalla completa */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Gradiente encima de la imagen para que el texto sea legible */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255, 230, 240, 0.88) 0%,
        rgba(255, 220, 235, 0.70) 45%,
        rgba(255, 210, 230, 0.15) 100%
    );
}

/* Contenido sobre la imagen */
.hero-content-wrap {
    position: relative;
    z-index: 2;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 8rem;
    padding-right: 2rem;
    max-width: 620px;
}

.hero-logo {
    margin-bottom: 1.4rem;
}

.hero-logo-img {
    max-height: 120px;
    width: auto;
    display: block;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-texto);
}

.hero-text {
    color: var(--color-gris);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ya no se usa como two-column */
.hero-image-wrap { display: none; }

/* ── SECCIONES ── */
.section-title { text-align: center; margin-bottom: 2.5rem; }

.section-title h2 {
    font-family: var(--font-subtitle);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-texto);
}

.section-title p { color: var(--color-gris); font-size: 0.93rem; margin-top: 0.5rem; }

.section-divider {
    width: 60px; height: 3px;
    margin: 0.75rem auto 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--color-principal), var(--color-boton));
}

.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-boton);
    margin-bottom: 0.4rem;
    display: block;
}

/* ── CARDS DE PRODUCTO ── */
.product-card {
    background: var(--color-cards);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--color-fondo2);
}

.product-card .product-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-card .card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .card-title {
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-texto);
}

.product-card .card-desc {
    color: var(--color-gris);
    font-size: 0.82rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.9rem;
}

.product-card .price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-boton);
}

.product-card .btn-cart {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-boton);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.product-card .btn-cart:hover {
    background: var(--color-hover);
    transform: scale(1.1);
}

.badge-custom {
    display: inline-block;
    background: var(--color-badge);
    color: var(--color-principal);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ── CATEGORY PILLS (filtros) ── */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.category-pill {
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-borde);
    background: #fff;
    color: var(--color-texto);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}

.category-pill:hover,
.category-pill.active {
    background: var(--color-boton);
    border-color: var(--color-boton);
    color: #fff;
}

/* ── CARDS GENERALES ── */
.card-soft {
    background: var(--color-cards);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.feature-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
    height: 100%;
}

/* ── FEATURES / ICONOS ── */
.feature-icon-box {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-icon-box .icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE0EE, #FFB8D4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-boton);
    margin-bottom: 1rem;
}

.feature-icon-box h6 {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--color-texto);
}

.feature-icon-box p {
    font-size: 0.8rem;
    color: var(--color-gris);
    margin: 0;
}

/* ── CARRITO ── */
.cart-table { width: 100%; }

.cart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-borde);
}

.cart-row:last-child { border-bottom: none; }

.cart-row .cart-thumb {
    width: 80px; height: 80px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-row .cart-info { flex: 1; }
.cart-row .cart-info h6 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.15rem; }
.cart-row .cart-info small { color: var(--color-gris); font-size: 0.8rem; }

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.qty-control button {
    width: 30px; height: 30px;
    border: none;
    background: transparent;
    color: var(--color-texto);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition);
}

.qty-control button:hover { background: var(--color-fondo2); }

.qty-control input {
    width: 42px;
    border: none;
    border-left: 1px solid var(--color-borde);
    border-right: 1px solid var(--color-borde);
    text-align: center;
    font-size: 0.88rem;
    padding: 0.15rem 0;
    background: #fff;
}

.qty-control input:focus { outline: none; }

.cart-remove {
    background: none;
    border: none;
    color: var(--color-gris);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition);
}

.cart-remove:hover { color: #e54040; }

/* Resumen carrito */
.cart-summary {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.cart-summary h5 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: var(--color-gris);
}

.summary-row.total {
    color: var(--color-texto);
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid var(--color-borde);
    padding-top: 0.8rem;
    margin-top: 0.4rem;
}

/* ── PRODUCTO DETALLE ── */
.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-boton);
}

.product-info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-gris);
    margin-bottom: 0.5rem;
}

.product-info-badge i { color: var(--color-boton); width: 16px; }

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-thumbnails img {
    width: 72px; height: 72px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
}

.product-thumbnails img:hover,
.product-thumbnails img.active { border-color: var(--color-boton); }

.qty-input-group {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-borde);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.qty-input-group button {
    width: 36px; height: 36px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-texto);
    transition: background var(--transition);
}

.qty-input-group button:hover { background: var(--color-fondo2); }

.qty-input-group input {
    width: 48px;
    border: none;
    border-left: 1px solid var(--color-borde);
    border-right: 1px solid var(--color-borde);
    text-align: center;
    font-size: 0.9rem;
    background: #fff;
}

.qty-input-group input:focus { outline: none; }

.product-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-borde);
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--color-gris);
}

.product-feature-item i { color: var(--color-boton); font-size: 1rem; }

/* ── CONTACTO ── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info-item .ci-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--color-fondo2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    flex-shrink: 0;
}

.contact-info-item .ci-text strong { font-size: 0.82rem; display: block; color: var(--color-texto); }
.contact-info-item .ci-text span { font-size: 0.82rem; color: var(--color-gris); }

.social-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-fondo2);
    color: var(--color-boton);
    font-size: 0.95rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-btn:hover {
    background: var(--color-boton);
    color: #fff;
    transform: translateY(-2px);
}

/* ── FORMULARIOS ── */
.form-control, .form-select {
    border: 1.5px solid var(--color-borde);
    border-radius: 12px;
    padding: 0.70rem 1rem;
    font-size: 0.88rem;
    background: #fff;
    color: var(--color-texto);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.12);
    outline: none;
}

.form-control.rounded-pill { border-radius: var(--radius-pill); }
textarea.form-control { border-radius: 14px; resize: vertical; }

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
}

/* ── FOOTER ── */
.footer {
    background: #fff;
    border-top: 1px solid var(--color-borde);
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-col-center {
    text-align: center;
    padding-left: 4rem;
}

.footer-col-center .footer-links {
    display: inline-block;
    text-align: left;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-logo-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-principal);
    display: block;
    line-height: 1;
}

.footer-logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gris);
    display: block;
    margin-top: 2px;
}

.footer-desc {
    font-size: 0.83rem;
    color: var(--color-gris);
    line-height: 1.7;
    margin: 0.5rem 0 1.2rem;
    max-width: 280px;
}

.footer-title {
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-texto);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
    color: var(--color-gris);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-boton); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--color-gris);
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--color-boton);
    width: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-copy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-gris);
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-borde);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col-center { text-align: left; }
    .footer-desc { max-width: 100%; }
}

/* ── ALERTS ── */
.alert {
    border-radius: 14px;
    font-size: 0.88rem;
    border: none;
    padding: 0.9rem 1.2rem;
}

.alert-success { background: #f0fff4; color: #276749; }
.alert-danger  { background: #fff0f0; color: #c53030; }

/* ── REVEAL ANIMATION ── */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].reveal-init {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── NOSOTROS / ABOUT ── */
.about-section {
    background: linear-gradient(135deg, #FFF2F7 0%, #FFE0EE 100%);
    border-radius: 2rem;
    padding: 3rem;
}

/* ── NEWSLETTER ── */
.newsletter-card {
    background: linear-gradient(135deg, #FFE0EE 0%, #FFF2F7 100%);
    border: 1px solid var(--color-borde);
    border-radius: 2rem;
    padding: 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .navbar > .container { flex-wrap: wrap !important; }
    .navbar-toggler { display: block; }

    .navbar-collapse {
        flex-basis: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0.75rem 0 1rem;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 0.2rem;
        margin: 0;
        width: 100%;
    }

    .navbar-nav .nav-link { width: 100%; }

    .header-icons {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--color-borde);
        width: 100%;
    }

    .hero-section { padding: 2.5rem 0; min-height: auto; }
    .hero-content-wrap { padding-left: 2rem; }
    .hero-logo-title { font-size: 4rem; }
    .about-section { padding: 2rem; }
}

@media (max-width: 767px) {
    .navbar-brand .brand-title { font-size: 1.6rem; }
    .hero-title { font-size: 1.5rem; }
    .product-card .product-img-wrap img { height: 170px; }
    .section-title h2 { font-size: 1.6rem; }
    .footer { margin-top: 2.5rem; }
}

/* ══════════════════════════════════════
   SECCIÓN PRODUCTOS DESTACADOS
══════════════════════════════════════ */
.destacados-section {
    background: #fff;
    padding-top: 3.5rem;
}

/* ── Título decorativo ── */
.destacados-titulo {
    text-align: center;
    margin-bottom: 2rem;
}

.destacados-linea {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.3rem;
}

.linea-ornamento {
    display: block;
    width: 55px;
    height: 1px;
    background: linear-gradient(to right, transparent, #F45C93);
    border-radius: 2px;
}

.linea-ornamento:last-child {
    background: linear-gradient(to left, transparent, #F45C93);
}

.linea-diamante {
    display: block;
    width: 5px;
    height: 5px;
    background: #F45C93;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.destacados-heading {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--color-texto);
    margin: 0 0 0.25rem;
    line-height: 1.1;
}

.destacados-corazon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.corazon-linea {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-borde);
}

.destacados-corazon i {
    font-size: 0.75rem;
    color: var(--color-boton);
}

/* ── Cards de producto ── */
.dest-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(244, 92, 147, 0.15);
}

.dest-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--color-fondo2);
}

.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dest-card:hover .dest-card-img img {
    transform: scale(1.06);
}

.dest-card-body {
    padding: 0.6rem 0.75rem 0.75rem;
}

.dest-card-name {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    min-height: 2.1em;
}

.dest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dest-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-texto);
}

.dest-btn-cart {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--color-fondo2);
    border: 1.5px solid var(--color-borde);
    color: var(--color-boton);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dest-btn-cart:hover {
    background: var(--color-boton);
    border-color: var(--color-boton);
    color: #fff;
}

/* ── Grid de 4 columnas (independiente de Bootstrap row) ── */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.dest-item {
    min-width: 0; /* evita desbordamiento */
}

@media (max-width: 640px) {
    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Features grid horizontal ── */
.features-section {
    background: var(--color-boton);
    position: relative;
    padding: 2.5rem 0 0;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-bottom: 2rem;
}

.features-grid .feature-icon-box {
    padding: 1rem 1.2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.features-grid .feature-icon-box:last-child {
    border-right: none;
}

.features-grid .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.features-grid .feature-icon-box h6 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.features-grid .feature-icon-box p {
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}

/* Onda inferior con corazón */
.features-wave {
    position: relative;
    line-height: 0;
}

.features-wave svg {
    width: 100%;
    height: 50px;
    display: block;
}

.features-wave-heart {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: #fff7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    font-size: 0.85rem;
    z-index: 2;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid .feature-icon-box:nth-child(2) {
        border-right: none;
    }

    .features-grid .feature-icon-box:nth-child(1),
    .features-grid .feature-icon-box:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }
}

/* ══════════════════════════════════════
   SECCIÓN SOBRE NOSOTROS
══════════════════════════════════════ */
.nosotros-section {
    background: linear-gradient(135deg, #F9C0D4 0%, #F5A8C4 50%, #F0C0D8 100%);
    position: relative;
    overflow: hidden;
}

.nosotros-wave-top,
.nosotros-wave-bot {
    line-height: 0;
    display: block;
}

.nosotros-wave-top svg,
.nosotros-wave-bot svg {
    width: 100%;
    height: 40px;
    display: block;
}

.nosotros-inner {
    padding: 1.5rem 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Grid: texto | imagen */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Texto */
.nosotros-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 0.9rem;
    line-height: 1.1;
}

.nosotros-text p {
    color: rgba(255,255,255,0.92);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.4rem;
    max-width: 340px;
}

.nosotros-btn {
    background: #fff;
    color: var(--color-boton) !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.nosotros-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

/* Imagen */
.nosotros-img-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.nosotros-img-wrap img {
    max-height: 320px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: drop-shadow(0 20px 30px rgba(180,60,100,0.20));
    display: block;
}

/* Corazones flotantes */
.nosotros-deco {
    position: absolute;
    color: rgba(255,255,255,0.55);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.nosotros-deco-1 { top: 18%; left: 3%;  font-size: 1.1rem; }
.nosotros-deco-2 { top: 55%; left: 6%;  font-size: 0.7rem; }
.nosotros-deco-3 { top: 20%; right: 4%; font-size: 0.85rem; }
.nosotros-deco-4 { top: 65%; right: 7%; font-size: 1.2rem; }

@media (max-width: 640px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nosotros-text p { max-width: 100%; }

    .nosotros-img-wrap img {
        max-height: 200px;
    }
}

/* ══════════════════════════════════════
   PÁGINA PRODUCTOS
══════════════════════════════════════ */
.productos-page {
    padding: 3rem 0 4rem;
    background: var(--color-fondo);
}

/* Pills centradas */
.productos-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}

/* Ordenar — pequeño a la derecha */
.productos-sort {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.productos-sort select {
    border: 1.5px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    color: var(--color-texto);
    background: #fff;
    cursor: pointer;
    outline: none;
}

.productos-sort select:focus {
    border-color: var(--color-boton);
}

/* Grid de 4 columnas */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

/* Botón "ver" en las cards de productos */
.dest-btn-view {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--color-fondo2);
    border: 1.5px solid var(--color-borde);
    color: var(--color-gris);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dest-btn-view:hover {
    background: var(--color-texto);
    border-color: var(--color-texto);
    color: #fff;
}

/* Estado vacío */
.productos-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--color-gris);
}

.productos-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-borde);
    display: block;
}

.productos-empty p { font-size: 0.9rem; }

@media (max-width: 900px) {
    .productos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .productos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   PÁGINA CONTACTO
══════════════════════════════════════ */
.contacto-page {
    padding: 3rem 0 4.5rem;
    background: var(--color-fondo);
}

/* Grid: formulario | sep | info */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Formulario ── */
.contacto-form-wrap {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
}

.contacto-form input,
.contacto-form textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--color-borde);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: var(--color-texto);
    background: #fff;
    margin-bottom: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-body);
    resize: vertical;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: #c0aab2;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.10);
}

.contacto-form textarea { border-radius: 12px; }

.contacto-form-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.3rem;
}

.contacto-btn {
    flex: 1;
    text-align: center;
}

.contacto-fav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-borde);
    background: #fff;
    color: var(--color-boton);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.contacto-fav:hover {
    background: var(--color-boton);
    color: #fff;
    border-color: var(--color-boton);
}

/* ── Separador con corazones ── */
.contacto-sep {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.contacto-sep-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.contacto-sep-heart {
    color: var(--color-boton);
    font-size: 0.85rem;
    opacity: 0.7;
}

.contacto-sep-heart.sm {
    font-size: 0.5rem;
    opacity: 0.4;
}

/* ── Info derecha ── */
.contacto-info {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.ci-block-title {
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
}

.ci-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: var(--color-gris);
    line-height: 1.55;
}

.ci-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-fondo2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Redes sociales contacto */
.ci-social {
    display: flex;
    gap: 0.5rem;
}

.ci-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.ci-social-btn:hover { transform: translateY(-2px); opacity: 0.88; }
.ci-social-btn.fb { background: #1877F2; }
.ci-social-btn.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ci-social-btn.tk { background: #010101; }
.ci-social-btn.wa { background: #25D366; }

@media (max-width: 700px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    .contacto-sep { flex-direction: row; padding: 0; }
    .contacto-sep-line { flex-direction: row; }
}

/* ══════════════════════════════════════
   CONTACTO v2
══════════════════════════════════════ */
.contacto-page { padding: 3rem 0 5rem; }

/* Layout 3 columnas */
.cto-layout {
    display: grid;
    grid-template-columns: 1.8fr 28px 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 900px;
    margin: 2rem auto 0;
}

/* Card contenedor blanco */
.cto-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 4px 20px rgba(244,92,147,0.08);
}

/* Formulario: campos apilados */
.cto-form { display: flex; flex-direction: column; }

.cto-field { width: 100%; margin-bottom: 1rem; }

.cto-field input,
.cto-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #f0dde6;
    border-radius: 10px;
    padding: 1.05rem 1.2rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--color-texto);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    resize: vertical;
}

.cto-field input::placeholder,
.cto-field textarea::placeholder { color: #c8b0bb; }

.cto-field input:focus,
.cto-field textarea:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.10);
}

.cto-field textarea { border-radius: 12px; min-height: 180px; }

.cto-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.cto-btn-send {
    flex: 1;
    background: var(--color-boton);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(244,92,147,0.28);
    transition: background 0.2s, transform 0.2s;
}

.cto-btn-send:hover {
    background: var(--color-hover);
    transform: translateY(-1px);
}

.cto-btn-heart {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--color-borde);
    background: #fff;
    color: var(--color-boton);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.cto-btn-heart:hover {
    background: var(--color-boton);
    color: #fff;
    border-color: var(--color-boton);
}

/* Separador vertical de corazones */
.cto-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding-top: 2.2rem;
}

.cto-h-lg {
    color: var(--color-boton);
    font-size: 0.8rem;
    opacity: 0.65;
}

.cto-h-sm {
    color: var(--color-boton);
    font-size: 0.45rem;
    opacity: 0.35;
}

/* Info blocks */
.cto-info-block { margin-bottom: 1.2rem; }
.cto-info-block:last-child { margin-bottom: 0; }

.cto-info-title {
    font-family: var(--font-subtitle);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-texto);
    margin: 0 0 0.45rem;
}

.cto-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--color-gris);
    line-height: 1.55;
}

.cto-info-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #fff0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Redes sociales */
.cto-social { display: flex; gap: 0.45rem; }

.cto-soc {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.cto-soc:hover { transform: translateY(-2px); opacity: 0.85; }
.cto-soc.fb { background: #1877F2; }
.cto-soc.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.cto-soc.tk { background: #010101; }
.cto-soc.wa { background: #25D366; }

@media (max-width: 680px) {
    .cto-layout {
        grid-template-columns: 1fr;
    }
    .cto-sep {
        flex-direction: row;
        padding-top: 0;
        justify-content: center;
    }
}

/* ══════════════════════════════════════
   CARRITO
══════════════════════════════════════ */
.carrito-page { padding: 3rem 0 5rem; }

.carrito-wrap {
    max-width: 820px;
    margin: 2rem auto 0;
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(244,92,147,0.08);
    overflow: hidden;
}

/* ── Tabla ── */
.carrito-table-wrap { overflow-x: auto; }

.carrito-table {
    width: 100%;
    border-collapse: collapse;
}

.carrito-table thead tr {
    background: var(--color-fondo);
    border-bottom: 1px solid var(--color-borde);
}

.carrito-table th {
    padding: 0.85rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-gris);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.carrito-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--color-borde);
    font-size: 0.88rem;
    color: var(--color-texto);
    vertical-align: middle;
}

.carrito-table tbody tr:last-child td {
    border-bottom: none;
}

/* Alineaciones */
.col-precio, .col-subtotal { text-align: center; }
.col-cantidad { text-align: center; }
.col-accion { text-align: center; width: 40px; }

/* Imagen + nombre */
.carrito-producto {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.carrito-producto img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-borde);
}

.carrito-producto span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-texto);
    line-height: 1.3;
}

/* Control cantidad */
.carrito-qty-form {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.carrito-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.carrito-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--color-texto);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s;
}

.carrito-qty button:hover { background: var(--color-fondo2); }

.carrito-qty input {
    width: 36px;
    height: 28px;
    border: none;
    border-left: 1px solid var(--color-borde);
    border-right: 1px solid var(--color-borde);
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--color-texto);
    background: #fff;
    -moz-appearance: textfield;
}

.carrito-qty input::-webkit-outer-spin-button,
.carrito-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.carrito-qty-update {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--color-boton);
    font-weight: 600;
    cursor: pointer;
    padding: 0 0.2rem;
    font-family: var(--font-body);
}

/* Botón eliminar */
.carrito-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff0f0;
    color: #e04040;
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.carrito-remove:hover {
    background: #e04040;
    color: #fff;
}

/* ── Footer carrito ── */
.carrito-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--color-fondo);
    border-top: 1px solid var(--color-borde);
}

.carrito-total-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.carrito-total-label {
    font-size: 0.95rem;
    color: var(--color-texto);
}

.carrito-total-label strong {
    font-size: 1.05rem;
    color: var(--color-texto);
}

.carrito-btn-seguir {
    font-size: 0.85rem;
    color: var(--color-texto);
    border: 1.5px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.2rem;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    font-family: var(--font-body);
}

.carrito-btn-seguir:hover {
    border-color: var(--color-boton);
    color: var(--color-boton);
}

.carrito-btn-finalizar {
    background: var(--color-boton);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(244,92,147,0.28);
    transition: background 0.2s, transform 0.2s;
}

.carrito-btn-finalizar:hover {
    background: var(--color-hover);
    transform: translateY(-1px);
}

/* Carrito vacío */
.carrito-vacio {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-gris);
}

.carrito-vacio i {
    font-size: 3rem;
    color: var(--color-borde);
    display: block;
    margin-bottom: 1rem;
}

.carrito-vacio p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════
   LOGIN
══════════════════════════════════════ */
.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--color-fondo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 960px;
    min-height: 580px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(244,92,147,0.18);
    margin: 2rem auto;
}

/* ── Panel izquierdo ── */
.login-left {
    position: relative;
    overflow: hidden;
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(244,92,147,0.35) 0%, rgba(180,40,90,0.20) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.login-left-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    margin: 0;
}

/* Corazones deco */
.login-deco {
    position: absolute;
    color: rgba(255,255,255,0.75);
    pointer-events: none;
}
.login-deco.d1 { top: 12%; left: 10%; font-size: 1.1rem; }
.login-deco.d2 { top: 35%; right: 12%; font-size: 0.65rem; }
.login-deco.d3 { top: 60%; left: 18%; font-size: 0.8rem; }

/* ── Panel derecho ── */
.login-right {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Logo */
.login-logo { text-align: center; margin-bottom: 0.5rem; }

.login-logo-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--color-principal);
    line-height: 1;
}

.login-logo-sub {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gris);
    margin: 0.2rem 0 0.5rem;
}

.login-logo-orn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-boton);
    font-size: 0.6rem;
}

/* Título Iniciar Sesión */
.login-heading-wrap { text-align: center; margin: 1rem 0 1.5rem; }

.login-heading {
    font-family: var(--font-subtitle);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
}

.login-heading-orn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-boton);
    font-size: 0.55rem;
}

/* Líneas ornamento */
.lo-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-borde);
}

.lo-line.short { width: 36px; }

/* Error */
.login-error {
    background: #fff0f0;
    color: #c53030;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.84rem;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Formulario */
.login-form { width: 100%; }

.login-field { margin-bottom: 1.1rem; }

.login-field label {
    display: block;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 0.9rem;
    color: var(--color-boton);
    font-size: 0.85rem;
    pointer-events: none;
}

.login-input-wrap input {
    width: 100%;
    border: 1.5px solid var(--color-borde);
    border-radius: 10px;
    padding: 0.78rem 2.8rem 0.78rem 2.4rem;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--color-texto);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.login-input-wrap input::placeholder { color: #c8b0bb; }

.login-input-wrap input:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.10);
}

.login-eye {
    position: absolute;
    right: 0.9rem;
    background: none;
    border: none;
    color: var(--color-gris);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    transition: color 0.2s;
}

.login-eye:hover { color: var(--color-boton); }

.login-forgot {
    text-align: right;
    margin-top: 0.4rem;
}

.login-forgot a {
    font-size: 0.78rem;
    color: var(--color-boton);
    text-decoration: none;
}

.login-forgot a:hover { text-decoration: underline; }

/* Botón ingresar */
.login-btn {
    width: 100%;
    background: var(--color-boton);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: 0 8px 20px rgba(244,92,147,0.30);
    transition: background 0.2s, transform 0.2s;
}

.login-btn:hover {
    background: var(--color-hover);
    transform: translateY(-1px);
}

/* Onda + corazón inferior */
.login-wave {
    position: relative;
    width: calc(100% + 6rem);
    margin-top: auto;
    line-height: 0;
}

.login-wave svg {
    width: 100%;
    height: 30px;
    display: block;
}

.login-wave-heart {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-boton);
    font-size: 0.75rem;
    z-index: 2;
}

@media (max-width: 680px) {
    .login-wrapper { grid-template-columns: 1fr; }
    .login-left { display: none; }
    .login-right { padding: 2rem 1.5rem 0; }
}

/* Botón regresar login */
.login-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--color-gris);
    text-decoration: none;
    margin-bottom: 1rem;
    align-self: flex-start;
    transition: color 0.2s;
}

.login-back:hover { color: var(--color-boton); }
.login-back i { font-size: 0.78rem; }

/* ══════════════════════════════════════
   PANEL ADMIN
══════════════════════════════════════ */
.admin-body {
    margin: 0;
    padding: 0;
    background: #FBF0F5;
    font-family: var(--font-body);
    min-height: 100vh;
}

.admin-wrapper {
    min-height: 100vh;
}

/* ── Sidebar ── */
.admin-sidebar {
    background: var(--color-boton);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: fixed;
    top: 0; left: 0;
    width: 200px;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
}

.admin-logo {
    padding: 1.5rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.admin-logo a { text-decoration: none; display: block; }

.admin-logo-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: #fff;
    display: block;
    line-height: 1;
}

.admin-logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    display: block;
    margin-top: 2px;
}

.admin-section-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    padding: 1.2rem 1.4rem 0.4rem;
    font-weight: 600;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.7rem;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0.15rem;
}

.admin-nav-item i { width: 16px; text-align: center; font-size: 0.9rem; }

.admin-nav-item:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.admin-nav-item.active {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-weight: 600;
}

.admin-sidebar-footer {
    padding: 0.7rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.admin-logout { color: rgba(255,255,255,0.7) !important; }
.admin-logout:hover { color: #fff !important; background: rgba(255,255,255,0.12) !important; }

/* ── Main ── */
.admin-main {
    margin-left: 200px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Topbar */
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--color-borde);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-texto);
    font-weight: 500;
    cursor: pointer;
}

.admin-user-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-fondo2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    font-size: 0.85rem;
}

/* Contenido */
.admin-content {
    padding: 2rem;
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Page header */
.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-title {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-texto);
    margin: 0;
}

/* Stats grid (dashboard) */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
}

.admin-stat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--color-fondo2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-boton);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-stat-info { display: flex; flex-direction: column; }
.admin-stat-label { font-size: 0.78rem; color: var(--color-gris); }
.admin-stat-value { font-size: 1.3rem; font-weight: 700; color: var(--color-texto); line-height: 1.2; }

/* Card genérica admin */
.admin-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    width: 100%;
    display: block;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--color-borde);
}

.admin-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-texto);
    margin: 0;
}

.admin-link-ver {
    font-size: 0.82rem;
    color: var(--color-boton);
    text-decoration: none;
}

/* Tabla admin */
.admin-table-wrap { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead tr {
    background: #FBF0F5;
    border-bottom: 1px solid var(--color-borde);
}

.admin-table th {
    padding: 0.75rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-gris);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-align: left;
}

.admin-table td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #FBF0F5;
    font-size: 0.88rem;
    color: var(--color-texto);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #FFF7FA; }

.admin-prod-img {
    width: 56px; height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--color-borde);
}

.admin-prod-name { font-weight: 500; }

/* Badges */
.admin-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-badge-activo    { background: #e8f9ef; color: #1a7a45; }
.admin-badge-inactivo  { background: #f3f3f3; color: #777; }
.admin-badge-pendiente { background: #fff3e0; color: #b35c00; }
.admin-badge-pagado    { background: #e8f9ef; color: #1a7a45; }
.admin-badge-enviado   { background: #e8f0ff; color: #2255cc; }
.admin-badge-entregado { background: #e8f9ef; color: #1a7a45; }

/* Acciones */
.admin-actions { display: flex; gap: 0.4rem; }

.admin-action-btn {
    width: 32px; height: 32px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.admin-action-btn:hover { opacity: 0.8; transform: scale(1.05); }
.admin-action-btn.edit   { background: #FFF0F5; color: var(--color-boton); }
.admin-action-btn.delete { background: #FFF0F0; color: #e04040; }

/* Layout productos: tabla + resumen */
.admin-productos-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1.5rem;
    align-items: start;
}

/* Resumen lateral */
.admin-resumen-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-texto);
    margin: 0 0 1rem;
    padding: 1rem 1.4rem 0;
}

.admin-resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.4rem;
    border-top: 1px solid #FBF0F5;
    font-size: 0.88rem;
    color: var(--color-gris);
}

.admin-resumen-item strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-texto);
}

/* Botones admin */
.admin-btn-primary {
    background: var(--color-boton);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.admin-btn-primary:hover { background: var(--color-hover); }

.admin-btn-cancel {
    background: transparent;
    color: var(--color-gris);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s;
}

.admin-btn-cancel:hover { background: #f5f5f5; }

/* Modal */
.admin-modal { border-radius: 20px; border: 1px solid var(--color-borde); }
.admin-modal-title { font-family: var(--font-subtitle); font-size: 1.1rem; color: var(--color-texto); }

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-field { display: flex; flex-direction: column; gap: 0.35rem; }
.admin-field-full { grid-column: 1 / -1; }

.admin-field label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-texto);
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    border: 1.5px solid var(--color-borde);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--color-texto);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 3px rgba(244,92,147,0.10);
}

.admin-field textarea { border-radius: 12px; resize: vertical; }

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-borde);
}

/* Alerts admin */
.admin-alert {
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.admin-alert-success { background: #e8f9ef; color: #1a7a45; }
.admin-alert-danger  { background: #fff0f0; color: #c53030; }

.admin-empty { text-align: center; color: var(--color-gris); padding: 2rem; }

@media (max-width: 900px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-productos-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .admin-wrapper { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   DETALLE DE PRODUCTO
══════════════════════════════════════ */
.detalle-page {
    padding: 2.5rem 0 5rem;
    background: var(--color-fondo);
}

.detalle-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(244,92,147,0.10);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
}

/* Grid imagen | info */
.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Columna imagen */
.detalle-img-col {
    padding: 1.8rem;
    background: var(--color-fondo);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detalle-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.detalle-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Miniaturas */
.detalle-thumbs {
    display: flex;
    gap: 0.6rem;
}

.detalle-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.detalle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detalle-thumb.active,
.detalle-thumb:hover {
    border-color: var(--color-boton);
}

/* Columna info */
.detalle-info-col {
    padding: 1.8rem 2rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.detalle-badge {
    display: inline-block;
    background: var(--color-badge);
    color: var(--color-principal);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-pill);
    padding: 0.22rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.detalle-nombre {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.detalle-precio {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-boton);
    margin-bottom: 0.8rem;
}

.detalle-desc {
    font-size: 0.87rem;
    color: var(--color-gris);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Info list */
.detalle-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.detalle-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--color-gris);
}

.detalle-info-item i {
    color: var(--color-boton);
    width: 14px;
    text-align: center;
    font-size: 0.85rem;
}

.detalle-info-item strong { color: var(--color-texto); }

/* Cantidad */
.detalle-form { margin-top: auto; }

.detalle-cantidad-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detalle-qty-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-texto);
}

.detalle-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-borde);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.detalle-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    color: var(--color-texto);
    transition: background 0.15s;
}

.detalle-qty button:hover { background: var(--color-fondo2); }

.detalle-qty input {
    width: 44px;
    height: 32px;
    border: none;
    border-left: 1px solid var(--color-borde);
    border-right: 1px solid var(--color-borde);
    text-align: center;
    font-size: 0.88rem;
    font-family: var(--font-body);
    background: #fff;
    -moz-appearance: textfield;
}

.detalle-qty input:focus { outline: none; }
.detalle-qty input::-webkit-outer-spin-button,
.detalle-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Botones acción */
.detalle-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.detalle-btn-cart {
    flex: 1;
    background: var(--color-boton);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.2rem;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 18px rgba(244,92,147,0.28);
    transition: background 0.2s, transform 0.2s;
}

.detalle-btn-cart:hover {
    background: var(--color-hover);
    transform: translateY(-1px);
}

.detalle-btn-fav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-borde);
    background: #fff;
    color: var(--color-boton);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.detalle-btn-fav:hover {
    background: var(--color-boton);
    color: #fff;
    border-color: var(--color-boton);
}

/* Features inferiores */
.detalle-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--color-borde);
}

.detalle-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.82rem;
    color: var(--color-gris);
    border-right: 1px solid var(--color-borde);
    font-weight: 500;
}

.detalle-feature-item:last-child { border-right: none; }

.detalle-feature-item i {
    color: var(--color-boton);
    font-size: 1rem;
}

/* Relacionados */
.detalle-relacionados {
    margin-top: 3.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 640px) {
    .detalle-grid { grid-template-columns: 1fr; }
    .detalle-img-col { padding: 1.2rem; }
    .detalle-info-col { padding: 1.2rem; }
    .detalle-features { grid-template-columns: 1fr; }
    .detalle-feature-item { border-right: none; border-bottom: 1px solid var(--color-borde); }
    .detalle-feature-item:last-child { border-bottom: none; }
}
