.storebar {
    align-items: center;
    background: linear-gradient(to bottom, rgba(24, 37, 53, 1), rgba(24, 37, 53, 1), rgba(24, 37, 53, 0.6));
    border-bottom: 1px solid #151C28;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: nowrap;
    height: 40px;
    justify-content: center;
    left: 0;
    padding: 0 16px;
    position: fixed;
    top: 12vh;
    transition: top 0.3s ease;
    width: 100%;
    z-index: 1000;
}

.storebar.dropdown-open {
    background: rgba(24, 37, 53, 1);
    border-bottom: none;
    box-shadow: none;
}

.storebar.dropdown-open .storebar-dropdown {
    box-shadow: none;
    border-top: none;
}

.storebar.shifted {
    top: 0;
}

.storebar-item {
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px 8px 12px;
    padding-right: 26px;
    white-space: nowrap;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s ease;
    position: relative;
}

.storebar-item span {
    position: relative;
    display: inline-block;
}

.storebar-item span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 2px;
    background: #66c0f4;
    transform: scaleX(0.1);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.18s ease;
}

.storebar-item::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.75;
    transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.storebar-item:hover::after,
.storebar-item:focus::after {
    transform: translateY(calc(-50% + 2px)) rotate(45deg);
    border-color: currentColor;
}

.storebar-item.open {
    color: #1a9fff;
}

.storebar-item.open span::after {
    transform: scaleX(1);
    opacity: 1;
}

.storebar-item.open::after {
    color: inherit;
    border-color: currentColor;
    opacity: 1;
}

@keyframes storebar-underline-expand {
    0% {
        width: 4px;
        opacity: 1;
    }
    40% {
        width: 4px;
    }
    100% {
        width: 18px;
    }
}

/* Search */
.search {
    align-items: center;
    display: flex;
    margin: 0 12px;
    position: relative;
}

.search input {
    background-color: #354150;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    color: #eef3f7;
    font-size: 13px;
    padding: 8px 44px 8px 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 350px;
}

.search input::placeholder {
    color: #8f9ba8;
}

.search::after {
    background-color: #1A9FFF;
    color: #ffffff;
    content: '🔍︎';
    display: flex;
    font-size: 18px;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0px;
    aspect-ratio: 1 / 1;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    transition: background-color 0.2s ease;
}

.search:hover::after {
    background-color: #3daeff;
}

.search input:focus {
    background-color: #101820;
    border-color: rgba(79, 144, 255, 0.8);
    box-shadow: 0 0 0 1px rgba(79, 144, 255, 0.18);
    outline: none;
}

/* Dropdowns */
.storebar-dropdown {
    display: none;
    position: fixed;
    justify-content: center;
    left: 0;
    top: calc(12vh + 40px);
    right: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(24, 37, 53, 1), rgba(24, 37, 53, 1), rgba(24, 37, 53, 0.6));
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    border-radius: 0;
    padding: 24px 32px 24px 24px;
    z-index: 2000;
    flex-direction: row;
    gap: 32px;
    animation: fadeIn 0.18s;
    overflow-y: auto;
    max-height: calc(100vh - 12vh - 40px);
}

.storebar.shifted .storebar-dropdown {
    top: 40px;
    max-height: calc(100vh - 40px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.storebar-dropdown-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    min-width: 160px;
}

.storebar-dropdown-col-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.storebar-dropdown-col {
    display: flex;
    flex-direction: row;
    background: linear-gradient(to right, rgba(35, 48, 69, 0.8), rgba(28, 39, 55, 0.8));
    border-radius: 4px;
    padding: 12px 16px;
}

.storebar-dropdown-title {
    color: #8f98a0;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.storebar-dropdown-button {
    color: black;
    background-color: #66c0f4;
    border: none;
    font-size: 15px;
    font-weight: 400;
    height: 50%;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.18s;
}

.storebar-dropdown-link {
    color: #e6e6e6;
    font-size: 15px;
    font-weight: 400;
    padding: 6px 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.18s;
}

.storebar-dropdown-link:hover {
    color: #66c0f4;
}

.storebar-dropdown-banner {
    position: relative;
    margin-bottom: 12px;
}

.storebar-dropdown-banner img {
    width: 220px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.storebar-dropdown-banner-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30,30,30,0.85);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 6px 18px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.product-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 4px;
    padding: 8px;
    transition: background-color 0.2s;
}

.product-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.product-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-name {
    color: #e6e6e6;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.product-price {
    color: #66c0f4;
    font-size: 13px;
    font-weight: 400;
}



@media (max-width: 1450px) {
    .hamburger-menu {
        display: flex;
    }
    
    .storebar button:not(.hamburger-menu) {
        display: none;
    }
    .search input {
        width: 280px;
    }
}

@media (max-width: 675px) {
    .storebar-dropdown-row {
        flex-direction: column;
    }
    .storebar-dropdown-col-1 {
        min-width: 100px;
    }
    }