/* Colony header + announcement bar, laid out like a modern fashion store but kept in Colony's white theme. */

/* ---- announcement strip ---- */
.uh-announce { background: #f3f3f3; color: #000; text-align: center; padding: 9px 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; line-height: 1.3; }
.uh-announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---- sticky white header ---- */
#masthead { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid #e9e9e9; }
#ast-desktop-header .ast-primary-header-bar, #ast-desktop-header .main-header-bar { background: #fff !important; border: 0 !important; }
#ast-desktop-header .site-primary-header-wrap { min-height: 0 !important; padding-top: 14px; padding-bottom: 0; }
body.admin-bar #masthead { top: 32px; }

/* two rows: [logo ........ login + cart] / [menu ........ search] */
#ast-desktop-header .ast-builder-grid-row { display: grid !important; grid-template-columns: 1fr minmax(240px, 340px); grid-template-areas: "logo actions" "nav search"; align-items: center; column-gap: 24px; row-gap: 0; }
#ast-desktop-header .site-header-primary-section-left, #ast-desktop-header .site-header-primary-section-right { display: contents !important; }
#ast-desktop-header .site-header-primary-section-left > .ast-builder-layout-element { grid-area: logo; justify-self: start; }
#ast-desktop-header .ast-builder-menu-1 { grid-area: nav; justify-self: start; }
#ast-desktop-header .uh-search { grid-area: search; justify-self: stretch; padding: 6px 0 10px; }
#ast-desktop-header [data-section="section-header-woo-cart"] { grid-area: actions; justify-self: end; display: flex !important; align-items: center; gap: 24px; }

#ast-desktop-header .custom-logo-link img, #ast-desktop-header .custom-logo { width: 140px !important; height: auto !important; max-width: none; }
#ast-desktop-header .site-branding { padding: 0 0 6px; }

/* ---- menu: small spaced capitals ---- */
#ast-desktop-header .main-header-menu { justify-content: flex-start; }
#ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding: 12px 26px 12px 0 !important; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #000; line-height: 1.2; }
#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
#ast-desktop-header #menu-item-3873 { display: none; }  /* "My account" lives in the top-right LOGIN link */
#ast-desktop-header .sub-menu { border: 1px solid #e9e9e9; box-shadow: 0 14px 32px rgba(0, 0, 0, .1); }
#ast-desktop-header .sub-menu .menu-link { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 10px 20px; }

/* ---- search ---- */
.uh-search-form { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: #f3f3f3; border: 1px solid transparent; border-radius: 4px; color: #555; transition: border-color .2s ease, background-color .2s ease; }
.uh-search-form:focus-within { background: #fff; border-color: #000; color: #000; }
.uh-search-form input[type="search"] { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font-size: 13px; color: #000; }
.uh-search-form input::placeholder { color: #6b6b6b; }
.uh-search-form input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ---- login + cart ---- */
.uh-login { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #000; text-decoration: none; }
.uh-login:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 921px) { .uh-search { display: none; } }
#ast-desktop-header .uh-search { margin: 0 !important; padding-right: 0; width: 100%; max-width: 340px; justify-self: end; box-sizing: border-box; }
#ast-desktop-header [data-section="section-header-woo-cart"] { margin: 0 !important; }

/* ============ single-line header: logo | centred menu | search + account + cart ============ */
#ast-desktop-header .site-primary-header-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
#ast-desktop-header .ast-builder-grid-row { grid-template-columns: 1fr auto 1fr !important; grid-template-areas: "logo nav actions" !important; min-height: 74px; column-gap: 28px; }
#ast-desktop-header .site-branding { padding: 0; }
#ast-desktop-header .uh-nav { grid-area: nav; justify-self: center; align-self: stretch; }
#ast-desktop-header [data-section="section-header-woo-cart"] { grid-area: actions; justify-self: end; display: flex !important; align-items: center; gap: 22px; }
#ast-desktop-header .uh-top { min-height: 74px; padding: 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
#ast-desktop-header .uh-top::after { left: 20px; right: 20px; bottom: 18px; }

/* search: underlined field with a magnifier */
#ast-desktop-header .uh-search { grid-area: auto; padding: 0; margin: 0 !important; width: 170px; max-width: none; justify-self: auto; }
.uh-search-form { flex-direction: row-reverse; height: 34px; padding: 0 2px; background: transparent !important; border: 0; border-bottom: 1.5px solid var(--ink, #0f0f10); border-radius: 0; color: var(--ink, #0f0f10); }
.uh-search-form:focus-within { background: transparent; border-bottom-color: var(--blue, #0050c8); color: var(--blue, #0050c8); }
.uh-search-form input[type="search"] { font-size: 13.5px; font-weight: 500; color: var(--ink, #0f0f10); }
.uh-search-form input::placeholder { color: var(--ink, #0f0f10); opacity: .8; }
.uh-search-form svg { width: 20px; height: 20px; flex: none; }

.uh-login { display: inline-flex; align-items: center; color: var(--ink, #0f0f10); }
.uh-login:hover { color: var(--blue, #0050c8); text-decoration: none; }

/* sale stands out in the 10% blue */
.uh-item.is-sale > .uh-top { color: var(--blue, #0050c8); }

@media (max-width: 1180px) { #ast-desktop-header .uh-search { width: 130px; } #ast-desktop-header .uh-top { padding: 0 13px; letter-spacing: .06em; } #ast-desktop-header .uh-top::after { left: 13px; right: 13px; } }

/* ============ tighter header ============ */
.uh-announce { padding: 6px 12px; font-size: 10.5px; letter-spacing: .08em; }
#ast-desktop-header .ast-builder-grid-row { min-height: 54px; column-gap: 22px; }
#ast-desktop-header .custom-logo-link img, #ast-desktop-header .custom-logo { width: 104px !important; }
#ast-desktop-header .uh-top { min-height: 54px; padding: 0 17px; font-size: 12.5px; letter-spacing: .075em; }
#ast-desktop-header .uh-top::after { left: 17px; right: 17px; bottom: 11px; }
#ast-desktop-header .uh-search { width: 150px; }
.uh-search-form { height: 30px; }
.uh-search-form svg { width: 18px; height: 18px; }
#ast-desktop-header [data-section="section-header-woo-cart"] { gap: 18px; }
.uh-login svg { width: 20px; height: 20px; }

/* ---- search type-ahead ---- */
.ss-panel { position: absolute; z-index: 90; top: calc(100% - 4px); right: 0; width: min(700px, 94vw); background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden; animation: ss-in .15s ease; }
.ss-panel[hidden] { display: none; } .ss-panel.is-loading { opacity: .85; }
@keyframes ss-in { from { opacity: 0; transform: translateY(-4px); } }
.ss-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
.ss-list { list-style: none; margin: 0; padding: 8px; max-height: 420px; overflow: auto; }
.ss-list li { margin: 0; }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; text-decoration: none; color: var(--ink, #0f0f10); }
.ss-item.is-active, .ss-item:hover { background: #f3f4f6; }
.ss-item img, .ss-ph { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; background: #f3f4f6; flex: none; }
.ss-txt { display: flex; flex-direction: column; min-width: 0; gap: 2px; } .ss-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; } .ss-name mark { background: none; color: var(--blue, #0050c8); }
.ss-sub { font-size: 12px; color: #6b6b6b; }
.ss-prev { border-left: 1px solid #eee; background: #fafafa; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ss-prev-img { position: relative; display: block; aspect-ratio: 4 / 5; background: #eee; border-radius: 6px; overflow: hidden; } .ss-prev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-tag { position: absolute; top: 8px; left: 8px; background: var(--ink, #0f0f10); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; } .ss-tag.is-blue { background: var(--blue, #0050c8); }
.ss-prev-info { display: grid; gap: 4px; } .ss-prev-info small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6b6b6b; font-weight: 600; } .ss-prev-info strong { font-size: 13px; text-transform: uppercase; line-height: 1.3; } .ss-price { font-size: 13px; font-weight: 700; }
.ss-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; } .ss-sizes i { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 7px; border: 1px solid #d3d3d3; border-radius: 3px; background: #fff; } .ss-sizes i.is-out { color: #b0b0b0; text-decoration: line-through; border-color: #eee; }
.ss-go { margin-top: 6px; display: block; text-align: center; background: var(--ink, #0f0f10); color: #fff !important; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 11px; border-radius: 6px; } .ss-go:hover { background: var(--blue, #0050c8); }
.ss-all { display: block; padding: 13px 16px; border-top: 1px solid #eee; font-size: 13px; font-weight: 600; color: var(--ink, #0f0f10); text-decoration: none; background: #fff; } .ss-all:hover { color: var(--blue, #0050c8); background: #f8f8f8; }
.ss-empty { padding: 26px 20px; text-align: center; font-size: 14px; color: #555; display: grid; gap: 8px; } .ss-empty a { color: var(--blue, #0050c8); font-weight: 600; }
@media (max-width: 921px) { .ss-panel { display: none !important; } }

/* type-ahead: neutralise theme paragraph/line-height rules so the panel stays compact */
.ss-panel, .ss-panel * { box-sizing: border-box; }
.ss-panel * { margin: 0; line-height: 1.3; letter-spacing: normal; }
.ss-panel { width: min(660px, 94vw); font-size: 13px; }
.ss-body { grid-template-columns: minmax(0, 1fr) 250px; align-items: stretch; }
.ss-list { padding: 6px; max-height: 372px; scrollbar-width: thin; scrollbar-color: #d6d6d6 transparent; }
.ss-list::-webkit-scrollbar { width: 6px; } .ss-list::-webkit-scrollbar-thumb { background: #d6d6d6; border-radius: 3px; } .ss-list::-webkit-scrollbar-button { display: none; }
.ss-item { padding: 6px 8px; gap: 12px; }
.ss-item img, .ss-ph { width: 44px; height: 55px; }
.ss-txt { gap: 3px; } .ss-name { font-size: 12.5px; letter-spacing: .02em; } .ss-sub { font-size: 12px; }
.ss-prev { padding: 12px; gap: 10px; align-self: start; width: 100%; }
.ss-prev-img { aspect-ratio: 1 / 1; }
.ss-prev-info { gap: 5px; } .ss-prev-info strong { font-size: 12.5px; } .ss-price { font-size: 13px; }
.ss-sizes { gap: 4px; margin-top: 2px; } .ss-sizes i { display: inline-block; min-width: 26px; height: 24px; line-height: 22px; padding: 0 6px; text-align: center; }
.ss-go { margin-top: 4px; padding: 10px; }
.ss-all { padding: 11px 14px; font-size: 12.5px; }
.ss-empty { padding: 20px 16px; }

/* ============ inverted header: black bar, white type (the announcement strip above stays blue) ============ */
#masthead { background: var(--ink, #0f0f10); border-bottom: 1px solid #26262a; }
#ast-desktop-header .ast-primary-header-bar, #ast-desktop-header .main-header-bar,
#ast-mobile-header .ast-primary-header-bar, #ast-mobile-header .main-header-bar { background: var(--ink, #0f0f10) !important; }
/* the logo is a black wordmark: flip it to white */
#masthead .custom-logo-link img, #masthead .custom-logo { filter: invert(1); }
#masthead .uh-top, #masthead .uh-login, #masthead .main-header-menu > .menu-item > .menu-link { color: #fff; }
.uh-item.is-sale > .uh-top, .uh-item.is-current > .uh-top { color: #6ea2ff; }
#masthead .uh-top::after { background: #6ea2ff; }
#masthead .uh-login:hover, #masthead .uh-top:hover { color: #6ea2ff; }
/* search */
#masthead .uh-search-form { border-bottom-color: rgba(255, 255, 255, .85); color: #fff; }
#masthead .uh-search-form input[type="search"], #masthead .uh-search-form input::placeholder { color: #fff; }
#masthead .uh-search-form:focus-within { border-bottom-color: #6ea2ff; color: #6ea2ff; }
/* account + cart icons and the mobile menu button */
#masthead .uh-login, #masthead .ast-site-header-cart a, #masthead .cart-container, #masthead .ast-mobile-menu-buttons .menu-toggle, #masthead .ast-mobile-menu-buttons svg, #masthead [data-section="section-header-woo-cart"] a { color: #fff; }
#masthead svg, #masthead .ast-icon svg { fill: currentColor; }
#masthead .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon svg, #masthead .ast-mobile-svg { fill: #fff; }
#masthead .astra-icon, #masthead .ast-addon-cart-wrap, #masthead .ast-woo-header-cart-total { color: #fff !important; }
/* mega menu: dark panel, light links (#masthead prefix so these beat mega.css, which loads after this file) */
#masthead .uh-mega { background: var(--ink, #0f0f10); border-top-color: #26262a; box-shadow: 0 26px 40px rgba(0, 0, 0, .35); }
#masthead .uh-col h3 { color: #fff; }
#masthead .uh-col a { color: #e8e8ea; background-image: linear-gradient(#6ea2ff, #6ea2ff); }
#masthead .uh-col a:hover { color: #6ea2ff; }

/* ---- inverted header on phones and tablets: dark menu button and dark dropdown, light text ---- */
#masthead .main-header-menu-toggle, #masthead .ast-mobile-menu-trigger-fill { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; }
#masthead .main-header-menu-toggle .ast-mobile-svg { fill: #fff !important; }
#ast-mobile-header .ast-mobile-header-content { background: var(--ink, #0f0f10) !important; border-top: 1px solid #26262a; }
#ast-mobile-header .main-header-menu, #ast-mobile-header .main-header-menu .menu-item, #ast-mobile-header .main-header-menu .sub-menu { background: transparent !important; border-color: #26262a !important; }
#ast-mobile-header .main-header-menu .menu-link { color: #fff !important; }
#ast-mobile-header .main-header-menu .sub-menu .menu-link { color: #d4d4d8 !important; }
#ast-mobile-header .main-header-menu .menu-link:hover, #ast-mobile-header .main-header-menu .current-menu-item > .menu-link { color: #6ea2ff !important; }
#ast-mobile-header .ast-menu-toggle, #ast-mobile-header .ast-menu-toggle .ast-icon { color: #fff !important; background: transparent !important; }
#ast-mobile-header .ast-menu-toggle .ast-icon svg, #ast-mobile-header .ast-menu-toggle .ast-icon::before { fill: #fff !important; color: #fff !important; }
#ast-mobile-header .main-header-menu .menu-link, #ast-mobile-header .main-header-menu .menu-item.ast-submenu-expanded > .menu-link, #ast-mobile-header .main-header-menu .menu-link:focus { background: transparent !important; }
