/* Desktop bar + search of the new menu (partials/menu/bar-left-dev, bar-right-dev, search-dev).
   Loaded by partials/menu/search-dev.blade.php. */

/* Open category / page: underline in the brand colour */
#header .bar-link[aria-current="page"] {
    color: #0b9e93 !important;
    box-shadow: inset 0 -2px 0 #15CEC0;
}

/* Be Inspired: light brand-colour pill, different from the black Black Friday link */
#header .bar-inspire { margin-left: 6px; }
#header .bar-inspire .nav-link {
    padding: 8px 16px !important;
    border-radius: 999px;
    background: #e6faf8;
    color: #0b7f76 !important;
    font-weight: 600;
    transition: background .2s, color .2s;
}
#header .bar-inspire .nav-link i { margin-right: 6px; color: #15CEC0; }
#header .bar-inspire .nav-link:hover { background: #15CEC0; color: #fff !important; }
#header .bar-inspire .nav-link:hover i { color: #fff; }

/* Black Friday link: black/yellow like the top bar */
#header .bar-bf { background: #0e0d12; border-radius: 999px; margin-left: 10px; }
#header .bar-bf .nav-link { color: #fff !important; font-weight: 700; padding: 8px 16px !important; }
#header .bar-bf__sale { margin-left: 6px; color: #f6bc16; }
#header .bar-bf:hover { background: #2a2930; }

/* "Εκπτώσεις" (when Black Friday is off) */
#header .bar-link--sale { color: #c0392b !important; font-weight: 700; }

/* "Περισσότερα": small panel under the link */
#header .bar-more { position: relative; }
#header .bar-more summary { list-style: none; cursor: pointer; }
#header .bar-more summary::-webkit-details-marker { display: none; }
#header .bar-more summary::after { content: " ▾"; font-size: 11px; }

#header .bar-more__panel {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    min-width: 230px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    text-align: left;
}

#header .bar-more__panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #222;
    font-size: 14px;
    white-space: nowrap !important;
}

#header .bar-more__panel a:hover { background: #f5f5f6; color: #0b9e93; }

/* Search: same round button as the cart / account buttons */
#header .site-search { position: relative; }

#header .site-search__toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(33, 33, 33, .12);
    border-radius: 2.75rem;
    background: #fff;
    font-size: 16px;
}

#header .site-search__toggle:hover { background: rgba(47, 118, 236, .12); }

#header .site-search__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 1001;
    width: 420px;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
}

#header .site-search__input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 15px;
}

#header .site-search__input:focus { outline: none; border-color: #15CEC0; box-shadow: 0 0 0 3px rgba(21, 206, 192, .2); }

#header .site-search__results { margin-top: 8px; }

/* Override the round ".abutton a" style of the header for the result rows */
#header .site-search a.site-search__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    height: auto;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    line-height: 1.3;
    text-align: left;
    color: #222;
}

#header .site-search a.site-search__item:hover { background: #f5f5f6; }
#header .site-search__item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
#header .site-search__item span { flex: 1; font-size: 14px; font-weight: 600; }
#header .site-search__item em { font-style: normal; font-size: 12px; font-weight: 700; color: #f6bc16; background: #0e0d12; border-radius: 999px; padding: 2px 8px; }

#header .site-search__all {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: #f5f5f6;
    color: #0b9e93;
    font-weight: 700;
    font-size: 14px;
}
