/* ================================
   Oak Tree Antiques Header
   Reworked elegant header
   Prefix: ota-header-
================================ */

html.ota-modal-open,
body.ota-modal-open {
    overflow: hidden !important;
}

.ota-header-wrap,
.ota-header,
.ota-header__nav-band,
.ota-header__mobile-sticky,
.ota-portal {
    --ota-header-ink: #071f17;
    --ota-header-green: #0e2a1e;
    --ota-header-green-2: #123828;
    --ota-header-green-3: #061b13;
    --ota-header-gold: #b88645;
    --ota-header-gold-2: #cfa260;
    --ota-header-gold-soft: #e2b478;
    --ota-header-paper: #f1e4c8;
    --ota-header-paper-2: #f8eed8;
    --ota-header-paper-3: #efe0c2;
    --ota-header-mahogany: #4a230b;
    --ota-header-muted: #5a5041;
    --ota-header-border: rgba(184, 134, 69, 0.34);
    --ota-header-green-border: rgba(14, 42, 30, 0.16);
    --ota-header-shadow: 0 16px 38px rgba(6, 27, 19, 0.16);
    --ota-header-shadow-soft: 0 8px 24px rgba(34, 17, 7, 0.08);
    --ota-header-serif: var(--site-font-heading, "Cinzel", Georgia, "Times New Roman", serif);
    --ota-header-body: var(--site-font-body, "Cormorant Garamond", Georgia, "Times New Roman", serif);

    color: var(--ota-header-ink);
    font-family: var(--ota-header-body);
}

.ota-header-wrap *,
.ota-header-wrap *::before,
.ota-header-wrap *::after,
.ota-portal *,
.ota-portal *::before,
.ota-portal *::after {
    box-sizing: border-box;
}

.ota-header-wrap {
    position: relative;
    z-index: 50;
    background: var(--ota-header-green-3);
}

.ota-header {
    position: relative;
    z-index: 50;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(226, 180, 120, 0.16), transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(180deg, var(--ota-header-green-2) 0%, var(--ota-header-green-3) 100%);
    border-bottom: 1px solid rgba(226, 180, 120, 0.22);
}


.ota-header__shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Announcement */

.ota-header__announcement {
    position: relative;
    background: rgba(6, 27, 19, 0.92);
    color: var(--ota-header-paper-2);
    border-bottom: 1px solid rgba(226, 180, 120, 0.25);
    font-family: var(--ota-header-serif);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ota-header__announcement-inner {
    min-height: 34px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.ota-header__announcement-left,
.ota-header__announcement-center,
.ota-header__announcement-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ota-header__announcement-left {
    justify-content: flex-start;
}

.ota-header__announcement-center {
    justify-content: center;
    color: var(--ota-header-gold-soft);
    text-align: center;
}

.ota-header__announcement-right {
    justify-content: flex-end;
    color: rgba(248, 238, 216, 0.86);
}

.ota-header__ornament {
    color: var(--ota-header-gold-soft);
    opacity: 0.95;
}

/* Top Header */

.ota-header__top {
    position: relative;
}

.ota-header__top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 180, 120, 0.42), transparent);
}

.ota-header__top-inner {
    min-height: 118px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 28px;
}

.ota-header__contact-note,
.ota-header__account {
    display: flex;
    align-items: center;
}

.ota-header__contact-note {
    justify-content: flex-start;
    gap: 12px;
    color: var(--ota-header-paper-2);
}

.ota-header__contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226, 180, 120, 0.48);
    background: rgba(14, 42, 30, 0.88);
    color: var(--ota-header-gold-soft);
    font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(248, 238, 216, 0.06);
}

.ota-header__contact-text {
    display: grid;
    gap: 3px;
}

.ota-header__contact-text strong {
    color: var(--ota-header-paper-2);
    font-family: var(--ota-header-serif);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ota-header__contact-text span {
    color: var(--ota-header-gold-soft);
    font-size: 13px;
    line-height: 1.25;
}

.ota-header__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-decoration: none;
    padding: 10px 22px;
}

