﻿/* Shared header chrome — used on home and inner pages */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.home-announce {
    background: #0E1F33;
    color: #E8DFD0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 16px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-mark-crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #0E1F33;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #0E1F33;
    background:
        linear-gradient(#C4A574, #C4A574) center / 18px 1px no-repeat,
        linear-gradient(#C4A574, #C4A574) center / 1px 18px no-repeat;
}

.brand-mark-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-mark-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #0E1F33;
}

.brand-mark-sub {
    margin-top: 3px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8A8175;
}

/* —— Independent home header —— */
.home-chrome-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    overflow: visible;
    background: rgba(251, 248, 242, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.home-chrome-bar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding-top: 14px;
    padding-bottom: 10px;
}

.home-chrome-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #44403c;
    cursor: pointer;
    padding: 0;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.home-chrome-menu-btn:hover {
    background: rgba(28, 25, 23, 0.05);
}

.home-chrome-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.home-chrome-logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.home-chrome-header .brand-mark-crest {
    width: 40px;
    height: 40px;
}

.home-chrome-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    width: 100%;
    justify-self: center;
    background: rgba(28, 25, 23, 0.04);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 6px 0 16px;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-chrome-search:focus-within {
    background: #fff;
    border-color: rgba(26, 54, 93, 0.28);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.08);
}

.home-chrome-search-icon {
    flex-shrink: 0;
    color: #a8a29e;
}

.home-chrome-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    color: #1c1917;
    padding: 11px 0;
}

.home-chrome-search input::placeholder {
    color: #a8a29e;
    font-weight: 400;
}

.home-chrome-search-submit {
    border: none;
    background: transparent;
    color: #78716c;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.home-chrome-search-submit:hover {
    color: #1A365D;
    background: rgba(26, 54, 93, 0.08);
}

.home-chrome-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: end;
}

.home-chrome-track {
    font-size: 0.8rem;
    font-weight: 500;
    color: #78716c;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.home-chrome-track:hover {
    color: #1A365D;
}

.home-chrome-header .shop-cart-btn {
    border: none;
    background: rgba(28, 25, 23, 0.04);
    border-radius: 999px;
    color: #44403c;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-chrome-header .shop-cart-btn:hover {
    background: rgba(26, 54, 93, 0.1);
    color: #1A365D;
    border-color: transparent;
}

.home-chrome-header .shop-cart-count {
    background: #1A365D;
}

/* Category nav — soft editorial style */
.home-chrome-nav {
    position: relative;
    z-index: 1110;
    overflow: visible;
    border-top: none;
    background: transparent;
    padding-bottom: 2px;
}

.home-chrome-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 2px 0 10px;
    overflow: visible;
}

.home-chrome-nav-cats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    overflow: visible;
    position: relative;
    z-index: 1111;
}

.home-chrome-nav-link,
.home-chrome-drop-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font: inherit;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #57534e;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

.home-chrome-nav-link::after,
.home-chrome-drop-btn::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-chrome-nav-link:hover,
.home-chrome-drop-btn:hover,
.home-chrome-dropdown:hover > .home-chrome-drop-btn,
.home-chrome-dropdown:focus-within > .home-chrome-drop-btn {
    color: #1c1917;
    background: rgba(28, 25, 23, 0.04);
}

.home-chrome-nav-link:hover::after,
.home-chrome-drop-btn:hover::after,
.home-chrome-dropdown:hover > .home-chrome-drop-btn::after,
.home-chrome-dropdown:focus-within > .home-chrome-drop-btn::after {
    opacity: 0.35;
    transform: scaleX(1);
}

.home-chrome-nav-shop {
    color: #1c1917;
}

.home-chrome-drop-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.45;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.home-chrome-dropdown:hover .home-chrome-drop-chevron,
.home-chrome-dropdown:focus-within .home-chrome-drop-chevron {
    transform: rotate(225deg);
    opacity: 0.7;
    margin-top: 2px;
}

.home-chrome-dropdown {
    position: relative;
    z-index: 1;
}

.home-chrome-dropdown:hover,
.home-chrome-dropdown:focus-within {
    z-index: 1200;
}

/* Invisible bridge so cursor can move into the menu without closing */
.home-chrome-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    display: none;
}

.home-chrome-dropdown:hover::after,
.home-chrome-dropdown:focus-within::after {
    display: block;
}

.home-chrome-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    width: max-content;
    max-width: min(560px, calc(100vw - 32px));
    min-width: 220px;
    background: #FBF8F2;
    border: 1px solid rgba(28, 25, 23, 0.08);
    border-radius: 18px;
    box-shadow:
        0 4px 6px -2px rgba(28, 25, 23, 0.04),
        0 18px 40px -12px rgba(28, 25, 23, 0.18);
    padding: 14px 12px 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1200;
}

.home-chrome-dropdown-menu.is-cols {
    min-width: 360px;
}

.home-chrome-dropdown-menu.is-wide {
    min-width: 480px;
    max-width: min(640px, calc(100vw - 32px));
}

