/* Reset para asegurar que el header no rompa el layout */
* {
    box-sizing: border-box;
}

.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5% !important;
    background-color: #ffffff !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-spacer {
    flex: 1; 
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

#logo {
    max-width: 120px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#logo:hover {
    opacity: 0.7;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#cartBtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: sans-serif;
    font-size: 14px;
}

.svg-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

#cart-count {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
}