.ota-header__logo {
    display: block;
    width: clamp(210px, 22vw, 292px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.ota-header__account {
    justify-content: flex-end;
    gap: 10px;
}

/* Buttons */

.ota-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(226, 180, 120, 0.58);
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-family: var(--ota-header-serif);
    font-size: 11px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ota-header__button:hover {
    background: var(--ota-header-mahogany);
    color: var(--ota-header-gold-soft);
    border-color: var(--ota-header-gold-soft);
    transform: translateY(-1px);
}

.ota-header__button--ghost {
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
}

.ota-header__button--ghost:hover {
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
}

/* Sticky Navigation */

.ota-header__nav-band {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        linear-gradient(180deg, rgba(248, 238, 216, 0.98), rgba(239, 224, 194, 0.96));
    border-bottom: 1px solid rgba(184, 134, 69, 0.36);
    box-shadow: 0 12px 30px rgba(6, 27, 19, 0.14);
}

.ota-header__nav-band::before {
    content: "";
    position: absolute;
    inset: 6px 0;
    border-top: 1px solid rgba(184, 134, 69, 0.18);
    border-bottom: 1px solid rgba(184, 134, 69, 0.18);
    pointer-events: none;
}

.ota-header__nav-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.ota-header__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ota-header__nav-decoration {
    width: min(110px, 12vw);
    height: auto;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0.72;
    filter: sepia(0.4) saturate(0.8);
}

.ota-header__nav-decoration--right {
    transform: scaleX(-1);
}

.ota-header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    color: var(--ota-header-green);
    font-weight: bold;
    text-decoration: none;
    font-family: var(--ota-header-serif);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ota-header__nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 1px;
    background: var(--ota-header-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.ota-header__nav a:hover,
.ota-header__nav a.is-active {
    color: var(--ota-header-mahogany);
    transform: translateY(-1px);
}

.ota-header__nav a:hover::after,
.ota-header__nav a.is-active::after {
    transform: scaleX(1);
}

/* Cart button */

.ota-header__cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(184, 134, 69, 0.45);
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
    font-family: var(--ota-header-serif);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ota-header__cart-btn:hover {
    background: var(--ota-header-mahogany);
    color: var(--ota-header-gold-soft);
    border-color: var(--ota-header-gold-soft);
    transform: translateY(-1px);
}

.ota-header__cart-btn-icon {
    display: inline-flex;
    align-items: center;
}

.ota-header__cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 1px solid var(--ota-header-paper-2);
    border-radius: 999px;
    background: var(--ota-header-gold);
    color: var(--ota-header-green-3);
    font-family: var(--ota-header-serif);
    font-size: 10px;
    line-height: 1;
}

/* Mobile Toggle */

.ota-header__mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    border: 1px solid var(--ota-header-green);
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
    cursor: pointer;
    transition: 0.2s ease;
}

.ota-header__mobile-toggle:hover,
.ota-header__mobile-toggle.is-active {
    background: var(--ota-header-mahogany);
    border-color: var(--ota-header-mahogany);
    color: var(--ota-header-gold-soft);
}

.ota-header__mobile-bars {
    width: 21px;
    display: grid;
    gap: 5px;
}

.ota-header__mobile-bars span {
    display: block;
    height: 1px;
    background: currentColor;
}

/* Mobile Dropdown */

.ota-header__mobile-panel {
    position: relative;
    z-index: 1001;
    padding: 0 0 18px;
}

.ota-header__mobile-card {
    border: 1px solid rgba(184, 134, 69, 0.34);
    background:
        linear-gradient(180deg, rgba(248, 238, 216, 0.98), rgba(239, 224, 194, 0.98));
    box-shadow: var(--ota-header-shadow);
}

.ota-header__mobile-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid rgba(184, 134, 69, 0.22);
}

.ota-header__mobile-action {
    width: min(100%, 280px);
}

.ota-header__mobile-action .ota-header__button {
    width: 100%;
    color: var(--ota-header-green);
    border-color: rgba(184, 134, 69, 0.42);
}

.ota-header__mobile-action .ota-header__button:hover {
    color: var(--ota-header-paper-2);
}

.ota-header__mobile-nav {
    display: grid;
    padding: 8px;
}

.ota-header__mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
    color: var(--ota-header-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 134, 69, 0.18);
    font-family: var(--ota-header-serif);
    font-size: 13px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.ota-header__mobile-nav a:last-child {
    border-bottom: 0;
}

.ota-header__mobile-nav a:hover,
.ota-header__mobile-nav a.is-active {
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
}

.ota-header__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Full Page Admin Portal Modal */

.ota-portal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.ota-portal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 19, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ota-portal__shell {
    position: fixed;
    inset: 0;
    z-index: 1;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
}

