/* Botones de perfil y logout en el dropdown de usuario */
#profile-btn, #logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}
/* Estilos generales para el perfil */

/* Logo en navbar */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-width: 220px; /* Ancho mínimo para acomodar la animación completa */
    max-width: 220px;
    flex-shrink: 0;
    z-index: 10;
}

.logo-img {
    height: 45px;
    width: 45px;
    vertical-align: middle;
}

.logo-text-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    left: 50px;
    top: 40%;
    transform: translateY(-50%);
}

.logo-part {
    font-family: 'Blanka', sans-serif;
    font-size: 0.7em;
    color: var(--text-color, #333);
    font-weight: normal;
    display: inline-flex;
    align-items: center;
}

.spacer {
    font-family: 'Blanka', sans-serif;
    font-size: 0.75em;
    display: inline-block;
    width: 5px;
}

.logo-part .fixed {
    font-family: 'Blanka', sans-serif;
    display: inline-block;
}

.logo-part .expand {
    display: inline-flex;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Blanka', sans-serif;

}

.logo-part .expand span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden; /* Oculta el contenido mientras crece */
    transition: max-width 0.1s ease-in-out, opacity 0.1s ease-in-out;
    font-family: 'Blanka', sans-serif;
    vertical-align: bottom;
}

/* Delays para Martone */
.logo-part:nth-child(1) .expand span:nth-child(1) { transition-delay: 0s; }
.logo-part:nth-child(1) .expand span:nth-child(2) { transition-delay: 0.05s; }
.logo-part:nth-child(1) .expand span:nth-child(3) { transition-delay: 0.1s; }
.logo-part:nth-child(1) .expand span:nth-child(4) { transition-delay: 0.15s; }
.logo-part:nth-child(1) .expand span:nth-child(5) { transition-delay: 0.2s; }
.logo-part:nth-child(1) .expand span:nth-child(6) { transition-delay: 0.25s; }

/* Delays para Workshop */
.logo-part:nth-child(3) .expand span:nth-child(1) { transition-delay: 0.3s; }
.logo-part:nth-child(3) .expand span:nth-child(2) { transition-delay: 0.35s; }
.logo-part:nth-child(3) .expand span:nth-child(3) { transition-delay: 0.4s; }
.logo-part:nth-child(3) .expand span:nth-child(4) { transition-delay: 0.45s; }
.logo-part:nth-child(3) .expand span:nth-child(5) { transition-delay: 0.5s; }
.logo-part:nth-child(3) .expand span:nth-child(6) { transition-delay: 0.55s; }
.logo-part:nth-child(3) .expand span:nth-child(7) { transition-delay: 0.6s; }
.logo-part:nth-child(3) .expand span:nth-child(8) { transition-delay: 0.65s; }

.logo:hover .logo-part .expand span {
    max-width: 1.5em;
    opacity: 1;
}

/* Navbar search - Base styles */
.navbar-search {
    display: flex;
    align-items: center;
    position: relative;
}

/* Desktop styles */
@media (min-width: 601px) {
    .navbar-search {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 420px;
        display: flex;
        align-items: center;
        z-index: 5;
    }
    .search-input {
        width: 100%;
        padding: 10px 40px 10px 14px;
        border-radius: 8px;
        border: 1.5px solid #ccc;
        font-size: 1em;
        outline: none;
        box-sizing: border-box;
        height: 40px;
    }
    .navbar-search-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        pointer-events: none;
        opacity: 0.6;
    }
}

.search-input {
    border-radius: 8px;
    border: 1.5px solid #ccc;
    outline: none;
    box-sizing: border-box;
}

.navbar-search-icon {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

/* Menu icon */
.menu-icon {
    font-size: 1.05em;
    vertical-align: middle;
    line-height: 1;
    cursor: pointer;
}
/* User avatar */
.user-avatar {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    border-radius: 50%;
}
/* Floating cart button */
#floating-cart {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1200;
    background: rgba(220, 20, 60, 0.9);
    color: var(--light);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-icon {
    font-size: 2rem;
    line-height: 1;
}
.cart-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: var(--highlight);
    font-size: 0.9rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
/* Producto imagenes */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}
/* Estilos específicos para index.html */
/* .hero {
    background: linear-gradient(90deg, #f7f7fa 60%, #fff 100%);
    padding: 3em 0 2em 0;
    text-align: center;
} */
.cta-button {
    background: var(--highlight);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9em 2.2em;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 1.5em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(233,69,96,0.08);
    transition: background 0.2s;
}
.cta-button:hover {
    background: #d12b4a;
}