.home-chrome-dropdown:hover .home-chrome-dropdown-menu,
.home-chrome-dropdown:focus-within .home-chrome-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.home-chrome-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(28, 25, 23, 0.2) transparent;
}

.home-chrome-dropdown-menu.is-cols .home-chrome-dropdown-grid {
    grid-template-columns: 1fr 1fr;
    max-height: 260px;
}

.home-chrome-dropdown-menu.is-wide .home-chrome-dropdown-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-height: 240px;
}

.home-chrome-dropdown-grid::-webkit-scrollbar {
    width: 5px;
}

.home-chrome-dropdown-grid::-webkit-scrollbar-thumb {
    background: rgba(28, 25, 23, 0.18);
    border-radius: 4px;
}

.home-chrome-dropdown-menu a {
    display: block;
    padding: 11px 14px;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    color: #57534e;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-chrome-dropdown-menu a:hover {
    background: rgba(26, 54, 93, 0.08);
    color: #0E1F33;
}

.home-chrome-dropdown-all {
    display: block !important;
    margin-top: 10px;
    padding: 11px 14px !important;
    text-align: center;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: #1A365D !important;
    background: rgba(26, 54, 93, 0.06);
    border-radius: 999px !important;
}

.home-chrome-dropdown-all:hover {
    background: rgba(26, 54, 93, 0.12) !important;
    color: #0E1F33 !important;
    padding-left: 14px !important;
}

/* Mobile drawer */
.home-chrome-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.35);
    z-index: 1998;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-chrome-overlay.active {
    opacity: 1;
}

.home-chrome-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 340px);
    height: 100%;
    background: #FBF8F2;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 12px 0 40px rgba(28, 25, 23, 0.1);
}

.home-chrome-drawer.open {
    transform: translateX(0);
}

.home-chrome-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: 1.35rem;
    color: #1c1917;
}

.home-chrome-drawer-close {
    border: none;
    background: rgba(28, 25, 23, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #78716c;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-chrome-drawer-close:hover {
    background: rgba(26, 54, 93, 0.1);
    color: #1A365D;
}

.home-chrome-drawer-search {
    display: flex;
    gap: 8px;
    padding: 4px 16px 18px;
}

.home-chrome-drawer-search input {
    flex: 1;
    border: 1px solid transparent;
    background: rgba(28, 25, 23, 0.04);
    padding: 11px 16px;
    font: inherit;
    font-size: 0.9rem;
    border-radius: 999px;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-chrome-drawer-search input:focus {
    background: #fff;
    border-color: rgba(26, 54, 93, 0.25);
}

.home-chrome-drawer-search button {
    border: none;
    background: rgba(28, 25, 23, 0.06);
    color: #57534e;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-chrome-drawer-search button:hover {
    background: rgba(26, 54, 93, 0.12);
    color: #1A365D;
}

.home-chrome-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 10px 20px;
}

.home-chrome-drawer-link,
.home-chrome-drawer-group-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    font: inherit;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #44403c;
    text-decoration: none;
    background: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-chrome-drawer-link:hover,
.home-chrome-drawer-group-btn:hover {
    background: rgba(28, 25, 23, 0.04);
    color: #1c1917;
}

.home-chrome-drawer-group-btn .home-chrome-drop-chevron {
    margin-right: 4px;
}

.home-chrome-drawer-group-btn.open .home-chrome-drop-chevron {
    transform: rotate(225deg);
    margin-top: 2px;
    opacity: 0.7;
}

.home-chrome-drawer-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0 4px 4px;
}

.home-chrome-drawer-sub.open {
    max-height: 420px;
}

.home-chrome-drawer-sub a {
    display: block;
    padding: 10px 18px;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #78716c;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-chrome-drawer-sub a:hover {
    background: rgba(26, 54, 93, 0.08);
    color: #0E1F33;
}

.home-chrome-drawer-pages-label {
    padding: 14px 18px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.home-chrome-drawer-seo {
    flex: 0 1 auto;
    max-height: 42%;
    overflow-y: auto;
    padding: 4px 8px 8px;
    border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.home-chrome-drawer-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 22px max(22px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.home-chrome-drawer-foot a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #a8a29e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-chrome-drawer-foot a:hover {
    color: #1A365D;
}
@media (max-width: 960px) {
    .home-chrome-bar-inner {
        grid-template-columns: auto auto 1fr;
        gap: 12px;
    }

    .home-chrome-menu-btn {
        display: inline-flex;
        grid-column: 1;
    }

    .home-chrome-logo {
        grid-column: 2;
    }

    .home-chrome-logo img {
        height: 36px;
    }

    .home-chrome-search {
        display: none;
    }

    .home-chrome-actions {
        grid-column: 3;
    }

    .home-chrome-track {
        display: none;
    }

    .home-chrome-nav {
        display: none;
    }
}

@media (max-width: 960px) {
    .brand-mark-sub {
        display: none;
    }
}