.ota-portal__modal {
    width: min(500px, 100%);
    position: relative;
    padding: 34px;
    border: 1px solid rgba(184, 134, 69, 0.58);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.35), transparent 28%),
        linear-gradient(180deg, rgba(248, 238, 216, 0.98), rgba(239, 224, 194, 0.98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    color: var(--ota-header-ink);
}

.ota-portal__modal::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(184, 134, 69, 0.18);
    pointer-events: none;
}

.ota-portal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ota-header-gold);
    font-family: var(--ota-header-serif);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ota-portal__eyebrow::before,
.ota-portal__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.ota-portal__modal h2 {
    margin: 12px 0 8px;
    color: var(--ota-header-green);
    font-family: var(--ota-header-serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ota-portal__modal p {
    margin: 0;
    color: var(--ota-header-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ota-portal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ota-portal__actions form {
    margin: 0;
}

.ota-portal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    min-height: 34px;
    border: 1px solid rgba(184, 134, 69, 0.32);
    background: rgba(248, 238, 216, 0.72);
    color: var(--ota-header-green);
    font-family: var(--ota-header-serif);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.ota-portal__close:hover {
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
}

[x-cloak] {
    display: none !important;
}

/* Responsive */

@media (max-width: 980px) {
    .ota-header__announcement-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        padding: 8px 0;
        text-align: center;
    }

    .ota-header__announcement-left,
    .ota-header__announcement-center,
    .ota-header__announcement-right {
        justify-content: center;
    }

    .ota-header__announcement-right {
        display: none;
    }

    .ota-header__top-inner {
        min-height: 100px;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ota-header__contact-note,
    .ota-header__account {
        display: none;
    }

    .ota-header__logo-link {
        justify-self: center;
        border-left: 0;
        border-right: 0;
        padding: 8px 0;
    }

    .ota-header__logo {
        width: clamp(210px, 40vw, 270px);
    }

    .ota-header__nav-inner {
        justify-content: space-between;
        min-height: 58px;
    }

    .ota-header__nav {
        display: none;
    }

    .ota-header__nav-decoration {
        display: none;
    }

    .ota-header__mobile-toggle {
        display: inline-flex;
    }

    .ota-header__cart-btn {
        margin-left: auto;
    }

    .ota-header__cart-btn-label {
        display: none;
    }
}

@media (max-width: 560px) {
    .ota-header__shell {
        width: min(100% - 24px, 1240px);
    }

    .ota-header__announcement {
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .ota-header__top-inner {
        min-height: 88px;
    }

    .ota-header__logo {
        width: 220px;
    }

    .ota-header__button {
        width: 100%;
    }

    .ota-portal__actions,
    .ota-portal__actions form {
        width: 100%;
    }

    .ota-portal__modal {
        padding: 30px 20px 22px;
    }
}

/* ========================================================================== 
   Header UX refinement: subtle admin utility, ecommerce action placement,
   centred sticky mobile hamburger, and checkout fallback.
   ========================================================================== */

.ota-header__utility-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(248, 238, 216, 0.78);
    font-family: var(--ota-header-serif);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ota-header__utility-button {
    appearance: none;
    border-radius: 0;
}

.ota-header__utility-link:hover,
.ota-header__utility-link:focus-visible {
    border-color: rgba(226, 180, 120, 0.36);
    background: rgba(248, 238, 216, 0.06);
    color: var(--ota-header-gold-soft);
    outline: none;
}

.ota-header__announcement-center span {
    display: inline-block;
    max-width: 100%;
}

.ota-header__account-spacer {
    display: block;
    min-width: 1px;
    min-height: 40px;
}

.ota-header__cart-btn {
    text-decoration: none;
}

.ota-header__cart-btn--fallback {
    min-width: 116px;
    background: transparent;
    color: var(--ota-header-paper-2);
}

.ota-header__cart-btn--fallback:hover,
.ota-header__cart-btn--fallback:focus-visible {
    background: var(--ota-header-green);
    color: var(--ota-header-gold-soft);
    outline: none;
}

.ota-header__mobile-spacer,
.ota-header__mobile-cta {
    display: none;
}

.ota-header__mobile-utility {
    display: flex;
    justify-content: center;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(184, 134, 69, 0.18);
}

.ota-header__mobile-utility .ota-header__utility-link {
    color: var(--ota-header-muted);
    border-color: rgba(184, 134, 69, 0.22);
    background: rgba(255, 249, 236, 0.42);
}

.ota-header__mobile-utility .ota-header__utility-link:hover,
.ota-header__mobile-utility .ota-header__utility-link:focus-visible {
    background: var(--ota-header-green);
    color: var(--ota-header-paper-2);
}

@media (min-width: 981px) {
    .ota-header__nav-inner {
        justify-content: center;
    }

    .ota-header__nav {
        flex: 0 1 auto;
    }
}

@media (max-width: 980px) {
    .ota-header__announcement-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        gap: 10px;
        padding: 7px 0;
        text-align: left;
    }

    .ota-header__announcement-left {
        display: none;
    }

    .ota-header__announcement-center {
        min-width: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .ota-header__announcement-center span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ota-header__announcement-right {
        display: flex;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .ota-header__announcement-right .ota-header__ornament {
        display: none;
    }

    .ota-header__nav-band {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .ota-header__nav-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        justify-content: normal;
        gap: 12px;
        min-height: 58px;
    }

    .ota-header__mobile-spacer {
        display: block;
        grid-column: 1;
        min-width: 1px;
    }

    .ota-header__mobile-toggle {
        grid-column: 2;
        justify-self: center;
        display: inline-flex;
    }

    .ota-header__mobile-cta {
        grid-column: 3;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-width: 0;
    }

    .ota-header__mobile-cta .ota-header__cart-btn {
        min-width: 44px;
        min-height: 42px;
        padding: 0 12px;
        margin-left: 0;
    }

    .ota-header__mobile-cta .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) .ota-header__cart-btn-label {
        display: none;
    }

    .ota-header__mobile-cta .ota-header__cart-btn--fallback {
        min-width: auto;
        padding: 0 13px;
    }

    .ota-header__mobile-cta .ota-header__cart-btn--fallback .ota-header__cart-btn-label {
        display: inline-flex;
    }

    .ota-header__mobile-panel {
        padding: 0 0 14px;
    }

    .ota-header__mobile-card {
        overflow: hidden;
    }
}

@media (max-width: 560px) {
    .ota-header__announcement-inner {
        gap: 8px;
    }

    .ota-header__utility-link {
        min-height: 24px;
        padding: 0 7px;
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .ota-header__mobile-cta .ota-header__cart-btn--fallback {
        padding: 0 10px;
        font-size: 10px;
    }
}

/* ========================================================================== 
   Header UX refinement v2: mobile logo/action share the top header, dropdown
   stays navigation-only, and sticky mobile nav keeps the hamburger centred.
   ========================================================================== */

@media (max-width: 980px) {
    .ota-header__top-inner {
        min-height: 92px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
    }

    .ota-header__contact-note {
        display: none !important;
    }

    .ota-header__logo-link {
        grid-column: 1;
        justify-self: start;
        min-width: 0;
        padding: 8px 0;
    }

    .ota-header__logo {
        width: clamp(168px, 48vw, 230px);
        max-width: 100%;
    }

    .ota-header__account {
        grid-column: 2;
        display: flex !important;
        justify-content: flex-end;
        justify-self: end;
        min-width: 0;
    }

    .ota-header__account .ota-header__cart-btn {
        min-height: 40px;
        margin-left: 0;
        padding: 0 12px;
        white-space: nowrap;
    }

    .ota-header__account .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) {
        min-width: 44px;
    }

    .ota-header__account .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) .ota-header__cart-btn-label {
        display: none;
    }

    .ota-header__account .ota-header__cart-btn--fallback {
        min-width: auto;
        padding-inline: 14px;
    }

    .ota-header__account .ota-header__cart-btn--fallback .ota-header__cart-btn-label {
        display: inline-flex;
    }

    .ota-header__nav-band {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .ota-header__nav-inner {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        justify-content: center;
        min-height: 54px;
        gap: 0;
    }

    .ota-header__mobile-spacer,
    .ota-header__mobile-cta {
        display: none !important;
    }

    .ota-header__mobile-toggle {
        grid-column: 1;
        justify-self: center;
        display: inline-flex;
    }

    .ota-header__mobile-utility {
        display: none !important;
    }

    .ota-header__mobile-panel {
        padding: 0 0 14px;
    }
}

@media (max-width: 560px) {
    .ota-header__top-inner {
        min-height: 82px;
        gap: 10px;
    }

    .ota-header__logo {
        width: clamp(158px, 50vw, 210px);
    }

    .ota-header__account .ota-header__cart-btn {
        min-height: 38px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .ota-header__account .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) {
        min-width: 42px;
    }

    .ota-header__account .ota-header__cart-btn--fallback {
        padding-inline: 11px;
    }
}


/* ========================================================================== 
   Header UX refinement v3: dedicated mobile sticky logo/menu/action header.
   Desktop keeps the full header and nav. Mobile uses one sticky bar with logo,
   menu, and Basket/Enquire aligned together; mobile dropdown is nav-only.
   ========================================================================== */

.ota-header__mobile-sticky {
    display: none;
}

.ota-header__mobile-bar-inner,
.ota-header__mobile-actions,
.ota-header__mobile-logo-link {
    position: relative;
    z-index: 1;
}

.ota-header__mobile-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none;
}

.ota-header__mobile-logo {
    display: block;
    width: clamp(158px, 45vw, 220px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
    padding: 1rem;
}

.ota-header__mobile-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

@media (max-width: 980px) {
    .ota-header {
        overflow: visible;
    }

    .ota-header__top {
        display: none !important;
    }

    .ota-header__mobile-sticky {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1000;
        background:
            radial-gradient(circle at 18% 0%, rgba(226, 180, 120, 0.14), transparent 28%),
            linear-gradient(180deg, var(--ota-header-green-2) 0%, var(--ota-header-green-3) 100%);
        border-bottom: 1px solid rgba(226, 180, 120, 0.30);
        box-shadow: 0 14px 32px rgba(6, 27, 19, 0.24);
    }

    .ota-header__mobile-sticky::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.20;
        background-image:
            linear-gradient(rgba(226, 180, 120, 0.12) 1px, transparent 1px),
            linear-gradient(90deg, rgba(226, 180, 120, 0.08) 1px, transparent 1px);
        background-size: 52px 52px;
    }

    .ota-header__mobile-bar-inner {
        min-height: 78px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .ota-header__mobile-toggle {
        display: inline-flex !important;
        flex: 0 0 auto;
        width: 42px;
        height: 40px;
        border-color: rgba(226, 180, 120, 0.48);
        background: var(--ota-header-green);
    }

    .ota-header__mobile-actions .ota-header__cart-btn {
        flex: 0 0 auto;
        min-height: 40px;
        margin-left: 0;
        padding: 0 12px;
        white-space: nowrap;
    }

    .ota-header__mobile-actions .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) {
        min-width: 42px;
    }

    .ota-header__mobile-actions .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) .ota-header__cart-btn-label {
        display: none;
    }

    .ota-header__mobile-actions .ota-header__cart-btn--fallback {
        min-width: auto;
        padding-inline: 13px;
    }

    .ota-header__mobile-actions .ota-header__cart-btn--fallback .ota-header__cart-btn-label {
        display: inline-flex;
    }

    .ota-header__nav-band {
        display: none !important;
    }

    .ota-header__mobile-panel {
        position: relative;
        z-index: 2;
        padding: 0 0 12px;
    }

    .ota-header__mobile-card {
        overflow: hidden;
        border-color: rgba(226, 180, 120, 0.38);
        background:
            linear-gradient(180deg, rgba(248, 238, 216, 0.98), rgba(239, 224, 194, 0.98));
        box-shadow: 0 18px 34px rgba(6, 27, 19, 0.24);
    }

    .ota-header__mobile-nav {
        padding: 8px;
    }

    .ota-header__mobile-utility,
    .ota-header__mobile-spacer,
    .ota-header__mobile-cta {
        display: none !important;
    }
}

@media (max-width: 560px) {
    .ota-header__mobile-bar-inner {
        min-height: 72px;
        gap: 8px;
    }

    .ota-header__mobile-logo {
        width: clamp(146px, 44vw, 196px);
    }

    .ota-header__mobile-actions {
        gap: 6px;
    }

    .ota-header__mobile-toggle {
        width: 40px;
        height: 38px;
    }

    .ota-header__mobile-actions .ota-header__cart-btn {
        min-height: 38px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .ota-header__mobile-actions .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) {
        min-width: 40px;
    }

    .ota-header__mobile-actions .ota-header__cart-btn--fallback {
        padding-inline: 10px;
    }
}

@media (max-width: 370px) {
    .ota-header__mobile-logo {
        width: 138px;
    }

    .ota-header__mobile-actions {
        gap: 5px;
    }

    .ota-header__mobile-toggle,
    .ota-header__mobile-actions .ota-header__cart-btn:not(.ota-header__cart-btn--fallback) {
        width: 38px;
        min-width: 38px;
        height: 36px;
        min-height: 36px;
        padding: 0 8px;
    }

    .ota-header__mobile-actions .ota-header__cart-btn--fallback {
        min-height: 36px;
        padding-inline: 8px;
        font-size: 9px;
    }
}


/* ========================================================================== 
   Header UX refinement v4: fixed mobile header with announcement included.
   Mobile uses one fixed block: announcement + logo/menu/Basket-Enquire row.
   The wrapper gets matching top padding so page content starts below it.
   ========================================================================== */

.ota-header__mobile-announcement {
    display: none;
}

@media (max-width: 980px) {
    .ota-header-wrap {
        --ota-mobile-header-height: 110px;
        padding-top: var(--ota-mobile-header-height);
    }

    .ota-header {
        display: none !important;
    }

    .ota-header__mobile-sticky {
        display: block;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 5000;
        background:
            radial-gradient(circle at 18% 0%, rgba(226, 180, 120, 0.14), transparent 28%),
            linear-gradient(180deg, var(--ota-header-green-2) 0%, var(--ota-header-green-3) 100%);
        border-bottom: 1px solid rgba(226, 180, 120, 0.30);
        box-shadow: 0 14px 32px rgba(6, 27, 19, 0.24);
    }

    .ota-header__mobile-announcement {
        position: relative;
        z-index: 1;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border-bottom: 1px solid rgba(226, 180, 120, 0.22);
        background: rgba(6, 27, 19, 0.96);
        color: var(--ota-header-gold-soft);
        font-family: var(--ota-header-serif);
        font-size: 10px;
        line-height: 1;
        letter-spacing: 0.10em;
        text-align: center;
        text-transform: uppercase;
    }

    .ota-header__mobile-announcement span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ota-header__mobile-bar-inner {
        min-height: 78px;
    }

    .ota-header__mobile-panel {
        position: fixed !important;
        top: var(--ota-mobile-header-height);
        left: 0;
        right: 0;
        z-index: 4999;
        padding: 0 0 14px;
    }

    .ota-header__mobile-panel .ota-header__shell {
        width: min(1240px, calc(100% - 26px));
    }

    .ota-header__mobile-card {
        max-height: calc(100dvh - var(--ota-mobile-header-height) - 14px);
        overflow-y: auto;
    }
}

@media (max-width: 560px) {
    .ota-header-wrap {
        --ota-mobile-header-height: 102px;
    }

    .ota-header__mobile-announcement {
        min-height: 30px;
        padding-inline: 12px;
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .ota-header__mobile-bar-inner {
        min-height: 72px;
    }
}

@media (max-width: 370px) {
    .ota-header-wrap {
        --ota-mobile-header-height: 98px;
    }

    .ota-header__mobile-announcement {
        min-height: 30px;
    }

    .ota-header__mobile-bar-inner {
        min-height: 68px;
    }
}

/* ========================================================================== 
   Header UX refinement v5: mobile announcement strip shows only admin login.
   Keeps the same fixed mobile header layout and spacing.
   ========================================================================== */

@media (max-width: 980px) {
    .ota-header__mobile-announcement {
        gap: 8px;
    }

    .ota-header__mobile-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 22px;
        padding: 0 11px;
        border: 1px solid rgba(226, 180, 120, 0.34);
        background: rgba(248, 238, 216, 0.06);
        color: var(--ota-header-gold-soft);
        font-family: var(--ota-header-serif);
        font-size: 10px;
        line-height: 1;
        letter-spacing: 0.12em;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .ota-header__mobile-login-button {
        appearance: none;
        border-radius: 0;
    }

    .ota-header__mobile-login:hover,
    .ota-header__mobile-login:focus-visible {
        border-color: rgba(226, 180, 120, 0.60);
        background: rgba(248, 238, 216, 0.12);
        color: var(--ota-header-paper-2);
        outline: none;
    }
}

@media (max-width: 560px) {
    .ota-header__mobile-login {
        min-height: 21px;
        padding-inline: 10px;
        font-size: 9px;
        letter-spacing: 0.10em;
    }
}
